|
Graphviz
2.29.20120524.0446
|
#include "neato.h"#include "dijkstra.h"#include "bfs.h"#include "pca.h"#include "matrix_ops.h"#include "conjgrad.h"#include "embed_graph.h"#include "kkutils.h"#include "stress.h"#include <math.h>#include <stdlib.h>#include <time.h>
Go to the source code of this file.
Data Structures | |
| struct | dist_data |
Defines | |
| #define | Dij2 |
| #define | smooth_pivots true |
| #define | stress_pca_dim 50 |
| #define | max(x, y) ((x)>(y)?(x):(y)) |
| #define | DegType long double |
Functions | |
| double | drand48 (void) |
| int | initLayout (vtx_data *graph, int n, int dim, double **coords, node_t **nodes) |
| float * | circuitModel (vtx_data *graph, int nG) |
| float * | mdsModel (vtx_data *graph, int nG) |
| float * | compute_apsp_packed (vtx_data *graph, int n) |
| float * | compute_apsp_artifical_weights_packed (vtx_data *graph, int n) |
| int | stress_majorization_kD_mkernel (vtx_data *graph, int n, int nedges_graph, double **d_coords, node_t **nodes, int dim, int opts, int model, int maxi) |
| #define DegType long double |
Definition at line 884 of file stress.c.
Referenced by stress_majorization_kD_mkernel().
| #define max | ( | x, | |
| y | |||
| ) | ((x)>(y)?(x):(y)) |
Definition at line 794 of file stress.c.
Referenced by common_init_edge(), get_gradient_points(), compute_apsp_artifical_weights_packed(), stress_majorization_kD_mkernel(), and choose_node().
| 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().
| double drand48 | ( | void | ) |
Definition at line 2091 of file utils.c.
Referenced by makeObstacle(), initLayout(), stress_majorization_kD_mkernel(), jitter_d(), randompos(), and move_node().
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 ** | d_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