Stores a set of TripletContainers.
The input sets must be disjoint. This can change if there is demand for it.
- Note:
- The maintenance of the invariant is done by an associated IMP::Constraint. As a result, the state is only guaranteed to be correct either during model evaluation, or immediately following model evaluation before any particles have been changed.
Public Member Functions |
| | TripletContainerSet (Model *m, std::string name="TripletContainerSet %1%") |
| | Construct and empty set.
|
|
| TripletContainerSet (const TripletContainersTemp &pc, std::string name="TripletContainerSet %1%") |
| void | apply (const TripletModifier *sm) const |
| | Apply a SingletonModifier to the contents.
|
| void | apply (const TripletDerivativeModifier *sm, DerivativeAccumulator &da) const |
| | Apply a SingletonModifier to the contents.
|
| double | evaluate (const TripletScore *s, DerivativeAccumulator *da) const |
| | Evaluate a score on the contents.
|
| double | evaluate_if_good (const TripletScore *s, DerivativeAccumulator *da, double max) const |
| | Evaluate a score on the contents.
|
| ParticlesTemp | get_all_possible_particles () const |
| | Get contained particles.
|
| bool | get_contains_particle_triplet (const ParticleTriplet &) const |
| bool | get_is_changed () const |
|
template<class SM > |
| void | template_apply (const SM *sm, DerivativeAccumulator &da) const |
|
template<class SM > |
| void | template_apply (const SM *sm) const |
|
template<class SS > |
| double | template_evaluate (const SS *s, DerivativeAccumulator *da) const |
|
template<class SS > |
| double | template_evaluate_if_good (const SS *s, DerivativeAccumulator *da, double max) const |
| virtual unsigned int | get_number_of_particle_triplets () const |
| | return the number of Triplets in the container
|
|
virtual ParticleTriplet | get_particle_triplet (unsigned int i) const |
|
ParticleTripletsTemp | get_particle_triplets () const |
| virtual void | do_after_evaluate (DerivativeAccumulator *accpt) |
| | Reset changed status.
|
| virtual ParticlesTemp | get_input_particles () const |
| | Return get_all_possible_particles()
|
| virtual bool | get_is_decomposable () const |
| virtual ContainersTemp | get_output_containers () const |
| | Containers don't have output.
|
| virtual ParticlesTemp | get_output_particles () const |
| | Containers don't have output.
|
|
| Constraint (Model *m, std::string name="Constraint %1%") |
|
| ScoreState (Model *m, std::string name="ScoreState %1%") |
|
void | after_evaluate (DerivativeAccumulator *accpt) |
|
void | before_evaluate () |
|
virtual ContainersTemp | get_input_containers () const =0 |
|
| ModelObject (Model *m, std::string name) |
|
ModelObjectsTemp | get_inputs () const |
|
Model * | get_model () const |
|
ModelObjectsTemp | get_outputs () const |
|
std::size_t | __hash__ () const |
| virtual std::string | get_type_name () const =0 |
| | Return a string identifying the type of the object.
|
| virtual IMP::base::VersionInfo | get_version_info () const =0 |
| | Get information about the module and version of the object.
|
| void | set_check_level (CheckLevel l) |
| void | set_log_level (LogLevel l) |
| | Set the logging level used in this object.
|
| void | set_was_used (bool tf) const |
|
void | show (std::ostream &out=std::cout) const |
|
const std::string & | get_name () const |
|
void | set_name (std::string name) |
Methods to control the nested container |
This container merges a set of nested containers. To add or remove nested containers, use the methods below.
|
|
void | remove_triplet_container (TripletContainer *d) |
|
template<class F > |
| void | remove_triplet_containers_if (const F &f) |
|
template<class List > |
| void | remove_triplet_containers (List d) |
|
template<class List > |
| void | set_triplet_containers (List ps) |
|
template<class List > |
| void | set_triplet_containers_order (List ps) |
|
unsigned int | add_triplet_container (TripletContainer *obj) |
|
template<class List > |
| void | add_triplet_containers (List objs) |
|
void | clear_triplet_containers () |
|
unsigned int | get_number_of_triplet_containers () const |
|
bool | get_has_triplet_containers () const |
|
TripletContainer * | get_triplet_container (unsigned int i) const |
|
TripletContainers | get_triplet_containers () const |
|
void | reserve_triplet_containers (unsigned int sz) |
|
TripletContainerIterator | triplet_containers_begin () |
|
TripletContainerIterator | triplet_containers_end () |
|
TripletContainerConstIterator | triplet_containers_begin () const |
|
TripletContainerConstIterator | triplet_containers_end () const |