ReadCompare Call |
The ReadCompare call reads a segment from a selected solution into an array, within a user fitness comparison subroutine. The inputs to the ReadCompare subroutine are as follows:
selected |
specifies the pair of solutions to be compared, obtained from the selection process. |
seg |
specifies the solution segment to be read. |
n |
specifies the solution (1 or 2) from which to read the segment. |
values |
specifies an array to receive the solution elements. |
The ReadCompare call is used to obtain the solution values for manipulation within a user fitness comparison subroutine, which can be designated in a SetCompareRoutine call.