Chemical Data Processing Library Python API - Version 1.2.0
Public Member Functions | Static Public Attributes | List of all members
CDPL.Pharm.IonicInteractionConstraint Class Reference

IonicInteractionConstraint. More...

+ Inheritance diagram for CDPL.Pharm.IonicInteractionConstraint:

Public Member Functions

None __init__ (IonicInteractionConstraint constr)
 Initializes a copy of the IonicInteractionConstraint instance constr. More...
 
None __init__ (float min_dist=1.5, float max_dist=5.5)
 Constructs a IonicInteractionConstraint functor with a minimum ionic-feature pair distance of min_dist and a maximum distance of max_dist. More...
 
- Public Member Functions inherited from CDPL.Pharm.FeatureDistanceConstraint
None __init__ (FeatureDistanceConstraint constr)
 Initializes a copy of the FeatureDistanceConstraint instance constr. More...
 
int getObjectID ()
 Returns the numeric identifier (ID) of the wrapped C++ class instance. More...
 
float getMinDistance ()
 
float getMaxDistance ()
 
FeatureDistanceConstraint assign (FeatureDistanceConstraint constr)
 Replaces the current state of self with a copy of the state of the FeatureDistanceConstraint instance constr. More...
 
bool __call__ (Feature ftr1, Feature ftr2)
 

Static Public Attributes

float DEF_MIN_DISTANCE = 1.5
 
float DEF_MAX_DISTANCE = 5.5
 

Additional Inherited Members

- Properties inherited from CDPL.Pharm.FeatureDistanceConstraint
 objectID = property(getObjectID)
 
 minDistance = property(getMinDistance)
 
 maxDistance = property(getMaxDistance)
 

Detailed Description

IonicInteractionConstraint.

Constructor & Destructor Documentation

◆ __init__() [1/2]

None CDPL.Pharm.IonicInteractionConstraint.__init__ ( IonicInteractionConstraint  constr)

Initializes a copy of the IonicInteractionConstraint instance constr.

Parameters
constrThe IonicInteractionConstraint instance to copy.

◆ __init__() [2/2]

None CDPL.Pharm.IonicInteractionConstraint.__init__ ( float   min_dist = 1.5,
float   max_dist = 5.5 
)

Constructs a IonicInteractionConstraint functor with a minimum ionic-feature pair distance of min_dist and a maximum distance of max_dist.

Parameters
min_distThe minimum allowed feature pair distance.
max_distThe maximum allowed feature pair distance.

Reimplemented from CDPL.Pharm.FeatureDistanceConstraint.