|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectGene
public class Gene
A gene. It has a sequence of operators and terminals and has a fixed head length
| Constructor Summary | |
|---|---|
Gene(int headLength,
Character[] sequence)
|
|
| Method Summary | |
|---|---|
Gene |
clone()
get a deep copy of this gene |
int |
getHeadLength()
|
Character[] |
getSequence()
|
boolean |
tailContainsOperator(GeneGrammar<Double> grammar)
diagnostic. |
String |
toString()
|
| Methods inherited from class Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Gene(int headLength,
Character[] sequence)
| Method Detail |
|---|
public int getHeadLength()
public Character[] getSequence()
public Gene clone()
clone in class Objectpublic String toString()
toString in class Objectpublic boolean tailContainsOperator(GeneGrammar<Double> grammar)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||