Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
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)
 
int cageSize (OrthoDir od) const
 
void compute_cage_size ()
 compute the size of the cage face and the node box
 
int coord (OrthoDir bs) const
 Returns nodeboxside coordinates (real size)
 
int coordDistance (OrthoDir bs)
 
int delta (OrthoDir mainside, OrthoDir neighbour) const
 
int eps (OrthoDir mainside, OrthoDir neighbour) const
 
adjEntryfirstAdj ()
 
intflips (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.
 
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
 
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 51 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 75 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 87 of file NodeInfo.h.

◆ ~NodeInfo()

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

Definition at line 127 of file NodeInfo.h.

Member Function Documentation

◆ b_left_unbend()

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

Definition at line 190 of file NodeInfo.h.

◆ b_right_unbend()

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

Definition at line 192 of file NodeInfo.h.

◆ cageCoord()

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

Returns nodecageside coordinates (expanded size)

Definition at line 133 of file NodeInfo.h.

◆ cageSize()

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

Definition at line 165 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 281 of file NodeInfo.h.

◆ coord()

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

Returns nodeboxside coordinates (real size)

Definition at line 130 of file NodeInfo.h.

◆ coordDistance()

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

Definition at line 136 of file NodeInfo.h.

◆ delta()

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

Definition at line 197 of file NodeInfo.h.

◆ eps()

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

Definition at line 202 of file NodeInfo.h.

◆ firstAdj()

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

Definition at line 329 of file NodeInfo.h.

◆ flips()

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

Definition at line 212 of file NodeInfo.h.

◆ gen_pos()

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

Definition at line 226 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 228 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 313 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 306 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 172 of file NodeInfo.h.

◆ inPoint()

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

Definition at line 174 of file NodeInfo.h.

◆ is_in_edge()

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

Definition at line 230 of file NodeInfo.h.

◆ l_lower_unbend()

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

Definition at line 180 of file NodeInfo.h.

◆ l_upper_unbend()

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

Definition at line 178 of file NodeInfo.h.

◆ node_xsize()

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

Definition at line 157 of file NodeInfo.h.

◆ node_ysize()

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

Definition at line 159 of file NodeInfo.h.

◆ nodeSize()

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

Definition at line 161 of file NodeInfo.h.

◆ num_bend_edges()

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

Definition at line 207 of file NodeInfo.h.

◆ num_bend_free()

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

Definition at line 217 of file NodeInfo.h.

◆ num_bend_free_increment()

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

Definition at line 219 of file NodeInfo.h.

◆ num_edges()

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

Definition at line 221 of file NodeInfo.h.

◆ num_routable()

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

Definition at line 323 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 184 of file NodeInfo.h.

◆ r_upper_unbend()

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

Definition at line 182 of file NodeInfo.h.

◆ rc()

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

Returns routing channel size.

Definition at line 170 of file NodeInfo.h.

◆ set_b_left()

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

Definition at line 301 of file NodeInfo.h.

◆ set_b_right()

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

Definition at line 303 of file NodeInfo.h.

◆ set_coord()

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

Definition at line 235 of file NodeInfo.h.

◆ set_delta()

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

Definition at line 240 of file NodeInfo.h.

◆ set_eps()

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

Definition at line 262 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 272 of file NodeInfo.h.

◆ set_l_lower()

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

Definition at line 291 of file NodeInfo.h.

◆ set_l_upper()

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

Definition at line 289 of file NodeInfo.h.

◆ set_num_edges()

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

Definition at line 276 of file NodeInfo.h.

◆ set_r_lower()

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

Definition at line 295 of file NodeInfo.h.

◆ set_r_upper()

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

Definition at line 293 of file NodeInfo.h.

◆ set_t_left()

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

Definition at line 297 of file NodeInfo.h.

◆ set_t_right()

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

Definition at line 299 of file NodeInfo.h.

◆ setCageCoord()

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

Definition at line 237 of file NodeInfo.h.

◆ t_left_unbend()

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

Definition at line 186 of file NodeInfo.h.

◆ t_right_unbend()

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

Definition at line 188 of file NodeInfo.h.

◆ vDegree()

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

Definition at line 327 of file NodeInfo.h.

Friends And Related Symbol 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 339 of file NodeInfo.h.

◆ box_x_size

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

Definition at line 338 of file NodeInfo.h.

◆ box_y_size

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

Definition at line 338 of file NodeInfo.h.

◆ br

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

Definition at line 339 of file NodeInfo.h.

◆ cage_x_size

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

Definition at line 337 of file NodeInfo.h.

◆ cage_y_size

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

Definition at line 337 of file NodeInfo.h.

◆ in_edges

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

Definition at line 351 of file NodeInfo.h.

◆ ll

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

Definition at line 339 of file NodeInfo.h.

◆ lu

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

Definition at line 339 of file NodeInfo.h.

◆ m_adj

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

Definition at line 354 of file NodeInfo.h.

◆ m_ccoord

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

Definition at line 336 of file NodeInfo.h.

◆ m_coord

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

Definition at line 335 of file NodeInfo.h.

◆ m_delta

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

Definition at line 341 of file NodeInfo.h.

◆ m_eps

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

Definition at line 342 of file NodeInfo.h.

◆ m_firstAdj

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

Definition at line 349 of file NodeInfo.h.

◆ m_flips

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

Definition at line 346 of file NodeInfo.h.

◆ m_gen_pos

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

Definition at line 343 of file NodeInfo.h.

◆ m_nbe

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

Definition at line 347 of file NodeInfo.h.

◆ m_nbf

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

Definition at line 348 of file NodeInfo.h.

◆ m_rc

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

Definition at line 334 of file NodeInfo.h.

◆ m_routable

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

Definition at line 345 of file NodeInfo.h.

◆ m_vdegree

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

Definition at line 356 of file NodeInfo.h.

◆ num_s_edges

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

Definition at line 344 of file NodeInfo.h.

◆ point_in

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

Definition at line 353 of file NodeInfo.h.

◆ rl

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

Definition at line 339 of file NodeInfo.h.

◆ ru

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

Definition at line 339 of file NodeInfo.h.

◆ tl

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

Definition at line 339 of file NodeInfo.h.

◆ tr

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

Definition at line 339 of file NodeInfo.h.


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