#include <assert.h>
Include dependency graph for bary.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | adjedge |
struct | gedge |
struct | gnode |
struct | gnlist |
struct | depth_entry |
struct | dllist |
Defines | |
#define | DINFO(x) ((x)->dlinfo) |
#define | DNODE(x) ((x)->node) |
#define | DNX(x) ((x)->dlx) |
#define | DPRED(x) ((x)->pred) |
#define | DSUCC(x) ((x)->succ) |
#define | EENDX(x) ((x)->exloc) |
#define | EENDY(x) ((x)->eyloc) |
#define | ESTART(x) ((x)->start) |
#define | ESTARTX(x) ((x)->sxloc) |
#define | ESTARTY(x) ((x)->syloc) |
#define | ETBENDX(x) ((x)->btxloc) |
#define | ETBENDY(x) ((x)->btyloc) |
#define | NPRED(x) ((x)->pred) |
#define | EEND(x) ((x)->end) |
#define | EENDX(x) ((x)->exloc) |
#define | EENDY(x) ((x)->eyloc) |
#define | AKANTE(x) ((x)->kante) |
#define | AKANTE_SET(x, y) ((x)->kante=y) |
#define | SOURCE(x) (ESTART(AKANTE(x))) |
#define | TARGET(x) (EEND(AKANTE(x))) |
#define | ESOURCEX(x) (ESTARTX(AKANTE(x))) |
#define | ESOURCEY(x) (ESTARTY(AKANTE(x))) |
#define | ETARGETX(x) (EENDX(AKANTE(x))) |
#define | ETARGETY(x) (EENDY(AKANTE(x))) |
#define | EKIND(x) (EART(AKANTE(x))) |
#define | NSOURTIEFE(x) (NTIEFE(ESTART(AKANTE(x)))) |
#define | NTARTIEFE(x) (NTIEFE(EEND(AKANTE(x)))) |
#define | NSUCC(x) ((x)->succ) |
#define | NSUCCL(x) ((x)->succleft) |
#define | NSUCCR(x) ((x)->succright) |
#define | ANEXT(x) ((x)->next) |
#define | ANEXT_SET(x, y) ((x)->next=y) |
#define | GNINTERN(x) ((x)->internal_next) |
#define | GNNODE(x) ((x)->node) |
#define | GNNEXT(x) ((x)->next) |
Typedefs | |
typedef adjedge * | ADJEDGE |
typedef gedge * | GEDGE |
typedef gnode * | GNODE |
typedef gnlist * | GNLIST |
typedef depth_entry | DEPTH |
typedef dllist * | DLLIST |
Enumerations | |
enum | values_crossing_heuristics { CROSSING_BARY = 0, CROSSING_MEDIAN, CROSSING_BARYMEDIAN, CROSSING_MEDIANBARY } |
Functions | |
int | compare_pos (const GNODE *a, const GNODE *b) |
int | compare_bary (const GNODE *a, const GNODE *b) |
void | save_level (int i) |
Variables | |
int | max_nodes_per_layer |
DATA. | |
DEPTH * | layer |
int | nr_crossings |
GNODE * | save_array |
int | crossing_heuristics |
GNODE * | sort_array |
int | size_of_sortarray |
DEPTH * | tmp_layer |
int | size_of_tlayer |
int | maxdepth |
int | size_upper_list |
int | size_lower_list |
DLLIST | lower_list |
DLLIST | lower_list_end |
DLLIST | upper_list |
DLLIST | upper_list_end |
int | nr_tcrossings |
int | max_baryiterations |
int | min_baryiterations |
int | nr_bary_iterations |
int | max_eprio |
int | max_horder_num |
int | phase2_startlevel = 0 |
int | skip_baryphase2 |
int | G_timelimit = 0 |
int | maxr_lower_list |
int | maxr_upper_list |
int | maxr_sum |
int | upperxpos |
int | lowerxpos |
|
Definition at line 221 of file bary.h. Referenced by finish_lower(), and finish_upper(). |
|
|
|
Definition at line 237 of file bary.h. Referenced by finish_lower(), and finish_upper(). |
|
|
|
Definition at line 202 of file bary.h. Referenced by finish_lower(), and finish_upper(). |
|
Definition at line 203 of file bary.h. Referenced by dllist_alloc(). |
|
Definition at line 204 of file bary.h. Referenced by finish_lower(), and finish_upper(). |
|
Definition at line 205 of file bary.h. Referenced by dllist_alloc(). |
|
Definition at line 206 of file bary.h. Referenced by dllist_alloc(), dllist_free(), dllist_free_all(), finish_lower(), and finish_upper(). |
|
|
|
|
|
Definition at line 218 of file bary.h. Referenced by finish_lower(), and finish_upper(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 210 of file bary.h. Referenced by finish_lower(), and finish_upper(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 239 of file bary.h. Referenced by tmpnodelist_alloc(). |
|
Definition at line 241 of file bary.h. Referenced by tmpnodelist_alloc(). |
|
Definition at line 240 of file bary.h. Referenced by tmpnodelist_alloc(). |
|
Definition at line 214 of file bary.h. Referenced by finish_lower(). |
|
|
|
Definition at line 233 of file bary.h. Referenced by finish_upper(). |
|
|
|
|
|
|
|
Definition at line 223 of file bary.h. Referenced by finish_lower(). |
|
Definition at line 224 of file bary.h. Referenced by finish_upper(). |
|
Referenced by finish_lower(), finish_upper(), gs_ide1517(), gs_ide1518(), layer_crossing(), mark_all_nodes(), predbary(), predmedian(), succbary(), succmedian(), and tree_horizontal_order(). |
|
Referenced by copy_layers(). |
|
Referenced by dllist_alloc(), dllist_free(), dllist_free_all(), finish_lower(), finish_upper(), gs_ide1500(), gs_ide1501(), gs_ide1513(), gs_ide1514(), gs_ide1517(), and gs_ide1518(). |
|
Referenced by finish_lower(), finish_upper(), gs_ide1500(), gs_ide1501(), gs_ide1517(), gs_ide1518(), and tree_horizontal_order(). |
|
|
|
Definition at line 125 of file bary.h.
00126 { 00127 CROSSING_BARY=0, 00128 CROSSING_MEDIAN, 00129 CROSSING_BARYMEDIAN, 00130 CROSSING_MEDIANBARY 00131 }; |
|
Definition at line 7 of file bary_functions.c. Referenced by apply_horder(), phase2_down(), phase2_up(), resort_down_layer(), resort_up_layer(), tree_horizontal_order(), and unmerge_connected_parts().
00008 { 00009 if ((((*a)->bary) == 0.0) || (((*b)->bary) == 0.0)) return (0); 00010 if (((*a)->bary) > ((*b)->bary)) return (1); 00011 if (((*a)->bary) < ((*b)->bary)) return (-1); 00012 return (0); 00013 } |
|
Definition at line 12 of file clean.c.
00012 { if (((*a)->position) > ((*b)->position)) return (1); if (((*a)->position) < ((*b)->position)) return (-1); return (0);} |
|
Definition at line 358 of file bary_functions.c.
00358 { 00359 int j; GNLIST hn; ; j = 0; 00360 hn = ((tmp_layer[i]).succlist); 00361 while (hn) { 00362 save_array[j++] = ((hn)->node); 00363 hn = ((hn)->next); 00364 } 00365 } |
|
Definition at line 163 of file bary.h. Referenced by phase2_down(), phase2_up(), resort_down_layer(), and resort_up_layer(). |
|
Definition at line 14 of file data.c. Referenced by barycentering(), phase2_down(), and phase2_up(). |
|
Definition at line 160 of file bary.h. Referenced by barycentering(), phase2_down(), phase2_up(), resort_down_layer(), resort_up_layer(), tree_horizontal_order(), and unmerge_connected_parts(). |
|
Definition at line 175 of file bary.h. Referenced by finish_lower(), and layer_crossing(). |
|
Definition at line 176 of file bary.h. Referenced by layer_crossing(). |
|
Definition at line 200 of file bary.h. Referenced by finish_lower(). |
|
Definition at line 182 of file bary.h. Referenced by barycentering(), and main(). |
|
Definition at line 187 of file bary.h. Referenced by tree_horizontal_order(). |
|
Definition at line 189 of file bary.h. Referenced by mark_all_nodes(). |
|
DATA.
|
|
Definition at line 169 of file bary.h. Referenced by barycentering(), calc_all_layers_crossings(), copy_layers(), graph_crossings(), main(), phase1_down(), phase1_up(), phase2_down(), phase2_up(), resort_down_layer(), resort_down_up_layer(), resort_up_down_layer(), tree_horizontal_order(), and unmerge_connected_parts(). |
|
Definition at line 196 of file bary.h. Referenced by finish_lower(), and finish_upper(). |
|
Definition at line 198 of file bary.h. Referenced by finish_lower(), and finish_upper(). |
|
Definition at line 197 of file bary.h. Referenced by finish_lower(), and finish_upper(). |
|
Definition at line 183 of file bary.h. Referenced by barycentering(). |
|
Definition at line 184 of file bary.h. Referenced by barycentering(). |
|
Definition at line 161 of file bary.h. Referenced by barycentering(), checkcrossing(), phase2_down(), and phase2_up(). |
|
Definition at line 179 of file bary.h. Referenced by layer_crossing(). |
|
Definition at line 571 of file clean2.c. Referenced by barycentering(), phase2_down(), and phase2_up(). |
|
Definition at line 162 of file bary.h. Referenced by predmedian(), restore_level(), save_level(), and succmedian(). |
|
Definition at line 174 of file bary.h. Referenced by layer_crossing(). |
|
|
|
|
|
Definition at line 173 of file bary.h. Referenced by layer_crossing(). |
|
Definition at line 192 of file bary.h. Referenced by barycentering(). |
|
Definition at line 164 of file bary.h. Referenced by apply_horder(), array_to_level(), cycle_sort_array(), level_to_array(), phase2_down(), phase2_up(), resort_down_layer(), resort_up_layer(), tree_horizontal_order(), and unmerge_connected_parts(). |
|
Definition at line 166 of file bary.h. Referenced by apply_horder(), array_to_level(), barycentering(), calc_all_layers_crossings(), graph_crossings(), layer_crossing(), level_to_array(), phase2_down(), phase2_up(), resort_down_layer(), resort_up_layer(), restore_level(), save_level(), tree_horizontal_order(), and unmerge_connected_parts(). |
|
Definition at line 177 of file bary.h. Referenced by finish_upper(), and layer_crossing(). |
|
Definition at line 178 of file bary.h. Referenced by layer_crossing(). |
|
Definition at line 199 of file bary.h. Referenced by finish_upper(). |