|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--model.DataPoint
| Constructor Summary | |
DataPoint()
Constructor Create a new DataPoint |
|
| Method Summary | |
void |
addNormalizedValue(Attribute attribute,
double value)
set the normalized value of a datapoint accoriding to the name of an attribute |
void |
addOriginalValue(Attribute attribute,
java.lang.String value)
set the original value of a datapoint accoriding to the name of an attribute |
double |
getNormalizedValue(Attribute attribute)
get the normalized value of a datapoint by providing the name of an attribute |
java.lang.String |
getOriginalValue(Attribute attribute)
get the original value of a datapoint by providing the name of an attribute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataPoint()
| Method Detail |
public java.lang.String getOriginalValue(Attribute attribute)
attribute - an attribute of this datapointpublic double getNormalizedValue(Attribute attribute)
attribute - an attribute of this datapoint
public void addOriginalValue(Attribute attribute,
java.lang.String value)
attr - the attribute related to this datapointvalue - the original value of this datapoint given the attribute
public void addNormalizedValue(Attribute attribute,
double value)
attr - the attribute related to this datapointvalue - the normalized value of this datapoint given the attribute
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||