Differential Evolution C++ library
|
#include <individual.hpp>
Public Member Functions | |
void | push_back (individual_ptr ind) |
individual_ptr | pop () |
A thread safe queue of individuals
Used to queue Individuals containing the arguments to be passed by different processors to the objective function
individual_ptr de::individual_queue::pop | ( | ) | [inline] |
removes the individual from the top of the queue (if any) and returns it
is thread safe
void de::individual_queue::push_back | ( | individual_ptr | ind | ) | [inline] |
adds a new individual at the bottom of the queue
is thread safe
ind | the individual to insert into the queue |