/** * \file sampling_space_utils.cpp * \brief setting up tools * * Copyright 2007-2010 IMP Inventors. All rights reserved. * */ #include #include IMPMULTIFIT_BEGIN_NAMESPACE domino::TransformationCartesianProductSampler * set_sampling_space(const DataContainer &data) { IMP_INTERNAL_CHECK(data.get_number_of_components()>0, "no components to sample \n"); Particles components; for(int i=0;iget_model(); //add valid transformation for each rigid body for(int i=0;iget_name()<add_attribute(orig_ind_key,ts_i);//TODO - why is it needed? discrete_set->add_mapped_state(comp,state_p); } IMP_LOG(VERBOSE,"end setting sampling space for particle"<