|
| PlanarSubgraphBoyerMyrvold (int runs=1, double randomness=0) |
| Creates a new Boyer-Myrvold subgraph module. More...
|
|
| ~PlanarSubgraphBoyerMyrvold () |
|
virtual PlanarSubgraphBoyerMyrvold * | clone () const override |
|
void | seed (std::minstd_rand rand) |
| Seeds the random generator for performing a random DFS. If this method is never called the random generator will be seeded by a value extracted from the global random generator. More...
|
|
| PlanarSubgraphModule () |
| Initializes a planar subgraph module (default constructor). More...
|
|
ReturnType | call (const Graph &G, const EdgeArray< int > &cost, const List< edge > &preferredEdges, List< edge > &delEdges, bool preferredImplyPlanar=false) |
| Returns the set of edges delEdges which have to be deleted to obtain the planar subgraph. More...
|
|
ReturnType | call (const Graph &G, const EdgeArray< int > &cost, List< edge > &delEdges) |
| Returns the set of edges delEdges which have to be deleted to obtain the planar subgraph. More...
|
|
ReturnType | call (const Graph &G, const List< edge > &preferredEdges, List< edge > &delEdges, bool preferredImplyPlanar=false) |
| Returns the set of edges delEdges which have to be deleted to obtain the planar subgraph. More...
|
|
ReturnType | call (const Graph &G, List< edge > &delEdges) |
| Returns the set of edges delEdges which have to be deleted to obtain the planar subgraph. More...
|
|
ReturnType | callAndDelete (GraphCopy &GC, const List< edge > &preferredEdges, List< edge > &delOrigEdges, bool preferredImplyPlanar=false) |
| Makes GC planar by deleting edges. More...
|
|
ReturnType | callAndDelete (GraphCopy &GC, List< edge > &delOrigEdges) |
| Makes G planar by deleting edges. More...
|
|
virtual PlanarSubgraphModule * | clone () const=0 |
| Returns a new instance of the planar subgraph module with the same option settings. More...
|
|
unsigned int | maxThreads () const |
| Returns the maximal number of used threads. More...
|
|
void | maxThreads (unsigned int n) |
| Sets the maximal number of used threads to n . More...
|
|
ReturnType | operator() (const Graph &G, const List< edge > &preferredEdges, List< edge > &delEdges, bool preferredImplyPlanar=false) |
| Returns the set of edges delEdges which have to be deleted to obtain the planar subgraph. More...
|
|
ReturnType | operator() (const Graph &G, List< edge > &delEdges) |
| Returns the set of edges delEdges which have to be deleted to obtain the planar subgraph. More...
|
|
| Module () |
| Initializes a module. More...
|
|
virtual | ~Module () |
|
| Timeouter () |
| timeout is turned of by default More...
|
|
| Timeouter (bool t) |
| timeout is turned off (false) or on (true) (with 0 second) More...
|
|
| Timeouter (const Timeouter &t) |
|
| Timeouter (double t) |
| timeout is set to the given value (seconds) More...
|
|
| ~Timeouter () |
|
bool | isTimeLimit () const |
| returns whether any time limit is set or not More...
|
|
Timeouter & | operator= (const Timeouter &t) |
|
double | timeLimit () const |
| returns the current time limit for the call More...
|
|
void | timeLimit (bool t) |
| shorthand to turn timelimit off or on (with 0 seconds) More...
|
|
void | timeLimit (double t) |
| sets the time limit for the call (in seconds); <0 means no limit. More...
|
|
Maximum planar subgraph heuristic based on the Boyer-Myrvold planarity test.
Computes a (possibly non-maximal) planar subgraph using the ogdf::BoyerMyrvold planarity test. Runs in linear time.
Definition at line 55 of file PlanarSubgraphBoyerMyrvold.h.