#include <peoParaPopEval.h>
Inheritance diagram for peoParaPopEval< EOT >:

Public Member Functions | |
| peoParaPopEval (eoEvalFunc< EOT > &__eval_func) | |
| Constructor function - an EO-derived evaluation functor has to be specified; an internal reference is set towards the specified evaluation functor. | |
| peoParaPopEval (const std::vector< eoEvalFunc< EOT > * > &__funcs, peoAggEvalFunc< EOT > &__merge_eval) | |
| Constructor function - a vector of EO-derived evaluation functors has to be specified as well as an aggregation function. | |
| void | operator() (eoPop< EOT > &__pop) |
| Operator for applying the evaluation functor (direct or aggregate) for each individual of the specified population. | |
| void | packData () |
| Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. | |
| void | unpackData () |
| Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. | |
| void | execute () |
| Auxiliary function - it calls the specified evaluation functor(s). There is no need to explicitly call the function. | |
| void | packResult () |
| Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. | |
| void | unpackResult () |
| Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. | |
| void | notifySendingData () |
| Auxiliary function for notifications between the process requesting an evaluation operation and the processes that performs the actual evaluation phase. | |
| void | notifySendingAllResourceRequests () |
| Auxiliary function for notifications between the process requesting an evaluation operation and the processes that performs the actual evaluation phase. | |
Private Attributes | |
|
const std::vector< eoEvalFunc< EOT > * > & | funcs |
| std::vector< eoEvalFunc< EOT > * > | one_func |
| peoAggEvalFunc< EOT > & | merge_eval |
| peoNoAggEvalFunc< EOT > | no_merge_eval |
| std::queue< EOT * > | tasks |
|
std::map< EOT *, std::pair< unsigned, unsigned > > | progression |
| unsigned | num_func |
| EOT | sol |
| EOT * | ad_sol |
| unsigned | total |
The class offers the possibility of chosing between a single-function evaluation and an aggregate evaluation function, including several sub-evalution functions.
Definition at line 41 of file peoParaPopEval.h.
|
||||||||||
|
Constructor function - an EO-derived evaluation functor has to be specified; an internal reference is set towards the specified evaluation functor.
Definition at line 117 of file peoParaPopEval.h. References peoParaPopEval< EOT >::one_func. |
|
||||||||||||||||
|
Constructor function - a vector of EO-derived evaluation functors has to be specified as well as an aggregation function.
Definition at line 126 of file peoParaPopEval.h. |
|
||||||||||
|
Operator for applying the evaluation functor (direct or aggregate) for each individual of the specified population.
Implements peoPopEval< EOT >. Definition at line 137 of file peoParaPopEval.h. References peoParaPopEval< EOT >::funcs, peoParaPopEval< EOT >::progression, and peoParaPopEval< EOT >::tasks. |
|
|||||||||
|
Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. There is no need to explicitly call the function. Reimplemented from Service. Definition at line 158 of file peoParaPopEval.h. References peoParaPopEval< EOT >::progression, and peoParaPopEval< EOT >::tasks. |
|
|||||||||
|
Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. There is no need to explicitly call the function. Reimplemented from Service. Definition at line 172 of file peoParaPopEval.h. References peoParaPopEval< EOT >::ad_sol, peoParaPopEval< EOT >::num_func, and peoParaPopEval< EOT >::sol. |
|
|||||||||
|
Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. There is no need to explicitly call the function. Reimplemented from Service. Definition at line 189 of file peoParaPopEval.h. References peoParaPopEval< EOT >::ad_sol, and peoParaPopEval< EOT >::sol. |
|
|||||||||
|
Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. There is no need to explicitly call the function. Reimplemented from Service. Definition at line 198 of file peoParaPopEval.h. References peoParaPopEval< EOT >::ad_sol, Service::getOwner(), peoParaPopEval< EOT >::merge_eval, peoParaPopEval< EOT >::progression, Communicable::resume(), Thread::setActive(), and peoParaPopEval< EOT >::total. |
|
|||||||||
|
Auxiliary function for notifications between the process requesting an evaluation operation and the processes that performs the actual evaluation phase. There is no need to explicitly call the function. Reimplemented from Service. Definition at line 229 of file peoParaPopEval.h. |
|
|||||||||
|
Auxiliary function for notifications between the process requesting an evaluation operation and the processes that performs the actual evaluation phase. There is no need to explicitly call the function. Reimplemented from Service. Definition at line 234 of file peoParaPopEval.h. References Service::getOwner(), and Thread::setPassive(). |
1.4.6