Open
Graph Drawing
Framework

 v.2012.07
 

ogdf::EdgeComparerSimple Class Reference

#include <ogdf/basic/EdgeComparerSimple.h>

+ Inheritance diagram for ogdf::EdgeComparerSimple:

List of all members.

Public Member Functions

 EdgeComparerSimple (const GraphAttributes &AG, const node v)
int compare (const adjEntry &e1, const adjEntry &e2) const
 Compares x and y and returns the result as an integer.
- Public Member Functions inherited from ogdf::VComparer< adjEntry >
 VComparer ()
 Initializes a comparer.
virtual ~VComparer ()
virtual bool equal (const adjEntry &x, const adjEntry &y) const
 Returns true iff x = y.
virtual bool geq (const adjEntry &x, const adjEntry &y) const
 Returns true iff x >= y.
virtual bool greater (const adjEntry &x, const adjEntry &y) const
 Returns true iff x > y.
virtual bool leq (const adjEntry &x, const adjEntry &y) const
 Returns true iff x <= y.
virtual bool less (const adjEntry &x, const adjEntry &y) const
 Returns true iff x < y.

Private Attributes

node basis
const GraphAttributesm_AG

Detailed Description

Definition at line 65 of file EdgeComparerSimple.h.


Constructor & Destructor Documentation

ogdf::EdgeComparerSimple::EdgeComparerSimple ( const GraphAttributes AG,
const node  v 
)
inline

Definition at line 69 of file EdgeComparerSimple.h.


Member Function Documentation

int ogdf::EdgeComparerSimple::compare ( const adjEntry x,
const adjEntry y 
) const
virtual

Compares x and y and returns the result as an integer.

The returns value is

  • < 0 iff x < y,
  • = 0 iff x = y,
  • > 0 iff x > y

Implements ogdf::VComparer< adjEntry >.


Member Data Documentation

node ogdf::EdgeComparerSimple::basis
private

Definition at line 74 of file EdgeComparerSimple.h.

const GraphAttributes* ogdf::EdgeComparerSimple::m_AG
private

Definition at line 75 of file EdgeComparerSimple.h.


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