evolaPop-class {evola} | R Documentation |
Genetic algorithm pop
Description
A genetic algorithm pop fit by evolafit
.
This class extends class "Pop"
class and includes some
additional slots.
Objects from the Class
Objects are created by calls to the
evolafit
function.
Slots
- indivPerformance
the matrix of q'a (score), deltaC, q'Dq, generation, nQTNs per solution per generation. See details section above. All other slots are inherited from class
"Pop"
.- pedBest
if the argument keepBest=TRUE this contains the pedigree of the selected solutions across iterations. All other slots are inherited from class
"Pop"
.- $score
a matrix with scores for different metrics across n generations of evolution. All other slots are inherited from class
"Pop"
.- $pheno
the matrix of phenotypes of individuals/solutions present in the last generation. All other slots are inherited from class
"Pop"
.- $phenoBest
the matrix of phenotypes of top (parents) individuals/solutions present in the last generation. All other slots are inherited from class
"Pop"
.- constCheckUB
A matrix with as many rows as solutions and columns as traits to be constrained. 0s indicate that such trait went beyond the bound in that particular solution. All other slots are inherited from class
"Pop"
.- constCheckLB
A matrix with as many rows as solutions and columns as traits to be constrained. 0s indicate that such trait went beyond the bound in that particular solution. All other slots are inherited from class
"Pop"
.- traits
a character vector corresponding to the name of the variables used in the fitness function. All other slots are inherited from class
"Pop"
.
Extends
Class "Pop"
, directly.
Methods
- update
signature(object = "evolaPop")
: also a non-method for the same reason asupdate
See Also
evolafit
Examples
showClass("evolaPop")