Generated on Tue Dec 16 13:34:54 2008 for ell-3.0.0 by doxygen 1.5.1

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 (  ) 

Construction.

Definition at line 379 of file S_Explicit.cc.

ell::S_Explicit::LandscapeGraph::~LandscapeGraph (  ) 

Destruction.

Definition at line 386 of file S_Explicit.cc.


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 energies of the nodes

Definition at line 238 of file S_Explicit.hh.


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