/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/neatogen/stress.c File Reference

#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>

Include dependency graph for stress.c:

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)
float * circuitModel (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, int dim, int smart_ini, int model, int maxi)


Define Documentation

#define DegType   long double

Definition at line 1464 of file stress.c.

Referenced by stress_majorization_kD_mkernel().

#define Dij2

Definition at line 77 of file stress.c.

Referenced by stress_majorization_kD_mkernel().

#define max ( x,
 )     ((x)>(y)?(x):(y))

Definition at line 1386 of file stress.c.

Referenced by choose_node(), compute_apsp_artifical_weights_packed(), and stress_majorization_kD_mkernel().

#define smooth_pivots   true

Definition at line 90 of file stress.c.

#define stress_pca_dim   50

Definition at line 95 of file stress.c.


Function Documentation

float* circuitModel ( vtx_data graph,
int  nG 
)

Definition at line 247 of file stress.c.

References free(), free_array(), graph(), N_NEW, new_array(), NULL, and solveCircuit().

Referenced by stress_majorization_kD_mkernel().

float* compute_apsp_artifical_weights_packed ( vtx_data graph,
int  n 
)

Definition at line 1388 of file stress.c.

References common_neighbors(), empty_neighbors_vec(), fill_neighbors_vec_unweighted(), graph(), max, and N_NEW.

Referenced by stress_majorization_kD_mkernel().

float* compute_apsp_packed ( vtx_data graph,
int  n 
)

Definition at line 1364 of file stress.c.

References bfs(), free(), freeQueue(), graph(), mkQueue(), and N_NEW.

Referenced by stress_majorization_kD_mkernel().

double drand48 ( void   ) 

Definition at line 31 of file stuff.c.

int initLayout ( vtx_data graph,
int  n,
int  dim,
double **  coords 
)

Definition at line 207 of file stress.c.

References drand48(), graph(), hasPos, isFixed, ND_pos, and orthog1().

Referenced by circleLayout(), and stress_majorization_kD_mkernel().

int stress_majorization_kD_mkernel ( vtx_data graph,
int  n,
int  nedges_graph,
double **  d_coords,
int  dim,
int  smart_ini,
int  model,
int  maxi 
)

Definition at line 1469 of file stress.c.

References agerr(), AGPREV, AGWARN, circuitModel(), compute_apsp_artifical_weights_packed(), compute_apsp_packed(), conjugate_gradient_mkernel(), copy_vectorf(), DegType, Dij2, drand48(), elapsed_sec(), Epsilon, FALSE, free(), graph(), initLayout(), invert_sqrt_vec(), invert_vec(), isFixed, max, MAXDOUBLE, MAXFLOAT, MODEL_CIRCUIT, MODEL_SUBSET, N_NEW, neighborhood_radius_subspace, NULL, num_pivots_stress, 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.


Generated on Mon Mar 31 19:07:31 2008 for Graphviz by  doxygen 1.5.1