|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.uiuc.ge.illigal.gale.data.Instance
This abstract class contains the information of a instance. It is designed to contain real-valued instances.
Field Summary | |
protected boolean[] |
baKnown
Contains the if the data is known or not |
protected float[] |
faInfo
Contains the numerical information of the instance |
protected int |
iClass
Contains the class where the instance belongs |
protected int |
iLength
Instance length |
Constructor Summary | |
Instance()
|
Method Summary | |
int |
getInstanceClass()
Returns the class where the instance belongs |
int |
getLength()
Returns the instance length |
float |
getValue(int iPos)
Returns the numerical value for the element specified |
boolean |
isKnown(int iPos)
Returns if the given position is useful or not |
abstract java.lang.String |
toString()
Converts the instance into a string readable format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int iLength
protected float[] faInfo
protected boolean[] baKnown
protected int iClass
Constructor Detail |
public Instance()
Method Detail |
public int getInstanceClass()
public float getValue(int iPos)
iPos
- Index of the requested value
public boolean isKnown(int iPos)
iPos
- Index of the requested value
public int getLength()
public abstract java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |