Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::CrossingMinimalPositionApx Class Reference

#include <ogdf/geometric/CrossingMinimalPosition.h>

+ Inheritance diagram for ogdf::CrossingMinimalPositionApx:

Public Member Functions

 CrossingMinimalPositionApx ()
 
- Public Member Functions inherited from ogdf::CrossingMinimalPosition< FT >
 CrossingMinimalPosition ()
 
 ~CrossingMinimalPosition ()
 
DPoint call (GraphAttributes &GA, node v)
 computes a good position for the vertex v with respect to GA More...
 
void computePositionInOptimalRegion (const bool within_region)
 If the value within_region is set to false, the algorithm samples points outside the optimal region. More...
 
unsigned int neighborThreshold () const
 
void setExactComputation ()
 
void setNeighboorhoodThreshold (const unsigned int threshold)
 The algortihm randomly partitions the neighbor of the vertex into blocks of size threshold. More...
 
void setSampleSize (const unsigned int number_of_edge_samples, const unsigned int number_of_point_samples)
 set the number of edges that are randomly selected to compute the new vertex postion and the number of points that are tested within the best region. More...
 
- Public Member Functions inherited from ogdf::VertexPositionModule
 VertexPositionModule ()
 
 ~VertexPositionModule ()
 
DPoint operator() (GraphAttributes &GA, node v)
 computes a good position for the vertex v with respect to GA More...
 
void setBoundingBox (double x_min, double y_min, double x_max, double y_max)
 Vertex has to be moved within the given bound. More...
 

Additional Inherited Members

- Protected Attributes inherited from ogdf::CrossingMinimalPosition< FT >
unsigned int m_neighborhood_threshold = 100
 
unsigned int m_number_of_edge_samples = -1
 
unsigned int m_number_of_point_samples = 1
 
bool m_within_region = true
 
std::mt19937_64 rnd
 
- Protected Attributes inherited from ogdf::VertexPositionModule
double m_x_max = 1
 
double m_x_min = 0
 
double m_y_max = 1
 
double m_y_min = 0
 

Detailed Description

Definition at line 129 of file CrossingMinimalPosition.h.

Constructor & Destructor Documentation

◆ CrossingMinimalPositionApx()

ogdf::CrossingMinimalPositionApx::CrossingMinimalPositionApx ( )
inline

Definition at line 131 of file CrossingMinimalPosition.h.


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