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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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