15class NegT :
public Primitive
30 complementName_ =
"pos";
45 neg = arg < 0 ? arg : 0;
Neg function primitive (Tree genotype).
void execute(void *result, Tree &tree)
Execute the primitive.
void getNextArgument(void *result, Tree &tree)
Execute next child node's primitive (execute next subtree).
Tree class - implements genotype as a tree.