|
JGAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgap.gp.GPProblem
examples.gp.KarubProblem
public class KarubProblem
Sort of minimal GP problem definition. Does not stop when best solution found. Discovers a very simple formula (see comments in code!). Only there to show the general setup. Inspired by user Karub (who wrote most of the code in this class), therefor "KarubProblem"
Nested Class Summary | |
---|---|
static class |
KarubProblem.FormulaFitnessFunction
|
Field Summary | |
---|---|
static Variable |
vx
|
Constructor Summary | |
---|---|
KarubProblem(GPConfiguration a_conf)
|
Method Summary | |
---|---|
GPGenotype |
create()
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class org.jgap.gp.GPProblem |
---|
createTree, getGPConfiguration, setGPConfiguration, showTree, showTree |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static Variable vx
Constructor Detail |
---|
public KarubProblem(GPConfiguration a_conf) throws InvalidConfigurationException
InvalidConfigurationException
Method Detail |
---|
public GPGenotype create() throws InvalidConfigurationException
create
in class GPProblem
InvalidConfigurationException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
JGAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |