|
Graphviz 14.0.3~dev.20251104.0241
|
Go to the source code of this file.
Macros | |
| #define | tolerance_cg 1e-3 |
| #define | DFLT_ITERATIONS 200 |
| #define | DFLT_TOLERANCE 1e-4 |
| #define | num_pivots_stress 40 |
| #define | opt_smart_init 0x4 |
| #define | opt_exp_flag 0x3 |
Functions | |
| PRIVATE int | stress_majorization_kD_mkernel (vtx_data *graph, int n, double **coords, node_t **nodes, int dim, int opts, int model, int maxi) |
| at present, if any nodes have pos set, smart_ini is false | |
| PRIVATE float * | compute_apsp_packed (vtx_data *graph, int n) |
| assumes integral weights > 0 | |
| PRIVATE float * | compute_apsp_artificial_weights_packed (vtx_data *graph, int n) |
| PRIVATE float * | circuitModel (vtx_data *graph, int nG) |
| PRIVATE float * | mdsModel (vtx_data *graph, int nG) |
| update matrix with actual edge lengths | |
| PRIVATE int | initLayout (int n, int dim, double **coords, node_t **nodes) |
Definition at line 167 of file stress.c.
References free(), free_array(), graph(), gv_calloc(), new_array(), NULL, and solveCircuit().
Referenced by stress_majorization_kD_mkernel().
Definition at line 712 of file stress.c.
References common_neighbors(), compute_apsp_packed(), compute_weighted_apsp_packed(), empty_neighbors_vec(), fill_neighbors_vec_unweighted(), free(), graph(), gv_calloc(), nedges, neighbor, and NULL.
Referenced by stress_majorization_kD_mkernel().
Definition at line 694 of file stress.c.
References bfs(), free(), graph(), and gv_calloc().
Referenced by compute_apsp_artificial_weights_packed(), and stress_majorization_kD_mkernel().
Definition at line 663 of file stress.c.
References compute_weighted_apsp_packed(), delta, graph(), NULL, and Verbose.
Referenced by stress_majorization_kD_mkernel().
| PRIVATE int stress_majorization_kD_mkernel | ( | vtx_data * | graph, |
| int | n, | ||
| double ** | coords, | ||
| node_t ** | nodes, | ||
| int | dim, | ||
| int | opts, | ||
| int | model, | ||
| int | maxi | ||
| ) |
Definition at line 793 of file stress.c.
References agerr(), AGPREV, agwarningf(), circuitModel(), compute_apsp_artificial_weights_packed(), compute_apsp_packed(), compute_stressf(), compute_weighted_apsp_packed(), conjugate_gradient_mkernel(), copy_vectorf(), DegType, dim, drand48(), elapsed_sec(), Epsilon, free(), graph(), gv_calloc(), initLayout(), invert_sqrt_vec(), invert_vec(), isFixed, len(), mdsModel(), MODEL_CIRCUIT, MODEL_MDS, MODEL_SUBSET, NULL, num_pivots_stress, opt_exp_flag, opt_smart_init, opts, orthog1(), right_mult_with_vector_ff(), set_vector_valf(), sparse_stress_subspace_majorization_kD(), sqrt_vecf(), square_vec(), start_timer(), tolerance_cg, vectors_inner_productf(), and Verbose.
Referenced by majorization().