T
- The type entailed by enconding/deconding operations.public abstract static class BitwiseChromosome.BitCoding<T>
extends java.lang.Object
BitwiseChromosome
. A BitCoding can be used by subclassing
this class and providing implementation for encode(Object)
and
decode(int)
methods. A BitwiseChromosome.BitSize
object is useful to specify the number of bits
to use foreach coded number.Modifier and Type | Field and Description |
---|---|
BitwiseChromosome.BitSize |
SIZE
The bit structure characteristics.
|
Modifier | Constructor and Description |
---|---|
protected |
BitwiseChromosome.BitCoding(BitwiseChromosome.BitSize size)
Constructs a new BitCoding with the specified
BitwiseChromosome.BitSize |
public final BitwiseChromosome.BitSize SIZE
protected BitwiseChromosome.BitCoding(BitwiseChromosome.BitSize size)
BitwiseChromosome.BitSize
size
- the bitSize object to use