Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

ogdf Namespace Reference

The namespace for all OGDF objects. More...

Namespaces

 booth_lueker
 
 boyer_myrvold
 
 cluster_planarity
 
 davidson_harel
 
 disjoint_sets
 
 dot
 
 edge_router
 
 embedder
 
 embedding_inserter
 
 energybased
 
 fast_multipole_embedder
 
 gdf
 
 gexf
 
 GmlObjectType
 
 GmlParserPredefinedKey
 
 graphml
 
 internal
 
 planarization_layout
 
 pq_internal
 This namespace contains helper classes to keep the code dry.
 
 spring_embedder
 
 sse
 
 steiner_tree
 
 tlp
 
 topology_module
 

Classes

class  AcyclicSubgraphModule
 Base class of algorithms for computing a maximal acyclic subgraph. More...
 
class  AdjacencyOracle
 Tells you in constant time if two nodes are adjacent. More...
 
class  AdjElement
 Class for adjacency list elements. More...
 
class  AdjEntryArray
 Dynamic arrays indexed with adjacency entries. More...
 
class  AdjEntryArrayBase
 Abstract base class for adjacency entry arrays. More...
 
class  AdjHypergraphElement
 Class for adjacency list elements. More...
 
class  AlgorithmFailureException
 Exception thrown when an algorithm realizes an internal bug that prevents it from continuing. More...
 
class  Array
 The parameterized class Array implements dynamic arrays of type E. More...
 
class  Array2D
 The parameterized class Array2D implements dynamic two-dimensional arrays. More...
 
class  ArrayBuffer
 An array that keeps track of the number of inserted elements; also usable as an efficient stack. More...
 
class  ArrayLevel
 The simple implementation of LevelBase interface. More...
 
class  AStarSearch
 A-Star informed search algorithm. More...
 
class  AugmentationModule
 The base class for graph augmentation algorithms. More...
 
class  BalloonLayout
 
class  Barrier
 Representation of a barrier. More...
 
class  BarycenterHeuristic
 The barycenter heuristic for 2-layer crossing minimization. More...
 
class  BarycenterPlacer
 The barycenter placer for multilevel layout. More...
 
class  BasicPageRank
 Basic page rank calculation. More...
 
class  BCTree
 Static BC-trees. More...
 
class  BendString
 Represents the bends on an edge e consisting of vertical and horizontal segments. More...
 
class  BertaultLayout
 
class  BiconnectedShellingOrder
 Computation of the shelling order for biconnected graphs. More...
 
class  BinaryHeap
 Heap realized by a data array. More...
 
class  BinaryHeapSimple
 Dynamically growing binary heap tuned for efficiency on a small interface (compared to BinaryHeap). More...
 
class  BinomialHeap
 Binomial heap implementation. More...
 
struct  BinomialHeapNode
 Binomial heap node. More...
 
class  BitonicOrdering
 
class  Block
 Class representing idea of Blocks used in GlobalSifting and GridSifting algorithms. More...
 
class  BlockOrder
 Hierarchical graph representation used by GlobalSifting and GridSifting algorithms. More...
 
class  BoothLueker
 Booth-Lueker planarity test. More...
 
class  BoundedQueue
 The parameterized class BoundedQueue implements queues with bounded size. More...
 
class  BoundedStack
 The parameterized class BoundedStack implements stacks with bounded size. More...
 
class  BoyerMyrvold
 Wrapper class used for preprocessing and valid invocation of the planarity test. More...
 
class  BoyerMyrvoldPlanar
 This class implements the extended BoyerMyrvold planarity embedding algorithm. More...
 
class  BucketEdgeArray
 Bucket function for edges. More...
 
class  BucketFunc
 Abstract base class for bucket functions. More...
 
class  BucketSourceIndex
 Bucket function using the index of an edge's source node as bucket. More...
 
class  BucketTargetIndex
 Bucket function using the index of an edge's target node as bucket. More...
 
class  CCLayoutPackModule
 Base class of algorithms that arrange/pack layouts of connected components. More...
 
class  CconnectClusterPlanar
 C-planarity test by Cohen, Feng and Eades. More...
 
class  CconnectClusterPlanarEmbed
 C-planarity test and embedding by Cohen, Feng and Eades. More...
 
class  CirclePlacer
 The circle placer for multilevel layout. More...
 
class  CircularLayout
 The circular layout algorithm. More...
 
class  CliqueFinder
 Finds cliques and dense subgraphs. More...
 
class  ClusterAnalysis
 
class  ClusterArray
 Dynamic arrays indexed with clusters. More...
 
class  ClusterArrayBase
 Abstract base class for cluster arrays. More...
 
class  ClusterElement
 Representation of clusters in a clustered graph. More...
 
class  Clusterer
 Clustering is determined based on the threshold values (connectivity thresholds determine edges to be deleted) and stopped if average clustering index drops below m_stopIndex. More...
 
class  ClustererModule
 Interface for algorithms that compute a clustering for a given graph. More...
 
class  ClusterGraph
 Representation of clustered graphs. More...
 
class  ClusterGraphAttributes
 Stores additional attributes of a clustered graph (like layout information). More...
 
class  ClusterGraphCopy
 
class  ClusterGraphCopyAttributes
 Manages access on copy of an attributed clustered graph. More...
 
class  ClusterGraphObserver
 Abstract base class for cluster graph observers. More...
 
struct  ClusterInfo
 Stores information associated with a cluster. More...
 
class  ClusterOrthoLayout
 Represents a planar orthogonal drawing algorithm for c-planar, c-connected clustered graphs. More...
 
class  ClusterOrthoShaper
 Computes the orthogonal representation of a clustered graph. More...
 
class  ClusterPlanarity
 C-planarity testing via completely connected graph extension. More...
 
class  ClusterPlanarizationLayout
 The cluster planarization layout algorithm. More...
 
class  ClusterPlanarModule
 
class  ClusterPlanRep
 Planarized representations for clustered graphs. More...
 
class  ClusterSet
 Cluster sets. More...
 
class  ClusterSetPure
 Cluster sets. More...
 
class  ClusterSetSimple
 Simple cluster sets. More...
 
class  CoffmanGrahamRanking
 The coffman graham ranking algorithm. More...
 
class  CoinCallbacks
 
class  CoinManager
 
class  Color
 Colors represented as RGBA values. More...
 
class  CombinatorialEmbedding
 Combinatorial embeddings of planar graphs with modification functionality. More...
 
class  CompactionConstraintGraph
 Represents a constraint graph used for compaction. More...
 
class  CompactionConstraintGraphBase
 Base class implementing common behaviour of ogdf::CompactionConstraintGraph. More...
 
class  ComponentSplitterLayout
 
class  Configuration
 Provides information about how OGDF has been configured. More...
 
class  ConnectivityTester
 Naive implementation for testing the connectivity of a graph. More...
 
class  ConstCombinatorialEmbedding
 Combinatorial embeddings of planar graphs. More...
 
class  ConvexHull
 Computes the convex hull of a set of points or a layout. More...
 
class  CPlanarEdgeInserter
 Edge insertion algorithm for clustered graphs. More...
 
class  CPlanarSubClusteredGraph
 Constructs a c-planar subclustered graph of the input based on a spanning tree. More...
 
class  CPlanarSubgraphModule
 Interface of algorithms for the computation of c-planar subgraphs. More...
 
class  CrossingMinimizationModule
 Base class for crossing minimization algorithms. More...
 
class  CrossingsMatrix
 Implements crossings matrix which is used by some TwoLayerCrossingMinimization heuristics (e.g. split) More...
 
class  DavidsonHarel
 The Davidson-Harel approach for drawing graphs. More...
 
class  DavidsonHarelLayout
 The Davidson-Harel layout algorithm. More...
 
class  DefHashFunc
 Default hash functions. More...
 
class  DefHashFunc< double >
 Specialized default hash function for double. More...
 
class  DefHashFunc< IPoint >
 
class  DefHashFunc< string >
 Specialized default hash function for string. More...
 
class  DefHashFunc< void * >
 Specialized default hash function for pointer types. More...
 
class  DeletingTop10Heap
 A variant of Top10Heap which deletes the elements that get rejected from the heap. More...
 
class  DfsAcyclicSubgraph
 DFS-based algorithm for computing a maximal acyclic subgraph. More...
 
class  DfsMakeBiconnected
 Implementation of a DFS-based algorithm for biconnectivity augmentation. More...
 
class  Dijkstra
 Dijkstra's single source shortest path algorithm. More...
 
class  DIntersectableRect
 Rectangles with real coordinates. More...
 
class  DisjointSets
 A Union/Find data structure for maintaining disjoint sets. More...
 
class  DLine
 Lines with real coordinates. More...
 
class  DLParser
 
class  DominanceLayout
 
class  DPoint
 Real points. More...
 
class  DPolygon
 Polygons with real coordinates. More...
 
class  DPolyline
 Polylines with real coordinates. More...
 
class  DRect
 Rectangles with real coordinates. More...
 
class  DScaler
 Scaling between coordinate systems. More...
 
class  DSegment
 Line segments with real coordinates. More...
 
class  DTreeMultilevelEmbedder
 
class  DTreeMultilevelEmbedder2D
 
class  DTreeMultilevelEmbedder3D
 
class  DualGraph
 A dual graph including its combinatorial embedding of an embedded graph. More...
 
class  DVector
 Vectors with real coordinates. More...
 
class  DynamicBCTree
 Dynamic BC-trees. More...
 
class  DynamicCastFailedException
 Exception thrown when result of cast is 0. More...
 
class  DynamicPlanarSPQRTree
 SPQR-trees of planar graphs. More...
 
class  DynamicSkeleton
 Skeleton graphs of nodes in a dynamic SPQR-tree. More...
 
class  DynamicSPQRForest
 Dynamic SPQR-forest. More...
 
class  DynamicSPQRTree
 Linear-time implementation of dynamic SPQR-trees. More...
 
class  EdgeArray
 Dynamic arrays indexed with edges. More...
 
class  EdgeArrayBase
 Abstract base class for edge arrays. More...
 
class  EdgeComparer
 The EdgeComparer compares adjacency entries on base of the position of the nodes given by an Attributed Graph's layout information. More...
 
class  EdgeComparerSimple
 
class  EdgeCoverMerger
 The edge cover merger for multilevel layout. More...
 
class  EdgeElement
 Class for the representation of edges. More...
 
class  EdgeInsertionModule
 Interface for edge insertion algorithms. More...
 
class  EdgeLabel
 
class  EdgeRouter
 Places node boxes in replacement areas of orthogonal drawing step and route edges to minimize bends. More...
 
class  EdgeStandardRep
 Edge standard representation of hypergraphs. More...
 
class  EdgeWeightedGraph
 
class  EdgeWeightedGraphCopy
 
class  EFreeList
 Simple implementation of a FreeList which buffers the memory allocation of an embedded list item. More...
 
class  EFreeListIndexPool
 More complex implementation of a FreeList, which is able to generate indeices for the elements. More...
 
class  EFreeListTypes
 Type declarations for EFreeList. More...
 
class  ELabelInterface
 
class  ELabelPosSimple
 
class  EList
 The embedded list template. More...
 
class  EListIterator
 Implementation of an embedded list iterator used by ogdf::EList. More...
 
class  EmbedderMaxFace
 Planar graph embedding with maximum external face. More...
 
class  EmbedderMaxFaceBiconnectedGraphs
 Computes an embedding of a biconnected graph with maximum external face. More...
 
class  EmbedderMaxFaceBiconnectedGraphsLayers
 Computes an embedding of a biconnected graph with maximum external face (plus layers approach). More...
 
class  EmbedderMaxFaceLayers
 Planar graph embedding with maximum external face (plus layers approach). More...
 
class  EmbedderMinDepth
 Planar graph embedding with minimum block-nesting depth. More...
 
class  EmbedderMinDepthMaxFace
 Planar graph embedding with minimum block-nesting depth and maximum external face. More...
 
class  EmbedderMinDepthMaxFaceLayers
 Planar graph embedding with minimum block-nesting depth and maximum external face (plus layers approach). More...
 
class  EmbedderMinDepthPiTa
 Planar graph embedding with minimum block-nesting depth for given embedded blocks. More...
 
class  EmbedderModule
 Base class for embedder algorithms. More...
 
class  EmbedderOptimalFlexDraw
 The algorithm computes a planar embedding with minimum cost. More...
 
class  ENGLayer
 Represents layer in an extended nesting graph. More...
 
class  EpsilonTest
 
class  EStack
 The embedded stack class template. More...
 
class  Exception
 Base class of all ogdf exceptions. More...
 
class  ExpansionGraph
 Represents expansion graph of each biconnected component of a given digraph, i.e., each vertex v with in- and outdegree greater than 1 is expanded into two vertices x and y connected by an edge x->y such that all incoming edges are moved from v to x and all outgoing edges from v to y. More...
 
class  ExtendedNestingGraph
 
struct  ExternE
 List of externally active nodes strictly between x and y for minortypes B and E. More...
 
class  ExtractKuratowskis
 Extracts multiple Kuratowski Subdivisions. More...
 
class  FaceArray
 Dynamic arrays indexed with faces of a combinatorial embedding. More...
 
class  FaceArrayBase
 Abstract base class for face arrays. More...
 
class  FaceElement
 Faces in a combinatorial embedding. More...
 
class  FaceSet
 Face sets. More...
 
class  FaceSetPure
 Face sets. More...
 
class  FaceSetSimple
 Simple face sets. More...
 
class  FaceSinkGraph
 
class  FastHierarchyLayout
 Coordinate assignment phase for the Sugiyama algorithm by Buchheim et al. More...
 
class  FastMultipoleEmbedder
 The fast multipole embedder approach for force-directed layout. More...
 
class  FastMultipoleMultilevelEmbedder
 The fast multipole multilevel embedder approach for force-directed multilevel layout. More...
 
class  FastSimpleHierarchyLayout
 Coordinate assignment phase for the Sugiyama algorithm by Ulrik Brandes and Boris Köpf. More...
 
class  FibonacciHeap
 Fibonacci heap implementation. More...
 
struct  FibonacciHeapNode
 Fibonacci heap node. More...
 
struct  Fill
 Properties of fills. More...
 
class  FindKuratowskis
 This class collects information about Kuratowski Subdivisions which is used for extraction later. More...
 
class  FixedEmbeddingInserter
 Inserts edges optimally into an embedding. More...
 
class  FixedEmbeddingInserterUML
 Edge insertion module that inserts each edge optimally into a fixed embedding. More...
 
class  FixedEmbeddingUpwardEdgeInserter
 Edge insertion module that inserts each edge optimally into a fixed embedding. More...
 
class  FixEdgeInserterCore
 
class  FixEdgeInserterUMLCore
 
class  FlowCompaction
 represents compaction algorithm using min-cost flow in the dual of the constraint graph More...
 
class  FMMMLayout
 The fast multipole multilevel layout algorithm. More...
 
class  FMMMOptions
 
class  ForceLayoutModule
 Interface of general layout algorithms. More...
 
class  FPPLayout
 The class FPPLayout represents the layout algorithm by de Fraysseix, Pach, Pollack [DPP90]. More...
 
class  FUPSModule
 Interface for feasible upward planar subgraph algorithms. More...
 
class  FUPSSimple
 
class  GEMLayout
 The energy-based GEM layout algorithm. More...
 
class  GenericPoint
 Parameterized base class for points. More...
 
class  GF2Solver
 
class  GlobalSifting
 The global sifting heuristic for crossing minimization. More...
 
class  GlueMap
 This is a helper class to make the glueing of two edges simpler. More...
 
struct  GmlObject
 Represents node in GML parse tree. More...
 
class  GmlParser
 Reads GML file and constructs GML parse tree. More...
 
class  Graph
 Data type for general directed graphs (adjacency list representation). More...
 
class  GraphAttributes
 Stores additional attributes of a graph (like layout information). More...
 
class  GraphCopy
 Copies of graphs supporting edge splitting. More...
 
class  GraphCopyAttributes
 Helper class for accessing graph attributes from a copy of the graph. More...
 
class  GraphCopySimple
 Copies of graphs with mapping between nodes and edges. More...
 
class  GraphIO
 Utility class providing graph I/O in various exchange formats. More...
 
class  GraphMLParser
 
class  GraphObserver
 Abstract Base class for graph observers. More...
 
class  GraphReduction
 Creates a reduced graph by removing leaves, self-loops, and reducing chains. More...
 
class  GreedyCycleRemoval
 Greedy algorithm for computing a maximal acyclic subgraph. More...
 
class  GreedyInsertHeuristic
 The greedy-insert heuristic for 2-layer crossing minimization. More...
 
class  GreedySwitchHeuristic
 The greedy-switch heuristic for 2-layer crossing minimization. More...
 
class  GridLayout
 Representation of a graph's grid layout. More...
 
class  GridLayoutMapped
 Extends GridLayout by a grid mapping mechanism. More...
 
class  GridLayoutModule
 Base class for grid layout algorithms. More...
 
class  GridLayoutPlanRepModule
 Base class for grid layout algorithms operating on a PlanRep. More...
 
class  GridSifting
 The grid sifting heuristic for crossing minimization. More...
 
class  HananiTutteCPlanarity
 C-planarity testing via Hanani-Tutte approach. More...
 
class  HashArray
 Indexed arrays using hashing for element access. More...
 
class  HashArray2D
 Indexed 2-dimensional arrays using hashing for element access. More...
 
class  HashConstIterator
 Iterators for hash tables. More...
 
class  HashConstIterator2D
 Const-iterator for 2D-hash arrays. More...
 
class  HashElement
 Representation of elements in a hash table. More...
 
class  HashElementBase
 Base class for elements within a hash table. More...
 
class  HashFuncTuple
 
class  Hashing
 Hashing with chaining and table doubling. More...
 
class  HashingBase
 Base class for hashing with chaining and table doubling. More...
 
class  HeapBase
 Common interface for all heap classes. More...
 
class  Hierarchy
 Representation of proper hierarchies used by Sugiyama-layout. More...
 
class  HierarchyClusterLayoutModule
 Interface of hierarchy layout algorithms for cluster graphs. More...
 
class  HierarchyLayoutModule
 Interface of hierarchy layout algorithms. More...
 
class  HierarchyLevels
 Representation of proper hierarchies used by Sugiyama-layout. More...
 
class  HierarchyLevelsBase
 
class  HotQueue
 Heap-on-Top queue implementation. More...
 
struct  HotQueueHandle
 Heap-on-Top handle to inserted items. More...
 
struct  HotQueueNode
 Heap-on-Top bucket element. More...
 
class  HyperedgeArray
 Dynamic arrays indexed with nodes. More...
 
class  HyperedgeElement
 Class for the representation of hyperedges. More...
 
class  Hypergraph
 
class  HyperGraph
 
class  HypergraphArrayBase
 Abstract base class for hypergraph arrays. More...
 
class  HypergraphAttributes
 Stores additional attributes of a hypergraph. More...
 
class  HypergraphAttributesES
 Stores additional attributes of edge standard representation of a hypergraph. More...
 
class  HypergraphLayoutES
 
class  HypergraphLayoutModule
 Interface of hypergraph layout algorithms. More...
 
class  HypergraphObserver
 
class  HyperGraphTypes
 Type declarations for HyperGraph. More...
 
class  HypernodeArray
 Dynamic arrays indexed with hypernodes. More...
 
class  HypernodeElement
 Class for the representation of hypernodes. More...
 
class  IncNodeInserter
 
class  IndependentSetMerger
 The independent set merger for multilevel layout. More...
 
class  IndexComparer
 The IndexComparer compares entities like nodes, edges, adjacency entries, based on their index. More...
 
class  Initialization
 The class Initialization is used for initializing global variables. More...
 
class  InitialPlacer
 Base class for placer modules. More...
 
struct  InOutPoint
 Representation of an in- or outpoint. More...
 
class  InsufficientMemoryException
 Exception thrown when not enough memory is available to execute an algorithm. More...
 
class  IOPoints
 Representation of in- and outpoint lists. More...
 
class  IPoint
 Integer points. More...
 
class  IPolyline
 Polylines with integer coordinates. More...
 
class  KuratowskiStructure
 A Kuratowski Structure is a special graph structure containing severals subdivisions. More...
 
class  KuratowskiSubdivision
 
class  KuratowskiWrapper
 Wrapper-class for Kuratowski Subdivisions containing the minortype and edgelist. More...
 
class  LayerBasedUPRLayout
 
class  LayerByLayerSweep
 Interface of two-layer crossing minimization algorithms. More...
 
class  LayeredCrossMinModule
 Interface of crossing minimization algorithms for layered graphs. More...
 
class  Layout
 Stores a layout of a graph (coordinates of nodes, bend points of edges). More...
 
class  LayoutClusterPlanRepModule
 Interface for planar cluster layout algorithms. More...
 
class  LayoutModule
 Interface of general layout algorithms. More...
 
class  LayoutPlanRepModule
 Interface for planar layout algorithms (used in the planarization approach). More...
 
class  LayoutPlanRepUMLModule
 Interface for planar UML layout algorithms. More...
 
class  LayoutStandards
 Standard values for graphical attributes and layouts. More...
 
class  LayoutStatistics
 Utility class providing functions for computing statistical information about a layout. More...
 
class  LCA
 Implements the <O(n log n), O(1)>-time "sparse table" algorithm by Bender and Farach-Colton to compute lowest common ancestors (LCAs) in arborescences (not arbitrary directed acyclic graphs). More...
 
class  LeftistOrdering
 
class  Level
 Representation of levels in hierarchies. More...
 
class  LevelBase
 Representation of levels in hierarchies. More...
 
class  LHTreeNode
 
class  LibraryNotSupportedException
 Exception thrown when an external library shall be used which is not supported. More...
 
class  LinearLayout
 Layout the graph with nodes next to each other with natural or custom order and draw the edges as semicircular bows above them. More...
 
class  LineBuffer
 This class maintains the input file and provides a convenient interface to handle it. More...
 
class  LineBufferPosition
 This class characterizes uniquely a position in the line buffer. More...
 
class  List
 Doubly linked lists (maintaining the length of the list). More...
 
class  ListContainer
 
class  ListElement
 Structure for elements of doubly linked lists. More...
 
class  ListIteratorBase
 Encapsulates a pointer to a list element. More...
 
class  ListPure
 Doubly linked lists. More...
 
class  LocalBiconnectedMerger
 The local biconnected merger for multilevel layout. More...
 
class  Logger
 Centralized global and local logging facility working on streams like cout. More...
 
class  LongestPathCompaction
 Compaction algorithm using longest paths in the constraint graph. More...
 
class  LongestPathRanking
 The longest-path ranking algorithm. More...
 
class  LPSolver
 
class  MallocMemoryAllocator
 Implements a simple memory manager using malloc() and free(). More...
 
class  MatchingMerger
 The matching merger for multilevel layout. More...
 
class  Math
 
class  MaxAdjOrdering
 Calculate one or all Maximum Adjacency Ordering(s) of a given simple undirected graph. More...
 
class  MaxFlowEdmondsKarp
 Computes a max flow via Edmonds-Karp. More...
 
class  MaxFlowGoldbergTarjan
 Computes a max flow via Preflow-Push (global relabeling and gap relabeling heuristic). More...
 
class  MaxFlowModule
 
class  MaxFlowSTPlanarDigraph
 Computes a max flow in s-t-planar network via dual shortest paths. More...
 
class  MaxFlowSTPlanarItaiShiloach
 Computes a max flow in s-t-planar network via uppermost paths. More...
 
class  MaximalFUPS
 
class  MaximalPlanarSubgraphSimple< TCost, typename std::enable_if< std::is_floating_point< TCost >::value >::type >
 
class  MaximalPlanarSubgraphSimple< TCost, typename std::enable_if< std::is_integral< TCost >::value >::type >
 Naive maximal planar subgraph approach that extends a configurable non-maximal subgraph heuristic. More...
 
class  MaximumCPlanarSubgraph
 Exact computation of a maximum c-planar subgraph. More...
 
class  MaximumPlanarSubgraph
 Exact computation of a maximum planar subgraph. More...
 
class  MaxSequencePQTree
 The class template MaxSequencePQTree is designed to compute a maximal consecutive sequence of pertinent leaves in a PQ-tree. More...
 
class  MedianHeuristic
 The median heuristic for 2-layer crossing minimization. More...
 
class  MedianPlacer
 The median placer for multilevel layout. More...
 
class  MinCostFlowModule
 Interface for min-cost flow algorithms. More...
 
class  MinCostFlowReinelt
 Computes a min-cost flow using a network simplex method. More...
 
class  MinCut
 Computes a minimum cut in a graph. More...
 
class  MinimumEdgeDistances
 Maintains input sizes for improvement compaction (deltas and epsilons) More...
 
class  MinSTCutBFS
 Min-st-cut algorithm, that calculates the cut by doing a depth first search over the dual graph of of an st-planar input graph. More...
 
class  MinSTCutDijkstra
 Min-st-cut algorithm, that calculates the cut by calculating the shortest path between the faces adjacent to an edge between s and t, via Dijkstra on the dual graph. More...
 
class  MinSTCutMaxFlow
 Min-st-cut algorithm, that calculates the cut via maxflow. More...
 
class  MinSTCutModule
 
class  MinSteinerTreeDirectedCut
 This class implements the Directed Cut Integer Linear Program for the Steiner tree problem. More...
 
class  MinSteinerTreeDualAscent
 Dual ascent approximation algorithm for Steiner tree problems. More...
 
class  MinSteinerTreeGoemans139
 This class implements the (1.39+epsilon)-approximation algorithm for the Steiner tree problem by Goemans et. More...
 
class  MinSteinerTreeKou
 This class implements the Minimum Steiner Tree 2-approximation algorithm by Kou et al. More...
 
class  MinSteinerTreeMehlhorn
 This class implements the Minimum Steiner Tree 2-approximation algorithm by Mehlhorn. More...
 
class  MinSteinerTreeModule
 This class serves as an interface for various methods to compute minimum or approximations of minimum Steiner trees. More...
 
class  MinSteinerTreePrimalDual
 Primal-Dual approximation algorithm for Steiner tree problems. More...
 
class  MinSteinerTreeRZLoss
 This class implements the loss-contracting (1.55+epsilon)-approximation algorithm for the Steiner tree problem by Robins and Zelikovsky. More...
 
class  MinSteinerTreeShore
 Implementation of Shore, Foulds and Gibbons exact branch and bound algorithm for solving Steiner tree problems. More...
 
class  MinSteinerTreeTakahashi
 This class implements the minimum Steiner tree 2-approximation algorithm by Takahashi and Matsuyama with improvements proposed by Poggi de Aragao et al. More...
 
class  MinSteinerTreeZelikovsky
 This class implements the 11/6-approximation algorithm by Zelikovsky for the minimum Steiner tree problem along with variants and practical improvements. More...
 
class  MixedForceLayout
 
class  MixedModelBase
 
class  MixedModelCrossingsBeautifierModule
 The base class for Mixed-Model crossings beautifier algorithms. More...
 
class  MixedModelLayout
 Implementation of the Mixed-Model layout algorithm. More...
 
class  MMCBBase
 common base class for MMCBDoubleGrid and MMCBLocalStretch. More...
 
class  MMCBDoubleGrid
 Crossings beautifier using grid doubling. More...
 
class  MMCBLocalStretch
 Crossings beautifier using a local stretch strategy. More...
 
class  MMCrossingMinimizationModule
 Interface for minor-monotone crossing minimization algorithms. More...
 
class  MMDummyCrossingsBeautifier
 Dummy implementation of Mixed-Model crossings beautifier. More...
 
class  MMEdgeInsertionModule
 Interface for minor-monotone edge insertion algorithms. More...
 
class  MMFixedEmbeddingInserter
 Minor-monotone edge insertion with fixed embedding. More...
 
class  MMMExampleFastLayout
 An example Layout using the Modular Mutlievel Mixer. More...
 
class  MMMExampleNiceLayout
 An example Layout using the Modular Mutlievel Mixer. More...
 
class  MMMExampleNoTwistLayout
 An example Layout using the Modular Mutlievel Mixer. More...
 
class  MMOrder
 
class  MMSubgraphPlanarizer
 Planarization approach for minor-monotone crossing minimization. More...
 
class  MMVariableEmbeddingInserter
 Minor-monotone edge insertion with variable embedding. More...
 
class  ModifiedNibbleClusterer
 The modified nibble clustering algorithm. More...
 
class  ModularMultilevelMixer
 Modular multilevel graph layout. More...
 
class  Module
 Base class for modules. More...
 
class  MultiEdgeApproxInserter
 Multi edge inserter with approximation guarantee. More...
 
class  MultilevelBuilder
 Base class for merger modules. More...
 
class  MultilevelGraph
 
class  MultilevelLayout
 The multilevel drawing framework. More...
 
class  MultilevelLayoutModule
 Interface of general layout algorithms that also allow a MultilevelGraph as call parameter, extending the interface of a simple LayoutModule. More...
 
class  NearestRectangleFinder
 Finds in a given set of rectangles for each point in a given set of points the nearest rectangle. More...
 
class  NodeArray
 Dynamic arrays indexed with nodes. More...
 
class  NodeArrayBase
 Abstract base class for node arrays. More...
 
class  NodeComparer
 
class  NodeElement
 Class for the representation of nodes. More...
 
struct  NodeMerge
 
struct  NodePair
 
class  NodeSet
 Node sets. More...
 
class  NodeSetPure
 Node sets. More...
 
class  NodeSetSimple
 Simple node sets. More...
 
class  NonPlanarCore
 Non-planar core reduction. More...
 
class  NoStdComparerException
 Exception thrown when a required standard comparer has not been specialized. More...
 
class  Ogml
 
class  OgmlParser
 Objects of this class represent a validating parser for files in Ogml. More...
 
class  OptimalHierarchyClusterLayout
 The LP-based hierarchy cluster layout algorithm. More...
 
class  OptimalHierarchyLayout
 The LP-based hierarchy layout algorithm. More...
 
class  OptimalRanking
 The optimal ranking algorithm. More...
 
class  OrderComparer
 
class  OrthoLayout
 The Orthogonal layout algorithm for planar graphs. More...
 
class  OrthoLayoutUML
 Represents planar orthogonal drawing algorithm for mixed-upward planar embedded graphs (UML-diagrams) More...
 
class  OrthoRep
 Orthogonal representation of an embedded graph. More...
 
class  OrthoShaper
 
class  PairingHeap
 Pairing heap implementation. More...
 
struct  PairingHeapNode
 Pairing heap node. More...
 
class  PALabel
 auxiliary class for the planar augmentation algorithm More...
 
class  PertinentGraph
 Pertinent graphs of nodes in an SPQR-tree. More...
 
class  PivotMDS
 The Pivot MDS (multi-dimensional scaling) layout algorithm. More...
 
class  PlanarAugmentation
 The algorithm for planar biconnectivity augmentation (Mutzel, Fialko). More...
 
class  PlanarAugmentationFix
 The algorithm for biconnectivity augmentation with fixed combinatorial embedding. More...
 
class  PlanarDrawLayout
 Implementation of the Planar-Draw layout algorithm. More...
 
class  PlanarGridLayoutModule
 Base class for planar grid layout algorithms. More...
 
class  PlanarityModule
 Module for planarity testing and planar embeddings. More...
 
class  PlanarizationGridLayout
 The planarization grid layout algorithm. More...
 
class  PlanarizationLayout
 The planarization approach for drawing graphs. More...
 
class  PlanarizationLayoutUML
 The planarization layout algorithm. More...
 
class  PlanarSPQRTree
 SPQR-trees of planar graphs. More...
 
class  PlanarStraightLayout
 Implementation of the Planar-Straight layout algorithm. More...
 
class  PlanarSubgraphBoyerMyrvold
 Maximum planar subgraph heuristic based on the Boyer-Myrvold planarity test. More...
 
class  PlanarSubgraphCactus
 Maximum planar subgraph approximation algorithm by Calinescu et al. More...
 
class  PlanarSubgraphEmpty
 Dummy implementation for maximum planar subgraph that returns an empty graph. More...
 
class  PlanarSubgraphFast
 Computation of a planar subgraph using PQ-trees. More...
 
class  PlanarSubgraphModule
 Interface for planar subgraph algorithms. More...
 
class  PlanarSubgraphPQTree
 
class  PlanarSubgraphTree
 Maximum planar subgraph heuristic that yields a spanning tree. More...
 
class  PlanRep
 Planarized representations (of a connected component) of a graph. More...
 
class  PlanRepExpansion
 Planarized representations (of a connected component) of a graph. More...
 
class  PlanRepInc
 This class is only an adaption of PlanRep for the special incremental drawing case. More...
 
class  PlanRepLight
 Light-weight version of a planarized representation, associated with a PlanRep. More...
 
class  PlanRepUML
 Planarized representation (of a connected component) of a UMLGraph; allows special handling of hierarchies in the graph. More...
 
class  PoolMemoryAllocator
 Allocates memory in large chunks for better runtime. More...
 
class  PQBasicKey
 
class  PQBasicKeyRoot
 The class PQBasicKeyRoot is used as a base class of the class template basicKey. More...
 
class  PQInternalKey
 The class template PQInternalKey is a derived class of class template PQBasicKey. More...
 
class  PQInternalNode
 The class template PQInternalNode is used to present P-nodes and Q-nodes in the PQ-Tree. More...
 
class  PQLeaf
 The datastructure PQ-tree was designed to present a set of permutations on an arbitrary set of elements. More...
 
class  PQLeafKey
 The class template PQLeafKey is a derived class of class template PQBasicKey. More...
 
class  PQNode
 The class template PQBasicKey is an abstract base class. More...
 
class  PQNodeKey
 The class template PQNodeKey is a derived class of class template PQBasicKey. More...
 
class  PQNodeRoot
 The class PQNodeRoot is used as a base class of the class PQNode. More...
 
class  PQTree
 
class  PreconditionViolatedException
 Exception thrown when preconditions are violated. More...
 
class  PreprocessorLayout
 The PreprocessorLayout removes multi-edges and self-loops. More...
 
class  Prioritized
 Augments any data elements of type X with keys of type Priority. This class is also its own Comparer. More...
 
class  PrioritizedMapQueue
 Prioritized queue interface wrapper for heaps. More...
 
class  PrioritizedMapQueue< edge, P, C, Impl, HashFunc >
 Specialization for edge elements. More...
 
class  PrioritizedMapQueue< node, P, C, Impl, HashFunc >
 Specialization for node elements. More...
 
class  PriorityQueue
 Priority queue interface wrapper for heaps. More...
 
class  ProcrustesPointSet
 
class  ProcrustesSubLayout
 A simple procrustes analysis implementation. More...
 
class  Queue
 The parameterized class Queue<E> implements list-based queues. More...
 
struct  QueueEntry
 
class  QueuePure
 Implementation of list-based queues. More...
 
class  RadialTreeLayout
 The radial tree layout algorithm. More...
 
class  RadixHeap
 Radix heap data structure implementation. More...
 
class  RadixHeapNode
 
class  RandomMerger
 The random merger for multilevel layout. More...
 
class  RandomPlacer
 The random placer for multilevel layout. More...
 
class  RankingModule
 Interface of algorithms for computing a node ranking. More...
 
struct  RCCrossings
 
class  RMHeap
 Randomized meldable heap implementation. More...
 
struct  RMHeapNode
 Randomized meldable heap node. More...
 
class  RoutingChannel
 Maintains input sizes for constructive compaction (size of routing channels, separation, cOverhang) More...
 
class  ScalingLayout
 Scales a graph layout and calls a secondary layout algorithm. More...
 
class  SchnyderLayout
 The class SchnyderLayout represents the layout algorithm by Schnyder [Sch90]. More...
 
class  ShellingOrder
 The shelling order of a graph. More...
 
class  ShellingOrderModule
 Base class for modules that compute a shelling order of a graph. More...
 
class  ShellingOrderSet
 The node set in a shelling order of a graph. More...
 
class  ShortestPathModule
 
class  ShortestPathWithBFM
 Computes single-source shortest-paths with Bellman-Ford-Moore's algorithm. More...
 
class  SiftingHeuristic
 The sifting heuristic for 2-layer crossing minimization. More...
 
class  SimDraw
 The Base class for simultaneous graph drawing. More...
 
class  SimDrawCaller
 Calls modified algorithms for simdraw instances. More...
 
class  SimDrawColorizer
 Adds color to a graph. More...
 
class  SimDrawCreator
 Creates variety of possible SimDraw creations. More...
 
class  SimDrawCreatorSimple
 Offers predefined SimDraw creations. More...
 
class  SimDrawManipulatorModule
 Interface for simdraw manipulators. More...
 
class  SimpleCCPackerModule
 A Layout Module for using the TileToRowsCCPacker. More...
 
class  SimpleCluster
 
class  SimpleEmbedder
 Planar graph embedding by using default planarEmbed. More...
 
class  SimpleIncNodeInserter
 
class  Skeleton
 Skeleton graphs of nodes in an SPQR-tree. More...
 
class  Skiplist
 A randomized skiplist. More...
 
class  SkiplistIterator
 Forward-Iterator for Skiplists. More...
 
class  SList
 Singly linked lists (maintaining the length of the list). More...
 
class  SListElement
 Structure for elements of singly linked lists. More...
 
class  SListIteratorBase
 Encapsulates a pointer to an ogdf::SList element. More...
 
class  SListPure
 Singly linked lists. More...
 
class  SolarMerger
 The solar merger for multilevel layout. More...
 
class  SolarPlacer
 The solar placer for multilevel layout. More...
 
class  SortedSequence
 Maintains a sequence of (key,info) pairs sorted by key. More...
 
class  SortedSequenceConstIterator
 Const iterators for sorted sequences. More...
 
class  SortedSequenceIterator
 Iterators for sorted sequences. More...
 
class  SplitHeuristic
 The split heuristic for 2-layer crossing minimization. More...
 
class  SPQRTree
 Linear-time implementation of static SPQR-trees. More...
 
class  SpringEmbedderFRExact
 
class  SpringEmbedderGridVariant
 The spring-embedder layout algorithm with force approximation using hte grid variant approach. More...
 
class  SpringEmbedderKK
 The spring-embedder layout algorithm by Kamada and Kawai. More...
 
class  Stack
 The parameterized class Stack<E> implements list-based stacks. More...
 
class  StackPure
 List-based stacks. More...
 
class  StaticPlanarSPQRTree
 SPQR-trees of planar graphs. More...
 
class  StaticSkeleton
 Skeleton graphs of nodes in a static SPQR-tree. More...
 
class  StaticSPQRTree
 Linear-time implementation of static SPQR-trees. More...
 
class  StdComparer
 Standard comparer (valid as a static comparer). More...
 
class  StdComparer< bool >
 Generates a specialization of the standard static comparer for booleans. More...
 
class  StdComparer< Prioritized< X, Priority > >
 
class  SteinerTreePreprocessing
 This class implements preprocessing strategies for the Steiner tree problem. More...
 
class  StlGreater
 Template for converting any StdComparer into a STL compatible compare functor. More...
 
class  StlLess
 Template for converting any StdComparer into a STL compatible compare functor. More...
 
class  Stopwatch
 Realizes a stopwatch for measuring elapsed time. More...
 
class  StopwatchCPU
 Implements a stopwatch measuring CPU time. More...
 
class  StopwatchWallClock
 Implements a stopwatch measuring wall-clock time. More...
 
class  StressMinimization
 Energy-based layout using stress minimization. More...
 
struct  Stroke
 Properties of strokes. More...
 
class  SubgraphPlanarizer
 The planarization approach for crossing minimization. More...
 
class  SubgraphPlanarizerUML
 The planarization approach for UML crossing minimization. More...
 
class  SubgraphUpwardPlanarizer
 
class  SubsetEnumerator
 Enumerator for k-subsets of a given type. More...
 
class  SugiyamaLayout
 Sugiyama's layout algorithm. More...
 
class  SvgPrinter
 SVG Writer. More...
 
class  System
 System specific functionality. More...
 
class  TargetComparer
 A static comparer which compares the target of pointers ("content"), instead of the pointer's adresses. More...
 
class  Thread
 Threads supporting OGDF's memory management. More...
 
class  TileToRowsCCPacker
 The tile-to-rows algorithm for packing drawings of connected components. More...
 
class  Timeouter
 class for timeout funtionality. More...
 
class  TokenIgnorer
 
class  Top10Heap
 A variant of BinaryHeapSimple which always holds only the X (e.g. X=10) elements with the highest keys. More...
 
class  TopologyModule
 Constructs embeddings from given layout. More...
 
class  TreeLayout
 The tree layout algorithm. More...
 
class  TriconnectedShellingOrder
 Computation of a shelling order for a triconnected and simple (no multi-edges, no self-loops) planar graph. More...
 
class  Triconnectivity
 realizes Hopcroft/Tarjan algorithm for finding the triconnected components of a biconnected multi-graph More...
 
class  Tuple2
 Tuples of two elements (2-tuples). More...
 
class  TutteLayout
 Tutte's method for graph layout. More...
 
class  TwoLayerCrossMinSimDraw
 
class  TypeNotSupportedException
 Exception thrown when a data type is not supported by a generic function. More...
 
class  UMLCrossingMinimizationModule
 Base class for UML crossing minimization algorithms. More...
 
class  UmlDiagramGraph
 Contains the class UmlDiagramGraph which represents one particular diagram of the complete UML Model. More...
 
class  UMLEdgeInsertionModule
 Interface for UML edge insertion algorithms. More...
 
class  UMLGraph
 
class  UMLLayoutModule
 Interface of UML layout algorithms. More...
 
class  UmlModelGraph
 This class represents the complete UML Model in a graph-like data structure. More...
 
class  UmlToGraphConverter
 This class performs all necessary steps to obtain a model graph and diagram graphs from the input file which contains an UML model in XML format. More...
 
class  UPRLayoutModule
 Interface of hierarchy layout algorithms. More...
 
class  UpSAT
 
class  UpwardEdgeInserterModule
 
class  UpwardPlanarity
 Upward planarity testing and embedding. More...
 
class  UpwardPlanarityEmbeddedDigraph
 
class  UpwardPlanaritySingleSource
 Performs upward planarity testing and embedding for single-source digraphs. More...
 
class  UpwardPlanarizerModule
 Interface for upward planarization algorithms. More...
 
class  UpwardPlanarSubgraphModule
 Interface for algorithms for computing an upward planar subgraph. More...
 
class  UpwardPlanarSubgraphSimple
 A maximal planar subgraph algorithm using planarity testing. More...
 
class  UpwardPlanRep
 Upward planarized representations (of a connected component) of a graph. More...
 
class  VarEdgeInserterCore
 
class  VarEdgeInserterDynCore
 
class  VarEdgeInserterDynUMLCore
 
class  VarEdgeInserterUMLCore
 
class  VariableEmbeddingInserter
 Optimal edge insertion module. More...
 
class  VariableEmbeddingInserterBase
 Common parameter functionality for ogdf::VariableEmbeddingInserter and ogdf::VariableEmbeddingInserterDyn. More...
 
class  VariableEmbeddingInserterDyn
 Optimal edge insertion module. More...
 
class  VariableEmbeddingInserterDynUML
 Optimal edge insertion module. More...
 
class  VariableEmbeddingInserterUML
 Optimal edge insertion module. More...
 
class  VComparer
 Abstract base class for comparer classes. More...
 
class  VisibilityLayout
 
class  Voronoi
 Computes Voronoi regions in an edge weighted graph. More...
 
class  WeightComparer
 
class  whaInfo
 
struct  WInfo
 Saves information about a pertinent node w between two stopping vertices. More...
 
struct  XmlAttributeObject
 This struct represents an attribute associated to a tag. More...
 
class  XmlParser
 This class parses the XML input file and builds up a parse tree with linked elements XMLTagObject and XMLAttributeObject. More...
 
class  XmlScanner
 This class scans the characters of the input file and provides the detected token. More...
 
struct  XmlTagObject
 This struct represents a node in the XML parse tree. More...
 
class  ZeroPlacer
 The zero placer for multilevel layout. More...
 

Typedefs

using adjEntry = AdjElement *
 The type of adjacency entries. More...
 
using adjHypergraphEntry = AdjHypergraphElement *
 The type of adjacency entries. More...
 
using cluster = ClusterElement *
 The type of clusters. More...
 
using edge = EdgeElement *
 The type of edges. More...
 
using edgeType = long long
 
using face = FaceElement *
 
using GmlKey = HashElement< string, int > *
 
using HashedString = HashElement< string, int >
 
using hyperedge = HyperedgeElement *
 The type of hyperedges. More...
 
using hypernode = HypernodeElement *
 The type of hypernodes. More...
 
template<class E >
using ListConstIterator = ListIteratorBase< E, true >
 
template<class E >
using ListIterator = ListIteratorBase< E, false >
 
using node = NodeElement *
 The type of nodes. More...
 
using nodeType = long long
 
using pa_label = PALabel *
 
template<typename E , typename P , class C = std::less<P>, template< typename, class > class Impl = PairingHeap>
using PrioritizedQueue = pq_internal::PrioritizedQueue< E, P, C, Impl >
 Prioritized queue interface wrapper for heaps. More...
 
template<class E >
using SListConstIterator = SListIteratorBase< E, true >
 
template<class E >
using SListIterator = SListIteratorBase< E, false >
 

Enumerations

enum  AlgorithmFailureCode {
  AlgorithmFailureCode::Unknown, AlgorithmFailureCode::IllegalParameter, AlgorithmFailureCode::NoFlow, AlgorithmFailureCode::Sort, AlgorithmFailureCode::Label, AlgorithmFailureCode::ExternalFace, AlgorithmFailureCode::ForbiddenCrossing, AlgorithmFailureCode::TimelimitExceeded, AlgorithmFailureCode::NoSolutionFound, AlgorithmFailureCode::IndexOutOfBounds, AlgorithmFailureCode::PrimalBound, AlgorithmFailureCode::DualBound, AlgorithmFailureCode::NotInteger, AlgorithmFailureCode::Buffer,
  AlgorithmFailureCode::AddVar, AlgorithmFailureCode::Sorter, AlgorithmFailureCode::Phase, AlgorithmFailureCode::Active, AlgorithmFailureCode::NoSolution, AlgorithmFailureCode::MakeFeasible, AlgorithmFailureCode::Guarantee, AlgorithmFailureCode::BranchingVariable, AlgorithmFailureCode::Strategy, AlgorithmFailureCode::CloseHalf, AlgorithmFailureCode::StandardPool, AlgorithmFailureCode::Variable, AlgorithmFailureCode::LpIf, AlgorithmFailureCode::Lp,
  AlgorithmFailureCode::Bstack, AlgorithmFailureCode::LpStatus, AlgorithmFailureCode::BranchingRule, AlgorithmFailureCode::FixSet, AlgorithmFailureCode::LpSub, AlgorithmFailureCode::String, AlgorithmFailureCode::Constraint, AlgorithmFailureCode::Pool, AlgorithmFailureCode::Global, AlgorithmFailureCode::FsVarStat, AlgorithmFailureCode::LpVarStat, AlgorithmFailureCode::OsiIf, AlgorithmFailureCode::ConBranchRule, AlgorithmFailureCode::Timer,
  AlgorithmFailureCode::Array, AlgorithmFailureCode::Csense, AlgorithmFailureCode::BPrioQueue, AlgorithmFailureCode::FixCand, AlgorithmFailureCode::BHeap, AlgorithmFailureCode::Poolslot, AlgorithmFailureCode::SparVec, AlgorithmFailureCode::Convar, AlgorithmFailureCode::Ostream, AlgorithmFailureCode::Hash, AlgorithmFailureCode::Paramaster, AlgorithmFailureCode::InfeasCon, AlgorithmFailureCode::STOP
}
 Code for an internal failure condition. More...
 
enum  BendType { BendType::BendFree, BendType::Bend1Left, BendType::Bend1Right, BendType::Bend2Left, BendType::Bend2Right, BendType::ProbBf, BendType::ProbB1L, BendType::ProbB1R, BendType::ProbB2L, BendType::ProbB2R }
 edge types, defined by necessary bends More...
 
enum  BoyerMyrvoldEdgeType { BoyerMyrvoldEdgeType::Undefined =0, BoyerMyrvoldEdgeType::Selfloop =1, BoyerMyrvoldEdgeType::Back =2, BoyerMyrvoldEdgeType::Dfs =3, BoyerMyrvoldEdgeType::DfsParallel =4, BoyerMyrvoldEdgeType::BackDeleted =5 }
 Type of edge. More...
 
enum  CompressionOptions { CompressionOptions::PathCompression = 0, CompressionOptions::PathSplitting = 1, CompressionOptions::PathHalving = 2, CompressionOptions::Type1Reversal = 4, CompressionOptions::Collapsing = 5, CompressionOptions::Disabled = 6 }
 Defines options for compression search paths. More...
 
enum  ConstraintEdgeType { ConstraintEdgeType::BasicArc, ConstraintEdgeType::VertexSizeArc, ConstraintEdgeType::VisibilityArc, ConstraintEdgeType::FixToZeroArc, ConstraintEdgeType::ReducibleArc, ConstraintEdgeType::MedianArc }
 Types of edges in the constraint graph. More...
 
enum  CPUFeature { CPUFeature::MMX, CPUFeature::SSE, CPUFeature::SSE2, CPUFeature::SSE3, CPUFeature::SSSE3, CPUFeature::SSE4_1, CPUFeature::SSE4_2, CPUFeature::VMX, CPUFeature::SMX, CPUFeature::EST, CPUFeature::MONITOR }
 Special features supported by a x86/x64 CPU. More...
 
enum  CPUFeatureMask : unsigned int { CPUFeatureMask::MMX = 1 << static_cast<int>(CPUFeature::MMX), CPUFeatureMask::SSE = 1 << static_cast<int>(CPUFeature::SSE), CPUFeatureMask::SSE2 = 1 << static_cast<int>(CPUFeature::SSE2), CPUFeatureMask::SSE3 = 1 << static_cast<int>(CPUFeature::SSE3), CPUFeatureMask::SSSE3 = 1 << static_cast<int>(CPUFeature::SSSE3), CPUFeatureMask::SSE4_1 = 1 << static_cast<int>(CPUFeature::SSE4_1), CPUFeatureMask::SSE4_2 = 1 << static_cast<int>(CPUFeature::SSE4_2), CPUFeatureMask::VMX = 1 << static_cast<int>(CPUFeature::VMX), CPUFeatureMask::SMX = 1 << static_cast<int>(CPUFeature::SMX), CPUFeatureMask::EST = 1 << static_cast<int>(CPUFeature::EST), CPUFeatureMask::MONITOR = 1 << static_cast<int>(CPUFeature::MONITOR) }
 Bit mask for CPU features. More...
 
enum  Direction { Direction::before, Direction::after }
 
enum  EdgeArrow { EdgeArrow::None, EdgeArrow::Last, EdgeArrow::First, EdgeArrow::Both, EdgeArrow::Undefined }
 Types for edge arrows. More...
 
enum  EdgeStandardType { EdgeStandardType::clique = 0x0001, EdgeStandardType::star = 0x0002, EdgeStandardType::tree = 0x0003 }
 Enumeration class of possible edge standard representations. More...
 
enum  FileType { FileType::Entry, FileType::File, FileType::Directory }
 The type of an entry in a directory. More...
 
enum  FillPattern {
  FillPattern::None, FillPattern::Solid, FillPattern::Dense1, FillPattern::Dense2, FillPattern::Dense3, FillPattern::Dense4, FillPattern::Dense5, FillPattern::Dense6, FillPattern::Dense7, FillPattern::Horizontal, FillPattern::Vertical, FillPattern::Cross, FillPattern::BackwardDiagonal, FillPattern::ForwardDiagonal,
  FillPattern::DiagonalCross
}
 Fill patterns. More...
 
enum  InterleavingOptions { InterleavingOptions::Disabled = 0, InterleavingOptions::Rem = 1, InterleavingOptions::Tarjan = 2, InterleavingOptions::Type0Reversal = 3, InterleavingOptions::SplittingCompression = 4 }
 Defines options for interleaving find/link operations in quickUnion. More...
 
enum  LabelType { LabelType::End1 = 0, LabelType::Mult1, LabelType::Name, LabelType::End2, LabelType::Mult2, LabelType::NumLabels }
 
enum  LibraryNotSupportedCode { LibraryNotSupportedCode::Unknown, LibraryNotSupportedCode::Coin, LibraryNotSupportedCode::Abacus, LibraryNotSupportedCode::FunctionNotImplemented, LibraryNotSupportedCode::MissingCallbackImplementation, LibraryNotSupportedCode::STOP }
 Code for the library which was intended to get used, but its use is not supported. More...
 
enum  LinkOptions { LinkOptions::Naive = 0, LinkOptions::Index = 1, LinkOptions::Size = 2, LinkOptions::Rank = 3 }
 Defines options for linking two sets. More...
 
enum  Orientation { Orientation::topToBottom, Orientation::bottomToTop, Orientation::leftToRight, Orientation::rightToLeft }
 Determines the orientation in hierarchical layouts. More...
 
enum  OrthoBendType : char { OrthoBendType::convexBend = '0', OrthoBendType::reflexBend = '1' }
 
enum  OrthoDir { OrthoDir::North = 0, OrthoDir::East = 1, OrthoDir::South = 2, OrthoDir::West = 3, OrthoDir::Undefined = 4 }
 
enum  PreconditionViolatedCode {
  PreconditionViolatedCode::Unknown, PreconditionViolatedCode::SelfLoop, PreconditionViolatedCode::TreeHierarchies, PreconditionViolatedCode::AcyclicHierarchies, PreconditionViolatedCode::SingleSource, PreconditionViolatedCode::UpwardPlanar, PreconditionViolatedCode::Tree, PreconditionViolatedCode::Forest, PreconditionViolatedCode::Orthogonal, PreconditionViolatedCode::Planar, PreconditionViolatedCode::ClusterPlanar, PreconditionViolatedCode::NoCopy, PreconditionViolatedCode::Connected, PreconditionViolatedCode::Biconnected,
  PreconditionViolatedCode::Full, PreconditionViolatedCode::STOP
}
 Error code for a violated precondition. More...
 
enum  ProcessType { ProcessType::unprocessed, ProcessType::processed, ProcessType::used }
 
enum  RemoveReinsertType { RemoveReinsertType::None, RemoveReinsertType::Inserted, RemoveReinsertType::MostCrossed, RemoveReinsertType::All, RemoveReinsertType::Incremental, RemoveReinsertType::IncInserted }
 The postprocessing method for edge insertion algorithms. More...
 
enum  Shape { Shape::Rect, Shape::RoundedRect, Shape::Ellipse, Shape::Triangle, Shape::Pentagon, Shape::Hexagon, Shape::Octagon, Shape::Rhomb, Shape::Trapeze, Shape::Parallelogram, Shape::InvTriangle, Shape::InvTrapeze, Shape::InvParallelogram, Shape::Image }
 Types for node shapes. More...
 
enum  SpringForceModel { SpringForceModel::FruchtermanReingold, SpringForceModel::FruchtermanReingoldModAttr, SpringForceModel::FruchtermanReingoldModRep, SpringForceModel::Eades, SpringForceModel::Hachul, SpringForceModel::Gronemann }
 The force model used for computing forces on nodes. More...
 
enum  StrokeLineCap : unsigned char { StrokeLineCap::Butt, StrokeLineCap::Round, StrokeLineCap::Square }
 Line cap types of strokes. More...
 
enum  StrokeLineJoin : unsigned char { StrokeLineJoin::Miter, StrokeLineJoin::Round, StrokeLineJoin::Bevel }
 Line join types of strokes. More...
 
enum  StrokeType : unsigned char { StrokeType::None, StrokeType::Solid, StrokeType::Dash, StrokeType::Dot, StrokeType::Dashdot, StrokeType::Dashdotdot }
 Line types of strokes. More...
 
enum  UMLEdgeTypeConstants {
  UMLEdgeTypeConstants::PrimAssociation = 0x1, UMLEdgeTypeConstants::PrimGeneralization = 0x2, UMLEdgeTypeConstants::PrimDependency = 0x4, UMLEdgeTypeConstants::SecExpansion = 0x1, UMLEdgeTypeConstants::SecDissect = 0x2, UMLEdgeTypeConstants::SecFaceSplitter = 0x3, UMLEdgeTypeConstants::SecCluster = 0x4, UMLEdgeTypeConstants::SecClique, UMLEdgeTypeConstants::Merger = 0x1, UMLEdgeTypeConstants::Vertical = 0x2, UMLEdgeTypeConstants::Align = 0x3, UMLEdgeTypeConstants::AssClass = 0x8, UMLEdgeTypeConstants::Brother = 0x1, UMLEdgeTypeConstants::HalfBrother = 0x2,
  UMLEdgeTypeConstants::Cousin = 0x3, UMLEdgeTypeConstants::FifthToMerger = 0x1, UMLEdgeTypeConstants::FifthFromMerger = 0x2
}
 
enum  UMLEdgeTypeOffsets { UMLEdgeTypeOffsets::Primary = 0, UMLEdgeTypeOffsets::Secondary = 4, UMLEdgeTypeOffsets::Tertiary = 8, UMLEdgeTypeOffsets::Fourth = 12, UMLEdgeTypeOffsets::Fifth = 16, UMLEdgeTypeOffsets::User = 24 }
 
enum  UMLEdgeTypePatterns : edgeType { UMLEdgeTypePatterns::Primary = 0x0000000f, UMLEdgeTypePatterns::Secondary = 0x000000f0, UMLEdgeTypePatterns::Tertiary = 0x00000f00, UMLEdgeTypePatterns::Fourth = 0x0000f000, UMLEdgeTypePatterns::User = 0xff000000, UMLEdgeTypePatterns::All = 0xffffffff }
 
enum  UMLNodeTypeConstants { UMLNodeTypeConstants::PrimOriginal = 0x1, UMLNodeTypeConstants::PrimCopy = 0x2, UMLNodeTypeConstants::SecStructural = 0x1, UMLNodeTypeConstants::SecNonStructural = 0x2, UMLNodeTypeConstants::TerCrossing = 0x1, UMLNodeTypeConstants::TerExpander = 0x2, UMLNodeTypeConstants::TerHDExpander = 0x6, UMLNodeTypeConstants::TerLDExpander = 0xA, UMLNodeTypeConstants::FourFlow = 0x1, UMLNodeTypeConstants::FourLabel = 0x2, UMLNodeTypeConstants::FourType = 0x3, UMLNodeTypeConstants::FourCorner = 0x4 }
 
enum  UMLNodeTypeOffsets { UMLNodeTypeOffsets::Primary = 0, UMLNodeTypeOffsets::Secondary = 4, UMLNodeTypeOffsets::Tertiary = 8, UMLNodeTypeOffsets::Fourth = 12, UMLNodeTypeOffsets::Fifth = 16, UMLNodeTypeOffsets::User = 24 }
 
enum  UMLNodeTypePatterns : nodeType { UMLNodeTypePatterns::Primary = 0x0000000f, UMLNodeTypePatterns::Secondary = 0x000000f0, UMLNodeTypePatterns::Tertiary = 0x00000f00, UMLNodeTypePatterns::Fourth = 0x0000f000, UMLNodeTypePatterns::User = 0xff000000, UMLNodeTypePatterns::All = 0xffffffff }
 
enum  UMLOpt { UMLOpt::OpAlign = 0x0001, UMLOpt::OpScale = 0x0002, UMLOpt::OpProg = 0x0004 }
 
enum  UsedLabels { UsedLabels::End1 = (1 << static_cast<int>(LabelType::End1)), UsedLabels::Mult1 = (1 << static_cast<int>(LabelType::Mult1)), UsedLabels::Name = (1 << static_cast<int>(LabelType::Name)), UsedLabels::End2 = (1 << static_cast<int>(LabelType::End2)), UsedLabels::Mult2 = (1 << static_cast<int>(LabelType::Mult2)), UsedLabels::lAll = (1 << static_cast<int>(LabelType::NumLabels)) -1 }
 
enum  whaType { whaType::W, whaType::B, whaType::H, whaType::A }
 The definitions for W, B, H and A describe the type of a node during the computation of the maximal pertinent sequence. More...
 
enum  XmlToken { XmlToken::openingBracket, XmlToken::closingBracket, XmlToken::questionMark, XmlToken::exclamationMark, XmlToken::minus, XmlToken::slash, XmlToken::equalSign, XmlToken::identifier, XmlToken::attributeValue, XmlToken::quotedValue, XmlToken::endOfFile, XmlToken::invalidToken, XmlToken::noToken }
 This enum type represents the values, which are returned by the function XmlScanner::getNextToken(). More...
 

Functions

void bfs_SPAP (const Graph &G, NodeArray< NodeArray< double > > &distance, double edgeCosts)
 Computes all-pairs shortest paths in G using breadth-first serach (BFS). More...
 
void bfs_SPSS (node s, const Graph &G, NodeArray< double > &distanceArray, double edgeCosts)
 Computes single-source shortest paths from s in G using breadth-first search (BFS). More...
 
template<class E >
void bucketSort (Array< E > &a, int min, int max, BucketFunc< E > &f)
 Bucket-sort array a using bucket assignment f; the values of f must be in the interval [min,max]. More...
 
bool changeDir (const char *dirName)
 Changes current directory to dirName; returns true if successful. More...
 
template<typename CONTAINER , typename TYPE >
CONTAINER::iterator chooseIteratorFrom (CONTAINER &container, std::function< bool(const TYPE &)> includeElement=[](const TYPE &) { return true;}, bool isFastTest=true)
 Returns an iterator to a random element in the container. More...
 
template<typename CONTAINER , typename TYPE >
CONTAINER::const_iterator chooseIteratorFrom (const CONTAINER &container, std::function< bool(const TYPE &)> includeElement=[](const TYPE &) { return true;}, bool isFastTest=true)
 Returns an iterator to a random element in the container. More...
 
int computeSTNumbering (const Graph &G, NodeArray< int > &numbering, node s=nullptr, node t=nullptr, bool randomized=false)
 Computes an st-Numbering of G. More...
 
void degreeDistribution (const Graph &G, Array< int > &degdist)
 Fills degdist with the degree distribution of graph G. More...
 
bool dfsGenTree (UMLGraph &UG, List< edge > &fakedGens, bool fakeTree)
 
bool dfsGenTreeRec (UMLGraph &UG, EdgeArray< bool > &used, NodeArray< int > &hierNumber, int hierNum, node v, List< edge > &fakedGens, bool fakeTree)
 
double dijkstra_SPAP (const GraphAttributes &GA, NodeArray< NodeArray< double > > &shortestPathMatrix)
 Computes all-pairs shortest paths in GA using Dijkstra's algorithm. More...
 
void dijkstra_SPAP (const Graph &G, NodeArray< NodeArray< double > > &shortestPathMatrix, const EdgeArray< double > &edgeCosts)
 Computes all-pairs shortest paths in graph G using Dijkstra's algorithm. More...
 
void dijkstra_SPSS (node s, const Graph &G, NodeArray< double > &shortestPathMatrix, const EdgeArray< double > &edgeCosts)
 Computes single-source shortest paths from node s in G using Disjkstra's algorithm. More...
 
double DRound (const double &d, int prec=0)
 
bool equalIgnoreCase (const string &str1, const string &str2)
 Compares the two strings str1 and str2, ignoring the case of characters. More...
 
edge firstOutGen (UMLGraph &UG, node v, EdgeArray< bool > &)
 
void floydWarshall_SPAP (NodeArray< NodeArray< double > > &shortestPathMatrix, const Graph &G)
 Computes all-pairs shortest paths in graph G using Floyd-Warshall's algorithm. More...
 
void getEntries (const char *dirName, List< string > &entries, const char *pattern="*")
 Returns in entries the list of all entries contained in directory dirName. More...
 
void getEntries (const char *dirName, FileType t, List< string > &entries, const char *pattern="*")
 Returns in entries the list of all entries of type t contained in directory dirName. More...
 
void getEntriesAppend (const char *dirName, List< string > &entries, const char *pattern="*")
 Appends to entries the list of all entries contained in directory dirName. More...
 
void getEntriesAppend (const char *dirName, FileType t, List< string > &entries, const char *pattern="*")
 Appends to entries the list of all entries of type t contained in directory dirName. More...
 
void getFiles (const char *dirName, List< string > &files, const char *pattern="*")
 Returns in files the list of files in directory dirName. More...
 
void getFilesAppend (const char *dirName, List< string > &files, const char *pattern="*")
 Appends to files the list of files in directory dirName. More...
 
void getSubdirs (const char *dirName, List< string > &subdirs, const char *pattern="*")
 Returns in subdirs the list of directories contained in directory dirName. More...
 
void getSubdirsAppend (const char *dirName, List< string > &subdirs, const char *pattern="*")
 Appends to subdirs the list of directories contained in directory dirName. More...
 
FillPattern intToFillPattern (int i)
 Converts integer i to fill pattern. More...
 
StrokeType intToStrokeType (int i)
 Converts integer i to stroke type. More...
 
bool isDirectory (const char *fileName)
 Returns true iff fileName is a directory. More...
 
bool isFile (const char *fileName)
 Returns true iff fileName is a regular file (not a directory). More...
 
template<typename T >
bool isinf (T value)
 
bool isPlanar (const Graph &G)
 Returns true, if G is planar, false otherwise. More...
 
bool isRegular (const Graph &G)
 Checks if a graph is regular. More...
 
bool isRegular (const Graph &G, int d)
 Checks if a graph is d-regular. More...
 
bool isSTNumbering (const Graph &G, NodeArray< int > &st_no, int max)
 Tests, whether a numbering of the nodes is an st-numbering. More...
 
bool isSTPlanar (const Graph &graph, const node s, const node t)
 Returns whether G is s-t-planar (i.e. More...
 
void nodeDistribution (const Graph &G, Array< int > &degdist, std::function< int(node)> func)
 Fills dist with the distribution given by a function func in graph G. More...
 
template<class E1 , class E2 >
bool operator!= (const Tuple2< E1, E2 > &t1, const Tuple2< E1, E2 > &t2)
 Inequality operator for 2-tuples. More...
 
bool operator!= (int lhs, BoyerMyrvoldPlanar::EmbeddingGrade rhs)
 
edgeType operator& (edgeType lhs, UMLEdgeTypePatterns rhs)
 !!attention sign, 7fffffff More...
 
edgeType operator& (UMLEdgeTypePatterns lhs, edgeType rhs)
 
int operator& (int lhs, UMLOpt rhs)
 
int operator& (int lhs, WInfo::MinorType rhs)
 
edgeType operator& (edgeType lhs, UMLEdgeTypeConstants rhs)
 
int operator& (int i, TopologyModule::Options b)
 
int operator+= (int &lhs, UMLOpt rhs)
 
ostream & operator<< (ostream &os, ogdf::node v)
 Output operator for nodes; prints node index (or "nil"). More...
 
ostream & operator<< (ostream &os, ogdf::edge e)
 Output operator for edges; prints source and target indices (or "nil"). More...
 
ostream & operator<< (ostream &os, ogdf::adjEntry adj)
 Output operator for adjacency entries; prints node and twin indices (or "nil"). More...
 
ostream & operator<< (ostream &os, const StrokeType &st)
 Output operator. More...
 
edgeType operator<< (edgeType lhs, UMLEdgeTypePatterns rhs)
 
ostream & operator<< (ostream &os, const Module::ReturnType &r)
 
ostream & operator<< (ostream &os, const KuratowskiWrapper::SubdivisionType &obj)
 
int operator<< (UMLNodeTypeConstants lhs, UMLNodeTypeOffsets rhs)
 
template<class E1 , class E2 >
ostream & operator<< (ostream &os, const Tuple2< E1, E2 > &t2)
 Output operator for 2-tuples. More...
 
ostream & operator<< (ostream &os, const UmlModelGraph &modelGraph)
 Output operator for UmlModelGraph. More...
 
ostream & operator<< (ostream &os, const FillPattern &fp)
 Output operator. More...
 
edgeType operator<< (edgeType lhs, UMLEdgeTypeOffsets rhs)
 
ostream & operator<< (ostream &os, const RCCrossings &cr)
 
edgeType operator<< (UMLEdgeTypeConstants lhs, UMLEdgeTypeOffsets rhs)
 
ostream & operator<< (ostream &os, const EdgeArrow &ea)
 Output operator. More...
 
ostream & operator<< (ostream &os, const BalloonLayout::RootSelection &rs)
 
ostream & operator<< (ostream &os, const IPoint &ip)
 Output operator for integer points. More...
 
template<class E , class INDEX >
ostream & operator<< (ostream &os, const BoundedStack< E, INDEX > &S)
 
template<class E , class INDEX >
ostream & operator<< (ostream &os, const BoundedQueue< E, INDEX > &Q)
 Prints BoundedQueue Q to output stream os. More...
 
template<class T >
ostream & operator<< (ostream &os, const SubsetEnumerator< T > &subset)
 
ostream & operator<< (ostream &os, const DPoint &dp)
 Output operator for real points. More...
 
ostream & operator<< (ostream &os, Logger::Level level)
 
template<class E >
ostream & operator<< (ostream &os, const StackPure< E > &S)
 
template<class E >
ostream & operator<< (ostream &os, const Stack< E > &S)
 
ostream & operator<< (ostream &os, Configuration::System sys)
 Output operator for Configuration::System (uses Configuration::toString(Configuration::System)). More...
 
ostream & operator<< (ostream &os, Configuration::LPSolver lps)
 Output operator for Configuration::LPSolver (uses Configuration::toString(Configuration::LPSolver)). More...
 
ostream & operator<< (ostream &os, Configuration::MemoryManager mm)
 Output operator for Configuration::MemoryManager (uses Configuration::toString(Configuration::MemoryManager)). More...
 
template<class E >
ostream & operator<< (ostream &os, const QueuePure< E > &Q)
 
template<class E , class INDEX >
ostream & operator<< (ostream &os, const ogdf::ArrayBuffer< E, INDEX > &a)
 Prints ArrayBuffer a to output stream os. More...
 
template<class E >
ostream & operator<< (ostream &os, const Queue< E > &Q)
 
ostream & operator<< (ostream &os, const DLine &dl)
 Output operator for lines. More...
 
template<class E , class INDEX >
ostream & operator<< (ostream &os, const ogdf::Array< E, INDEX > &a)
 Prints array a to output stream os. More...
 
ostream & operator<< (ostream &os, const DScaler &ds)
 Output operator for scalers. More...
 
template<typename T >
static std::ostream & operator<< (std::ostream &outStream, HyperGraph::NodeArray< T > &array)
 
template<typename T >
static std::ostream & operator<< (std::ostream &outStream, HyperGraph::EdgeArray< T > &array)
 
template<typename T >
static std::ostream & operator<< (std::ostream &outStream, HyperGraph::AdjArray< T > &array)
 
static std::ostream & operator<< (std::ostream &outStream, HyperGraph &graph)
 
ostream & operator<< (ostream &os, const DPolygon &dop)
 Output operator for polygons. More...
 
ostream & operator<< (ostream &os, ogdf::cluster c)
 
template<class E >
ostream & operator<< (ostream &os, const SListPure< E > &L)
 Output operator. More...
 
template<class E >
ostream & operator<< (ostream &os, const SList< E > &L)
 Output operator. More...
 
std::ostream & operator<< (std::ostream &os, const Graph::EdgeType &et)
 
ostream & operator<< (ostream &os, const NodePair &np)
 
template<class E >
ostream & operator<< (ostream &os, const ListPure< E > &L)
 Prints list L to output stream os. More...
 
template<class E >
ostream & operator<< (ostream &os, const List< E > &L)
 Prints list L to output stream os. More...
 
bool operator<= (int lhs, BoyerMyrvoldPlanar::EmbeddingGrade rhs)
 
template<class E1 , class E2 >
bool operator== (const Tuple2< E1, E2 > &t1, const Tuple2< E1, E2 > &t2)
 Equality operator for 2-tuples. More...
 
bool operator== (edgeType lhs, UMLEdgeTypeConstants rhs)
 
bool operator== (int lhs, BoyerMyrvoldPlanar::EmbeddingGrade rhs)
 
bool operator> (int lhs, BoyerMyrvoldPlanar::EmbeddingGrade rhs)
 
std::istream & operator>> (std::istream &is, TokenIgnorer token)
 
edgeType operator>> (edgeType lhs, UMLEdgeTypeOffsets rhs)
 
template<typename T >
static std::istream & operator>> (std::istream &inStream, HyperGraph::NodeArray< T > &array)
 
template<typename T >
static std::istream & operator>> (std::istream &inStream, HyperGraph::EdgeArray< T > &array)
 
template<typename T >
static std::istream & operator>> (std::istream &inStream, HyperGraph::AdjArray< T > &array)
 
static std::istream & operator>> (std::istream &inStream, HyperGraph &graph)
 
int operator| (int lhs, UMLOpt rhs)
 
int operator| (TopologyModule::Options a, TopologyModule::Options b)
 
int operator| (int i, TopologyModule::Options b)
 
int operator|= (int &lhs, WInfo::MinorType rhs)
 
unsigned int operator|= (unsigned int &i, CPUFeatureMask fm)
 
int operator~ (UMLOpt rhs)
 
int orientation (const DPoint &p, const DPoint &q, const DPoint &r)
 
int orientation (const DSegment &s, const DPoint &p)
 
bool planarEmbed (Graph &G)
 Returns true, if G is planar, false otherwise. If true is returned, G will be planarly embedded. More...
 
bool planarEmbedPlanarGraph (Graph &G)
 Constructs a planar embedding of G. It assumes that G is planar! More...
 
bool planarSTEmbed (Graph &graph, node s, node t)
 s-t-planarly embeds a graph. More...
 
bool prefixIgnoreCase (const string &prefix, const string &str)
 Tests if prefix is a prefix of str, ignoring the case of characters. More...
 
template<class T >
void print (ostream &os, const SubsetEnumerator< T > &subset, string delim=" ")
 
template<class E >
void print (ostream &os, const QueuePure< E > &Q, char delim=' ')
 
template<class E , class INDEX >
void print (ostream &os, const ArrayBuffer< E, INDEX > &a, char delim=' ')
 Prints ArrayBuffer a to output stream os using delimiter delim. More...
 
template<class E >
void print (ostream &os, const Queue< E > &Q, char delim=' ')
 
template<class E , class INDEX >
void print (ostream &os, const Array< E, INDEX > &a, char delim=' ')
 Prints array a to output stream os using delimiter delim. More...
 
template<class E >
void print (ostream &os, const SListPure< E > &L, char delim=' ')
 Prints list L to output stream os using delimiter delim. More...
 
template<class E >
void print (ostream &os, const SList< E > &L, char delim=' ')
 Prints list L to output stream os using delimiter delim. More...
 
template<class E >
void print (ostream &os, const ListPure< E > &L, char delim=' ')
 Prints list L to output stream os using delimiter delim. More...
 
template<class E >
void print (ostream &os, const List< E > &L, char delim=' ')
 Prints list L to output stream os using delimiter delim. More...
 
template<class LIST >
void quicksortTemplate (LIST &L)
 
template<class LIST , class COMPARER >
void quicksortTemplate (LIST &L, const COMPARER &comp)
 
double randomDouble (double low, double high)
 Returns a random double value from the interval [low, high). More...
 
double randomDoubleNormal (double m, double sd)
 Returns a random double value from the normal distribution with mean m and standard deviation sd. More...
 
int randomNumber (int low, int high)
 Returns random integer between low and high (including). More...
 
long unsigned int randomSeed ()
 Returns a random value suitable as initial seed for a random number engine. More...
 
template<typename ListType , typename ArrayType >
static void readFromStream (std::istream &inStream, ArrayType &array)
 
void removeTrailingWhitespace (string &str)
 Removes trailing space, horizontal and vertical tab, feed, newline, and carriage return from str. More...
 
template<typename CONTAINER , typename T >
int searchPos (const CONTAINER &C, const T &x)
 Searches for the position of x in container C; returns -1 if not found. More...
 
void setSeed (int val)
 Sets the seed for functions like randomSeed(), randomNumber(), randomDouble(). More...
 
template<typename E >
static E toEnum (const std::string &str, std::map< std::string, E > &map, std::string toString(const E &), const E first, const E last, const E def)
 
double usedTime (double &T)
 Returns used CPU time from T to current time and assigns current time to T. More...
 
template<typename ListType , typename ArrayType >
static void writeToStream (std::ostream &outStream, ArrayType &array)
 
Methods for induced subgraphs
template<class LISTITERATOR >
void inducedSubGraph (const Graph &G, LISTITERATOR start, Graph &subGraph)
 Computes the subgraph induced by a list of nodes. More...
 
template<class LISTITERATOR >
void inducedSubGraph (const Graph &G, LISTITERATOR start, Graph &subGraph, NodeArray< node > &nodeTableOrig2New)
 Computes the subgraph induced by a list of nodes (plus a mapping from original nodes to new copies). More...
 
template<class LISTITERATOR >
void inducedSubGraph (const Graph &G, LISTITERATOR start, Graph &subGraph, NodeArray< node > &nodeTableOrig2New, EdgeArray< edge > &edgeTableOrig2New)
 Computes the subgraph induced by a list of nodes (plus mappings from original nodes and edges to new copies). More...
 
template<class NODELISTITERATOR , class EDGELIST >
void inducedSubgraph (Graph &G, NODELISTITERATOR &it, EDGELIST &E)
 Computes the edges in a node-induced subgraph. More...
 
Methods for clustered graphs
bool isCConnected (const ClusterGraph &C)
 Returns true iff cluster graph C is c-connected. More...
 
void makeCConnected (ClusterGraph &C, Graph &G, List< edge > &addedEdges, bool simple=true)
 Makes a cluster graph c-connected by adding edges. More...
 
Methods for minimum spanning tree computation
template<typename T >
T computeMinST (const Graph &G, const EdgeArray< T > &weight, EdgeArray< bool > &isInTree)
 Computes a minimum spanning tree using Prim's algorithm. More...
 
template<typename T >
T computeMinST (const Graph &G, const EdgeArray< T > &weight, NodeArray< edge > &pred, EdgeArray< bool > &isInTree)
 Computes a minimum spanning tree (MST) using Prim's algorithm. More...
 
template<typename T >
void computeMinST (const Graph &G, const EdgeArray< T > &weight, NodeArray< edge > &pred)
 Computes a minimum spanning tree (MST) using Prim's algorithm. More...
 
template<typename T >
void computeMinST (node s, const Graph &G, const EdgeArray< T > &weight, NodeArray< edge > &pred)
 Computes a minimum spanning tree (MST) using Prim's algorithm. More...
 
template<typename T >
T computeMinST (node s, const Graph &G, const EdgeArray< T > &weight, NodeArray< edge > &pred, EdgeArray< bool > &isInTree)
 Computes a minimum spanning tree (MST) using Prim's algorithm. More...
 
template<typename T >
T makeMinimumSpanningTree (Graph &G, const EdgeArray< T > &weight)
 Reduce a graph to its minimum spanning tree (MST) using Kruskal's algorithm. More...
 
Randomized graph generators
void randomRegularGraph (Graph &G, int n, int d)
 Creates a random d-regular graph. This method is not guaranteed to terminate! More...
 
void randomGraph (Graph &G, int n, int m)
 Creates a random graph. More...
 
bool randomSimpleGraph (Graph &G, int n, int m)
 Creates a random simple graph. More...
 
void randomBiconnectedGraph (Graph &G, int n, int m)
 Creates a random biconnected graph. More...
 
void planarConnectedGraph (Graph &G, int n, int m)
 Creates a random connected (simple) planar (embedded) graph. More...
 
void planarBiconnectedGraph (Graph &G, int n, int m, bool multiEdges=false)
 Creates a random planar biconnected (embedded) graph. More...
 
void planarBiconnectedDiGraph (Graph &G, int n, int m, double p=0, bool multiEdges=false)
 Creates a random planar biconnected acyclic (embedded) digraph. More...
 
void upwardPlanarBiconnectedDiGraph (Graph &G, int n, int m)
 Creates a random upward planar biconnected (embedded) digraph. More...
 
void planarCNBGraph (Graph &G, int n, int m, int b)
 Creates a random planar graph, that is connected, but not biconnected. More...
 
void randomTriconnectedGraph (Graph &G, int n, double p1, double p2)
 Creates a random triconnected (and simple) graph. More...
 
void planarTriconnectedGraph (Graph &G, int n, int m)
 Creates a random planar triconnected (and simple) graph. More...
 
void planarTriconnectedGraph (Graph &G, int n, double p1, double p2)
 Creates a random planar triconnected (and simple) graph. More...
 
void randomTree (Graph &G, int n)
 Creates a random tree (simpler version. More...
 
void randomTree (Graph &G, int n, int maxDeg, int maxWidth)
 Creates a random tree. More...
 
void randomHierarchy (Graph &G, int n, int m, bool planar, bool singleSource, bool longEdges)
 Creates a random hierarchical graph. More...
 
void randomClusterPlanarGraph (ClusterGraph &C, Graph &G, int cNum)
 Assigns random clusters to a given graph G. More...
 
void randomClusterGraph (ClusterGraph &C, Graph &G, int cNum)
 Assigns random clusters to a given graph G. More...
 
void randomClusterGraph (ClusterGraph &C, const Graph &G, const node root, int moreInLeaves)
 Assigns a specified cluster structure to a given graph G, and assigns vertices to clusters. More...
 
void randomDiGraph (Graph &G, int n, double p)
 Creates a random (simple) directed graph. More...
 
void randomSeriesParallelDAG (Graph &G, int edges, double p=0.5, double flt=0.0)
 Creates a random (simple, biconnected) series parallel DAG. More...
 
void randomGeometricCubeGraph (Graph &G, int nodes, double threshold, int dimension=2)
 Creates a random geometric graph by laying out nodes in a unit n-cube. Nodes with a distance < threshold are connected, 0 <= threshold <= sqrt(dimension). The graph is simple. More...
 
Deterministic graph generators
void customGraph (Graph &G, int n, List< std::pair< int, int >> edges, Array< node > &nodes)
 Creates a custom graph using a list of pairs to determine the graph's edges. More...
 
void customGraph (Graph &G, int n, List< std::pair< int, int >> edges)
 Creates a custom graph using a list of pairs to determine the graph's edges. More...
 
void circulantGraph (Graph &G, int n, Array< int > jumps)
 Creates a circulant graph. More...
 
void regularTree (Graph &G, int n, int children)
 Creates a regular tree. More...
 
void completeGraph (Graph &G, int n)
 Creates the complete graph K_n. More...
 
void completeKPartiteGraph (Graph &G, const Array< int > &signature)
 Creates the complete k-partite graph K_{k1,k2,...,kn}. More...
 
void completeBipartiteGraph (Graph &G, int n, int m)
 Creates the complete bipartite graph K_{n,m}. More...
 
void wheelGraph (Graph &G, int n)
 Creates the graph W_n: A wheel graph. More...
 
void cubeGraph (Graph &G, int n)
 Creates the graph Q^n: A n-cube graph. More...
 
void suspension (Graph &G, int s)
 Modifies G by adding its n-th suspension. More...
 
void gridGraph (Graph &G, int n, int m, bool loopN, bool loopM)
 Creates a (toroidal) grid graph on n x m nodes. More...
 
void petersenGraph (Graph &G, int n, int m)
 Creates a generalized Petersen graph. More...
 
void emptyGraph (Graph &G, int nodes)
 Creates a graph with nodes nodes and no edges. More...
 
Methods for loops
bool isLoopFree (const Graph &G)
 Returns true iff G contains no self-loop. More...
 
template<class NODELIST >
void makeLoopFree (Graph &G, NODELIST &L)
 Removes all self-loops from G and returns all nodes with self-loops in L. More...
 
void makeLoopFree (Graph &G)
 Removes all self-loops from G. More...
 
Methods for parallel edges
void parallelFreeSort (const Graph &G, SListPure< edge > &edges)
 Sorts the edges of G such that parallel edges come after each other in the list. More...
 
bool isParallelFree (const Graph &G)
 Returns true iff G contains no paralle edges. More...
 
int numParallelEdges (const Graph &G)
 Returns the number of parallel edges in G. More...
 
template<class EDGELIST >
void makeParallelFree (Graph &G, EDGELIST &parallelEdges)
 Removes all but one of each bundle of parallel edges. More...
 
void makeParallelFree (Graph &G)
 Removes all but one edge of each bundle of parallel edges in G. More...
 
void parallelFreeSortUndirected (const Graph &G, SListPure< edge > &edges, EdgeArray< int > &minIndex, EdgeArray< int > &maxIndex)
 Sorts the edges of G such that undirected parallel edges come after each other in the list. More...
 
bool isParallelFreeUndirected (const Graph &G)
 Returns true iff G contains no undirected parallel edges. More...
 
int numParallelEdgesUndirected (const Graph &G)
 Returns the number of undirected parallel edges in G. More...
 
template<class EDGELIST >
void makeParallelFreeUndirected (Graph &G, EDGELIST &parallelEdges)
 Removes all but one of each bundle of undirected parallel edges. More...
 
void makeParallelFreeUndirected (Graph &G)
 Removes all but one of each bundle of undirected parallel edges. More...
 
template<class EDGELIST >
void makeParallelFreeUndirected (Graph &G, EDGELIST &parallelEdges, EdgeArray< int > &cardPositive, EdgeArray< int > &cardNegative)
 Removes all but one of each bundle of undirected parallel edges. More...
 
template<class EDGELIST >
void getParallelFreeUndirected (const Graph &G, EdgeArray< EDGELIST > &parallelEdges)
 Computes the bundles of undirected parallel edges in G. More...
 
Methods for simple graphs
bool isSimple (const Graph &G)
 Returns true iff G contains neither self-loops nor parallel edges. More...
 
void makeSimple (Graph &G)
 Removes all self-loops and all but one edge of each bundle of parallel edges. More...
 
bool isSimpleUndirected (const Graph &G)
 Returns true iff G contains neither self-loops nor undirected parallel edges. More...
 
void makeSimpleUndirected (Graph &G)
 Removes all self-loops and all but one edge of each bundle of undirected parallel edges. More...
 
Methods for connectivity
bool isConnected (const Graph &G)
 Returns true iff G is connected. More...
 
void makeConnected (Graph &G, List< edge > &added)
 Makes G connected by adding a minimum number of edges. More...
 
void makeConnected (Graph &G)
 makes G connected by adding a minimum number of edges. More...
 
int connectedComponents (const Graph &G, NodeArray< int > &component)
 Computes the connected components of G. More...
 
int connectedIsolatedComponents (const Graph &G, List< node > &isolated, NodeArray< int > &component)
 Computes the connected components of G and returns the list of isolated nodes. More...
 
bool isBiconnected (const Graph &G, node &cutVertex)
 Returns true iff G is biconnected. More...
 
bool isBiconnected (const Graph &G)
 Returns true iff G is biconnected. More...
 
void makeBiconnected (Graph &G, List< edge > &added)
 Makes G biconnected by adding edges. More...
 
void makeBiconnected (Graph &G)
 Makes G biconnected by adding edges. More...
 
int biconnectedComponents (const Graph &G, EdgeArray< int > &component, int &nonEmptyComponents)
 Computes the biconnected components of G. More...
 
int biconnectedComponents (const Graph &G, EdgeArray< int > &component)
 Computes the biconnected components of G. More...
 
bool isTriconnected (const Graph &G, node &s1, node &s2)
 Returns true iff G is triconnected. More...
 
bool isTriconnected (const Graph &G)
 Returns true iff G is triconnected. More...
 
bool isTriconnectedPrimitive (const Graph &G, node &s1, node &s2)
 Returns true iff G is triconnected (using a quadratic time algorithm!). More...
 
bool isTriconnectedPrimitive (const Graph &G)
 Returns true iff G is triconnected (using a quadratic time algorithm!). More...
 
void triangulate (Graph &G)
 Triangulates a planarly embedded graph G by adding edges. More...
 
Methods for directed graphs
bool isAcyclic (const Graph &G, List< edge > &backedges)
 Returns true iff the digraph G is acyclic. More...
 
bool isAcyclic (const Graph &G)
 Returns true iff the digraph G is acyclic. More...
 
bool isAcyclicUndirected (const Graph &G, List< edge > &backedges)
 Returns true iff the undirected graph G is acyclic. More...
 
bool isAcyclicUndirected (const Graph &G)
 Returns true iff the undirected graph G is acyclic. More...
 
void makeAcyclic (Graph &G)
 Makes the digraph G acyclic by removing edges. More...
 
void makeAcyclicByReverse (Graph &G)
 Makes the digraph G acyclic by reversing edges. More...
 
bool hasSingleSource (const Graph &G, node &source)
 Returns true iff the digraph G contains exactly one source node (or is empty). More...
 
bool hasSingleSource (const Graph &G)
 Returns true iff the digraph G contains exactly one source node (or is empty). More...
 
bool hasSingleSink (const Graph &G, node &sink)
 Returns true iff the digraph G contains exactly one sink node (or is empty). More...
 
bool hasSingleSink (const Graph &G)
 Returns true iff the digraph G contains exactly one sink node (or is empty). More...
 
bool isStGraph (const Graph &G, node &s, node &t, edge &st)
 Returns true iff G is an st-digraph. More...
 
bool isStGraph (const Graph &G)
 Returns true if G is an st-digraph. More...
 
void topologicalNumbering (const Graph &G, NodeArray< int > &num)
 Computes a topological numbering of an acyclic digraph G. More...
 
int strongComponents (const Graph &G, NodeArray< int > &component)
 Computes the strongly connected components of the digraph G. More...
 
void makeBimodal (Graph &G, List< edge > &newEdges)
 Makes the digraph G bimodal. More...
 
void makeBimodal (Graph &G)
 Makes the digraph G bimodal. More...
 
Methods for trees and forests
bool isFreeForest (const Graph &G)
 Returns true iff G is a forest, i.e. contains no undirected cycle. More...
 
bool isTree (const Graph &G)
 Returns true iff G is a tree, i.e. contains no undirected cycle and is connected. More...
 
bool isForest (const Graph &G, List< node > &roots)
 Returns true iff G represents a forest, i.e., a collection of arborescences. More...
 
bool isForest (const Graph &G)
 Returns true iff G represents a forest, i.e. a collection of arborescences. More...
 
bool isArborescence (const Graph &G, node &root)
 Returns true iff G represents a tree. More...
 
bool isArborescence (const Graph &G)
 Returns true iff G represents an arborescence. More...
 
Iteration macros
bool test_forall_adj_entries_of_cluster (ListConstIterator< adjEntry > &it, adjEntry &adj)
 
bool test_forall_adj_edges_of_cluster (ListConstIterator< adjEntry > &it, edge &e)
 
bool test_forall_adj_edges_of_cluster (adjEntry &adj, edge &e)
 

Variables

const EpsilonTest OGDF_GEOM_ET
 
static Initialization s_ogdfInitializer
 

Detailed Description

The namespace for all OGDF objects.

Typedef Documentation

◆ adjHypergraphEntry

The type of adjacency entries.

Definition at line 68 of file Hypergraph.h.

◆ cluster

using ogdf::cluster = typedef ClusterElement*

The type of clusters.

Definition at line 46 of file ClusterGraph.h.

◆ edgeType

using ogdf::edgeType = typedef long long

Definition at line 42 of file EdgeTypePatterns.h.

◆ face

using ogdf::face = typedef FaceElement*

Definition at line 40 of file CombinatorialEmbedding.h.

◆ GmlKey

using ogdf::GmlKey = typedef HashElement<string,int>*

Definition at line 41 of file GmlParser.h.

◆ HashedString

using ogdf::HashedString = typedef HashElement<string,int>

Definition at line 44 of file XmlParser.h.

◆ hyperedge

The type of hyperedges.

Definition at line 65 of file Hypergraph.h.

◆ hypernode

The type of hypernodes.

Definition at line 62 of file Hypergraph.h.

◆ ListConstIterator

template<class E >
using ogdf::ListConstIterator = typedef ListIteratorBase<E, true>

Definition at line 42 of file List.h.

◆ ListIterator

template<class E >
using ogdf::ListIterator = typedef ListIteratorBase<E, false>

Definition at line 43 of file List.h.

◆ nodeType

using ogdf::nodeType = typedef long long

Definition at line 44 of file NodeTypePatterns.h.

◆ pa_label

using ogdf::pa_label = typedef PALabel*

Definition at line 153 of file PALabel.h.

◆ SListConstIterator

template<class E >
using ogdf::SListConstIterator = typedef SListIteratorBase<E, true>

Definition at line 41 of file SList.h.

◆ SListIterator

template<class E >
using ogdf::SListIterator = typedef SListIteratorBase<E, false>

Definition at line 42 of file SList.h.

Enumeration Type Documentation

◆ BendType

enum ogdf::BendType
strong

edge types, defined by necessary bends

Enumerator
BendFree 
Bend1Left 
Bend1Right 
Bend2Left 
Bend2Right 
ProbBf 
ProbB1L 
ProbB1R 
ProbB2L 
ProbB2R 

Definition at line 49 of file EdgeRouter.h.

◆ BoyerMyrvoldEdgeType

Type of edge.

Enumerator
Undefined 

undefined

Selfloop 

selfloop

Back 

backedge

Dfs 

DFS-edge.

DfsParallel 

parallel DFS-edge

BackDeleted 

deleted backedge

Definition at line 45 of file BoyerMyrvoldPlanar.h.

◆ CompressionOptions

Defines options for compression search paths.

Enumerator
PathCompression 

Path Compression.

PathSplitting 

Path Splitting (default)

PathHalving 

Path Halving.

Type1Reversal 

Reversal of type 1.

Collapsing 

Collapsing.

Disabled 

No Compression.

Definition at line 50 of file DisjointSets.h.

◆ ConstraintEdgeType

Types of edges in the constraint graph.

Enumerator
BasicArc 
VertexSizeArc 
VisibilityArc 
FixToZeroArc 

can be compacted to zero length, can be fixed

ReducibleArc 

can be compacted to zero length

MedianArc 

inserted to replace some reducible in fixzerolength

Definition at line 45 of file CompactionConstraintGraph.h.

◆ Direction

enum ogdf::Direction
strong
Enumerator
before 
after 

Definition at line 132 of file basic.h.

◆ EdgeStandardType

Enumeration class of possible edge standard representations.

Enumerator
clique 

no new dummy nodes are introduced, for every hyperedge e = (v_1, ..., v_l), we add a cliqie K_l connecting hypernodes incident with e

star 

for every hyperedge e = {v_1, ..., v_l} a single new dummy node v_e is introduced, moreover, v_e becomes the center of a new star connecting all hypernodes incident with e (ie. {v_1, v_e}, ..., {v_l, v_e} are added)

tree 

for every hyperedge e a minimal subcubic tree connecting all hypernodes incident with e together is added with all its nodes and edges, leaves of tree are hypernodes, all non-leaf nodes are newly introduced dummy nodes.

Definition at line 51 of file EdgeStandardRep.h.

◆ InterleavingOptions

Defines options for interleaving find/link operations in quickUnion.

Enumerator
Disabled 

No Interleaving (default)

Rem 

Rem's Algorithm (only compatible with LinkOptions::Index)

Tarjan 

Tarjan's and van Leeuwen's Algorithm (only compatible with LinkOptions::Rank)

Type0Reversal 

Interleaved Reversal of Type 0 (only compatible with LinkOptions::Naive)

SplittingCompression 

Interleaved Path Splitting Path Compression (only compatible with LinkOptions::Index)

Definition at line 60 of file DisjointSets.h.

◆ LabelType

enum ogdf::LabelType
strong
Enumerator
End1 
Mult1 
Name 
End2 
Mult2 
NumLabels 

the number of available labels at an edge

Definition at line 46 of file ELabelInterface.h.

◆ LinkOptions

enum ogdf::LinkOptions
strong

Defines options for linking two sets.

Enumerator
Naive 

Naive Link.

Index 

Link by index (default)

Size 

Link by size.

Rank 

Link by rank.

Definition at line 42 of file DisjointSets.h.

◆ Orientation

enum ogdf::Orientation
strong

Determines the orientation in hierarchical layouts.

Enumerator
topToBottom 

Edges are oriented from top to bottom.

bottomToTop 

Edges are oriented from bottom to top.

leftToRight 

Edges are oriented from left to right.

rightToLeft 

Edges are oriented from right to left.

Definition at line 46 of file geometry.h.

◆ OrthoBendType

enum ogdf::OrthoBendType : char
strong
Enumerator
convexBend 
reflexBend 

Definition at line 47 of file OrthoRep.h.

◆ OrthoDir

enum ogdf::OrthoDir
strong
Enumerator
North 
East 
South 
West 
Undefined 

Definition at line 52 of file OrthoRep.h.

◆ ProcessType

enum ogdf::ProcessType
strong
Enumerator
unprocessed 
processed 
used 

Definition at line 64 of file EdgeRouter.h.

◆ UMLEdgeTypeConstants

Enumerator
PrimAssociation 
PrimGeneralization 
PrimDependency 
SecExpansion 
SecDissect 
SecFaceSplitter 
SecCluster 
SecClique 
Merger 
Vertical 
Align 
AssClass 
Brother 
HalfBrother 
Cousin 
FifthToMerger 
FifthFromMerger 

Definition at line 65 of file EdgeTypePatterns.h.

◆ UMLEdgeTypeOffsets

Enumerator
Primary 
Secondary 
Tertiary 
Fourth 
Fifth 
User 

Definition at line 95 of file EdgeTypePatterns.h.

◆ UMLEdgeTypePatterns

Enumerator
Primary 
Secondary 
Tertiary 
Fourth 
User 
All 

Definition at line 44 of file EdgeTypePatterns.h.

◆ UMLNodeTypeConstants

Enumerator
PrimOriginal 
PrimCopy 
SecStructural 
SecNonStructural 
TerCrossing 
TerExpander 
TerHDExpander 
TerLDExpander 
FourFlow 
FourLabel 
FourType 
FourCorner 

Definition at line 55 of file NodeTypePatterns.h.

◆ UMLNodeTypeOffsets

Enumerator
Primary 
Secondary 
Tertiary 
Fourth 
Fifth 
User 

Definition at line 75 of file NodeTypePatterns.h.

◆ UMLNodeTypePatterns

Enumerator
Primary 
Secondary 
Tertiary 
Fourth 
User 
All 

Definition at line 46 of file NodeTypePatterns.h.

◆ UMLOpt

enum ogdf::UMLOpt
strong
Enumerator
OpAlign 
OpScale 
OpProg 

Definition at line 61 of file OrthoRep.h.

◆ UsedLabels

enum ogdf::UsedLabels
strong
Enumerator
End1 
Mult1 
Name 
End2 
Mult2 
lAll 

Definition at line 55 of file ELabelInterface.h.

◆ whaType

enum ogdf::whaType
strong

The definitions for W, B, H and A describe the type of a node during the computation of the maximal pertinent sequence.

A pertinent node X in the PQ-tree will be either of type B, W, A or H. Together with some other information stored at every node the pertinent leaves in the frontier of X that have to be deleted. For further description of the types see Jayakumar, Thulasiraman and Swamy 1989.

Enumerator
W 
B 
H 
A 

Definition at line 49 of file whaInfo.h.

◆ XmlToken

enum ogdf::XmlToken
strong

This enum type represents the values, which are returned by the function XmlScanner::getNextToken().

See also
XmlScanner::getNextToken()
Enumerator
openingBracket 

<

closingBracket 

>

questionMark 

?

exclamationMark 

!

minus 

−

slash 

/

equalSign 

=

identifier 

(a..z|A..Z){(a..z|A..Z|0..9|.|_|:)}

attributeValue 

a sequence of characters, digits, minus - and dot .

quotedValue 

all quoted content " ... " or ' ... '

endOfFile 

End of file detected.

invalidToken 

No token identified.

noToken 

Used for the m_lookAheadToken to indicate that there is no lookahead token.

Definition at line 42 of file XmlScanner.h.

Function Documentation

◆ bucketSort()

template<class E >
void ogdf::bucketSort ( Array< E > &  a,
int  min,
int  max,
BucketFunc< E > &  f 
)

Bucket-sort array a using bucket assignment f; the values of f must be in the interval [min,max].

Definition at line 1093 of file SList.h.

◆ chooseIteratorFrom() [1/2]

template<typename CONTAINER , typename TYPE >
CONTAINER::iterator ogdf::chooseIteratorFrom ( CONTAINER &  container,
std::function< bool(const TYPE &)>  includeElement = [](const TYPE&) { return true; },
bool  isFastTest = true 
)

Returns an iterator to a random element in the container.

Takes linear time (given that includeElement runs in constant time). An invalid iterator is returned iff no feasible element exists. When includeElement has a non-constant runtime it is recommended to set isFastTest to false.

Template Parameters
CONTAINERType of the container. Any iterable container that implements size() is applicable.
TYPEType of elements returned by the iterator of the container.
Parameters
containerThe container that we want to pick an element from.
includeElementSpecifies for each element whether it is feasible to be chosen. Defaults to all elements being feasible. Must return the same value when called twice with the same element.
isFastTestShould be set to false to prevent querying the same element multiple times for feasibility. Note that this will result in additional space allocated linear in the size of the container.
Returns
An iterator to the picked element or an invalid iterator if no such element exists.

Definition at line 189 of file list_templates.h.

◆ chooseIteratorFrom() [2/2]

template<typename CONTAINER , typename TYPE >
CONTAINER::const_iterator ogdf::chooseIteratorFrom ( const CONTAINER &  container,
std::function< bool(const TYPE &)>  includeElement = [](const TYPE&) { return true; },
bool  isFastTest = true 
)

Returns an iterator to a random element in the container.

Takes linear time (given that includeElement runs in constant time). An invalid iterator is returned iff no feasible element exists. When includeElement has a non-constant runtime it is recommended to set isFastTest to false.

Template Parameters
CONTAINERType of the container. Any iterable container that implements size() is applicable.
TYPEType of elements returned by the iterator of the container.
Parameters
containerThe container that we want to pick an element from.
includeElementSpecifies for each element whether it is feasible to be chosen. Defaults to all elements being feasible. Must return the same value when called twice with the same element.
isFastTestShould be set to false to prevent querying the same element multiple times for feasibility. Note that this will result in additional space allocated linear in the size of the container.
Returns
An iterator to the picked element or an invalid iterator if no such element exists.

Definition at line 199 of file list_templates.h.

◆ degreeDistribution()

void ogdf::degreeDistribution ( const Graph &  G,
Array< int > &  degdist 
)
inline

Fills degdist with the degree distribution of graph G.

See also
ogdf::nodeDistribution

Definition at line 985 of file simple_graph_alg.h.

◆ dfsGenTree()

bool ogdf::dfsGenTree ( UMLGraph &  UG,
List< edge > &  fakedGens,
bool  fakeTree 
)

Definition at line 110 of file precondition.h.

◆ dfsGenTreeRec()

bool ogdf::dfsGenTreeRec ( UMLGraph &  UG,
EdgeArray< bool > &  used,
NodeArray< int > &  hierNumber,
int  hierNum,
node  v,
List< edge > &  fakedGens,
bool  fakeTree 
)

Definition at line 45 of file precondition.h.

◆ DRound()

double ogdf::DRound ( const double &  d,
int  prec = 0 
)
inline

Definition at line 54 of file geometry.h.

◆ equalIgnoreCase()

bool ogdf::equalIgnoreCase ( const string &  str1,
const string &  str2 
)

Compares the two strings str1 and str2, ignoring the case of characters.

◆ firstOutGen()

edge ogdf::firstOutGen ( UMLGraph &  UG,
node  v,
EdgeArray< bool > &   
)

Definition at line 93 of file precondition.h.

◆ isinf()

template<typename T >
bool ogdf::isinf ( T  value)
inline

Definition at line 46 of file PivotMDS.h.

◆ isRegular() [1/2]

bool ogdf::isRegular ( const Graph &  G)

Checks if a graph is regular.

Parameters
Gis the input graph.
Returns
true if G is regular, false otherwise.

◆ isRegular() [2/2]

bool ogdf::isRegular ( const Graph &  G,
int  d 
)

Checks if a graph is d-regular.

Parameters
Gis the input graph.
dis the vertex degree.
Returns
true if G is d-regular, false otherwise.

◆ isSTPlanar()

bool ogdf::isSTPlanar ( const Graph &  graph,
const node  s,
const node  t 
)
inline

Returns whether G is s-t-planar (i.e.

it can be planarly embedded with s and t sharing a face).

Parameters
graphThe graph to be tested
sThe node to be incident to the same face as t nodes
tThe other node
Returns
true iff the graph is s-t-planar

Definition at line 410 of file extended_graph_alg.h.

◆ nodeDistribution()

void ogdf::nodeDistribution ( const Graph &  G,
Array< int > &  degdist,
std::function< int(node)>  func 
)

Fills dist with the distribution given by a function func in graph G.

The array dist is initialized such that dist.low() represents the minimum function value, and dist.high() represents the maximum function value.

The resulting dist array contains for each function value x the number n of nodes that yield this function value x. In that case, the value at index x of dist is n. Also note that because dist is an array, all intermediate values are 0.

Examples:

  • Getting the in-degree distribution:
    Array<int> indegDist;
    nodeDistribution(G, indegDist, [](node v) { return v->indeg(); });
  • Getting the number of nodes belonging to specific connected components:
    NodeArray<int> component(G);
    Array<int> compDist;
    connectedComponents(G, component);
    nodeDistribution(G, compDist, component);
See also
ogdf::degreeDistribution

◆ operator!=() [1/2]

template<class E1 , class E2 >
bool ogdf::operator!= ( const Tuple2< E1, E2 > &  t1,
const Tuple2< E1, E2 > &  t2 
)

Inequality operator for 2-tuples.

Definition at line 82 of file tuples.h.

◆ operator!=() [2/2]

bool ogdf::operator!= ( int  lhs,
BoyerMyrvoldPlanar::EmbeddingGrade  rhs 
)
inline

Definition at line 481 of file BoyerMyrvoldPlanar.h.

◆ operator&() [1/6]

edgeType ogdf::operator & ( edgeType  lhs,
UMLEdgeTypePatterns  rhs 
)
inline

!!attention sign, 7fffffff

Definition at line 53 of file EdgeTypePatterns.h.

◆ operator&() [2/6]

edgeType ogdf::operator & ( UMLEdgeTypePatterns  lhs,
edgeType  rhs 
)
inline

Definition at line 57 of file EdgeTypePatterns.h.

◆ operator&() [3/6]

int ogdf::operator & ( int  lhs,
UMLOpt  rhs 
)
inline

Definition at line 65 of file OrthoRep.h.

◆ operator&() [4/6]

int ogdf::operator & ( int  lhs,
WInfo::MinorType  rhs 
)
inline

Definition at line 81 of file FindKuratowskis.h.

◆ operator&() [5/6]

edgeType ogdf::operator & ( edgeType  lhs,
UMLEdgeTypeConstants  rhs 
)
inline

Definition at line 87 of file EdgeTypePatterns.h.

◆ operator&() [6/6]

int ogdf::operator & ( int  i,
TopologyModule::Options  b 
)
inline

Definition at line 203 of file TopologyModule.h.

◆ operator+=()

int ogdf::operator+= ( int &  lhs,
UMLOpt  rhs 
)
inline

Definition at line 66 of file OrthoRep.h.

◆ operator<<() [1/45]

ostream& ogdf::operator<< ( ostream &  os,
ogdf::node  v 
)

Output operator for nodes; prints node index (or "nil").

◆ operator<<() [2/45]

ostream& ogdf::operator<< ( ostream &  os,
ogdf::edge  e 
)

Output operator for edges; prints source and target indices (or "nil").

◆ operator<<() [3/45]

ostream& ogdf::operator<< ( ostream &  os,
ogdf::adjEntry  adj 
)

Output operator for adjacency entries; prints node and twin indices (or "nil").

◆ operator<<() [4/45]

ostream& ogdf::operator<< ( ostream &  os,
const StrokeType &  st 
)

Output operator.

◆ operator<<() [5/45]

edgeType ogdf::operator<< ( edgeType  lhs,
UMLEdgeTypePatterns  rhs 
)
inline

Definition at line 61 of file EdgeTypePatterns.h.

◆ operator<<() [6/45]

ostream& ogdf::operator<< ( ostream &  os,
const Module::ReturnType &  r 
)

◆ operator<<() [7/45]

ostream& ogdf::operator<< ( ostream &  os,
const KuratowskiWrapper::SubdivisionType &  obj 
)

◆ operator<<() [8/45]

int ogdf::operator<< ( UMLNodeTypeConstants  lhs,
UMLNodeTypeOffsets  rhs 
)
inline

Definition at line 84 of file NodeTypePatterns.h.

◆ operator<<() [9/45]

template<class E1 , class E2 >
ostream& ogdf::operator<< ( ostream &  os,
const Tuple2< E1, E2 > &  t2 
)

Output operator for 2-tuples.

Definition at line 89 of file tuples.h.

◆ operator<<() [10/45]

ostream& ogdf::operator<< ( ostream &  os,
const UmlModelGraph &  modelGraph 
)

Output operator for UmlModelGraph.

◆ operator<<() [11/45]

ostream& ogdf::operator<< ( ostream &  os,
const FillPattern &  fp 
)

Output operator.

◆ operator<<() [12/45]

edgeType ogdf::operator<< ( edgeType  lhs,
UMLEdgeTypeOffsets  rhs 
)
inline

Definition at line 108 of file EdgeTypePatterns.h.

◆ operator<<() [13/45]

ostream& ogdf::operator<< ( ostream &  os,
const RCCrossings &  cr 
)

◆ operator<<() [14/45]

edgeType ogdf::operator<< ( UMLEdgeTypeConstants  lhs,
UMLEdgeTypeOffsets  rhs 
)
inline

Definition at line 112 of file EdgeTypePatterns.h.

◆ operator<<() [15/45]

ostream& ogdf::operator<< ( ostream &  os,
const EdgeArrow &  ea 
)

Output operator.

◆ operator<<() [16/45]

ostream& ogdf::operator<< ( ostream &  os,
const BalloonLayout::RootSelection &  rs 
)

◆ operator<<() [17/45]

ostream& ogdf::operator<< ( ostream &  os,
const IPoint &  ip 
)

Output operator for integer points.

◆ operator<<() [18/45]

template<class E , class INDEX >
ostream& ogdf::operator<< ( ostream &  os,
const BoundedStack< E, INDEX > &  S 
)

Definition at line 206 of file BoundedStack.h.

◆ operator<<() [19/45]

template<class E , class INDEX >
ostream& ogdf::operator<< ( ostream &  os,
const BoundedQueue< E, INDEX > &  Q 
)

Prints BoundedQueue Q to output stream os.

Definition at line 223 of file BoundedQueue.h.

◆ operator<<() [20/45]

template<class T >
ostream& ogdf::operator<< ( ostream &  os,
const SubsetEnumerator< T > &  subset 
)

Definition at line 250 of file SubsetEnumerator.h.

◆ operator<<() [21/45]

ostream& ogdf::operator<< ( ostream &  os,
const DPoint &  dp 
)

Output operator for real points.

◆ operator<<() [22/45]

ostream& ogdf::operator<< ( ostream &  os,
Logger::Level  level 
)
inline

Definition at line 286 of file Logger.h.

◆ operator<<() [23/45]

template<class E >
ostream& ogdf::operator<< ( ostream &  os,
const StackPure< E > &  S 
)

Definition at line 293 of file Stack.h.

◆ operator<<() [24/45]

template<class E >
ostream& ogdf::operator<< ( ostream &  os,
const Stack< E > &  S 
)

Definition at line 301 of file Stack.h.

◆ operator<<() [25/45]

ostream& ogdf::operator<< ( ostream &  os,
Configuration::System  sys 
)
inline

Output operator for Configuration::System (uses Configuration::toString(Configuration::System)).

Definition at line 315 of file config.h.

◆ operator<<() [26/45]

ostream& ogdf::operator<< ( ostream &  os,
Configuration::LPSolver  lps 
)
inline

Output operator for Configuration::LPSolver (uses Configuration::toString(Configuration::LPSolver)).

Definition at line 322 of file config.h.

◆ operator<<() [27/45]

ostream& ogdf::operator<< ( ostream &  os,
Configuration::MemoryManager  mm 
)
inline

◆ operator<<() [28/45]

template<class E >
ostream& ogdf::operator<< ( ostream &  os,
const QueuePure< E > &  Q 
)

Definition at line 385 of file Queue.h.

◆ operator<<() [29/45]

template<class E , class INDEX >
ostream& ogdf::operator<< ( ostream &  os,
const ogdf::ArrayBuffer< E, INDEX > &  a 
)

Prints ArrayBuffer a to output stream os.

Definition at line 387 of file ArrayBuffer.h.

◆ operator<<() [30/45]

template<class E >
ostream& ogdf::operator<< ( ostream &  os,
const Queue< E > &  Q 
)

Definition at line 391 of file Queue.h.

◆ operator<<() [31/45]

ostream& ogdf::operator<< ( ostream &  os,
const DLine &  dl 
)

Output operator for lines.

◆ operator<<() [32/45]

template<class E , class INDEX >
ostream& ogdf::operator<< ( ostream &  os,
const ogdf::Array< E, INDEX > &  a 
)

Prints array a to output stream os.

Definition at line 764 of file Array.h.

◆ operator<<() [33/45]

ostream& ogdf::operator<< ( ostream &  os,
const DScaler &  ds 
)

Output operator for scalers.

◆ operator<<() [34/45]

template<typename T >
static std::ostream& ogdf::operator<< ( std::ostream &  outStream,
HyperGraph::NodeArray< T > &  array 
)
static

Definition at line 785 of file HyperGraph.h.

◆ operator<<() [35/45]

template<typename T >
static std::ostream& ogdf::operator<< ( std::ostream &  outStream,
HyperGraph::EdgeArray< T > &  array 
)
static

Definition at line 792 of file HyperGraph.h.

◆ operator<<() [36/45]

template<typename T >
static std::ostream& ogdf::operator<< ( std::ostream &  outStream,
HyperGraph::AdjArray< T > &  array 
)
static

Definition at line 799 of file HyperGraph.h.

◆ operator<<() [37/45]

static std::ostream& ogdf::operator<< ( std::ostream &  outStream,
HyperGraph &  graph 
)
static

Definition at line 844 of file HyperGraph.h.

◆ operator<<() [38/45]

ostream& ogdf::operator<< ( ostream &  os,
const DPolygon &  dop 
)

Output operator for polygons.

◆ operator<<() [39/45]

ostream& ogdf::operator<< ( ostream &  os,
ogdf::cluster  c 
)

◆ operator<<() [40/45]

template<class E >
ostream& ogdf::operator<< ( ostream &  os,
const SListPure< E > &  L 
)

Output operator.

Definition at line 1077 of file SList.h.

◆ operator<<() [41/45]

template<class E >
ostream& ogdf::operator<< ( ostream &  os,
const SList< E > &  L 
)

Output operator.

Definition at line 1085 of file SList.h.

◆ operator<<() [42/45]

std::ostream& ogdf::operator<< ( std::ostream &  os,
const Graph::EdgeType &  et 
)

◆ operator<<() [43/45]

ostream& ogdf::operator<< ( ostream &  os,
const NodePair &  np 
)
inline

Definition at line 1408 of file Graph_d.h.

◆ operator<<() [44/45]

template<class E >
ostream& ogdf::operator<< ( ostream &  os,
const ListPure< E > &  L 
)

Prints list L to output stream os.

Definition at line 1573 of file List.h.

◆ operator<<() [45/45]

template<class E >
ostream& ogdf::operator<< ( ostream &  os,
const List< E > &  L 
)

Prints list L to output stream os.

Definition at line 1581 of file List.h.

◆ operator<=()

bool ogdf::operator<= ( int  lhs,
BoyerMyrvoldPlanar::EmbeddingGrade  rhs 
)
inline

Definition at line 485 of file BoyerMyrvoldPlanar.h.

◆ operator==() [1/3]

template<class E1 , class E2 >
bool ogdf::operator== ( const Tuple2< E1, E2 > &  t1,
const Tuple2< E1, E2 > &  t2 
)

Equality operator for 2-tuples.

Definition at line 75 of file tuples.h.

◆ operator==() [2/3]

bool ogdf::operator== ( edgeType  lhs,
UMLEdgeTypeConstants  rhs 
)
inline

Definition at line 91 of file EdgeTypePatterns.h.

◆ operator==() [3/3]

bool ogdf::operator== ( int  lhs,
BoyerMyrvoldPlanar::EmbeddingGrade  rhs 
)
inline

Definition at line 477 of file BoyerMyrvoldPlanar.h.

◆ operator>()

bool ogdf::operator> ( int  lhs,
BoyerMyrvoldPlanar::EmbeddingGrade  rhs 
)
inline

Definition at line 473 of file BoyerMyrvoldPlanar.h.

◆ operator>>() [1/6]

std::istream& ogdf::operator>> ( std::istream &  is,
TokenIgnorer  token 
)

◆ operator>>() [2/6]

edgeType ogdf::operator>> ( edgeType  lhs,
UMLEdgeTypeOffsets  rhs 
)
inline

Definition at line 104 of file EdgeTypePatterns.h.

◆ operator>>() [3/6]

template<typename T >
static std::istream& ogdf::operator>> ( std::istream &  inStream,
HyperGraph::NodeArray< T > &  array 
)
static

Definition at line 814 of file HyperGraph.h.

◆ operator>>() [4/6]

template<typename T >
static std::istream& ogdf::operator>> ( std::istream &  inStream,
HyperGraph::EdgeArray< T > &  array 
)
static

Definition at line 822 of file HyperGraph.h.

◆ operator>>() [5/6]

template<typename T >
static std::istream& ogdf::operator>> ( std::istream &  inStream,
HyperGraph::AdjArray< T > &  array 
)
static

Definition at line 830 of file HyperGraph.h.

◆ operator>>() [6/6]

static std::istream& ogdf::operator>> ( std::istream &  inStream,
HyperGraph &  graph 
)
static

Definition at line 870 of file HyperGraph.h.

◆ operator|() [1/3]

int ogdf::operator| ( int  lhs,
UMLOpt  rhs 
)
inline

Definition at line 63 of file OrthoRep.h.

◆ operator|() [2/3]

int ogdf::operator| ( TopologyModule::Options  a,
TopologyModule::Options  b 
)
inline

Definition at line 207 of file TopologyModule.h.

◆ operator|() [3/3]

int ogdf::operator| ( int  i,
TopologyModule::Options  b 
)
inline

Definition at line 211 of file TopologyModule.h.

◆ operator|=() [1/2]

int ogdf::operator|= ( int &  lhs,
WInfo::MinorType  rhs 
)
inline

Definition at line 85 of file FindKuratowskis.h.

◆ operator|=() [2/2]

unsigned int ogdf::operator|= ( unsigned int &  i,
CPUFeatureMask  fm 
)

◆ operator~()

int ogdf::operator~ ( UMLOpt  rhs)
inline

Definition at line 64 of file OrthoRep.h.

◆ orientation() [1/2]

int ogdf::orientation ( const DPoint &  p,
const DPoint &  q,
const DPoint &  r 
)

◆ orientation() [2/2]

int ogdf::orientation ( const DSegment &  s,
const DPoint &  p 
)
inline

Definition at line 897 of file geometry.h.

◆ planarSTEmbed()

bool ogdf::planarSTEmbed ( Graph &  graph,
node  s,
node  t 
)
inline

s-t-planarly embeds a graph.

Parameters
graphThe graph to be embedded
sThe node to be incident to the same face as t nodes
tThe other node
Returns
true iff the graph was successfully embedded

Definition at line 448 of file extended_graph_alg.h.

◆ prefixIgnoreCase()

bool ogdf::prefixIgnoreCase ( const string &  prefix,
const string &  str 
)

Tests if prefix is a prefix of str, ignoring the case of characters.

◆ print() [1/9]

template<class T >
void ogdf::print ( ostream &  os,
const SubsetEnumerator< T > &  subset,
string  delim = " " 
)

Definition at line 237 of file SubsetEnumerator.h.

◆ print() [2/9]

template<class E >
void ogdf::print ( ostream &  os,
const QueuePure< E > &  Q,
char  delim = ' ' 
)

Definition at line 374 of file Queue.h.

◆ print() [3/9]

template<class E , class INDEX >
void ogdf::print ( ostream &  os,
const ArrayBuffer< E, INDEX > &  a,
char  delim = ' ' 
)

Prints ArrayBuffer a to output stream os using delimiter delim.

Definition at line 376 of file ArrayBuffer.h.

◆ print() [4/9]

template<class E >
void ogdf::print ( ostream &  os,
const Queue< E > &  Q,
char  delim = ' ' 
)

Definition at line 379 of file Queue.h.

◆ print() [5/9]

template<class E , class INDEX >
void ogdf::print ( ostream &  os,
const Array< E, INDEX > &  a,
char  delim = ' ' 
)

Prints array a to output stream os using delimiter delim.

Definition at line 753 of file Array.h.

◆ print() [6/9]

template<class E >
void ogdf::print ( ostream &  os,
const SListPure< E > &  L,
char  delim = ' ' 
)

Prints list L to output stream os using delimiter delim.

Definition at line 1058 of file SList.h.

◆ print() [7/9]

template<class E >
void ogdf::print ( ostream &  os,
const SList< E > &  L,
char  delim = ' ' 
)

Prints list L to output stream os using delimiter delim.

Definition at line 1070 of file SList.h.

◆ print() [8/9]

template<class E >
void ogdf::print ( ostream &  os,
const ListPure< E > &  L,
char  delim = ' ' 
)

Prints list L to output stream os using delimiter delim.

Definition at line 1554 of file List.h.

◆ print() [9/9]

template<class E >
void ogdf::print ( ostream &  os,
const List< E > &  L,
char  delim = ' ' 
)

Prints list L to output stream os using delimiter delim.

Definition at line 1566 of file List.h.

◆ quicksortTemplate() [1/2]

template<class LIST >
void ogdf::quicksortTemplate ( LIST &  L)

Definition at line 42 of file list_templates.h.

◆ quicksortTemplate() [2/2]

template<class LIST , class COMPARER >
void ogdf::quicksortTemplate ( LIST &  L,
const COMPARER &  comp 
)

Definition at line 51 of file list_templates.h.

◆ readFromStream()

template<typename ListType , typename ArrayType >
static void ogdf::readFromStream ( std::istream &  inStream,
ArrayType &  array 
)
static

Definition at line 776 of file HyperGraph.h.

◆ removeTrailingWhitespace()

void ogdf::removeTrailingWhitespace ( string &  str)

Removes trailing space, horizontal and vertical tab, feed, newline, and carriage return from str.

◆ toEnum()

template<typename E >
static E ogdf::toEnum ( const std::string &  str,
std::map< std::string, E > &  map,
std::string   toStringconst E &,
const E  first,
const E  last,
const E  def 
)
inlinestatic

Definition at line 56 of file Utils.h.

◆ writeToStream()

template<typename ListType , typename ArrayType >
static void ogdf::writeToStream ( std::ostream &  outStream,
ArrayType &  array 
)
static

Definition at line 766 of file HyperGraph.h.

Variable Documentation

◆ OGDF_GEOM_ET

const EpsilonTest ogdf::OGDF_GEOM_ET

◆ s_ogdfInitializer

Initialization ogdf::s_ogdfInitializer
static

Definition at line 124 of file basic.h.