Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

ogdf::SimpleCluster Class Reference

#include <ogdf/graphalg/ClustererModule.h>

Public Member Functions

 SimpleCluster (SimpleCluster *parent=nullptr)
 
SList< SimpleCluster * > & children ()
 
int getIndex ()
 
SimpleClustergetParent ()
 
SList< node > & nodes ()
 
void pushBackChild (SimpleCluster *s)
 
void pushBackVertex (node v)
 
void setIndex (int index)
 
void setParent (SimpleCluster *parent)
 

Public Attributes

int m_size
 

Private Attributes

SList< SimpleCluster * > m_children
 
int m_index
 
SList< nodem_nodes
 
SimpleClusterm_parent
 

Detailed Description

Definition at line 48 of file ClustererModule.h.

Constructor & Destructor Documentation

◆ SimpleCluster()

ogdf::SimpleCluster::SimpleCluster ( SimpleCluster parent = nullptr)
inline

Definition at line 51 of file ClustererModule.h.

Member Function Documentation

◆ children()

SList<SimpleCluster*>& ogdf::SimpleCluster::children ( )
inline

Definition at line 64 of file ClustererModule.h.

◆ getIndex()

int ogdf::SimpleCluster::getIndex ( )
inline

Definition at line 61 of file ClustererModule.h.

◆ getParent()

SimpleCluster* ogdf::SimpleCluster::getParent ( )
inline

Definition at line 58 of file ClustererModule.h.

◆ nodes()

SList<node>& ogdf::SimpleCluster::nodes ( )
inline

Definition at line 63 of file ClustererModule.h.

◆ pushBackChild()

void ogdf::SimpleCluster::pushBackChild ( SimpleCluster s)
inline

Definition at line 55 of file ClustererModule.h.

◆ pushBackVertex()

void ogdf::SimpleCluster::pushBackVertex ( node  v)
inline

Definition at line 54 of file ClustererModule.h.

◆ setIndex()

void ogdf::SimpleCluster::setIndex ( int  index)
inline

Definition at line 60 of file ClustererModule.h.

◆ setParent()

void ogdf::SimpleCluster::setParent ( SimpleCluster parent)
inline

Definition at line 57 of file ClustererModule.h.

Member Data Documentation

◆ m_children

SList<SimpleCluster*> ogdf::SimpleCluster::m_children
private

Definition at line 71 of file ClustererModule.h.

◆ m_index

int ogdf::SimpleCluster::m_index
private

Definition at line 73 of file ClustererModule.h.

◆ m_nodes

SList<node> ogdf::SimpleCluster::m_nodes
private

Definition at line 70 of file ClustererModule.h.

◆ m_parent

SimpleCluster* ogdf::SimpleCluster::m_parent
private

Definition at line 72 of file ClustererModule.h.

◆ m_size

int ogdf::SimpleCluster::m_size

Definition at line 66 of file ClustererModule.h.


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