|
Graphviz
2.31.20130523.0446
|
#include "defs.h"

Go to the source code of this file.
Defines | |
| #define | STRESS_H |
| #define | tolerance_cg 1e-3 |
| #define | DFLT_ITERATIONS 200 |
| #define | DFLT_TOLERANCE 1e-4 |
| #define | num_pivots_stress 40 |
| #define | num_pivots_smart_ini 0 |
| #define | num_pivots_no_ini 50 |
| #define | neighborhood_radius_unrestricted 4 |
| #define | neighborhood_radius_subspace 0 |
| #define | opt_smart_init 0x4 |
| #define | opt_exp_flag 0x3 |
Functions | |
| int | stress_majorization_kD_mkernel (vtx_data *graph, int n, int nedges_graph, double **coords, node_t **nodes, int dim, int opts, int model, int maxi) |
| float * | compute_apsp_packed (vtx_data *graph, int n) |
| float * | compute_apsp_artifical_weights_packed (vtx_data *graph, int n) |
| float * | circuitModel (vtx_data *graph, int nG) |
| float * | mdsModel (vtx_data *graph, int nG) |
| int | initLayout (vtx_data *graph, int n, int dim, double **coords, node_t **nodes) |
| #define DFLT_TOLERANCE 1e-4 |
Definition at line 28 of file stress.h.
Referenced by scan_graph_mode().
| #define neighborhood_radius_subspace 0 |
Definition at line 41 of file stress.h.
Referenced by stress_majorization_kD_mkernel().
| #define num_pivots_stress 40 |
Definition at line 31 of file stress.h.
Referenced by stress_majorization_kD_mkernel().
| #define opt_exp_flag 0x3 |
Definition at line 44 of file stress.h.
Referenced by stress_majorization_kD_mkernel().
| #define opt_smart_init 0x4 |
Definition at line 43 of file stress.h.
Referenced by stress_majorization_kD_mkernel().
| #define tolerance_cg 1e-3 |
Definition at line 24 of file stress.h.
Referenced by stress_majorization_kD_mkernel().
| float* circuitModel | ( | vtx_data * | graph, |
| int | nG | ||
| ) |
Definition at line 199 of file stress.c.
References N_NEW, new_array(), vtx_data::ewgts, vtx_data::nedges, vtx_data::edges, solveCircuit(), free(), NULL, and free_array().
Referenced by stress_majorization_kD_mkernel().
| float* compute_apsp_artifical_weights_packed | ( | vtx_data * | graph, |
| int | n | ||
| ) |
Definition at line 796 of file stress.c.
References vtx_data::ewgts, vtx_data::nedges, N_NEW, fill_neighbors_vec_unweighted(), vtx_data::edges, max, common_neighbors(), empty_neighbors_vec(), compute_apsp_packed(), free(), and NULL.
Referenced by stress_majorization_kD_mkernel().
| float* compute_apsp_packed | ( | vtx_data * | graph, |
| int | n | ||
| ) |
Definition at line 772 of file stress.c.
References N_NEW, mkQueue(), bfs(), free(), and freeQueue().
Referenced by compute_apsp_artifical_weights_packed(), and stress_majorization_kD_mkernel().
Definition at line 159 of file stress.c.
References hasPos, ND_pos, isFixed, drand48(), and orthog1().
Referenced by stress_majorization_kD_mkernel(), and circleLayout().
| float* mdsModel | ( | vtx_data * | graph, |
| int | nG | ||
| ) |
Definition at line 739 of file stress.c.
References vtx_data::ewgts, NULL, vtx_data::nedges, vtx_data::edges, and Verbose.
Referenced by stress_majorization_kD_mkernel().
| int stress_majorization_kD_mkernel | ( | vtx_data * | graph, |
| int | n, | ||
| int | nedges_graph, | ||
| double ** | coords, | ||
| node_t ** | nodes, | ||
| int | dim, | ||
| int | opts, | ||
| int | model, | ||
| int | maxi | ||
| ) |
Definition at line 889 of file stress.c.
References tolerance_cg, NULL, DegType, opt_smart_init, opt_exp_flag, Verbose, start_timer(), MODEL_SUBSET, compute_apsp_artifical_weights_packed(), MODEL_CIRCUIT, circuitModel(), agerr(), AGWARN, AGPREV, MODEL_MDS, mdsModel(), vtx_data::ewgts, compute_apsp_packed(), elapsed_sec(), neighborhood_radius_subspace, num_pivots_stress, max, drand48(), orthog1(), initLayout(), N_NEW, square_vec(), invert_vec(), MAXFLOAT, MAXDOUBLE, FALSE, sqrt_vecf(), sqrt_vec(), set_vector_valf(), vectors_mult_additionf(), vectors_additionf(), invert_sqrt_vec(), right_mult_with_vector_ff(), vectors_inner_productf(), ABS, Epsilon, copy_vectorf(), conjugate_gradient_mkernel(), isFixed, and free().
1.7.5