|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.epochx.core.GPAbstractModel<Action>
com.epochx.model.ant.SantaFeTrail
public class SantaFeTrail
| Constructor Summary | |
|---|---|
SantaFeTrail()
|
|
| Method Summary | |
|---|---|
void |
configure()
|
Ant |
getAnt()
|
AntLandscape |
getAntLandScape()
|
double |
getFitness(CandidateProgram<Action> program)
Calculates and returns the fitness score of the given program. |
java.util.List<FunctionNode<Action>> |
getFunctions()
Retrieves the set of function nodes. |
java.util.List<TerminalNode<Action>> |
getTerminals()
Retrieves the set of terminal nodes. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SantaFeTrail()
| Method Detail |
|---|
public void configure()
public java.util.List<FunctionNode<Action>> getFunctions()
GPModel
public java.util.List<TerminalNode<Action>> getTerminals()
GPModel
public double getFitness(CandidateProgram<Action> 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.
public Ant getAnt()
public AntLandscape getAntLandScape()
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||