|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jgap.data.DataTreeBuilder
Builds a tree structure from Genes, Chrosomes or from a Genotype.
Generated result is generic data type usable for concrete persistence strategies, including XML documents, writing an object to a file or stream etc.
| Method Summary | |
static DataTreeBuilder |
getInstance()
|
static void |
main(java.lang.String[] args)
|
IDataCreators |
representChromosomeAsDocument(Chromosome a_subject)
Represent a Chromosome as a generic data type document, including its contained Gene instances. |
IDataElement |
representChromosomeAsElement(Chromosome a_subject)
Represent a Chromosome as a generic data element, including its contained Gene instances. |
IDataElement |
representGeneAsElement(Gene a_gene)
Represent a Gene as a generic data element. |
IDataElement |
representGenesAsElement(Gene[] a_geneValues)
Represent Genes as a generic data type element. |
IDataCreators |
representGenotypeAsDocument(Genotype a_subject)
Represent a Genotype as a generic data document, including its population of Chromosome instances. |
IDataElement |
representGenotypeAsElement(Genotype a_subject)
Represent a Genotype as a generic data element, including its population of Chromosome instances. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static DataTreeBuilder getInstance()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
public IDataCreators representGenotypeAsDocument(Genotype a_subject)
throws java.lang.Exception
a_subject - The genotype to represent
java.lang.Exception
public IDataElement representGenotypeAsElement(Genotype a_subject)
throws java.lang.Exception
a_subject - The genotype to represent
java.lang.Exception
public IDataCreators representChromosomeAsDocument(Chromosome a_subject)
throws java.lang.Exception
a_subject - The chromosome to represent
java.lang.Exception
public IDataElement representChromosomeAsElement(Chromosome a_subject)
throws java.lang.Exception
a_subject - The chromosome to represent
java.lang.Exception
public IDataElement representGenesAsElement(Gene[] a_geneValues)
throws java.lang.Exception
a_geneValues - The genes to represent
java.lang.Exception
public IDataElement representGeneAsElement(Gene a_gene)
throws java.lang.Exception
a_gene - The Gene to represent
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||