getPopulation-methods function

Accessor methods to the population for rmoo results

methods

Accessor methods to the population for rmoo results

getPopulation(obj) ## S4 method for signature 'nsga' getPopulation(obj) ## S4 method for signature 'nsga' getFitness(obj)

Arguments

  • obj: an object resulting from the execution of NSGA-I, NSGA-II or NSGA-III algorithm

Returns

Prints the resulting population and when the result of the method-call is assigned to a variable, the population is stored as a data frame. See nsga1 nsga2 , nsga3 for a description of available slots information.

Examples

# Where 'out' is an object resulting from the execution of rmoo. # # population_result <- getPopulation(out) # # population_result

Author(s)

Francisco Benitez benitezfj94@gmail.com