Graphviz  2.41.20171026.1811
Data Structures | Macros | Typedefs | Enumerations | Functions
post_process.h File Reference
#include "spring_electrical.h"
Include dependency graph for post_process.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  StressMajorizationSmoother_struct
 
struct  SpringSmoother_struct
 

Macros

#define TriangleSmoother_struct   StressMajorizationSmoother_struct
 
#define SparseStressMajorizationSmoother_struct   StressMajorizationSmoother_struct
 

Typedefs

typedef struct
StressMajorizationSmoother_struct
StressMajorizationSmoother
 
typedef StressMajorizationSmoother TriangleSmoother
 
typedef struct
SpringSmoother_struct
SpringSmoother
 
typedef StressMajorizationSmoother SparseStressMajorizationSmoother
 

Enumerations

enum  {
  SM_SCHEME_NORMAL, SM_SCHEME_NORMAL_ELABEL, SM_SCHEME_UNIFORM_STRESS, SM_SCHEME_MAXENT,
  SM_SCHEME_STRESS_APPROX, SM_SCHEME_STRESS
}
 
enum  { IDEAL_GRAPH_DIST, IDEAL_AVG_DIST, IDEAL_POWER_DIST }
 
enum  { WEIGHTING_SCHEME_NONE, WEIGHTING_SCHEME_INV_DIST, WEIGHTING_SCHEME_SQR_DIST }
 

Functions

void StressMajorizationSmoother_delete (StressMajorizationSmoother sm)
 
StressMajorizationSmoother StressMajorizationSmoother2_new (SparseMatrix A, int dim, real lambda, real *x, int ideal_dist_scheme)
 
real StressMajorizationSmoother_smooth (StressMajorizationSmoother sm, int dim, real *x, int maxit, real tol)
 
void TriangleSmoother_delete (TriangleSmoother sm)
 
TriangleSmoother TriangleSmoother_new (SparseMatrix A, int dim, real lambda, real *x, int use_triangularization)
 
void TriangleSmoother_smooth (TriangleSmoother sm, int dim, real *x)
 
SpringSmoother SpringSmoother_new (SparseMatrix A, int dim, spring_electrical_control ctrl, real *x)
 
void SpringSmoother_delete (SpringSmoother sm)
 
void SpringSmoother_smooth (SpringSmoother sm, SparseMatrix A, real *node_weights, int dim, real *x)
 
void post_process_smoothing (int dim, SparseMatrix A, spring_electrical_control ctrl, real *node_weights, real *x, int *flag)
 
void SparseStressMajorizationSmoother_delete (SparseStressMajorizationSmoother sm)
 
SparseStressMajorizationSmoother SparseStressMajorizationSmoother_new (SparseMatrix A, int dim, real lambda, real *x, int weighting_scheme, int scale_initial_coord)
 
real SparseStressMajorizationSmoother_smooth (SparseStressMajorizationSmoother sm, int dim, real *x, int maxit_sm, real tol)
 
real get_stress (int m, int dim, int *iw, int *jw, real *w, real *d, real *x, real scaling, void *data, int weighted)
 
real get_full_stress (SparseMatrix A, int dim, real *x, int weighting_scheme)
 
void dump_distance_edge_length (char *outfile, SparseMatrix A, int dim, real *x)
 

Macro Definition Documentation

#define SparseStressMajorizationSmoother_struct   StressMajorizationSmoother_struct

Definition at line 78 of file post_process.h.

#define TriangleSmoother_struct   StressMajorizationSmoother_struct

Definition at line 47 of file post_process.h.

Referenced by TriangleSmoother_new().

Typedef Documentation

Definition at line 76 of file post_process.h.

Definition at line 64 of file post_process.h.

Definition at line 36 of file post_process.h.

Definition at line 45 of file post_process.h.

Enumeration Type Documentation

anonymous enum
Enumerator
SM_SCHEME_NORMAL 
SM_SCHEME_NORMAL_ELABEL 
SM_SCHEME_UNIFORM_STRESS 
SM_SCHEME_MAXENT 
SM_SCHEME_STRESS_APPROX 
SM_SCHEME_STRESS 

Definition at line 19 of file post_process.h.

anonymous enum
Enumerator
IDEAL_GRAPH_DIST 
IDEAL_AVG_DIST 
IDEAL_POWER_DIST 

Definition at line 40 of file post_process.h.

anonymous enum
Enumerator
WEIGHTING_SCHEME_NONE 
WEIGHTING_SCHEME_INV_DIST 
WEIGHTING_SCHEME_SQR_DIST 

Definition at line 82 of file post_process.h.

Function Documentation

void dump_distance_edge_length ( char *  outfile,
SparseMatrix  A,
int  dim,
real x 
)
real get_full_stress ( SparseMatrix  A,
int  dim,
real x,
int  weighting_scheme 
)
real get_stress ( int  m,
int  dim,
int iw,
int jw,
real w,
real d,
real x,
real  scaling,
void *  data,
int  weighted 
)

Definition at line 765 of file post_process.c.

References dist(), distance(), and real.

Referenced by StressMajorizationSmoother_smooth().

void post_process_smoothing ( int  dim,
SparseMatrix  A,
spring_electrical_control  ctrl,
real node_weights,
real x,
int flag 
)
void SparseStressMajorizationSmoother_delete ( SparseStressMajorizationSmoother  sm)

Definition at line 652 of file post_process.c.

References StressMajorizationSmoother_delete().

Referenced by stress_model_core().

SparseStressMajorizationSmoother SparseStressMajorizationSmoother_new ( SparseMatrix  A,
int  dim,
real  lambda,
real x,
int  weighting_scheme,
int  scale_initial_coord 
)
real SparseStressMajorizationSmoother_smooth ( SparseStressMajorizationSmoother  sm,
int  dim,
real x,
int  maxit_sm,
real  tol 
)

Definition at line 657 of file post_process.c.

References StressMajorizationSmoother_smooth().

Referenced by stress_model_core().

void SpringSmoother_delete ( SpringSmoother  sm)
SpringSmoother SpringSmoother_new ( SparseMatrix  A,
int  dim,
spring_electrical_control  ctrl,
real x 
)
void SpringSmoother_smooth ( SpringSmoother  sm,
SparseMatrix  A,
real node_weights,
int  dim,
real x 
)
StressMajorizationSmoother StressMajorizationSmoother2_new ( SparseMatrix  A,
int  dim,
real  lambda,
real x,
int  ideal_dist_scheme 
)
void StressMajorizationSmoother_delete ( StressMajorizationSmoother  sm)
real StressMajorizationSmoother_smooth ( StressMajorizationSmoother  sm,
int  dim,
real x,
int  maxit,
real  tol 
)
void TriangleSmoother_delete ( TriangleSmoother  sm)

Definition at line 1126 of file post_process.c.

References StressMajorizationSmoother_delete().

Referenced by post_process_smoothing(), and TriangleSmoother_new().

TriangleSmoother TriangleSmoother_new ( SparseMatrix  A,
int  dim,
real  lambda,
real x,
int  use_triangularization 
)
void TriangleSmoother_smooth ( TriangleSmoother  sm,
int  dim,
real x 
)

Definition at line 1132 of file post_process.c.

References StressMajorizationSmoother_smooth().

Referenced by post_process_smoothing().