Graphviz  2.29.20120524.0446
Data Structures | Defines | Functions
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, 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 Documentation

#define DegType   long double

Definition at line 884 of file stress.c.

Referenced by stress_majorization_kD_mkernel().

#define Dij2

Definition at line 33 of file stress.c.

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

Definition at line 46 of file stress.c.

#define stress_pca_dim   50

Definition at line 51 of file stress.c.


Function Documentation

float* circuitModel ( vtx_data graph,
int  nG 
)
float* compute_apsp_artifical_weights_packed ( vtx_data graph,
int  n 
)
float* compute_apsp_packed ( vtx_data graph,
int  n 
)
double drand48 ( void  )
int initLayout ( vtx_data graph,
int  n,
int  dim,
double **  coords,
node_t **  nodes 
)

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 
)