#include <BALL/KERNEL/standardPredicates.h>
Public Member Functions | |
virtual bool | operator() (const Atom &atom) const |
Charge predicate
Return true if the charge is in the indicated range. The argument of this predicate is either a number, in which case the charge of the atom has to be equal to that number (down to the specified accuracy for floating point comparisons, EPSILON ), or an operator followed by a number. Possible operators are: <
, >
, >=
, <=
, =
.
atom | the atom to test |
Reimplemented from BALL::ExpressionPredicate.