|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectKnnMethod.Classes.MinMax
public class MinMax
Class, which serves for storing minimum a maximum value of all columns. Minimum and maximum value is used for normalization of an attribute into the interval [0..1].
Constructor Summary | |
---|---|
MinMax()
Empty constructor |
|
MinMax(double minimum,
double maximum)
Constructor, which stores the minimum and maximum value of an attribute. |
Method Summary | |
---|---|
double |
getMax()
Returns the maximum value |
double |
getMin()
Returns the minimum value |
void |
setMax(double newMax)
Sets the maximum value |
void |
setMin(double newMin)
Sets the minimum value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MinMax(double minimum, double maximum)
minimum
- minimum value of an attributemaximum
- maximum value of an attributepublic MinMax()
Method Detail |
---|
public double getMin()
public void setMin(double newMin)
newMin
- minimum value to storepublic double getMax()
public void setMax(double newMax)
newMax
- maximum value to store
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |