summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jkentdobias@g.hmc.edu>2016-09-08 12:20:53 -0400
committerJaron Kent-Dobias <jkentdobias@g.hmc.edu>2016-09-08 12:20:53 -0400
commitcf272339a3b72cf192ba986d37e50de16a4cbe49 (patch)
tree380e249eeebc9f3087399d052daa62966648c959 /src
parentb74bf87fd7eb2e75e71f6b667bd12b0ca7a31c11 (diff)
downloadfuse_networks-cf272339a3b72cf192ba986d37e50de16a4cbe49.tar.gz
fuse_networks-cf272339a3b72cf192ba986d37e50de16a4cbe49.tar.bz2
fuse_networks-cf272339a3b72cf192ba986d37e50de16a4cbe49.zip
added a function explicitly to the header file
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);