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 371 of file EdgeArray.h.
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 380 of file EdgeArray.h.
Returns bucket of edge e.
Implements ogdf::BucketFunc< edge >.
Definition at line 383 of file EdgeArray.h.
Pointer to edge array.
Definition at line 372 of file EdgeArray.h.