8#ifndef IMPISD_ISD_RESTRAINT_H
9#define IMPISD_ISD_RESTRAINT_H
11#include <IMP/isd/isd_config.h>
27 virtual double get_probability()
const;
Abstract base class for all restraints.
Represents a scoring function on the model.
Class for adding derivatives from restraints to the model.
Restraint(Model *m, std::string name)
Create a restraint and register it with the model.
A base class for ISD Restraints.
virtual double unprotected_evaluate(DerivativeAccumulator *accum) const override
Return the unweighted score for the restraint.
ISDRestraint(Model *m, std::string name)
Create the restraint.
virtual ModelObjectsTemp do_get_inputs() const override
IMP::Vector< IMP::Pointer< ISDRestraint > > ISDRestraints
IMP::Vector< IMP::WeakPointer< ModelObject > > ModelObjectsTemp
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.