PaGMO  1.1.5
Public Member Functions | Friends
pagmo::algorithm::null Class Reference

Null algorithm. More...

#include <null.h>

Inheritance diagram for pagmo::algorithm::null:
Inheritance graph
[legend]

Public Member Functions

 null ()
 Default constructor.
 
base_ptr clone () const
 Clone method.
 
void evolve (population &) const
 Evolution. More...
 
std::string get_name () const
 Algorithm name.
 
- Public Member Functions inherited from pagmo::algorithm::base
 base ()
 Default constructor. More...
 
virtual ~base ()
 Trivial destructor. More...
 
std::string human_readable () const
 Return human readable representation of the algorithm. More...
 
virtual std::string human_readable_extra () const
 Extra information in human readable format. More...
 
void set_screen_output (const bool p)
 Setter-Getter for protected m_screen_output data. More...
 
bool get_screen_output () const
 Gets screen output. More...
 
void reset_rngs (const unsigned int) const
 Resets the seed of the internal rngs using a user-provided seed. More...
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Protected Attributes inherited from pagmo::algorithm::base
bool m_screen_output
 Indicates to the derived class whether to print stuff on screen.
 
rng_double m_drng
 Random number generator for double-precision floating point values.
 
rng_uint32 m_urng
 Random number generator for unsigned integer values.
 
unsigned int m_fevals
 A counter for the number of function evaluations.
 

Detailed Description

Null algorithm.

Will leave population unchanged during evolution. Useful for testing/benchmarking.

Author
Francesco Biscani (blues.nosp@m.carn.nosp@m.i@gma.nosp@m.il.c.nosp@m.om)

Definition at line 44 of file null.h.

Member Function Documentation

void pagmo::algorithm::null::evolve ( population ) const
virtual

Evolution.

Evolution for this algorithm will leave the population unchanged.

Implements pagmo::algorithm::base.

Definition at line 47 of file null.cpp.


The documentation for this class was generated from the following files: