IMP logo
IMP Reference Guide  develop.182d9373c4,2021/04/12
The Integrative Modeling Platform
generic.h File Reference

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"
+ Include dependency graph for generic.h:
+ This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Compile-time generic restraint and constraint support.

Copyright 2007-2021 IMP Inventors. All rights reserved.

Definition in file generic.h.