]> granicus.if.org Git - graphviz/commitdiff
added a new algorithm for remove node overlap, main code is overlap.c, which utilize...
authoryifanhu <devnull@localhost>
Mon, 4 Feb 2008 20:28:39 +0000 (20:28 +0000)
committeryifanhu <devnull@localhost>
Mon, 4 Feb 2008 20:28:39 +0000 (20:28 +0000)
lib/sfdpgen/overlap.h [new file with mode: 0644]

diff --git a/lib/sfdpgen/overlap.h b/lib/sfdpgen/overlap.h
new file mode 100644 (file)
index 0000000..61ab824
--- /dev/null
@@ -0,0 +1,14 @@
+
+typedef  StressMajorizationSmoother OverlapSmoother;
+
+#define OverlapSmoother_struct StressMajorizationSmoother_struct
+
+void OverlapSmoother_delete(OverlapSmoother sm);
+
+OverlapSmoother OverlapSmoother_new(SparseMatrix A, int dim, real lambda0, real *x, real *width, int include_original_graph,
+                                   real *max_overlap);
+
+void OverlapSmoother_smooth(OverlapSmoother sm, int dim, real *x);
+
+
+void remove_overlap(int dim, SparseMatrix A, real *x, real *label_sizes, int ntry, int *flag);