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