FOX/ObjCryst++
1.10.X (development)
|
Restraint: generic class for a restraint of a given model. More...
Public Member Functions | |
Restraint () | |
Default constructor, sets RefParType to gpRefParTypeObjCryst. | |
Restraint (const RefParType *type) | |
constructor specifying the type | |
virtual const RefParType * | GetType () const |
virtual void | SetType (const RefParType *type) |
virtual REAL | GetLogLikelihood () const |
Get -ln(likelihood) for this restraint. | |
Private Attributes | |
const RefParType * | mpRefParType |
Restraint: generic class for a restraint of a given model.
This defines only the category (RefParType) of restraint, and the function to access the log(likelihood) associated to this restraint and the current model.
By default: -log(likelihood)=0, and the function must be overloaded for "real" restraints.
forgetting the normalization term would result in making the optimization diverge towards infinite variances.
Definition at line 199 of file RefinableObj.h.