|
| | PlanarSubgraphFast () |
| | Creates an instance of the fast planar subgraph algorithm with default settings (runs = 10). More...
|
| |
| | ~PlanarSubgraphFast () |
| | Destructor. More...
|
| |
| virtual PlanarSubgraphFast * | clone () const override |
| | Returns a new instance of fast planar subgraph with the same option settings. More...
|
| |
| PlanarSubgraphFast & | operator= (const PlanarSubgraphFast &fps) |
| | Assignment operator. Copies option settings only. More...
|
| |
| void | runs (int nRuns) |
| | Sets the number of randomized runs to nRuns. More...
|
| |
| int | runs () const |
| | Returns the current number of randomized runs. More...
|
| |
| | PlanarSubgraphModule () |
| | Initializes a planar subgraph module (default constructor). More...
|
| |
| | PlanarSubgraphModule (const PlanarSubgraphModule &psm) |
| | Initializes a planar subgraph module (copy constructor). More...
|
| |
| virtual | ~PlanarSubgraphModule () |
| |
| ReturnType | call (const Graph &G, const EdgeArray< TCost > &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 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< TCost > &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, 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...
|
| |
| 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 (double t) |
| | timeout is set to the given value (seconds) More...
|
| |
| | Timeouter (bool t) |
| | timeout is turned off (false) or on (true) (with 0 second) More...
|
| |
| | Timeouter (const Timeouter &t) |
| |
| | ~Timeouter () |
| |
| bool | isTimeLimit () const |
| | returns whether any time limit is set or not More...
|
| |
| Timeouter & | operator= (const Timeouter &t) |
| |
| void | timeLimit (double t) |
| | sets the time limit for the call (in seconds); <0 means no limit. More...
|
| |
| void | timeLimit (bool t) |
| | shorthand to turn timelimit off or on (with 0 seconds) More...
|
| |
| double | timeLimit () const |
| | returns the current time limit for the call More...
|
| |
template<typename TCost>
class ogdf::PlanarSubgraphFast< TCost >
Computation of a planar subgraph using PQ-trees.
Literature: Jayakumar, Thulasiraman, Swamy 1989
Optional Parameters
| Option | Type | Default | Description |
| runs | int | 0 | the number of randomized runs performed by the algorithm; the best solution is picked among all the runs. If runs is 0, one deterministic run is performed. |
Observe that this algorithm by theory does not compute a maximal planar subgraph. It is however the fastest known good heuristic.
Definition at line 68 of file PlanarSubgraphFast.h.