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

HydrophobicInteractionConstraint. More...

+ Inheritance diagram for CDPL.Pharm.HydrophobicInteractionConstraint:

Public Member Functions

None __init__ (HydrophobicInteractionConstraint constr)
 Initializes a copy of the HydrophobicInteractionConstraint instance constr. More...
 
None __init__ (float min_dist=2.0, float max_dist=6.0)
 Constructs a HydrophobicInteractionConstraint functor with a minimum hydrophobic-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 = 2.0
 
float DEF_MAX_DISTANCE = 6.0
 

Additional Inherited Members

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

Detailed Description

HydrophobicInteractionConstraint.

Constructor & Destructor Documentation

◆ __init__() [1/2]

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

Initializes a copy of the HydrophobicInteractionConstraint instance constr.

Parameters
constrThe HydrophobicInteractionConstraint instance to copy.

◆ __init__() [2/2]

None CDPL.Pharm.HydrophobicInteractionConstraint.__init__ ( float   min_dist = 2.0,
float   max_dist = 6.0 
)

Constructs a HydrophobicInteractionConstraint functor with a minimum hydrophobic-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.