I'm trying to run the examples and when I run the geneticprogramming example program I get the following solution
((((((arg0 * arg0) > arg0) + (arg0 + arg0)) - ((9.0 > (arg0 * arg0)) - (arg0 * arg0))) + (arg0 + 4.0)) + (arg1 + arg1))
I wrote a quick application to take the results from the sample and use the data to calculate and verify the results. If the solution doesn't have the ? operator or the > operator I get the expected results, but sometimes the answer produced includes a > operator. When I get a > operator I can't tell what it's trying to say for the condition or the result to be used in the calculation.
For cases where ? is the operator, for example (arg0 ? 5 : arg1) I just change it to (arg0 ?= 0.0 ? 5 : arg1) and I get the expected results.
Can someone help me understand how to interpret > in the equation?
Thanks
Rick