Package gen.lib.dotgen
Class mincross__c
java.lang.Object
gen.lib.dotgen.mincross__c
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
allocate_ranks
(Globals zz, ST_Agraph_s g) static Object
static void
build_ranks
(Globals zz, ST_Agraph_s g, int pass) static void
cleanup2
(Globals zz, ST_Agraph_s g, int nc) static boolean
constraining_flat_edge
(Globals zz, ST_Agraph_s g, ST_Agnode_s v, ST_Agedge_s e) static void
dot_mincross
(Globals zz, ST_Agraph_s g, boolean doBalance) static int
static void
enqueue_neighbors
(ST_nodequeue q, ST_Agnode_s n0, int pass) static void
exchange
(Globals zz, ST_Agnode_s v, ST_Agnode_s w) static void
static void
flat_breakcycles
(Globals zz, ST_Agraph_s g) static boolean
static void
flat_reorder
(Globals zz, ST_Agraph_s g) static void
flat_rev
(ST_Agraph_s g, ST_Agedge_s e) static void
flat_search
(Globals zz, ST_Agraph_s g, ST_Agnode_s v) static void
static ST_Agnode_s
furthestnode
(Globals zz, ST_Agraph_s g, ST_Agnode_s v, int dir) static int
in_cross
(ST_Agnode_s v, ST_Agnode_s w) static void
init_mccomp
(ST_Agraph_s g, int c) static void
init_mincross
(Globals zz, ST_Agraph_s g) static boolean
inside_cluster
(Globals zz, ST_Agraph_s g, ST_Agnode_s v) static void
install_in_rank
(Globals zz, ST_Agraph_s g, ST_Agnode_s n) static boolean
is_a_normal_node_of
(Globals zz, ST_Agraph_s g, ST_Agnode_s v) static boolean
static boolean
left2right
(Globals zz, ST_Agraph_s g, ST_Agnode_s v, ST_Agnode_s w) static int
local_cross
(ST_elist l, int dir) static boolean
medians
(Globals zz, ST_Agraph_s g, int r0, int r1) static void
merge_components
(Globals zz, ST_Agraph_s g) static void
merge2
(Globals zz, ST_Agraph_s g) static int
mincross_
(Globals zz, ST_Agraph_s g, int startpass, int endpass, boolean doBalance) static int
mincross_clust
(Globals zz, ST_Agraph_s par, ST_Agraph_s g, boolean doBalance) static void
mincross_options
(Globals zz, ST_Agraph_s g) static void
mincross_step
(Globals zz, ST_Agraph_s g, int pass) static int
ncross
(Globals zz, ST_Agraph_s g) static ST_Agnode_s
neighbor
(Globals zz, ST_Agnode_s v, int dir) static ST_adjmatrix_t
new_matrix
(int i, int j) static Object
static int
static void
ordered_edges
(Globals zz, ST_Agraph_s g) static int
out_cross
(ST_Agnode_s v, ST_Agnode_s w) static int
postorder
(Globals zz, ST_Agraph_s g, ST_Agnode_s v, CArrayOfStar<ST_Agnode_s> list, int r) static int
rcross
(Globals zz, ST_Agraph_s g, int r) static ST_Agraph_s
realFillRanks
(ST_Agraph_s g, int[] rnks, int rnks_sz, ST_Agraph_s sg) static void
rec_reset_vlists
(Globals zz, ST_Agraph_s g) static void
static void
reorder
(Globals zz, ST_Agraph_s g, int r, boolean reverse, boolean hasfixed) static void
restore_best
(Globals zz, ST_Agraph_s g) static void
static void
static void
transpose
(Globals zz, ST_Agraph_s g, boolean reverse) static int
transpose_step
(Globals zz, ST_Agraph_s g, int r, boolean reverse) static void
-
Field Details
-
ordercmpf
-
nodeposcmpf
-
-
Constructor Details
-
mincross__c
public mincross__c()
-
-
Method Details
-
dot_mincross
-
new_matrix
-
free_matrix
-
init_mccomp
-
ordered_edges
-
mincross_clust
-
left2right
-
in_cross
-
out_cross
-
exchange
-
balance
-
transpose_step
-
transpose
-
mincross_
public static int mincross_(Globals zz, ST_Agraph_s g, int startpass, int endpass, boolean doBalance) -
restore_best
-
save_best
-
merge_components
-
merge2
-
cleanup2
-
neighbor
-
is_a_normal_node_of
-
is_a_vnode_of_an_edge_of
-
inside_cluster
-
furthestnode
-
save_vlist
-
rec_save_vlists
-
rec_reset_vlists
-
realFillRanks
-
fillRanks
-
init_mincross
-
flat_rev
-
flat_search
-
flat_breakcycles
-
allocate_ranks
-
install_in_rank
-
build_ranks
-
enqueue_neighbors
-
constraining_flat_edge
public static boolean constraining_flat_edge(Globals zz, ST_Agraph_s g, ST_Agnode_s v, ST_Agedge_s e) -
postorder
public static int postorder(Globals zz, ST_Agraph_s g, ST_Agnode_s v, CArrayOfStar<ST_Agnode_s> list, int r) -
flat_reorder
-
reorder
-
mincross_step
-
local_cross
-
rcross
-
ncross
-
ordercmpf
-
flat_mval
-
medians
-
nodeposcmpf
-
endpoint_class
-
virtual_weight
-
mincross_options
-