Class IDIChi2.Millis2SecondsConverter
java.lang.Object
clickTrainDetector.clickTrainAlgorithms.mht.mhtvar.ResultConverter
clickTrainDetector.clickTrainAlgorithms.mht.mhtvar.IDIChi2.Millis2SecondsConverter
- Enclosing class:
IDIChi2
Show IDI values as milliseconds in controls.
- Author:
- Jamie Macaulay
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleconvert2Control(double value) Convert the value to the value to be shown in controlsdoubleconvert2Value(double value) Convert the control value to the true value.
-
Constructor Details
-
Millis2SecondsConverter
public Millis2SecondsConverter()
-
-
Method Details
-
convert2Control
public double convert2Control(double value) Convert the value to the value to be shown in controls- Overrides:
convert2Controlin classResultConverter- Parameters:
value-- Returns:
-
convert2Value
public double convert2Value(double value) Convert the control value to the true value.- Overrides:
convert2Valuein classResultConverter- Parameters:
value- - value form control- Returns:
-