#include <ogdf/planarlayout/mixed_model_layout/MixedModelBase.h>
Definition at line 50 of file MixedModelBase.h.
◆ MixedModelBase()
◆ ~MixedModelBase()
virtual ogdf::MixedModelBase::~MixedModelBase |
( |
| ) |
|
|
inlinevirtual |
◆ assignIopCoords()
void ogdf::MixedModelBase::assignIopCoords |
( |
| ) |
|
Computes the relative coordinates of the in- and outpoints, incl. height(v), depth(v).
◆ computeOrder()
Computes the ordered partition (incl. m_leftOp[k], em_rightOp[k]) and constructs the in- and outpoint lists.
◆ computeXCoords()
void ogdf::MixedModelBase::computeXCoords |
( |
| ) |
|
Computes the absolute x-coordinates x[v] of all nodes in the ordering, furthermore dyla[k] and dyra[k] (used by compute_y_coordinates)
◆ computeYCoords()
void ogdf::MixedModelBase::computeYCoords |
( |
| ) |
|
Computes the absolute y-coordinates y[v] of all nodes in the ordering.
◆ exists()
bool ogdf::MixedModelBase::exists |
( |
adjEntry |
adj | ) |
|
|
inlineprivate |
◆ firstPoint()
void ogdf::MixedModelBase::firstPoint |
( |
int & |
x, |
|
|
int & |
y, |
|
|
adjEntry |
adj |
|
) |
| |
|
private |
◆ hasLeft()
bool ogdf::MixedModelBase::hasLeft |
( |
int |
k | ) |
const |
|
private |
Determine if the kth set in the ordered partition has a "real" left vertex.
◆ hasRight()
bool ogdf::MixedModelBase::hasRight |
( |
int |
k | ) |
const |
|
private |
Determine if the kth set in the ordered partition has a "real" right vertex.
◆ isRedundant()
bool ogdf::MixedModelBase::isRedundant |
( |
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2, |
|
|
int |
x3, |
|
|
int |
y3 |
|
) |
| |
|
private |
◆ operator=()
◆ placeNodes()
void ogdf::MixedModelBase::placeNodes |
( |
| ) |
|
Implements the placement step. Computes x[v] and y[v].
◆ postprocessing1()
void ogdf::MixedModelBase::postprocessing1 |
( |
| ) |
|
Tries to reduce the number of bends by changing the outpoints of nodes with indeg and outdeg 2.
◆ postprocessing2()
void ogdf::MixedModelBase::postprocessing2 |
( |
| ) |
|
Tries to reduce the number of bends by moving degree-2 nodes on bend points.
◆ print()
void ogdf::MixedModelBase::print |
( |
std::ostream & |
os, |
|
|
const InOutPoint & |
iop |
|
) |
| |
◆ printInOutPoints()
void ogdf::MixedModelBase::printInOutPoints |
( |
std::ostream & |
os | ) |
|
◆ printMMOrder()
void ogdf::MixedModelBase::printMMOrder |
( |
std::ostream & |
os | ) |
|
Functions for debugging output.
◆ printNodeCoords()
void ogdf::MixedModelBase::printNodeCoords |
( |
std::ostream & |
os | ) |
|
◆ removeDeg1Nodes()
void ogdf::MixedModelBase::removeDeg1Nodes |
( |
| ) |
|
|
private |
Removes degree-1 nodes and store informations for restoring them.
◆ setBends()
void ogdf::MixedModelBase::setBends |
( |
| ) |
|
Assigns polylines to edges of the original graph and computes the x- and y-coordinates of deg-1-nodes not in the ordering.
◆ m_deg1RestoreStack
◆ m_dxla
◆ m_dxra
◆ m_dyl
Array<int> ogdf::MixedModelBase::m_dyl |
|
private |
◆ m_dyr
Array<int> ogdf::MixedModelBase::m_dyr |
|
private |
◆ m_gridLayout
◆ m_iops
◆ m_leftOp
◆ m_mmo
MMOrder ogdf::MixedModelBase::m_mmo |
|
private |
◆ m_nextLeft
◆ m_nextRight
◆ m_PG
PlanRep& ogdf::MixedModelBase::m_PG |
|
private |
◆ m_rightOp
The documentation for this class was generated from the following file: