Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

ogdf::edge_router::NodeInfo Class Reference

#include <ogdf/orthogonal/edge_router/NodeInfo.h>

Public Member Functions

 NodeInfo ()
 
 NodeInfo (const NodeInfo &)=default
 
 NodeInfo (NodeInfo &&other)
 
 NodeInfo (OrthoRep &H, GridLayout &L, node v, adjEntry adj, RoutingChannel< int > &rc, NodeArray< int > &nw, NodeArray< int > &nh)
 
virtual ~NodeInfo ()
 
int b_left_unbend ()
 
int b_right_unbend ()
 
int cageCoord (OrthoDir bs) const
 Returns nodecageside coordinates (expanded size) More...
 
int cageSize (OrthoDir od) const
 
void compute_cage_size ()
 compute the size of the cage face and the node box More...
 
int coord (OrthoDir bs) const
 Returns nodeboxside coordinates (real size) More...
 
int coordDistance (OrthoDir bs)
 
int delta (OrthoDir mainside, OrthoDir neighbour) const
 
int eps (OrthoDir mainside, OrthoDir neighbour) const
 
adjEntryfirstAdj ()
 
int & flips (OrthoDir s1, OrthoDir s2)
 
int gen_pos (OrthoDir od) const
 
void get_data (OrthoRep &O, GridLayout &L, node v, RoutingChannel< int > &rc, NodeArray< int > &nw, NodeArray< int > &nh)
 
bool has_gen (OrthoDir od)
 
void inc_E (OrthoDir s_from, OrthoDir s_to, int num=1)
 
void inc_E_hook (OrthoDir s_from, OrthoDir s_to, int num=1)
 
void init ()
 
List< edge > & inList (OrthoDir bs)
 
List< bool > & inPoint (OrthoDir bs)
 
bool is_in_edge (OrthoDir od, int pos)
 
int l_lower_unbend ()
 
int l_upper_unbend ()
 
int node_xsize () const
 
int node_ysize () const
 
int nodeSize (OrthoDir od) const
 
int num_bend_edges (OrthoDir s1, OrthoDir sneighbour)
 
int num_bend_free (OrthoDir s) const
 
void num_bend_free_increment (OrthoDir s)
 
int num_edges (OrthoDir od) const
 
int num_routable (OrthoDir s_from, OrthoDir s_to) const
 
NodeInfooperator= (const NodeInfo &)=default
 
int r_lower_unbend ()
 
int r_upper_unbend ()
 
int rc (OrthoDir od) const
 Returns routing channel size. More...
 
void set_b_left (int d)
 
void set_b_right (int d)
 
void set_coord (OrthoDir bs, int co)
 
void set_delta (OrthoDir bside, OrthoDir bneighbour, int dval)
 
void set_eps (OrthoDir mainside, OrthoDir neighbour, int dval)
 
void set_gen_pos (OrthoDir od, int pos)
 set position of generalization on each side More...
 
void set_l_lower (int d)
 
void set_l_upper (int d)
 
void set_num_edges (OrthoDir od, int num)
 
void set_r_lower (int d)
 
void set_r_upper (int d)
 
void set_t_left (int d)
 
void set_t_right (int d)
 
void setCageCoord (OrthoDir bs, int co)
 
int t_left_unbend ()
 
int t_right_unbend ()
 
int vDegree ()
 

Private Attributes

int bl
 
int box_x_size
 
int box_y_size
 
int br
 
int cage_x_size
 
int cage_y_size
 
std::array< List< edge >, 4 > in_edges
 
int ll
 
int lu
 
adjEntry m_adj
 
std::array< int, 4 > m_ccoord
 
std::array< int, 4 > m_coord
 
int m_delta [4][4]
 
int m_eps [4][4]
 
adjEntry m_firstAdj
 
int m_flips [4][4]
 
std::array< int, 4 > m_gen_pos
 
int m_nbe [4][4]
 
std::array< int, 4 > m_nbf
 
std::array< int, 4 > m_rc
 
int m_routable [4][4]
 
int m_vdegree
 
std::array< int, 4 > num_s_edges
 
std::array< List< bool >, 4 > point_in
 
int rl
 
int ru
 
int tl
 
int tr
 

Friends

std::ostream & operator<< (std::ostream &O, const NodeInfo &inf)
 

Detailed Description

Definition at line 50 of file NodeInfo.h.

Constructor & Destructor Documentation

◆ NodeInfo() [1/4]

ogdf::edge_router::NodeInfo::NodeInfo ( )
inline

Definition at line 54 of file NodeInfo.h.

◆ NodeInfo() [2/4]

ogdf::edge_router::NodeInfo::NodeInfo ( OrthoRep H,
GridLayout L,
node  v,
adjEntry  adj,
RoutingChannel< int > &  rc,
NodeArray< int > &  nw,
NodeArray< int > &  nh 
)
inline

Definition at line 78 of file NodeInfo.h.

◆ NodeInfo() [3/4]

ogdf::edge_router::NodeInfo::NodeInfo ( const NodeInfo )
default

◆ NodeInfo() [4/4]

ogdf::edge_router::NodeInfo::NodeInfo ( NodeInfo &&  other)
inline

Definition at line 96 of file NodeInfo.h.

◆ ~NodeInfo()

virtual ogdf::edge_router::NodeInfo::~NodeInfo ( )
inlinevirtual

Definition at line 133 of file NodeInfo.h.

Member Function Documentation

◆ b_left_unbend()

int ogdf::edge_router::NodeInfo::b_left_unbend ( )
inline

Definition at line 182 of file NodeInfo.h.

◆ b_right_unbend()

int ogdf::edge_router::NodeInfo::b_right_unbend ( )
inline

Definition at line 183 of file NodeInfo.h.

◆ cageCoord()

int ogdf::edge_router::NodeInfo::cageCoord ( OrthoDir  bs) const
inline

Returns nodecageside coordinates (expanded size)

Definition at line 138 of file NodeInfo.h.

◆ cageSize()

int ogdf::edge_router::NodeInfo::cageSize ( OrthoDir  od) const
inline

Definition at line 167 of file NodeInfo.h.

◆ compute_cage_size()

void ogdf::edge_router::NodeInfo::compute_cage_size ( )
inline

compute the size of the cage face and the node box

Definition at line 257 of file NodeInfo.h.

◆ coord()

int ogdf::edge_router::NodeInfo::coord ( OrthoDir  bs) const
inline

Returns nodeboxside coordinates (real size)

Definition at line 136 of file NodeInfo.h.

◆ coordDistance()

int ogdf::edge_router::NodeInfo::coordDistance ( OrthoDir  bs)
inline

Definition at line 141 of file NodeInfo.h.

◆ delta()

int ogdf::edge_router::NodeInfo::delta ( OrthoDir  mainside,
OrthoDir  neighbour 
) const
inline

Definition at line 188 of file NodeInfo.h.

◆ eps()

int ogdf::edge_router::NodeInfo::eps ( OrthoDir  mainside,
OrthoDir  neighbour 
) const
inline

Definition at line 191 of file NodeInfo.h.

◆ firstAdj()

adjEntry& ogdf::edge_router::NodeInfo::firstAdj ( )
inline

Definition at line 294 of file NodeInfo.h.

◆ flips()

int& ogdf::edge_router::NodeInfo::flips ( OrthoDir  s1,
OrthoDir  s2 
)
inline

Definition at line 196 of file NodeInfo.h.

◆ gen_pos()

int ogdf::edge_router::NodeInfo::gen_pos ( OrthoDir  od) const
inline

Definition at line 207 of file NodeInfo.h.

◆ get_data()

void ogdf::edge_router::NodeInfo::get_data ( OrthoRep O,
GridLayout L,
node  v,
RoutingChannel< int > &  rc,
NodeArray< int > &  nw,
NodeArray< int > &  nh 
)

◆ has_gen()

bool ogdf::edge_router::NodeInfo::has_gen ( OrthoDir  od)
inline

Definition at line 208 of file NodeInfo.h.

◆ inc_E()

void ogdf::edge_router::NodeInfo::inc_E ( OrthoDir  s_from,
OrthoDir  s_to,
int  num = 1 
)
inline

Definition at line 278 of file NodeInfo.h.

◆ inc_E_hook()

void ogdf::edge_router::NodeInfo::inc_E_hook ( OrthoDir  s_from,
OrthoDir  s_to,
int  num = 1 
)
inline

Definition at line 273 of file NodeInfo.h.

◆ init()

void ogdf::edge_router::NodeInfo::init ( )
inline

Definition at line 56 of file NodeInfo.h.

◆ inList()

List<edge>& ogdf::edge_router::NodeInfo::inList ( OrthoDir  bs)
inline

Definition at line 171 of file NodeInfo.h.

◆ inPoint()

List<bool>& ogdf::edge_router::NodeInfo::inPoint ( OrthoDir  bs)
inline

Definition at line 172 of file NodeInfo.h.

◆ is_in_edge()

bool ogdf::edge_router::NodeInfo::is_in_edge ( OrthoDir  od,
int  pos 
)
inline

Definition at line 210 of file NodeInfo.h.

◆ l_lower_unbend()

int ogdf::edge_router::NodeInfo::l_lower_unbend ( )
inline

Definition at line 177 of file NodeInfo.h.

◆ l_upper_unbend()

int ogdf::edge_router::NodeInfo::l_upper_unbend ( )
inline

Definition at line 176 of file NodeInfo.h.

◆ node_xsize()

int ogdf::edge_router::NodeInfo::node_xsize ( ) const
inline

Definition at line 163 of file NodeInfo.h.

◆ node_ysize()

int ogdf::edge_router::NodeInfo::node_ysize ( ) const
inline

Definition at line 164 of file NodeInfo.h.

◆ nodeSize()

int ogdf::edge_router::NodeInfo::nodeSize ( OrthoDir  od) const
inline

Definition at line 166 of file NodeInfo.h.

◆ num_bend_edges()

int ogdf::edge_router::NodeInfo::num_bend_edges ( OrthoDir  s1,
OrthoDir  sneighbour 
)
inline

Definition at line 194 of file NodeInfo.h.

◆ num_bend_free()

int ogdf::edge_router::NodeInfo::num_bend_free ( OrthoDir  s) const
inline

Definition at line 199 of file NodeInfo.h.

◆ num_bend_free_increment()

void ogdf::edge_router::NodeInfo::num_bend_free_increment ( OrthoDir  s)
inline

Definition at line 200 of file NodeInfo.h.

◆ num_edges()

int ogdf::edge_router::NodeInfo::num_edges ( OrthoDir  od) const
inline

Definition at line 202 of file NodeInfo.h.

◆ num_routable()

int ogdf::edge_router::NodeInfo::num_routable ( OrthoDir  s_from,
OrthoDir  s_to 
) const
inline

Definition at line 292 of file NodeInfo.h.

◆ operator=()

NodeInfo& ogdf::edge_router::NodeInfo::operator= ( const NodeInfo )
default

◆ r_lower_unbend()

int ogdf::edge_router::NodeInfo::r_lower_unbend ( )
inline

Definition at line 179 of file NodeInfo.h.

◆ r_upper_unbend()

int ogdf::edge_router::NodeInfo::r_upper_unbend ( )
inline

Definition at line 178 of file NodeInfo.h.

◆ rc()

int ogdf::edge_router::NodeInfo::rc ( OrthoDir  od) const
inline

Returns routing channel size.

Definition at line 169 of file NodeInfo.h.

◆ set_b_left()

void ogdf::edge_router::NodeInfo::set_b_left ( int  d)
inline

Definition at line 269 of file NodeInfo.h.

◆ set_b_right()

void ogdf::edge_router::NodeInfo::set_b_right ( int  d)
inline

Definition at line 270 of file NodeInfo.h.

◆ set_coord()

void ogdf::edge_router::NodeInfo::set_coord ( OrthoDir  bs,
int  co 
)
inline

Definition at line 215 of file NodeInfo.h.

◆ set_delta()

void ogdf::edge_router::NodeInfo::set_delta ( OrthoDir  bside,
OrthoDir  bneighbour,
int  dval 
)
inline

Definition at line 219 of file NodeInfo.h.

◆ set_eps()

void ogdf::edge_router::NodeInfo::set_eps ( OrthoDir  mainside,
OrthoDir  neighbour,
int  dval 
)
inline

Definition at line 240 of file NodeInfo.h.

◆ set_gen_pos()

void ogdf::edge_router::NodeInfo::set_gen_pos ( OrthoDir  od,
int  pos 
)
inline

set position of generalization on each side

Definition at line 248 of file NodeInfo.h.

◆ set_l_lower()

void ogdf::edge_router::NodeInfo::set_l_lower ( int  d)
inline

Definition at line 264 of file NodeInfo.h.

◆ set_l_upper()

void ogdf::edge_router::NodeInfo::set_l_upper ( int  d)
inline

Definition at line 263 of file NodeInfo.h.

◆ set_num_edges()

void ogdf::edge_router::NodeInfo::set_num_edges ( OrthoDir  od,
int  num 
)
inline

Definition at line 251 of file NodeInfo.h.

◆ set_r_lower()

void ogdf::edge_router::NodeInfo::set_r_lower ( int  d)
inline

Definition at line 266 of file NodeInfo.h.

◆ set_r_upper()

void ogdf::edge_router::NodeInfo::set_r_upper ( int  d)
inline

Definition at line 265 of file NodeInfo.h.

◆ set_t_left()

void ogdf::edge_router::NodeInfo::set_t_left ( int  d)
inline

Definition at line 267 of file NodeInfo.h.

◆ set_t_right()

void ogdf::edge_router::NodeInfo::set_t_right ( int  d)
inline

Definition at line 268 of file NodeInfo.h.

◆ setCageCoord()

void ogdf::edge_router::NodeInfo::setCageCoord ( OrthoDir  bs,
int  co 
)
inline

Definition at line 216 of file NodeInfo.h.

◆ t_left_unbend()

int ogdf::edge_router::NodeInfo::t_left_unbend ( )
inline

Definition at line 180 of file NodeInfo.h.

◆ t_right_unbend()

int ogdf::edge_router::NodeInfo::t_right_unbend ( )
inline

Definition at line 181 of file NodeInfo.h.

◆ vDegree()

int ogdf::edge_router::NodeInfo::vDegree ( )
inline

Definition at line 293 of file NodeInfo.h.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  O,
const NodeInfo inf 
)
friend

Member Data Documentation

◆ bl

int ogdf::edge_router::NodeInfo::bl
private

Definition at line 304 of file NodeInfo.h.

◆ box_x_size

int ogdf::edge_router::NodeInfo::box_x_size
private

Definition at line 303 of file NodeInfo.h.

◆ box_y_size

int ogdf::edge_router::NodeInfo::box_y_size
private

Definition at line 303 of file NodeInfo.h.

◆ br

int ogdf::edge_router::NodeInfo::br
private

Definition at line 304 of file NodeInfo.h.

◆ cage_x_size

int ogdf::edge_router::NodeInfo::cage_x_size
private

Definition at line 302 of file NodeInfo.h.

◆ cage_y_size

int ogdf::edge_router::NodeInfo::cage_y_size
private

Definition at line 302 of file NodeInfo.h.

◆ in_edges

std::array<List<edge>,4> ogdf::edge_router::NodeInfo::in_edges
private

Definition at line 316 of file NodeInfo.h.

◆ ll

int ogdf::edge_router::NodeInfo::ll
private

Definition at line 304 of file NodeInfo.h.

◆ lu

int ogdf::edge_router::NodeInfo::lu
private

Definition at line 304 of file NodeInfo.h.

◆ m_adj

adjEntry ogdf::edge_router::NodeInfo::m_adj
private

Definition at line 319 of file NodeInfo.h.

◆ m_ccoord

std::array<int,4> ogdf::edge_router::NodeInfo::m_ccoord
private

Definition at line 301 of file NodeInfo.h.

◆ m_coord

std::array<int,4> ogdf::edge_router::NodeInfo::m_coord
private

Definition at line 300 of file NodeInfo.h.

◆ m_delta

int ogdf::edge_router::NodeInfo::m_delta[4][4]
private

Definition at line 306 of file NodeInfo.h.

◆ m_eps

int ogdf::edge_router::NodeInfo::m_eps[4][4]
private

Definition at line 307 of file NodeInfo.h.

◆ m_firstAdj

adjEntry ogdf::edge_router::NodeInfo::m_firstAdj
private

Definition at line 314 of file NodeInfo.h.

◆ m_flips

int ogdf::edge_router::NodeInfo::m_flips[4][4]
private

Definition at line 311 of file NodeInfo.h.

◆ m_gen_pos

std::array<int,4> ogdf::edge_router::NodeInfo::m_gen_pos
private

Definition at line 308 of file NodeInfo.h.

◆ m_nbe

int ogdf::edge_router::NodeInfo::m_nbe[4][4]
private

Definition at line 312 of file NodeInfo.h.

◆ m_nbf

std::array<int,4> ogdf::edge_router::NodeInfo::m_nbf
private

Definition at line 313 of file NodeInfo.h.

◆ m_rc

std::array<int,4> ogdf::edge_router::NodeInfo::m_rc
private

Definition at line 299 of file NodeInfo.h.

◆ m_routable

int ogdf::edge_router::NodeInfo::m_routable[4][4]
private

Definition at line 310 of file NodeInfo.h.

◆ m_vdegree

int ogdf::edge_router::NodeInfo::m_vdegree
private

Definition at line 321 of file NodeInfo.h.

◆ num_s_edges

std::array<int,4> ogdf::edge_router::NodeInfo::num_s_edges
private

Definition at line 309 of file NodeInfo.h.

◆ point_in

std::array<List<bool>,4> ogdf::edge_router::NodeInfo::point_in
private

Definition at line 318 of file NodeInfo.h.

◆ rl

int ogdf::edge_router::NodeInfo::rl
private

Definition at line 304 of file NodeInfo.h.

◆ ru

int ogdf::edge_router::NodeInfo::ru
private

Definition at line 304 of file NodeInfo.h.

◆ tl

int ogdf::edge_router::NodeInfo::tl
private

Definition at line 304 of file NodeInfo.h.

◆ tr

int ogdf::edge_router::NodeInfo::tr
private

Definition at line 304 of file NodeInfo.h.


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