#include <Interval.h>
Public Member Functions | |
| Interval () | |
| default constructor | |
| Interval (double lo) | |
| Constructor. | |
| Interval (double lo, double hi) | |
| Constructor. | |
| double | lowerBound () const |
| return lower interval end | |
| double | upperBound () const |
| return upper interval end | |
| double | width () const |
| return interval width | |
ackleyES.cpp, countingOnes.cpp, integerES.cpp, pvmSphereGA.cpp, sphereGA.cpp, and steadyState.cpp.
Definition at line 50 of file Interval.h.
| Interval::Interval | ( | ) | [inline] |
| Interval::Interval | ( | double | lo | ) | [inline] |
| Interval::Interval | ( | double | lo, | |
| double | hi | |||
| ) | [inline] |
| double Interval::lowerBound | ( | ) | const [inline] |
return lower interval end
Definition at line 79 of file Interval.h.
Referenced by ChromosomeT< bool >::decode(), ChromosomeT< double >::decodeBinary(), ChromosomeT< bool >::encode(), and ChromosomeT< bool >::encodeBinary().
| double Interval::upperBound | ( | ) | const [inline] |
| double Interval::width | ( | ) | const [inline] |
return interval width
Definition at line 91 of file Interval.h.
Referenced by ChromosomeT< bool >::decode(), ChromosomeT< double >::decodeBinary(), ChromosomeT< bool >::encode(), and ChromosomeT< bool >::encodeBinary().