Bucket function for edges. More...
#include <ogdf/basic/EdgeArray.h>
Public Member Functions | |
| BucketEdgeArray (const EdgeArray< int > &edgeArray) | |
| Constructs a bucket function. | |
| int | getBucket (const edge &e) |
| Returns bucket of edge e. | |
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 243 of file EdgeArray.h.
| ogdf::BucketEdgeArray::BucketEdgeArray | ( | const EdgeArray< int > & | edgeArray | ) | [inline] |
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 253 of file EdgeArray.h.
| int ogdf::BucketEdgeArray::getBucket | ( | const edge & | e | ) | [inline, virtual] |
Returns bucket of edge e.
Implements ogdf::BucketFunc< edge >.
Definition at line 257 of file EdgeArray.h.
const EdgeArray<int>* ogdf::BucketEdgeArray::m_pEdgeArray [private] |
Pointer to edge array.
Definition at line 245 of file EdgeArray.h.