public class TreeGP extends Object
| Constructor and Description |
|---|
TreeGP() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConstant(double constant,
double weight) |
void |
addConstant(String constant,
double weight) |
void |
addConstants(double... constants) |
void |
addConstants(String... constants) |
double |
constant(int index) |
String |
constantText(int index) |
double |
constantWeight(int index) |
static TreeGP |
defaultConfig() |
double |
evaluateCost(Solution solution) |
Solution |
fit(List<Observation> observations) |
int |
getTreeCountPerSolution() |
Population |
newPopulation() |
public int getTreeCountPerSolution()
public double constantWeight(int index)
public double constant(int index)
public String constantText(int index)
public double evaluateCost(Solution solution)
public Population newPopulation()
public void addConstant(double constant,
double weight)
public void addConstant(String constant, double weight)
public void addConstants(String... constants)
public void addConstants(double... constants)
public Solution fit(List<Observation> observations)
public static TreeGP defaultConfig()
Copyright © 2017. All rights reserved.