14 #ifndef SPRING_ELECTRICAL_H
15 #define SPRING_ELECTRICAL_H
22 #define AUTOP -1.0001234
77 real *x,
int n_edge_label_nodes,
int *edge_label_nodes,
int *flag);
spring_electrical_control spring_electrical_control_new()
int multilevel_coarsen_scheme
void spring_electrical_control_delete(spring_electrical_control ctrl)
oned_optimizer oned_optimizer_new(int i)
void spring_electrical_embedding(int dim, SparseMatrix A0, spring_electrical_control ctrl, real *node_weights, real *x, int *flag)
void interpolate_coord(int dim, SparseMatrix A, real *x)
int multilevel_coarsen_mode
void spring_electrical_embedding_fast(int dim, SparseMatrix A0, spring_electrical_control ctrl, real *node_weights, real *x, int *flag)
struct oned_optimizer_struct * oned_optimizer
void oned_optimizer_delete(oned_optimizer opt)
void export_embedding(FILE *fp, int dim, SparseMatrix A, real *x, real *width)
void print_matrix(real *x, int n, int dim)
void spring_electrical_spring_embedding(int dim, SparseMatrix A0, SparseMatrix D, spring_electrical_control ctrl, real *node_weights, real *x, int *flag)
void force_print(FILE *fp, int n, int dim, real *x, real *force)
void spring_electrical_control_print(spring_electrical_control ctrl)
real average_edge_length(SparseMatrix A, int dim, real *coord)
void multilevel_spring_electrical_embedding(int dim, SparseMatrix A, SparseMatrix D, spring_electrical_control ctrl, real *node_weights, real *label_sizes, real *x, int n_edge_label_nodes, int *edge_label_nodes, int *flag)
void pcp_rotate(int n, int dim, real *x)
int oned_optimizer_get(oned_optimizer opt)
int power_law_graph(SparseMatrix A)
void oned_optimizer_train(oned_optimizer opt, real work)
struct spring_electrical_control_struct * spring_electrical_control