Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

ogdf::LHTreeNode Class Reference

#include <ogdf/layered/ExtendedNestingGraph.h>

Classes

struct  Adjacency
 
struct  ClusterCrossing
 

Public Types

enum  Type { Type::Compound, Type::Node, Type::AuxNode }
 

Public Member Functions

 LHTreeNode (cluster c, LHTreeNode *up)
 
 LHTreeNode (LHTreeNode *parent, node v, Type t=Type::Node)
 
LHTreeNodechild (int i)
 
const LHTreeNodechild (int i) const
 
const LHTreeNodedown () const
 
node getNode () const
 
void initChild (int n)
 
bool isCompound () const
 
int numberOfChildren () const
 
cluster originalCluster () const
 
LHTreeNodeparent ()
 
const LHTreeNodeparent () const
 
void permute ()
 
int pos () const
 
void removeAuxChildren ()
 
void restore ()
 
void setChild (int i, LHTreeNode *p)
 
void setParent (LHTreeNode *p)
 
void setPos ()
 
void store ()
 
const LHTreeNodeup () const
 

Public Attributes

List< Adjacencym_lowerAdj
 
List< ClusterCrossingm_lowerClusterCrossing
 
List< Adjacencym_upperAdj
 
List< ClusterCrossingm_upperClusterCrossing
 

Private Attributes

Array< LHTreeNode * > m_child
 
LHTreeNodem_down
 
node m_node
 
cluster m_origCluster
 
LHTreeNodem_parent
 
int m_pos
 
Array< LHTreeNode * > m_storedChild
 
Type m_type
 
LHTreeNodem_up
 

Detailed Description

Definition at line 113 of file ExtendedNestingGraph.h.

Member Enumeration Documentation

◆ Type

Enumerator
Compound 
Node 
AuxNode 

Definition at line 116 of file ExtendedNestingGraph.h.

Constructor & Destructor Documentation

◆ LHTreeNode() [1/2]

ogdf::LHTreeNode::LHTreeNode ( cluster  c,
LHTreeNode up 
)
inline

Definition at line 155 of file ExtendedNestingGraph.h.

◆ LHTreeNode() [2/2]

ogdf::LHTreeNode::LHTreeNode ( LHTreeNode parent,
node  v,
Type  t = Type::Node 
)
inline

Definition at line 167 of file ExtendedNestingGraph.h.

Member Function Documentation

◆ child() [1/2]

LHTreeNode* ogdf::LHTreeNode::child ( int  i)
inline

Definition at line 197 of file ExtendedNestingGraph.h.

◆ child() [2/2]

const LHTreeNode* ogdf::LHTreeNode::child ( int  i) const
inline

Definition at line 182 of file ExtendedNestingGraph.h.

◆ down()

const LHTreeNode* ogdf::LHTreeNode::down ( ) const
inline

Definition at line 188 of file ExtendedNestingGraph.h.

◆ getNode()

node ogdf::LHTreeNode::getNode ( ) const
inline

Definition at line 185 of file ExtendedNestingGraph.h.

◆ initChild()

void ogdf::LHTreeNode::initChild ( int  n)
inline

Definition at line 198 of file ExtendedNestingGraph.h.

◆ isCompound()

bool ogdf::LHTreeNode::isCompound ( ) const
inline

Definition at line 177 of file ExtendedNestingGraph.h.

◆ numberOfChildren()

int ogdf::LHTreeNode::numberOfChildren ( ) const
inline

Definition at line 179 of file ExtendedNestingGraph.h.

◆ originalCluster()

cluster ogdf::LHTreeNode::originalCluster ( ) const
inline

Definition at line 184 of file ExtendedNestingGraph.h.

◆ parent() [1/2]

LHTreeNode* ogdf::LHTreeNode::parent ( )
inline

Definition at line 194 of file ExtendedNestingGraph.h.

◆ parent() [2/2]

const LHTreeNode* ogdf::LHTreeNode::parent ( ) const
inline

Definition at line 181 of file ExtendedNestingGraph.h.

◆ permute()

void ogdf::LHTreeNode::permute ( )
inline

Definition at line 205 of file ExtendedNestingGraph.h.

◆ pos()

int ogdf::LHTreeNode::pos ( ) const
inline

Definition at line 190 of file ExtendedNestingGraph.h.

◆ removeAuxChildren()

void ogdf::LHTreeNode::removeAuxChildren ( )

◆ restore()

void ogdf::LHTreeNode::restore ( )
inline

Definition at line 204 of file ExtendedNestingGraph.h.

◆ setChild()

void ogdf::LHTreeNode::setChild ( int  i,
LHTreeNode p 
)
inline

Definition at line 199 of file ExtendedNestingGraph.h.

◆ setParent()

void ogdf::LHTreeNode::setParent ( LHTreeNode p)
inline

Definition at line 195 of file ExtendedNestingGraph.h.

◆ setPos()

void ogdf::LHTreeNode::setPos ( )

◆ store()

void ogdf::LHTreeNode::store ( )
inline

Definition at line 203 of file ExtendedNestingGraph.h.

◆ up()

const LHTreeNode* ogdf::LHTreeNode::up ( ) const
inline

Definition at line 187 of file ExtendedNestingGraph.h.

Member Data Documentation

◆ m_child

Array<LHTreeNode*> ogdf::LHTreeNode::m_child
private

Definition at line 221 of file ExtendedNestingGraph.h.

◆ m_down

LHTreeNode* ogdf::LHTreeNode::m_down
private

Definition at line 225 of file ExtendedNestingGraph.h.

◆ m_lowerAdj

List<Adjacency> ogdf::LHTreeNode::m_lowerAdj

Definition at line 210 of file ExtendedNestingGraph.h.

◆ m_lowerClusterCrossing

List<ClusterCrossing> ogdf::LHTreeNode::m_lowerClusterCrossing

Definition at line 212 of file ExtendedNestingGraph.h.

◆ m_node

node ogdf::LHTreeNode::m_node
private

Definition at line 218 of file ExtendedNestingGraph.h.

◆ m_origCluster

cluster ogdf::LHTreeNode::m_origCluster
private

Definition at line 217 of file ExtendedNestingGraph.h.

◆ m_parent

LHTreeNode* ogdf::LHTreeNode::m_parent
private

Definition at line 215 of file ExtendedNestingGraph.h.

◆ m_pos

int ogdf::LHTreeNode::m_pos
private

Definition at line 226 of file ExtendedNestingGraph.h.

◆ m_storedChild

Array<LHTreeNode*> ogdf::LHTreeNode::m_storedChild
private

Definition at line 222 of file ExtendedNestingGraph.h.

◆ m_type

Type ogdf::LHTreeNode::m_type
private

Definition at line 219 of file ExtendedNestingGraph.h.

◆ m_up

LHTreeNode* ogdf::LHTreeNode::m_up
private

Definition at line 224 of file ExtendedNestingGraph.h.

◆ m_upperAdj

List<Adjacency> ogdf::LHTreeNode::m_upperAdj

Definition at line 209 of file ExtendedNestingGraph.h.

◆ m_upperClusterCrossing

List<ClusterCrossing> ogdf::LHTreeNode::m_upperClusterCrossing

Definition at line 211 of file ExtendedNestingGraph.h.


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