IMP
2.0.0
The Integrative Modeling Platform
|
Distribute contents of one container into several based on predicates. More...
#include <IMP/container/DistributeQuadsScoreState.h>
Public Member Functions | |
DistributeQuadsScoreState (QuadContainerAdaptor input, std::string name="DistributeQuadsScoreState %1%") | |
DynamicListQuadContainer * | add_predicate (QuadPredicate *predicate, int value) |
virtual void | do_after_evaluate (DerivativeAccumulator *da) |
virtual void | do_before_evaluate () |
virtual ModelObjectsTemp | do_get_inputs () const |
virtual ModelObjectsTemp | do_get_outputs () const |
virtual void | do_show (std::ostream &out) const |
Public Member Functions inherited from IMP::kernel::ScoreState | |
ScoreState (Model *m, std::string name="ScoreState %1%") | |
void | after_evaluate (DerivativeAccumulator *accpt) |
Do post evaluation work if needed. | |
void | before_evaluate () |
Force update of the structure. | |
ContainersTemp | get_input_containers () const |
ParticlesTemp | get_input_particles () const |
ContainersTemp | get_output_containers () const |
ParticlesTemp | get_output_particles () const |
Public Member Functions inherited from IMP::kernel::ModelObject | |
ModelObject (Model *m, std::string name) | |
ModelObjectsTemp | get_inputs () const |
ModelObjectsTemps | get_interactions () const |
Model * | get_model () const |
ModelObjectsTemp | get_outputs () const |
Public Member Functions inherited from IMP::base::Object | |
virtual void | clear_caches () |
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. More... | |
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) |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::kernel::ScoreState | |
virtual void | do_update_dependencies () |
Related Functions inherited from IMP::kernel::ScoreState | |
typedef IMP::base::Vector < IMP::base::WeakPointer < ScoreState > > | ScoreStatesTemp |
This ScoreState takes a list of predicates and values. For each tuple in the input container, it is placed in a given output container if the predicate, when applied, has the passed value.
Definition at line 37 of file DistributeQuadsScoreState.h.
DynamicListQuadContainer* IMP::container::DistributeQuadsScoreState::add_predicate | ( | QuadPredicate * | predicate, |
int | value | ||
) |
A given tuple will go into the returned container if predicate
returns value
when applied to it.
Definition at line 52 of file DistributeQuadsScoreState.h.
|
virtual |
Override if this reads other objects during evaluate.
Implements IMP::kernel::ModelObject.
|
virtual |
Override if this writes other objects during evaluate.
Implements IMP::kernel::ModelObject.