ell::S_Explicit::LandscapeGraph Class Reference
#include <S_Explicit.hh>
Detailed Description
The explicit graph representation of the energy landscape where nodes are labeled with their energies.
Definition at line 234 of file S_Explicit.hh.
Public Member Functions | |
| size_t | addNode (const double energy) |
| double | getNodeEnergy (const size_t nodeIndex) const |
| LandscapeGraph () | |
| ~LandscapeGraph () | |
Protected Attributes | |
| std::vector< double > | nodeEnergy |
Constructor & Destructor Documentation
| ell::S_Explicit::LandscapeGraph::LandscapeGraph | ( | ) |
| ell::S_Explicit::LandscapeGraph::~LandscapeGraph | ( | ) |
Member Function Documentation
| size_t ell::S_Explicit::LandscapeGraph::addNode | ( | const double | energy | ) |
adds a node with the given energy
- Parameters:
-
energy of the node to add
- Returns:
- the index of the newly added node
Definition at line 393 of file S_Explicit.cc.
| double ell::S_Explicit::LandscapeGraph::getNodeEnergy | ( | const size_t | nodeIndex | ) | const |
Access to the energy of a specified node
- Parameters:
-
nodeIndex the index of the node to access
- Returns:
- the energy of that node
Definition at line 407 of file S_Explicit.cc.
Field Documentation
std::vector<double> ell::S_Explicit::LandscapeGraph::nodeEnergy [protected] |
The documentation for this class was generated from the following files:
- src/ell/S_Explicit.hh
- src/ell/S_Explicit.cc