public class SimplicityMaxTreeSize
extends java.lang.Object
Constructor and Description |
---|
SimplicityMaxTreeSize(int maxSize)
Initialize this simplicity metrics.
|
SimplicityMaxTreeSize(SimplicityMaxTreeSize original) |
Modifier and Type | Method and Description |
---|---|
double |
getFitness(NAryTree candidate,
java.util.List<? extends NAryTree> population) |
void |
updateMaxSize(int newMaxSize)
Update the maximum tree size, can be done at run time.
|
public SimplicityMaxTreeSize(int maxSize)
maxSize
- maximum tree size at which this evaluator will go to a bad
evaluation of the treepublic SimplicityMaxTreeSize(SimplicityMaxTreeSize original)