| org.jgap.IPersistentRepresentation
All known Subclasses: org.jgap.impl.DoubleGene, org.jgap.impl.SetGene, org.jgap.impl.MapGene, org.jgap.impl.CompositeGene, org.jgap.impl.IntegerGene, org.jgap.impl.BooleanGene, org.jgap.impl.FixedBinaryGene, org.jgap.supergenes.AbstractSupergene, org.jgap.impl.StringGene, org.jgap.BaseChromosome, org.jgap.Population,
IPersistentRepresentation | public interface IPersistentRepresentation (Code) | | Interface for objects that can represent themselves as a string and parse
this string later on to generate a new instance of themselves.
author: Klaus Meffert since: 3.2 |
CVS_REVISION | final static String CVS_REVISION(Code) | | String containing the CVS revision. Read out via reflection!
|
getPersistentRepresentation | public String getPersistentRepresentation()(Code) | | Returns a persistent representation of an entity (such as a chromosome or a
gene).
string representation of current state throws: UnsupportedOperationException - author: Klaus Meffert since: 3.2 |
setValueFromPersistentRepresentation | public void setValueFromPersistentRepresentation(String a_representation) throws UnsupportedRepresentationException(Code) | | Counterpart of getPersistentRepresentation.
Parameters: a_representation - the string representation retrieved from a priorcall to the getPersistentRepresentation() method throws: UnsupportedRepresentationException - author: Klaus Meffert since: 3.2 |
|
|