IMP logo

IMP::domino::CartesianProductSampler Class Reference


Detailed Description

CartesianProductSampler.

The class samples all combinations in a discrete set to particles. for example, in the case of anchor points each anchor point can be mapped to one particle for a specific mapping. For example, for anchor points [1,2,3,4,5] to particles [a,b,c,d] the sampling space would be: [1,1,1,1],[1,1,1,2],[1,1,1,3],[1,1,1,4],......,[5,5,5,4],[5,5,5,5]

Inheritance diagram for IMP::domino::CartesianProductSampler:

Inheritance graph
[legend]

Public Member Functions

 CartesianProductSampler (MappedDiscreteSet *ds, const Particles &ps)
 Create a combination sampler.
DiscreteSet * get_space (Particle *p) const
virtual void move2state (const CombState *cs)
void populate_states_of_particles (Particles *particles, std::map< std::string, CombState * > *states) const
void show (std::ostream &out=std::cout) const

Protected Attributes

MappedDiscreteSetds_
Particles ps_

Constructor & Destructor Documentation

IMP::domino::CartesianProductSampler::CartesianProductSampler ( MappedDiscreteSet ds,
const Particles ps 
)

Create a combination sampler.

Parameters:
[in] ds the discrete sampling space
[in] ps the sampled particles


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