|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.computing.ai.evolutionary.geneticprogramming.Program
public abstract class Program
Abstraction for the programs in genetic programming.
| Constructor Summary | |
|---|---|
Program()
|
|
| Method Summary | |
|---|---|
abstract java.lang.Object |
clone()
Returns a deep copy of this Program instance |
abstract int |
countFunctionNodes()
Returns the number of function nodes this program has. |
abstract int |
countNodes()
Returns the number of nodes this program has. |
abstract int |
countProgramNodes()
Returns the number of program nodes this program has. |
abstract java.lang.Object |
eval(java.lang.Object fitnessCase)
Returns evaluation of this program with the given parameter |
abstract java.lang.String |
getName()
Returns the name of this program. |
abstract java.lang.String |
toText()
Returns a string representation of this program. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Program()
| Method Detail |
|---|
public abstract java.lang.String toText()
public abstract java.lang.String getName()
public abstract java.lang.Object eval(java.lang.Object fitnessCase)
fitnessCase - fitness case to evaluate
public abstract int countNodes()
public abstract int countProgramNodes()
public abstract int countFunctionNodes()
public abstract java.lang.Object clone()
clone in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||