Dear Achiya,
yes, you can do that by implementing custom functions for your problem. The functions we implemented for symbolic regression all need some kind of input to produce an output.
Please have a look at [1] to get more information about the implementation of custom symbols.
Kind regards,
Gabriel
[1] https://dev.heuristiclab.com/trac/hl/core/wiki/UsersHowtosImplementGeneticProgrammingProblems
Dear Achiya,
you are right, it is quite cumbersome to define custom symbols right now. Your suggestion to provide a ‘programmable symbol’ is a very good idea. We should definitely add it soon.
In fact we have a very old (almost ancient) ticket [1] for this feature, however, up to now we haven’t felt enough pressure to implement it.
Anyway, I can’t promise that we can add it with the next release because we are already in a feature freeze state for 3.3.7 as we are preparing to release the next version before GECCO. If it’s not too much hassle to implement it I might still add it for 3.3.7.
Best regards,
Gabriel