From cf272339a3b72cf192ba986d37e50de16a4cbe49 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 8 Sep 2016 12:20:53 -0400 Subject: added a function explicitly to the header file --- src/fracture.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/fracture.h') diff --git a/src/fracture.h b/src/fracture.h index cae1a49..bea4bc7 100644 --- a/src/fracture.h +++ b/src/fracture.h @@ -168,8 +168,8 @@ double beta_scaling_flat(double beta, double x, double y); double beta_scaling_gaus(double beta, double x, double y); double beta_mag(double beta); -unsigned int *dijkstra(graph_t *network, unsigned int source); -unsigned int **get_dists(graph_t *network); +unsigned int *dijkstra(const graph_t *network, unsigned int source); +unsigned int **get_dists(const graph_t *network); double *get_corr(net_t *instance, unsigned int **dists, cholmod_common *c); double *bin_values(graph_t *network, unsigned int width, double *values); @@ -183,3 +183,5 @@ void update_break_data(data_t *data, unsigned int last_broke, double strength, d double get_conductivity(net_t *inst, double *current, cholmod_common *c); graph_t *graph_create(lattice_t lattice, bound_t bound, uint_t L, bool dual, cholmod_common *c); + +uint_t find_cycles(uint_t num_edges, const bool *fuses, const uint_t *ev, const uint_t *vei, const uint_t *ve, int **cycles); -- cgit v1.2.3-70-g09d2