Chemical Data Processing Library Python API - Version 1.1.1
Public Member Functions | Properties | List of all members
CDPL.Pharm.FeatureDistanceScore Class Reference

FeatureDistanceScore. More...

+ Inheritance diagram for CDPL.Pharm.FeatureDistanceScore:

Public Member Functions

None __init__ (FeatureDistanceScore score)
 Initializes a copy of the FeatureDistanceScore instance score. More...
 
None __init__ (float min_dist, float max_dist)
 Constructs a FeatureDistanceScore functor with a minimum feature distance of min_dist and maximum distance of max_dist. More...
 
None setDistanceScoringFunction (DoubleDoubleFunctor func)
 
float getMinDistance ()
 
float getMaxDistance ()
 
FeatureDistanceScore assign (FeatureDistanceScore func)
 Replaces the current state of self with a copy of the state of the FeatureDistanceScore instance func. More...
 
- Public Member Functions inherited from CDPL.Pharm.FeatureInteractionScore
None __init__ ()
 Initializes the FeatureInteractionScore instance.
 
int getObjectID ()
 Returns the numeric identifier (ID) of the wrapped C++ class instance. More...
 
float __call__ (Feature arg2, Feature self)
 
float __call__ (Math.Vector3D arg2, Feature self)
 

Properties

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

Detailed Description

FeatureDistanceScore.

Constructor & Destructor Documentation

◆ __init__() [1/2]

None CDPL.Pharm.FeatureDistanceScore.__init__ ( FeatureDistanceScore  score)

Initializes a copy of the FeatureDistanceScore instance score.

Parameters
scoreThe FeatureDistanceScore instance to copy.

◆ __init__() [2/2]

None CDPL.Pharm.FeatureDistanceScore.__init__ ( float  min_dist,
float  max_dist 
)

Constructs a FeatureDistanceScore functor with a minimum feature distance of min_dist and maximum distance of max_dist.

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

Reimplemented in CDPL.Pharm.HydrophobicInteractionScore, and CDPL.Pharm.IonicInteractionScore.

Member Function Documentation

◆ setDistanceScoringFunction()

None CDPL.Pharm.FeatureDistanceScore.setDistanceScoringFunction ( DoubleDoubleFunctor  func)
Parameters
func

◆ getMinDistance()

float CDPL.Pharm.FeatureDistanceScore.getMinDistance ( )
Returns

◆ getMaxDistance()

float CDPL.Pharm.FeatureDistanceScore.getMaxDistance ( )
Returns

◆ assign()

FeatureDistanceScore CDPL.Pharm.FeatureDistanceScore.assign ( FeatureDistanceScore  func)

Replaces the current state of self with a copy of the state of the FeatureDistanceScore instance func.

Parameters
funcThe FeatureDistanceScore instance to copy.
Returns
self