OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
An abstract class defining the interface for all optimizer components. More...
#include <Optimizer.h>
Public Types | |
typedef std::vector< std::pair < double, double > > | bounds_t |
type of bounds for design variables More... | |
Public Member Functions | |
Optimizer (MPI_Comm comm) | |
virtual | ~Optimizer () |
virtual void | initialize ()=0 |
entry point for optimizer More... | |
Protected Member Functions | |
virtual void | setupPoll ()=0 |
executed before starting polling loop More... | |
virtual void | prePoll ()=0 |
executed before checking for new request More... | |
virtual void | postPoll ()=0 |
executed after handling (if any) new request More... | |
virtual void | onStop ()=0 |
enable implementation to react to STOP tag More... | |
virtual bool | onMessage (MPI_Status status, size_t length)=0 |
![]() | |
virtual void | run () |
Poller (MPI_Comm comm, double delay=0.1) | |
virtual | ~Poller () |
Additional Inherited Members | |
![]() | |
MPI_Comm | comm_m |
communicator the poller listens to requests More... | |
bool | is_running_ |
double | last_polled_ |
time of last MPI_Test More... | |
double | poll_delay_ |
delay in seconds between polls More... | |
An abstract class defining the interface for all optimizer components.
Definition at line 14 of file Optimizer.h.
typedef std::vector< std::pair<double, double> > Optimizer::bounds_t |
type of bounds for design variables
Definition at line 22 of file Optimizer.h.
|
inline |
Definition at line 18 of file Optimizer.h.
|
inlinevirtual |
Definition at line 19 of file Optimizer.h.
|
pure virtual |
entry point for optimizer
Implemented in Sampler, and FixedPisaNsga2< CrossoverOperator, MutationOperator >.
|
protectedpure virtual |
User specific behavior on receiving a message.
Implements Poller.
Implemented in FixedPisaNsga2< CrossoverOperator, MutationOperator >, and Sampler.
|
protectedpure virtual |
enable implementation to react to STOP tag
Implements Poller.
Implemented in FixedPisaNsga2< CrossoverOperator, MutationOperator >, and Sampler.
|
protectedpure virtual |
executed after handling (if any) new request
Implements Poller.
Implemented in FixedPisaNsga2< CrossoverOperator, MutationOperator >, and Sampler.
|
protectedpure virtual |
executed before checking for new request
Implements Poller.
Implemented in FixedPisaNsga2< CrossoverOperator, MutationOperator >, and Sampler.
|
protectedpure virtual |
executed before starting polling loop
Implements Poller.
Implemented in FixedPisaNsga2< CrossoverOperator, MutationOperator >, and Sampler.