|
Graphviz
2.29.20120524.0446
|

Go to the source code of this file.
Defines | |
| #define | Msub(i, j) M[(i)*Ndim+(j)] |
Functions | |
| double | fpow32 (double x) |
| double | distvec (double *p0, double *p1, double *vec) |
| double ** | new_array (int m, int n, double ival) |
| void | free_array (double **rv) |
| int | scan_graph_mode (graph_t *G, int mode) |
| int | scan_graph (graph_t *g) |
| void | free_scan_graph (graph_t *g) |
| void | jitter_d (node_t *np, int nG, int n) |
| void | jitter3d (node_t *np, int nG) |
| void | randompos (node_t *np, int nG) |
| void | initial_positions (graph_t *G, int nG) |
| void | diffeq_model (graph_t *G, int nG) |
| void | solve_model (graph_t *G, int nG) |
| void | update_arrays (graph_t *G, int nG, int i) |
| void | D2E (graph_t *G, int nG, int n, double *M) |
| void | final_energy (graph_t *G, int nG) |
| node_t * | choose_node (graph_t *G, int nG) |
| void | move_node (graph_t *G, int nG, node_t *n) |
| void | heapup (node_t *v) |
| void | heapdown (node_t *v) |
| void | neato_enqueue (node_t *v) |
| node_t * | neato_dequeue (void) |
| void | shortest_path (graph_t *G, int nG) |
| void | s1 (graph_t *G, node_t *node) |
| void | make_spring (graph_t *G, node_t *u, node_t *v, double f) |
| int | allow_edits (int nsec) |
| int allow_edits | ( | int | nsec | ) |
| void D2E | ( | graph_t * | G, |
| int | nG, | ||
| int | n, | ||
| double * | M | ||
| ) |
| void diffeq_model | ( | graph_t * | G, |
| int | nG | ||
| ) |
Definition at line 372 of file stuff.c.
References dist(), MAXDIM, Verbose, start_timer(), GD_spring, GD_dist, Spring_coeff, agfindedge(), GD_neato_nlist, ED_factor, Ndim, GD_sum_t, distvec(), ND_pos, GD_t, and elapsed_sec().
Referenced by allow_edits().
| double distvec | ( | double * | p0, |
| double * | p1, | ||
| double * | vec | ||
| ) |
Definition at line 35 of file stuff.c.
Referenced by diffeq_model(), and update_arrays().
| void final_energy | ( | graph_t * | G, |
| int | nG | ||
| ) |
| void free_array | ( | double ** | rv | ) |
Definition at line 65 of file stuff.c.
References free().
Referenced by circuit_model(), lu_decompose(), circuitModel(), and free_scan_graph().
| void free_scan_graph | ( | graph_t * | g | ) |
Definition at line 316 of file stuff.c.
References free(), GD_neato_nlist, Nop, free_array(), GD_dist, GD_spring, GD_sum_t, GD_t, and NULL.
Referenced by user_pos(), and neato_layout().
| void heapdown | ( | node_t * | v | ) |
Definition at line 637 of file stuff.c.
References left, right, ND_heapindex, and ND_dist.
Referenced by neato_dequeue().
| void heapup | ( | node_t * | v | ) |
Definition at line 620 of file stuff.c.
References ND_heapindex, and ND_dist.
Referenced by neato_enqueue(), and s1().
| void initial_positions | ( | graph_t * | G, |
| int | nG | ||
| ) |
Definition at line 348 of file stuff.c.
References Verbose, checkStart(), INIT_RANDOM, INIT_REGULAR, INIT_SELF, agerr(), AGWARN, GD_neato_nlist, hasPos, and randompos().
| void jitter3d | ( | node_t * | np, |
| int | nG | ||
| ) |
Definition at line 335 of file stuff.c.
References jitter_d().
Referenced by user_pos(), and randompos().
| void jitter_d | ( | node_t * | np, |
| int | nG, | ||
| int | n | ||
| ) |
Definition at line 328 of file stuff.c.
References Ndim, ND_pos, and drand48().
Referenced by user_pos(), and jitter3d().
| node_t* neato_dequeue | ( | void | ) |
Definition at line 673 of file stuff.c.
References NULL, ND_heapindex, and heapdown().
Referenced by s1().
| void neato_enqueue | ( | node_t * | v | ) |
| double** new_array | ( | int | m, |
| int | n, | ||
| double | ival | ||
| ) |
Definition at line 48 of file stuff.c.
References N_NEW.
Referenced by circuit_model(), lu_decompose(), circuitModel(), and scan_graph_mode().
| void randompos | ( | node_t * | np, |
| int | nG | ||
| ) |
Definition at line 340 of file stuff.c.
References ND_pos, drand48(), Ndim, and jitter3d().
Referenced by initial_positions().
Definition at line 708 of file stuff.c.
References GD_neato_nlist, ND_dist, Initial_dist, node(), ND_hops, neato_enqueue(), neato_dequeue(), make_spring(), agfstedge(), agnxtedge(), agtail, aghead, ED_dist, ND_heapindex, and heapup().
Referenced by bisect(), clip_line(), shortest_path(), and directVis().
| int scan_graph | ( | graph_t * | g | ) |
Definition at line 311 of file stuff.c.
References scan_graph_mode(), and MODE_KK.
Referenced by init_nop().
| int scan_graph_mode | ( | graph_t * | G, |
| int | mode | ||
| ) |
Definition at line 232 of file stuff.c.
References str, Verbose, agnameof, agnnodes(), Reduce, agfstnode(), agnxtnode(), agdelete(), Agraph_t::root, agnedges(), agattr(), AGEDGE, agindex(), Agraph_t::proto, Agproto_t::e, MODE_KK, Epsilon, getdouble(), agget(), Damping, GD_neato_nlist, N_NEW, ND_id, ND_heapindex, DFLT_TOLERANCE, Initial_dist, MAX, Nop, GD_dist, new_array(), GD_spring, GD_sum_t, Ndim, and GD_t.
Referenced by scan_graph().
| void shortest_path | ( | graph_t * | G, |
| int | nG | ||
| ) |
Definition at line 691 of file stuff.c.
References N_NEW, Verbose, start_timer(), agfstnode(), agnxtnode(), s1(), elapsed_sec(), and free().
| void solve_model | ( | graph_t * | G, |
| int | nG | ||
| ) |
Definition at line 447 of file stuff.c.
References Epsilon, choose_node(), move_node(), Verbose, GD_move, MaxIter, elapsed_sec(), agerr(), AGWARN, and agnameof.
1.7.5