|
|||||||||||
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.InstanceSet
This abstract class contains the set of instances available for a given problem. It is designed to contain real-valued instances.
Field Summary | |
protected edu.uiuc.ge.illigal.gale.data.AttributeSet |
attSet
Class tags |
protected edu.uiuc.ge.illigal.gale.data.Instance[] |
fsInstances
Contains the Instances of the InstanceSet |
protected int |
iSize
Number of Instances present in the InstanceSet |
protected java.lang.String |
sRelation
Relation name |
Constructor Summary | |
InstanceSet()
|
Method Summary | |
edu.uiuc.ge.illigal.gale.data.AttributeSet |
attributeSet()
Returns the attribute set. |
edu.uiuc.ge.illigal.gale.data.Instance |
getInstance(int iPos)
Returns the instance for the given position |
java.lang.String |
getRelationName()
Returns the relation name. |
int |
getSize()
Returns the number of instances in the OrderedSet |
abstract java.lang.String |
toString()
Converts the InstanceSet 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 iSize
protected edu.uiuc.ge.illigal.gale.data.Instance[] fsInstances
protected java.lang.String sRelation
protected edu.uiuc.ge.illigal.gale.data.AttributeSet attSet
Constructor Detail |
public InstanceSet()
Method Detail |
public edu.uiuc.ge.illigal.gale.data.Instance getInstance(int iPos)
OrderedSet
getInstance
in interface OrderedSet
iPos
- Index of the requested instance
public int getSize()
OrderedSet
getSize
in interface OrderedSet
public edu.uiuc.ge.illigal.gale.data.AttributeSet attributeSet()
public java.lang.String getRelationName()
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 |