Bucket function for edges. More...
#include <ogdf/basic/EdgeArray.h>
Inheritance diagram for ogdf::BucketEdgeArray:Public Member Functions | |
| BucketEdgeArray (const EdgeArray< int > &edgeArray) | |
| Constructs a bucket function. | |
| int | getBucket (const edge &e) override |
Returns bucket of edge e. | |
Public Member Functions inherited from ogdf::BucketFunc< edge > | |
| virtual | ~BucketFunc () |
Private Attributes | |
| const EdgeArray< int > * | m_pEdgeArray |
| Pointer to edge array. | |
Bucket function for edges.
The bucket of an edge is stored in an edge array which is passed by the user at construction; only a pointer is stored to that array.
Definition at line 43 of file EdgeArray.h.
|
inlineexplicit |
Constructs a bucket function.
| edgeArray | contains the buckets for the edges. May not be deleted as long as the bucket function is used. |
Definition at line 52 of file EdgeArray.h.
|
inlineoverridevirtual |
Returns bucket of edge e.
Implements ogdf::BucketFunc< edge >.
Definition at line 55 of file EdgeArray.h.
|
private |
Pointer to edge array.
Definition at line 44 of file EdgeArray.h.