Abstract base class for bucket functions. More...
#include <ogdf/basic/basic.h>
Public Member Functions | |
virtual | ~BucketFunc () |
virtual int | getBucket (const E &x)=0 |
Returns the bucket of x . More... | |
Abstract base class for bucket functions.
The parameterized class BucketFunc<E> is an abstract base class for bucket functions. Derived classes have to implement getBucket(). Bucket functions are used by bucket sort functions for container types.
|
inlinevirtual |
|
pure virtual |
Returns the bucket of x
.
Implemented in ogdf::BucketTargetIndex, ogdf::BucketSourceIndex, ogdf::BucketEdgeArray, and ogdf::embedding_inserter::CrossingsBucket< PLANREP >.