public class ByteCoding extends BitwiseChromosome.BitCoding<java.lang.Integer>
GrayCoding
,
IntCoding
,
ShortCoding
,
WordCoding
,
BitwiseChromosome.BitSize
,
BooleanCoding
SIZE
Constructor and Description |
---|
ByteCoding()
Default constructor
|
public final java.lang.Integer decode(int bits)
decode
in class BitwiseChromosome.BitCoding<java.lang.Integer>
bits
- coding the valuepublic final int encode(java.lang.Integer value)
encode
in class BitwiseChromosome.BitCoding<java.lang.Integer>
value
- the value to be coded