Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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 115 of file ExtendedNestingGraph.h.

Member Enumeration Documentation

◆ Type

Enumerator
Compound 
Node 
AuxNode 

Definition at line 117 of file ExtendedNestingGraph.h.

Constructor & Destructor Documentation

◆ LHTreeNode() [1/2]

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

Definition at line 165 of file ExtendedNestingGraph.h.

◆ LHTreeNode() [2/2]

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

Definition at line 178 of file ExtendedNestingGraph.h.

Member Function Documentation

◆ child() [1/2]

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

Definition at line 211 of file ExtendedNestingGraph.h.

◆ child() [2/2]

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

Definition at line 194 of file ExtendedNestingGraph.h.

◆ down()

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

Definition at line 202 of file ExtendedNestingGraph.h.

◆ getNode()

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

Definition at line 198 of file ExtendedNestingGraph.h.

◆ initChild()

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

Definition at line 213 of file ExtendedNestingGraph.h.

◆ isCompound()

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

Definition at line 188 of file ExtendedNestingGraph.h.

◆ numberOfChildren()

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

Definition at line 190 of file ExtendedNestingGraph.h.

◆ originalCluster()

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

Definition at line 196 of file ExtendedNestingGraph.h.

◆ parent() [1/2]

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

Definition at line 207 of file ExtendedNestingGraph.h.

◆ parent() [2/2]

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

Definition at line 192 of file ExtendedNestingGraph.h.

◆ permute()

void ogdf::LHTreeNode::permute ( )
inline

Definition at line 223 of file ExtendedNestingGraph.h.

◆ pos()

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

Definition at line 204 of file ExtendedNestingGraph.h.

◆ removeAuxChildren()

void ogdf::LHTreeNode::removeAuxChildren ( )

◆ restore()

void ogdf::LHTreeNode::restore ( )
inline

Definition at line 221 of file ExtendedNestingGraph.h.

◆ setChild()

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

Definition at line 215 of file ExtendedNestingGraph.h.

◆ setParent()

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

Definition at line 209 of file ExtendedNestingGraph.h.

◆ setPos()

void ogdf::LHTreeNode::setPos ( )

◆ store()

void ogdf::LHTreeNode::store ( )
inline

Definition at line 219 of file ExtendedNestingGraph.h.

◆ up()

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

Definition at line 200 of file ExtendedNestingGraph.h.

Member Data Documentation

◆ m_child

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

Definition at line 239 of file ExtendedNestingGraph.h.

◆ m_down

LHTreeNode* ogdf::LHTreeNode::m_down
private

Definition at line 243 of file ExtendedNestingGraph.h.

◆ m_lowerAdj

List<Adjacency> ogdf::LHTreeNode::m_lowerAdj

Definition at line 228 of file ExtendedNestingGraph.h.

◆ m_lowerClusterCrossing

List<ClusterCrossing> ogdf::LHTreeNode::m_lowerClusterCrossing

Definition at line 230 of file ExtendedNestingGraph.h.

◆ m_node

node ogdf::LHTreeNode::m_node
private

Definition at line 236 of file ExtendedNestingGraph.h.

◆ m_origCluster

cluster ogdf::LHTreeNode::m_origCluster
private

Definition at line 235 of file ExtendedNestingGraph.h.

◆ m_parent

LHTreeNode* ogdf::LHTreeNode::m_parent
private

Definition at line 233 of file ExtendedNestingGraph.h.

◆ m_pos

int ogdf::LHTreeNode::m_pos
private

Definition at line 244 of file ExtendedNestingGraph.h.

◆ m_storedChild

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

Definition at line 240 of file ExtendedNestingGraph.h.

◆ m_type

Type ogdf::LHTreeNode::m_type
private

Definition at line 237 of file ExtendedNestingGraph.h.

◆ m_up

LHTreeNode* ogdf::LHTreeNode::m_up
private

Definition at line 242 of file ExtendedNestingGraph.h.

◆ m_upperAdj

List<Adjacency> ogdf::LHTreeNode::m_upperAdj

Definition at line 227 of file ExtendedNestingGraph.h.

◆ m_upperClusterCrossing

List<ClusterCrossing> ogdf::LHTreeNode::m_upperClusterCrossing

Definition at line 229 of file ExtendedNestingGraph.h.


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