org.jgap
Interface IUniqueKey
- All Known Subinterfaces:
- Gene, IChromosome, ICompositeGene, Supergene
- All Known Implementing Classes:
- AbstractSupergene, BaseChromosome, BaseGene, BooleanGene, Chromosome, CompositeGene, DoubleGene, FixedBinaryGene, IntegerGene, MapGene, MutipleIntegerGene, MyChromosome, NickelsPenniesSupergene, NumberGene, SetGene, StringGene
public interface IUniqueKey
Interface for unique keys. A unique key is used to distinct an instance of
a chromosome, a gene etc. from other instances.
In the best case, a such a key is unique worldwide.
- Since:
- 3.5
|
Field Summary |
static java.lang.String |
CVS_REVISION
String containing the CVS revision. |
CVS_REVISION
static final java.lang.String CVS_REVISION
- String containing the CVS revision. Read out via reflection!
- See Also:
- Constant Field Values
getUniqueID
java.lang.String getUniqueID()
- Returns:
- String
- Since:
- 3.5
setUniqueIDTemplate
void setUniqueIDTemplate(java.lang.String a_templateID,
int a_index)
- Parameters:
a_templateID - Stringa_index - int- Since:
- 3.5
getUniqueIDTemplate
java.lang.String getUniqueIDTemplate(int a_index)
- Parameters:
a_index - int
- Returns:
- String
- Since:
- 3.5