summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fracture.h6
1 files changed, 4 insertions, 2 deletions
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);