|
Differential Evolution C++ library
|
#include <de_constraints.hpp>


Public Member Functions | |
| range_constraint (double min, double max) | |
| double | min () const |
| double | max () const |
Base class for constraints that are range based. Each such constraint has a min and a max value
| de::range_constraint::range_constraint | ( | double | min, |
| double | max | ||
| ) | [inline] |
constructor that takes the min and max limits of the range
| min | |
| max |
| double de::range_constraint::max | ( | ) | const [inline, virtual] |
returns the max limit of the range
Implements de::constraint.

| double de::range_constraint::min | ( | ) | const [inline, virtual] |
returns the min limit of the range
Implements de::constraint.
