Package adams.opt.optimise.genetic
Class PackData
- java.lang.Object
-
- adams.opt.optimise.genetic.PackData
-
- All Implemented Interfaces:
Serializable
public class PackData extends Object implements Serializable
???- Version:
- $Revision$
- Author:
- Dale (dale at cs dot waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PackData(PackDataDef pdd)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
get(String name)
int[]
getBits()
int[]
getBits(String name)
protected int
getInt(int[] weights, int start, int bits)
Set<String>
getKeySet()
void
putBits(int[] bits)
void
set(String name, double val)
protected void
setInt(int[] weights, int start, int bits, int num)
String
toString()
-
-
-
Field Detail
-
m_pdd
protected PackDataDef m_pdd
-
-
Constructor Detail
-
PackData
public PackData(PackDataDef pdd)
-
-
Method Detail
-
set
public void set(String name, double val)
-
get
public double get(String name)
-
getBits
public int[] getBits()
-
getBits
public int[] getBits(String name)
-
putBits
public void putBits(int[] bits)
-
getInt
protected int getInt(int[] weights, int start, int bits)
-
setInt
protected void setInt(int[] weights, int start, int bits, int num)
-
-