Package adams.opt.optimise.genetic
Class PackDataDef.DataInfo
- java.lang.Object
-
- adams.opt.optimise.genetic.PackDataDef.DataInfo
-
- Enclosing class:
- PackDataDef
public static class PackDataDef.DataInfo extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
fromBits(int bits)
int
getMaxVal()
String
getName()
void
resetMinMax(double min, double max)
int
toBits(double val)
-
-
-
Field Detail
-
m_name
public String m_name
-
m_bits
public int m_bits
-
m_max
public double m_max
-
m_min
public double m_min
-
m_scale
protected double m_scale
-
-
Constructor Detail
-
DataInfo
public DataInfo(String name, int bits, double min, double max)
-
-
Method Detail
-
getName
public String getName()
-
resetMinMax
public void resetMinMax(double min, double max)
-
toBits
public int toBits(double val)
-
fromBits
public double fromBits(int bits)
-
getMaxVal
public int getMaxVal()
-
-