Class IntChromosomeSpec
java.lang.Object
net.bmahe.genetics4j.core.spec.chromosome.IntChromosomeSpec
- All Implemented Interfaces:
ChromosomeSpec
- Direct Known Subclasses:
ImmutableIntChromosomeSpec
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
IntChromosomeSpec
public IntChromosomeSpec()
-
-
Method Details
-
size
@Parameter public abstract int size() -
minValue
@Parameter public abstract int minValue() -
maxValue
@Parameter public abstract int maxValue() -
check
@Check protected void check() -
of
Construct a new immutableIntChromosomeSpec
instance.- Parameters:
size
- The value for thesize
attributeminValue
- The value for theminValue
attributemaxValue
- The value for themaxValue
attribute- Returns:
- An immutable IntChromosomeSpec instance
-