This method should perform whatever operation this class defines on the values of its arguments and write the results into whichever register is passed to it. Although intuitively very simple the implementation comes at the junture of three types of class (registers, operations, fitness environments) and so is most easily understood by examining the provided example implementations.
This simply acts as a virtualised-copy constructor. Internally, implementations should just return appropriately cast results of calls to new
.
This simply acts as a virtualised constructor. Internally, implementations should work as they do for Clone
.
Should returns what will be assumed to be an infix operator string. If the class is a subclass of IConditionalInstructionOperation
then the calling method should wrap it in an if(...)
string. In its current implementation this (obviously) does not work for functions, e.g. an operation which is sine, although the execution of the function itself can still work perfectly.
Christopher Fogelberg
fogelbchri@mcs.vuw.ac.nz or cgf.unimail@syntilect.com