public class Gene
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
INTEGER |
static int |
NOMINAL |
static int |
REAL |
Constructor and Description |
---|
Gene() |
Modifier and Type | Method and Description |
---|---|
void |
addValue(int inter) |
void |
clearValue() |
Gene |
copy() |
int |
getAttr() |
int |
getType() |
java.util.ArrayList<java.lang.Integer> |
getValue() |
int |
getValue(int pos) |
boolean |
isEqualValue(Gene gen) |
boolean |
isSubValue(Gene gen) |
boolean |
isUsed(int inter) |
int |
numIntervals() |
void |
setAttr(int attr) |
void |
setType(int type) |
void |
setValue(java.util.ArrayList<java.lang.Integer> newIntervals) |
void |
setValue(int inter) |
java.lang.String |
toString() |
public static final int NOMINAL
public static final int INTEGER
public static final int REAL
public Gene copy()
public int getAttr()
public void setAttr(int attr)
public int getType()
public void setType(int type)
public java.util.ArrayList<java.lang.Integer> getValue()
public int getValue(int pos)
public void setValue(java.util.ArrayList<java.lang.Integer> newIntervals)
public void clearValue()
public void setValue(int inter)
public void addValue(int inter)
public boolean isUsed(int inter)
public int numIntervals()
public boolean isEqualValue(Gene gen)
public boolean isSubValue(Gene gen)
public java.lang.String toString()
toString
in class java.lang.Object