1#include "GPSymbRegEvalOp.h"
9 if (!calculateBoundsIfRootNode(result, tree)) {
19 IAPrimitiveP prim = boost::dynamic_pointer_cast<IAPrimitive>(tree[tree.
iNode_]->primitive_);
21 IABounds bounds = prim->calculateBounds(tree);
23 if (!bounds.isWithinBounds) {
29 retVal.isWithinBounds =
true;
30 retVal.isLowerBoundInclusive =
true;
31 retVal.lowerBound = -1.0;
32 retVal.isUpperBoundInclusive =
true;
33 retVal.upperBound = 1.0;
virtual void execute(void *result, Tree::Tree &tree)
Execute the primitive.
void execute(void *result, Tree &tree)
Execute the primitive.
Tree class - implements genotype as a tree.
uint iNode_
current node index (when parsing the tree)