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

Public Member Functions | |
| peoSyncMultiStart (eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, moAlgo< EOT > &__ls, eoPop< EOT > &__pop) | |
| Constructor function - several simple parameters are required for defining the characteristics of the multi-start model. | |
| void | operator() () |
| Operator which synchronously executes the specified algorithm on the individuals selected from the initial population. | |
| void | packData () |
| Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. | |
| void | unpackData () |
| Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. | |
| void | execute () |
| Auxiliary function for actually executing the specified algorithm on one assigned individual. | |
| void | packResult () |
| Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. | |
| void | unpackResult () |
| Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. | |
| void | notifySendingData () |
| Auxiliary function for notifications between the process requesting the synchronous multi-start execution and the processes that performs the actual execution phase. | |
| void | notifySendingAllResourceRequests () |
| Auxiliary function for notifications between the process requesting the synchronous multi-start execution and the processes that performs the actual execution phase. | |
Private Attributes | |
| eoContinue< EOT > & | cont |
| eoSelect< EOT > & | select |
| eoReplacement< EOT > & | replace |
| moAlgo< EOT > & | ls |
| eoPop< EOT > & | pop |
| eoPop< EOT > | sel |
| eoPop< EOT > | impr_sel |
| EOT | sol |
| unsigned | idx |
| unsigned | num_term |
As a simple example, several hill climbing algorithms may be synchronously launched on the specified population, each algorithm acting upon one individual only, the final result being integrated back in the population. A peoSyncMultiStart object can be specified as checkpoint object for a classic ParadisEO evolutionary algorithm thus allowing for simple hybridization schemes which combine the evolutionary approach with a local search approach, for example, executed at the end of each generation.
Definition at line 51 of file peoSyncMultiStart.h.
|
||||||||||||||||||||||||||||
|
Constructor function - several simple parameters are required for defining the characteristics of the multi-start model.
Definition at line 121 of file peoSyncMultiStart.h. |
|
|||||||||
|
Operator which synchronously executes the specified algorithm on the individuals selected from the initial population. There is no need to explicitly call the operator - automatically called as checkpoint operator. Definition at line 176 of file peoSyncMultiStart.h. References peoSyncMultiStart< EOT >::idx, peoSyncMultiStart< EOT >::impr_sel, peoSyncMultiStart< EOT >::num_term, peoSyncMultiStart< EOT >::pop, Service::requestResourceRequest(), peoSyncMultiStart< EOT >::sel, peoSyncMultiStart< EOT >::select, and Communicable::stop(). |
|
|||||||||
|
Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. There is no need to explicitly call the function. Reimplemented from Service. Definition at line 135 of file peoSyncMultiStart.h. References peoSyncMultiStart< EOT >::idx, and peoSyncMultiStart< EOT >::sel. |
|
|||||||||
|
Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. There is no need to explicitly call the function. Reimplemented from Service. Definition at line 141 of file peoSyncMultiStart.h. References peoSyncMultiStart< EOT >::sol. |
|
|||||||||
|
Auxiliary function for actually executing the specified algorithm on one assigned individual. There is no need to explicitly call the function. Reimplemented from Service. Definition at line 147 of file peoSyncMultiStart.h. References peoSyncMultiStart< EOT >::ls, and peoSyncMultiStart< EOT >::sol. |
|
|||||||||
|
Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. There is no need to explicitly call the function. Reimplemented from Service. Definition at line 153 of file peoSyncMultiStart.h. References peoSyncMultiStart< EOT >::sol. |
|
|||||||||
|
Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. There is no need to explicitly call the function. Reimplemented from Service. Definition at line 159 of file peoSyncMultiStart.h. References Service::getOwner(), peoSyncMultiStart< EOT >::impr_sel, peoSyncMultiStart< EOT >::num_term, peoSyncMultiStart< EOT >::pop, peoSyncMultiStart< EOT >::replace, Communicable::resume(), peoSyncMultiStart< EOT >::sel, Thread::setActive(), and peoSyncMultiStart< EOT >::sol. |
|
|||||||||
|
Auxiliary function for notifications between the process requesting the synchronous multi-start execution and the processes that performs the actual execution phase. There is no need to explicitly call the function. Reimplemented from Service. Definition at line 187 of file peoSyncMultiStart.h. |
|
|||||||||
|
Auxiliary function for notifications between the process requesting the synchronous multi-start execution and the processes that performs the actual execution phase. There is no need to explicitly call the function. Reimplemented from Service. Definition at line 192 of file peoSyncMultiStart.h. References Service::getOwner(), and Thread::setPassive(). |
1.4.6