IMP Reference Guide
2.20.2
The Integrative Modeling Platform
|
Compile-time generic restraint and constraint support. More...
#include <IMP/kernel_config.h>
#include "internal/scoring_functions.h"
#include "internal/ContainerRestraint.h"
#include "internal/TupleRestraint.h"
#include "internal/TupleConstraint.h"
Go to the source code of this file.
Namespaces | |
IMP | |
Base functionality and abstract base classes for representation, scoring and sampling. | |
Functions | |
template<class Before , class After > | |
Constraint * | IMP::create_constraint (Before *b, After *a, const typename Before::Argument &t, std::string name=std::string()) |
template<class Score > | |
Restraint * | IMP::create_restraint (Score *s, const typename Score::Argument &t, std::string name=std::string()) |
template<class Score > | |
Restraint * | IMP::create_restraint (const Score *s, const typename Score::Argument &t, std::string name=std::string()) |
template<class Score , class Container > | |
Restraint * | IMP::create_restraint (const Score *s, Container *t, std::string name=std::string()) |
template<class RestraintType > | |
ScoringFunction * | IMP::create_scoring_function (RestraintType *rs, double weight=1.0, double max=NO_MAX, std::string name=std::string()) |
Create a ScoringFunction on a single restraint. More... | |