|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.epochx.core.GPAbstractModel<java.lang.Boolean>
com.epochx.model.parity.Even7Parity
public class Even7Parity
| Constructor Summary | |
|---|---|
Even7Parity()
|
|
| Method Summary | |
|---|---|
void |
configure()
|
double |
getFitness(CandidateProgram<java.lang.Boolean> program)
Calculates and returns the fitness score of the given program. |
java.util.List<FunctionNode<java.lang.Boolean>> |
getFunctions()
Retrieves the set of function nodes. |
java.util.List<TerminalNode<java.lang.Boolean>> |
getTerminals()
Retrieves the set of terminal nodes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Even7Parity()
| Method Detail |
|---|
public void configure()
public java.util.List<FunctionNode<java.lang.Boolean>> getFunctions()
GPModel
public java.util.List<TerminalNode<java.lang.Boolean>> getTerminals()
GPModel
public double getFitness(CandidateProgram<java.lang.Boolean> program)
GPModelThere are many ways in which a fitness score can be calculated, for example mean squared error, standard deviation or a simple count of how many known inputs the given program provides incorrect (known) outputs. For more information, the new user should read some of the genetic programming literature.
program - the CandidateProgram to evaluate and calculate a score
for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||