|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Activity
The interface for the representations of activities in the classification context.
Method Summary | |
---|---|
long |
getActivityClass()
Getter for the class identifier. |
int |
getAttributeCount()
Getter for the attribute count. |
String[] |
getAttributes()
Getter for the attributes in its internal natural order. |
double[] |
getPoint()
Getter for the attribute values (unboxed from the double type) in the internal order of the attributes. |
Long |
getTimeStamp()
Getter for the time stamp. |
Double |
getValue(int idxAttribute)
Getter for an attributes value. |
Double |
getValue(String attribute)
Getter for an attributes value. |
Double[] |
getValues()
Getter for the attribute values in the internal order of the attributes. |
boolean |
hasActivityClass()
Test method if class is set. |
void |
setValue(int idxAttribute,
Double value)
Does set a value at the given attribute index |
Method Detail |
---|
boolean hasActivityClass()
long getActivityClass()
Long getTimeStamp()
Double getValue(String attribute)
attribute
- the attribute name
Double getValue(int idxAttribute)
idxAttribute
- the attribute index
void setValue(int idxAttribute, Double value)
idxAttribute
- the attribute indexvalue
- the value to setString[] getAttributes()
Double[] getValues()
double[] getPoint()
int getAttributeCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |