The Conley-Morse Graphs Software
|
A data structure for storing map parameters. More...
#include <mapparam.h>
Public Member Functions | |
MapParam () | |
The default constructor. More... | |
~MapParam () | |
The destructor. More... | |
void | define (const double *leftParam, const double *rightParam, int nParam) |
Defines a data structure based on the given parameters. More... | |
size_t | size () const |
Returns the number of parameters. More... | |
const double & | left (size_t n) const |
Returns the n-th left bound for the parameters. More... | |
const double & | right (size_t n) const |
Returns the n-th right bound for the parameters. More... | |
template<class OutputStream > | |
OutputStream & | write (OutputStream &out) const |
Writes a parameter aggregate data object to an output stream. More... | |
template<class InputStream > | |
InputStream & | read (InputStream &in) |
Reads a parameter aggregate data object from an input stream. More... | |
Private Attributes | |
std::vector< std::pair< double, double > > | param |
An aggregate data container for the parameters. More... | |
A data structure for storing map parameters.
Definition at line 56 of file mapparam.h.
|
inline |
The default constructor.
Definition at line 94 of file mapparam.h.
|
inline |
The destructor.
Definition at line 99 of file mapparam.h.
|
inline |
Defines a data structure based on the given parameters.
Definition at line 104 of file mapparam.h.
References param.
|
inline |
Returns the n-th left bound for the parameters.
Definition at line 121 of file mapparam.h.
References param.
|
inline |
Reads a parameter aggregate data object from an input stream.
Definition at line 147 of file mapparam.h.
References param.
|
inline |
Returns the n-th right bound for the parameters.
Definition at line 126 of file mapparam.h.
References param.
|
inline |
|
inline |
Writes a parameter aggregate data object to an output stream.
Definition at line 132 of file mapparam.h.
|
private |