#include <Configuration.h>
Public Member Functions | |
Configuration (unsigned int i_size) | |
constructor | |
bool | operator!= (const Configuration &cfg) |
compare configurations | |
bool | operator== (const Configuration &cfg) |
compare configurations | |
const double | operator[] (unsigned int i_rank) const |
double & | operator[] (unsigned int i_rank) |
unsigned int | size () const |
get the number of degrees of freedom | |
const double | value (unsigned int i_rank) const |
double & | value (unsigned int i_rank) |
Private Attributes | |
std::vector< double > | m_values |
Definition at line 10 of file Configuration.h.
Configuration::Configuration | ( | unsigned int | i_size | ) |
constructor
Definition at line 19 of file Configuration.cpp.
bool Configuration::operator!= | ( | const Configuration & | cfg | ) |
compare configurations
Definition at line 39 of file Configuration.cpp.
bool Configuration::operator== | ( | const Configuration & | cfg | ) |
compare configurations
Definition at line 48 of file Configuration.cpp.
Definition at line 24 of file Configuration.h.
double& PathEngine::Configuration::operator[] | ( | unsigned int | i_rank | ) | [inline] |
Definition at line 32 of file Configuration.h.
unsigned int Configuration::size | ( | void | ) | const |
get the number of degrees of freedom
Definition at line 34 of file Configuration.cpp.
const double Configuration::value | ( | unsigned int | i_rank | ) | const |
get value of i_rank th dof
i_rank | rank of dof |
Definition at line 24 of file Configuration.cpp.
double & Configuration::value | ( | unsigned int | i_rank | ) |
set value of i_rank th dof
i_rank | rank of dof |
i_value | value of dof |
Definition at line 29 of file Configuration.cpp.
std::vector<double> PathEngine::Configuration::m_values [private] |
Definition at line 53 of file Configuration.h.