getEvalFun-methods: Get the evaluation function from a GenAlgUserEvaluator

getEvalFunR Documentation

Get the evaluation function from a GenAlgUserEvaluator

Description

This method returns the correct evaluation function from a GenAlgUserEvaluator that can be used by the C++-code as callback or NULL for any other evaluator

Usage

getEvalFun(object, genAlg)

## S4 method for signature 'GenAlgUserEvaluator,GenAlg'
getEvalFun(object, genAlg)

## S4 method for signature 'GenAlgUserEvaluator,matrix'
getEvalFun(object, genAlg)

## S4 method for signature 'GenAlgEvaluator,GenAlg'
getEvalFun(object, genAlg)

## S4 method for signature 'GenAlgEvaluator,matrix'
getEvalFun(object, genAlg)

Arguments

object

The evaluator (an object of type GenAlgEvaluator)

genAlg

The GenAlg object


gaselect documentation built on Feb. 16, 2023, 6:14 p.m.