Offers predefined SimDraw creations. More...
#include <ogdf/simultaneous/SimDrawCreatorSimple.h>
Public Member Functions | |
SimDrawCreatorSimple (SimDraw &SD) | |
constructor | |
void | createExpo (int n) |
creates simultaneously planar simultaneous graph with n+1 basic graphs. | |
void | createK5_EK04 () |
creates K5 instance from Erten and Kobourov (GD'04) | |
void | createK5_GJPSS06 () |
creates K5 instance from Gassner et al. (WG'06) | |
void | createKrat98 (int N, int nodeNumber) |
creates instance from Kratochvil (GD'98) | |
void | createOuterplanar_BCDEEIKLM03 () |
creates instance of two outerplanar graphs from Brass et al. (WADS'03) | |
void | createPathPlanar_EK04 () |
creates instance of a path and a planar graph from Erten and Kobourov (GD'04) | |
void | createTrees_GKV05 (int n) |
creates pair-of-tree instance from Geyer, Kaufmann, Vrto (GD'05) | |
void | createWheel (int numberOfParallels, int numberOfbasic) |
creates instance with numberofBasic*2 outer, numberOfParallels*numberOfBasic inner Nodes and one Root. | |
Public Member Functions inherited from ogdf::SimDrawCreator | |
SimDrawCreator (SimDraw &SD) | |
constructor | |
void | clearESG () |
clears edgeSubGraphs value | |
void | createRandom (int numberOfNodes, int numberOfEdges, int numberOfBasicGraphs) |
randomly creates a simdraw instance | |
void | randomESG (int graphNumber) |
randomly chose edgeSubGraphs value for graphNumber graphs | |
void | randomESG2 (int doubleESGProbability=50) |
randomly chose edgeSubGraphs value for two graphs | |
void | randomESG3 (int doubleESGProbability=50, int tripleESGProbability=25) |
randomly chose edgeSubGraphs value for three graphs | |
void | readGraph (const Graph &G) |
reads a Graph | |
uint32_t & | SubGraphBits (edge e) |
returns SubGraphBits from edge e | |
uint32_t & | SubGraphBits (edge e) const |
returns SubGraphBits from edge e | |
Public Member Functions inherited from ogdf::SimDrawManipulatorModule | |
SimDrawManipulatorModule () | |
default constructor | |
SimDrawManipulatorModule (SimDraw &SD) | |
constructor | |
const SimDraw & | constSimDraw () const |
returns base instance | |
void | init (SimDraw &SD) |
initializing base instance | |
Additional Inherited Members | |
Protected Attributes inherited from ogdf::SimDrawManipulatorModule | |
Graph * | m_G |
pointer to current graph | |
GraphAttributes * | m_GA |
pointer to current graphattributes | |
SimDraw * | m_SD |
pointer to current simdraw instance | |
Offers predefined SimDraw creations.
This class offers some predefined SimDraw creations, such as an instance of two outerplanar graphs from Brass et al. (WADS'03) or an instance of a path and a planar graph from Erten and Kobourov (GD'04).
Definition at line 45 of file SimDrawCreatorSimple.h.
|
inlineexplicit |
constructor
Definition at line 48 of file SimDrawCreatorSimple.h.
creates simultaneously planar simultaneous graph with n+1 basic graphs.
void ogdf::SimDrawCreatorSimple::createK5_EK04 | ( | ) |
creates K5 instance from Erten and Kobourov (GD'04)
void ogdf::SimDrawCreatorSimple::createK5_GJPSS06 | ( | ) |
creates K5 instance from Gassner et al. (WG'06)
creates instance from Kratochvil (GD'98)
void ogdf::SimDrawCreatorSimple::createOuterplanar_BCDEEIKLM03 | ( | ) |
creates instance of two outerplanar graphs from Brass et al. (WADS'03)
void ogdf::SimDrawCreatorSimple::createPathPlanar_EK04 | ( | ) |
creates instance of a path and a planar graph from Erten and Kobourov (GD'04)
creates pair-of-tree instance from Geyer, Kaufmann, Vrto (GD'05)
creates instance with numberofBasic*2 outer, numberOfParallels*numberOfBasic inner Nodes and one Root.