Differential Evolution C++ library
de::range_constraint Class Reference

#include <de_constraints.hpp>

Inheritance diagram for de::range_constraint:
Collaboration diagram for de::range_constraint:

List of all members.

Public Member Functions

 range_constraint (double min, double max)
double min () const
double max () const

Detailed Description

Base class for constraints that are range based. Each such constraint has a min and a max value

Author:
adrian (12/1/2011)

Constructor & Destructor Documentation

de::range_constraint::range_constraint ( double  min,
double  max 
) [inline]

constructor that takes the min and max limits of the range

Author:
adrian (12/4/2011)
Parameters:
min
max

Member Function Documentation

double de::range_constraint::max ( ) const [inline, virtual]

returns the max limit of the range

Author:
adrian (12/4/2011)
Returns:
double

Implements de::constraint.

Here is the caller graph for this function:

double de::range_constraint::min ( ) const [inline, virtual]

returns the min limit of the range

Author:
adrian (12/4/2011)
Returns:
double

Implements de::constraint.

Here is the caller graph for this function:


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