|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IScaler
Defines methods required by classes which scale numbers between two ranges.
Method Summary | |
---|---|
double |
getMaxInput()
Set the maximum expected input value. |
double |
getMaxOutput()
Set the maximum expected output value. |
double |
getMinInput()
Set the minimum expected input value. |
double |
getMinOutput()
Set the minimum expected output value. |
double |
scale(double input)
Scale the given input. |
double[] |
scale(double[] inputs)
Scale the given inputs. |
double[] |
scale(double[] inputs,
double[] outputs)
Scale the given inputs. |
void |
setMaxInput(double max)
Set the maximum expected input value. |
void |
setMaxOutput(double max)
Set the maximum expected output value. |
void |
setMinInput(double min)
Set the minimum expected input value. |
void |
setMinOutput(double min)
Set the minimum expected output value. |
String |
toString()
Return a string representation of this object. |
double |
unscale(double output)
Unscale the given output. |
double[] |
unscale(double[] outputs)
Unscale the given outputs. |
Method Detail |
---|
double getMaxInput()
double getMaxOutput()
double getMinInput()
double getMinOutput()
double scale(double input)
double[] scale(double[] inputs)
double[] scale(double[] inputs, double[] outputs)
void setMaxInput(double max)
void setMaxOutput(double max)
void setMinInput(double min)
void setMinOutput(double min)
String toString()
toString
in class Object
double unscale(double output)
double[] unscale(double[] outputs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |