Graphviz
2.41.20171026.1811
|
#include "defs.h"
Go to the source code of this file.
Macros | |
#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().
Definition at line 199 of file stress.c.
References vtx_data::edges, vtx_data::ewgts, free_array(), N_NEW, vtx_data::nedges, new_array(), NULL, and solveCircuit().
Referenced by stress_majorization_kD_mkernel().
Definition at line 796 of file stress.c.
References common_neighbors(), compute_apsp_packed(), vtx_data::edges, empty_neighbors_vec(), vtx_data::ewgts, fill_neighbors_vec_unweighted(), max, N_NEW, vtx_data::nedges, and NULL.
Referenced by stress_majorization_kD_mkernel().
Definition at line 772 of file stress.c.
References bfs(), freeQueue(), mkQueue(), and N_NEW.
Referenced by compute_apsp_artifical_weights_packed(), and stress_majorization_kD_mkernel().
Definition at line 159 of file stress.c.
References drand48(), hasPos, isFixed, ND_pos, and orthog1().
Referenced by circleLayout(), and stress_majorization_kD_mkernel().
Definition at line 739 of file stress.c.
References vtx_data::edges, vtx_data::ewgts, vtx_data::nedges, NULL, 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 ABS, agerr(), AGPREV, AGWARN, circuitModel(), compute_apsp_artifical_weights_packed(), compute_apsp_packed(), conjugate_gradient_mkernel(), copy_vectorf(), DegType, drand48(), elapsed_sec(), Epsilon, vtx_data::ewgts, FALSE, initLayout(), invert_sqrt_vec(), invert_vec(), isFixed, max, MAXDOUBLE, MAXFLOAT, mdsModel(), MODEL_CIRCUIT, MODEL_MDS, MODEL_SUBSET, N_NEW, neighborhood_radius_subspace, NULL, num_pivots_stress, opt_exp_flag, opt_smart_init, orthog1(), right_mult_with_vector_ff(), set_vector_valf(), sqrt_vec(), sqrt_vecf(), square_vec(), start_timer(), tolerance_cg, vectors_additionf(), vectors_inner_productf(), vectors_mult_additionf(), and Verbose.