|
|||||||||
| 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
org.jscience.computing.ai.evolutionary.geneticprogramming.Function
public abstract class Function
Abstraction for the functions in genetic programming.
| Field Summary | |
|---|---|
Program[] |
arg
The program which represents this function |
| Constructor Summary | |
|---|---|
Function()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a deep copy of this Function instance |
int |
countFunctionNodes()
Returns the number of function nodes this function has. |
int |
countNodes()
Returns the number of nodes this function has. |
int |
countProgramNodes()
Returns the number of program nodes this function has. |
java.lang.String |
toText()
Returns a string representation of this function. |
| Methods inherited from class org.jscience.computing.ai.evolutionary.geneticprogramming.Program |
|---|
eval, getName |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Program[] arg
| Constructor Detail |
|---|
public Function()
| Method Detail |
|---|
public java.lang.Object clone()
clone in class Programpublic int countNodes()
countNodes in class Programpublic int countProgramNodes()
countProgramNodes in class Programpublic int countFunctionNodes()
countFunctionNodes in class Programpublic java.lang.String toText()
toText in class Program
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||