Generated on Mon Jun 23 17:18:20 2008 for ell-2.3.0 by doxygen 1.5.1

ell::NG_Random::NeighborList Class Reference

#include <NeighborGenerator.hh>


Detailed Description

Definition at line 37 of file NeighborGenerator.hh.

Public Member Functions

virtual Statefirst (State::NeighborList::ItState **itstate) const
 NeighborList (const State *_origin)
virtual Statenext (State::NeighborList::ItState *itstate, State *elem) const
virtual ~NeighborList ()

Protected Attributes

const State *const origin


Constructor & Destructor Documentation

ell::NG_Random::NeighborList::NeighborList ( const State _origin  ) 

Definition at line 7 of file NeighborGenerator.cc.

ell::NG_Random::NeighborList::~NeighborList (  )  [virtual]

Definition at line 11 of file NeighborGenerator.cc.


Member Function Documentation

State * ell::NG_Random::NeighborList::first ( State::NeighborList::ItState **  itstate  )  const [virtual]

Returns a pointer to the first element of the virtual list of neighbors of the state of origin. Returns NULL if no neighbors exist.

Parameters:
itstate constains state of the list iterator
Returns:
first element of NeighborList

Definition at line 14 of file NeighborGenerator.cc.

State * ell::NG_Random::NeighborList::next ( State::NeighborList::ItState *  itstate,
State elem 
) const [virtual]

Returns a pointer to the next element of the virtual list of neighbors of the state of origin. Returns NULL if no more neighbors exist.

Parameters:
itstate constains state of the list iterator
elem this State is used for the next neighbor
Returns:
next element in NeighborList

Definition at line 23 of file NeighborGenerator.cc.


Field Documentation

const State* const ell::NG_Random::NeighborList::origin [protected]

the state of origin of the neighbors

Definition at line 41 of file NeighborGenerator.hh.


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