public class Gene
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ANTECEDENT |
static int |
CONSEQUENT |
static int |
INTEGER
Number to represent type of variable integer.
|
static int |
NOMINAL
Number to represent type of variable nominal.
|
static int |
NOT_INVOLVED |
static int |
REAL
Number to represent type of variable real or double.
|
Constructor and Description |
---|
Gene() |
Modifier and Type | Method and Description |
---|---|
Gene |
copy() |
boolean |
equals(java.lang.Object obj)
It indicates whether some other gene is "equal to" this one
|
int |
getAttr() |
int |
getCa() |
double |
getL() |
int |
getType() |
double |
getU() |
void |
setAttr(int attr) |
void |
setCa(int ca) |
void |
setL(double l) |
void |
setType(int type) |
void |
setU(double u) |
java.lang.String |
toString() |
public static final int NOMINAL
public static final int INTEGER
public static final int REAL
public static final int NOT_INVOLVED
public static final int ANTECEDENT
public static final int CONSEQUENT
public Gene copy()
public int getAttr()
public void setAttr(int attr)
public int getCa()
public void setCa(int ca)
public double getL()
public void setL(double l)
public int getType()
public void setType(int type)
public double getU()
public void setU(double u)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
It indicates whether some other gene is "equal to" this one
equals
in class java.lang.Object
obj
- The reference object with which to compare