IMP logo

IMP::domino::DiscreteSampler Class Reference


Detailed Description

Holds the states of a single or a set of particles This interface is used by the DOMINO optimizer to get states of particles.
Note:
Since this class is header-only, we must not mark it for export with IMPDOMINOEXPORT.
Inheritance diagram for IMP::domino::DiscreteSampler:

Inheritance graph
[legend]

Public Member Functions

def __disown__
virtual DiscreteSet * get_space (Particle *p) const
 Get the sampling space of a single particle.
virtual void move2state (const CombState *cs)
virtual void populate_states_of_particles (Particles *particles, Combinations *states) const
 Fill states as encoded in the node for the input subset of particles.
virtual void show (std::ostream &out=std::cout) const
virtual void show_space (Particle *p, std::ostream &out=std::cout) const
 Show the sampling space of a single particle.

Member Function Documentation

virtual void IMP::domino::DiscreteSampler::move2state ( const CombState cs  )  [virtual]

Set the attributes of the particles in the combination to the states indicated in the combination

virtual void IMP::domino::DiscreteSampler::populate_states_of_particles ( Particles particles,
Combinations *  states 
) const [virtual]

Fill states as encoded in the node for the input subset of particles.

Parameters:
[in] particles a set of particles for which combinations of states should be generated.
[in] states the dataset to be filled with states.


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

Generated on Mon Mar 8 23:09:00 2010 for IMP by doxygen 1.5.8