Graphviz 13.1.2~dev.20250722.1051
|
#include <sparse/general.h>
#include <sparse/SparseMatrix.h>
#include <sfdpgen/spring_electrical.h>
#include <sfdpgen/post_process.h>
#include <sfdpgen/stress_model.h>
#include <stdbool.h>
#include <util/alloc.h>
Go to the source code of this file.
Functions | |
int | stress_model (int dim, SparseMatrix B, double **x, int maxit_sm) |
int stress_model | ( | int | dim, |
SparseMatrix | D, | ||
double ** | x, | ||
int | maxit | ||
) |
Definition at line 9 of file stress_model.c.
References A, B, dim, drand(), gv_calloc(), MATRIX_TYPE_REAL, RETURN, StressMajorizationSmoother_struct::scaling, StressMajorizationSmoother_struct::scheme, SM_SCHEME_STRESS, SparseMatrix_delete(), SparseMatrix_get_real_adjacency_matrix_symmetrized(), SparseMatrix_is_symmetric(), SparseMatrix_remove_diagonal(), SparseMatrix_symmetrize(), SparseStressMajorizationSmoother_delete(), SparseStressMajorizationSmoother_new(), SparseStressMajorizationSmoother_smooth(), and StressMajorizationSmoother_struct::tol_cg.
Referenced by improve_contiguity().