|
BALL
1.4.79
|
#include <BALL/STRUCTURE/BONDORDERS/FPTBondOrderStrategy.h>
Public Member Functions | |
| bool | operator() (DPConfig_ const *leftp, DPConfig_ const *rightp) const |
| int | compare (DPConfig_ const *leftp, DPConfig_ const *rightp) const |
A comparator, which searches DPConfigs in a DPJoinMap. Two DPConfigs are equal, if they have the same bond values, even if they have different consumed valences.
Definition at line 817 of file FPTBondOrderStrategy.h.
| int BALL::FPTBondOrderStrategy::DPJoinMapComparator_::compare | ( | DPConfig_ const * | leftp, |
| DPConfig_ const * | rightp | ||
| ) | const |
returns 1, if leftp is greather than rightp, 0 if both are equal and -1 otherwise. You can compare only childs from the same join bag.
| BALL::Exception::InvalidArgument | if the both DPConfig entries can not be compared |
| bool BALL::FPTBondOrderStrategy::DPJoinMapComparator_::operator() | ( | DPConfig_ const * | leftp, |
| DPConfig_ const * | rightp | ||
| ) | const |
Less-operator. Returns true if leftp is smaller than rightp.
| BALL::Exception::InvalidArgument | if the both DPConfig entries can not be compared |
1.8.7