call WriteMember
( selected, seg, source ) ;
The WriteMember call assigns values to a selected solution from within a user objective function or mutation operator. The inputs to the WriteMember subroutine are as follows:
selected |
is an array specifying the selected family of solutions. The selected array is normally passed into the user subroutine that calls WriteMember, and should be passed unaltered to WriteMember. |
seg |
is the segment to which the elements are to be written. |
source |
is an array containing the values to be written. |
The WriteMember subroutine is called inside a user objective function or mutation operator subroutine to assign values to the elements of a selected solution. It is normally used to complete the action of the objective function or mutation operator.