The GA Procedure

GetObjValues Call

retrieves objective function values from the current solution generation

call GetObjValues( dest, n );

The inputs to the GetObjValues subroutine are as follows:

dest        is an array to receive the objective values.
nis the number of objective values to get.

The GetObjValues subroutine is used to retrieve the objective values for the current solution generation. It can be called from a user update routine or finalize routine. If it is called from a finalize routine, and if the elite parameter from a SetElite call is 1 or greater, then the first elite members of the population are the fittest of the population, and they are sorted in order, starting with the most fit. The input dest should be a dimensioned variable, with dimension greater than or equal to n.

Previous Page | Next Page | Top of Page