Open
Graph Drawing
Framework

 v.2012.07
 

ogdf::MatchingMerger Class Reference

#include <ogdf/energybased/multilevelmixer/MatchingMerger.h>

+ Inheritance diagram for ogdf::MatchingMerger:

List of all members.

Public Member Functions

 MatchingMerger ()
void selectByNodeMass (bool on)
- Public Member Functions inherited from ogdf::MultilevelBuilder
 MultilevelBuilder ()
virtual ~MultilevelBuilder ()
virtual void buildAllLevels (MultilevelGraph &MLG)
int getNumLevels ()
void setEdgeLengthAdjustment (int factor)

Private Member Functions

bool buildOneLevel (MultilevelGraph &MLG)
 This method constructs one more level on top of an existing MultilevelGraph. It must be implemented in any MultilevelBuilder. A level is built by adding node-merges to the MultilevelGraph and updating the graph accordingly. This is achieved by calling MLG.

Private Attributes

NodeArray< unsigned int > m_mass
bool m_selectByMass

Additional Inherited Members

- Protected Attributes inherited from ogdf::MultilevelBuilder
int m_adjustEdgeLengths
int m_numLevels
 stores number of levels for statistics purposes

Detailed Description

Definition at line 54 of file MatchingMerger.h.


Constructor & Destructor Documentation

ogdf::MatchingMerger::MatchingMerger ( )

Member Function Documentation

bool ogdf::MatchingMerger::buildOneLevel ( MultilevelGraph MLG)
privatevirtual

This method constructs one more level on top of an existing MultilevelGraph. It must be implemented in any MultilevelBuilder. A level is built by adding node-merges to the MultilevelGraph and updating the graph accordingly. This is achieved by calling MLG.

Parameters:
MLGis the MultilevelGraph for which a new gevel will be built.
Returns:
true if the Graph was changed or false if no Level can be built.

Implements ogdf::MultilevelBuilder.

void ogdf::MatchingMerger::selectByNodeMass ( bool  on)

Member Data Documentation

NodeArray<unsigned int> ogdf::MatchingMerger::m_mass
private

Definition at line 57 of file MatchingMerger.h.

bool ogdf::MatchingMerger::m_selectByMass
private

Definition at line 58 of file MatchingMerger.h.


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