Previous Page | Next Page

The GA Procedure

ReadMember Call

reads the selected solution into an array for a user objective function or mutation operator


The inputs to the ReadMember subroutine are as follows:

selected

is a parameter passed to the user subroutine by the GA procedure, which points to the selected solution.

seg

specifies which segment of the solution to retrieve.

destination    

specifies an array in which to store the solution elements.

The ReadMember call is used within a user objective function or mutation operator to obtain the elements of a selected solution and write them into a specified vector. They can then be used to compute an objective value, or in the case of a mutation operator, manipulated and written back out with a WriteMember call.

Previous Page | Next Page | Top of Page