BALL::InRingPredicate Class Reference

#include <BALL/KERNEL/standardPredicates.h>

Inheritance diagram for BALL::InRingPredicate:
BALL::ExpressionPredicate BALL::UnaryPredicate< Atom >

List of all members.

Public Member Functions

 InRingPredicate ()
 Default constructor;.
 InRingPredicate (Size n)
 Detailed constructor;.
 ~InRingPredicate ()
 Destructor;.
virtual bool operator() (const Atom &atom) const

Detailed Description

Predicate for atoms being included in rings of a certain number.


Constructor & Destructor Documentation

BALL::InRingPredicate::InRingPredicate ( )

Default constructor;.

BALL::InRingPredicate::InRingPredicate ( Size  n)

Detailed constructor;.

BALL::InRingPredicate::~InRingPredicate ( )

Destructor;.


Member Function Documentation

virtual bool BALL::InRingPredicate::operator() ( const Atom atom) const [virtual]

Evaluate the predicate for the atom atom.

Parameters:
atomthe atom to test
Returns:
true, if the predicate is true, false otherwise

Reimplemented from BALL::ExpressionPredicate.