Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

doc/relnotes/sassafras.md
Go to the documentation of this file.
1 [OGDF](../../README.md) » [Release Notes](../relnotes.md) » Sassafras
2 
3 # OGDF Sassafras (2010.10)
4 
5 Released 2010-10-21.
6 
7 This release brings various new algorithms and features.
8 
9 Highlights:
10  * Completely revised memory management; pool-memory allocator now supports
11  thread-safe allocation.
12  * Basic multithreading support for OGDF algorithms.
13  * New class System provides methods for accessing system-dependent
14  information and functionality (processor features, memory usage, file system).
15  * New hierarchical graph layout method using upward planarization (class
16  `UpwardPlanarization`); outperforms traditional Sugiyama-based methods
17  with respect to crossings by far.
18  * New multilevel layout algorithm (`FastMultipoleMultilevelEmbedder`),
19  based on the multipole method, well-separated pair decomposition, and
20  a new quadtree space partitioning (Martin Gronemann's Diploma thesis);
21  makes use of SSE and multicore processors and is significantly faster
22  than `FMMMLayout`.
23  * New modular framework for multilevel graph layout (class
24  `ModularMultilevelMixer`) with various options for coarsening, placement,
25  and single-level layout.
26  * New force-directed layout algorithms: Kamada-Kawai (class
27  `SpringEmbedderKK`) and stress majorization (class `StressMajorization`).
28  * New layout algorithms for directed graphs: `DominanceLayout` and
29  `VisibilityLayout`.
30  * Implementation of Prim's algorithm for minimum spanning tree computation.
31  * Added support for OGML graph file format.
32  * Exact algorithms for computing maximum planar and maximum c-planar
33  subgraphs (classes `MaximumPlanarSubgraph` and `MaximumCPlanarSubgraph`).
34  * OGDF can now be compiled as DLL under Windows.
35  * Support for Visual Studio 2010 and latest g++ compilers.
36 
37 ## New Features
38 
39  * Completely revised memory management, with a new thread-safe pool-memory
40  allocator. OGDF provides now three allocators (which can be selected with
41  compiler predefines):
42  * thread-safe pool allocator (`OGDF_MEMORY_POOL_TS`; usually the deafult),
43  * non-thread-safe pool allocator (`OGDF_MEMORY_POOL_NTS`), and
44  * ordinary malloc/free (`OGDF_MEMORY_MALLOC_TS`).
45  * Basic, platform-independent multithreading support for OGDF algorithms;
46  new classes `Thread`, `CriticalSection`, `Mutex`, `Barrier`.
47  * New class `System` provides methods for accessing system-dependent
48  information and functionality (processor features, memory usage, file system).
49  * New layout algorithms for directed (hierarchical) graphs:
50  * `DominanceLayout`, based on dominance layout of st-digraphs.
51  * `VisibilityLayout`, based on computation of a visibility representation.
52  * New hierarchical graph layout method using upward planarization (class
53  `UpwardPlanarization`); implements the algorithm by Chimani, Gutwenger,
54  Mutzel and Wong. Outperforms traditional Sugiyama-based methods with
55  respect to number of crossings by far. Uses module options for upward
56  planarization and layout:
57  * `UpwardPlanarizerModule`: its implementation `SubgraphUpwardPlanarizer`
58  applies a 2-phase approach: first compute a feasible upward planar
59  subgraph (`FUPSModule` with implementation `FUPSSimple`), then insert
60  remaining edges (`UpwardEdgeInserterModule` with implementation
61  `FixedEmbeddingUpwardEdgeInserter`).
62  * `UPRLayoutModule`: implementation `LayerBasedUPRLayout` which makes use
63  of hierarchy layout modules from the Sugiyama framework.
64  * New force-directed layout algorithms:
65  * Kamada-Kawai (class `SpringEmbedderKK`)
66  * stress majorization (class `StressMajorization`).
67  * New multilevel layout algorithm (`FastMultipoleMultilevelEmbedder`), based
68  on the multipole method, well-separated pair decomposition, and a new
69  quadtree space partitioning (Martin Gronemann’s Diploma thesis); makes use
70  of SSE and multicore processors and is significantly faster than `FMMMLayout`.
71  * New modular framework for multilevel graph layout (class
72  `ModularMultilevelMixer`) with various options for coarsening, placement,
73  and single-level layout.
74  * `MultilevelBuilder` module (coarsening): `EdgeCoverMerger`,
75  `IndependentSetMerger`, `LocalBiconnectedMerger`, `MatchingMerger`,
76  `RandomMerger`, `SolarMerger`.
77  * `InitialPlacer` module (placement): `BarycenterPlacer`, `CirclePlacer`,
78  `MedianPlacer`, `RandomPlacer`, `SolarPlacer`, `ZeroPlacer`.
79  * Implementation of Prims’ algorithm for minimum spanning tree computation
80  (function `computeMinST` in `ogdf/basic/extended_graph_alg.h`.
81  * Added support for OGML graph file format:
82  * Class `OgmlParser` implements a parser for OGML files.
83  * Methods `writeOGML` and `readClusterGraphOGML` in `ClusterGraphAttributes`
84  provide reading and writing of OGML files.
85  * Exact algorithm for computing a maximum planar subgraph (class
86  `MaximumPlanarSubgraph`); requires COIN and ABACUS.
87  * Exact algorithm for computing a maximum c-planar subgraph (class
88  `MaximumCPlanarSubgraph`); requires COIN and ABACUS.
89 
90 ## Minor Modifications
91 
92  * `GraphAttributes` provides now a flag indicating if the graph is directed
93  or not (default is true): methods directed for getting / setting, support
94  in reading and writing GML files (`readGML` and `writeGML`).
95  * Hash values are now of type `size_t` for providing better compatibility
96  with 64-bit systems.
97  * Default parameters of `GEMLayout` revised.
98  * `ClusterPlanarizationLayout` now allows to pass edge weights in its call,
99  which are used for computing a c-planar subgraph (edges with low weight
100  are preferred).
101  * Clarified `Comparer` interfaces:
102  * Class `Comparer<E>` renamed to `VComparer<E>` (since it relies on
103  virtual functions).
104  * Added the macros `OGDF_AUGMENT_COMPARER` and `OGDF_AUGMENT_STATICCOMPARER`
105  to allow easy generation of comparers with full interfaces.
106  * Added `StdComparer` (standard comparers) and `TargetComparer` (for
107  comparing targets of pointers).
108  * `Array::grow()` allows now to enlarge an array with empty index set.
109  * `PlanarizationLayout`: changed default planar subgraph to `FastPlanarSubgraph`.
110  * Changed return type of `BCTree::findPathBCTree()` to pointer (instead of
111  reference) to reflect the fact that the returned object has been allocated
112  with `new`.
113  * `isConnected()`, `makeConnected()`: improved performance by replacing
114  recursive with iterative implementation.
115  * New, more efficient implementation of list-based stacks.
116 
117 ## Bug Fixes
118 
119  * Fixed bug in `SugiyamaLayout`: possibly incorrect setting of number of
120  crossings if there are several connected components and `arrangeCCs = true`.
121  * Fixed bug in `BoyerMyrvold`: incorrect embedding of self-loops.
122  * Fixed memory leaks in `PlanarAugmentationFix`, `EmbedderMaxFace`,
123  `EmbedderMaxFaceLayers`, `EmbedderMinDepth`, `EmbedderMinDepthMaxFace`,
124  `EmbedderMinDepthMaxFace`, `EmbedderMinDepthPiTa`, `PlanarizationLayout`.
125  * Fixed bug with copy constructor of graph arrays (`NodeArray`,
126  `EdgeArray`, etc.): crashed if copied array was not initialized for a graph.
127  * Fixed bug with Hierarchy: memory leaks occurred when using `initByNodes()`.
128  * Revised compiler condition for systems providing only 15 random bits
129  with rand() function; fixes a non-termination bug with `FMMMLayout` on
130  Solaris/SPARC.
131  * Fixed a bug in `makeConnected()`.
132  * Fixed a memory leak in `LPSolver_coin`.
133 
134 ## Build System
135 
136  * Added support for Visual Studio 2010, which introduces an new project
137  format (`.vcxproj`). For creating such a project, use `makeVCXProj.py`
138  (instead of `makeVCProj.py`). At the moment, there is just one possible
139  template file for VS 2010 (`ogdf.vcxproj.vs2010.template`; which is the
140  default).
141  * Added support for compiling OGDF as DLL under Windows (currently VS 2005
142  only); simply select project template `ogdf.dll.vcproj.vs2005.template` in
143  `makeVCProj.config`.
144  * Added support for latest g++ compilers (4.1.x – 4.4.x) on Linux and Mac OS X.
145  * Windows only: OGDF now requires to also link against `Psapi.lib`.
146  * g++ on Linux/Mac only: OGDF now requires to link against pthreads;
147  add option `-pthread` when compiling and linking with g++.