Open
Graph Drawing
Framework

 v.2010.10
 

Public Member Functions | Private Attributes

ogdf::BucketEdgeArray Class Reference

Bucket function for edges. More...

#include <ogdf/basic/EdgeArray.h>

Inheritance diagram for ogdf::BucketEdgeArray:
ogdf::BucketFunc< edge >

List of all members.

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.

Detailed Description

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.


Constructor & Destructor Documentation

ogdf::BucketEdgeArray::BucketEdgeArray ( const EdgeArray< int > &  edgeArray  )  [inline]

Constructs a bucket function.

Parameters:
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.


Member Function Documentation

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.


Member Data Documentation

Pointer to edge array.

Definition at line 245 of file EdgeArray.h.


The documentation for this class was generated from the following file: