Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::NodeColoringSequential::NodeDegreeComparer Class Reference

Class for comparing two nodes by the node degree. More...

Public Member Functions

 OGDF_AUGMENT_STATICCOMPARER (node)
 

Static Public Member Functions

static int compare (const node &v1, const node &v2)
 Compares two nodes by using the node degree. More...
 

Detailed Description

Class for comparing two nodes by the node degree.

Definition at line 96 of file NodeColoringSequential.h.

Member Function Documentation

◆ compare()

static int ogdf::NodeColoringSequential::NodeDegreeComparer::compare ( const node v1,
const node v2 
)
inlinestatic

Compares two nodes by using the node degree.

A higher nodes degree indicates a higher value.

Parameters
v1First nodes
v2Second node
Returns
The compare value

Definition at line 106 of file NodeColoringSequential.h.

◆ OGDF_AUGMENT_STATICCOMPARER()

ogdf::NodeColoringSequential::NodeDegreeComparer::OGDF_AUGMENT_STATICCOMPARER ( node  )

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