summaryrefslogtreecommitdiff
path: root/src/benchmark.h
diff options
context:
space:
mode:
authorYour Name <[email protected]>2026-08-24 12:18:29 -0700
committerYour Name <[email protected]>2026-08-24 12:18:29 -0700
commite2738f53a462393a75be9d54fa73e7a231014b71 (patch)
treeb038acaacb8beb2dd0c7cee29bfe4b2ee091d554 /src/benchmark.h
parent02660d79603efa793313de4e1f83343da9448f31 (diff)
added const to a few parameters
Diffstat (limited to 'src/benchmark.h')
-rw-r--r--src/benchmark.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/benchmark.h b/src/benchmark.h
index 588fb3a..57156cc 100644
--- a/src/benchmark.h
+++ b/src/benchmark.h
@@ -19,19 +19,17 @@ int run_benchmark(const spires_reservoir_config *config,
double calculate_MSE(const double *expected, const double *predicted,
const size_t num_steps, const size_t num_outputs);
-int plot_raster(const Reservoir_State_Matrix *matrix, size_t neurons_to_plot,
- double spike_threshold);
+int plot_raster(const Reservoir_State_Matrix *matrix,
+ const size_t neurons_to_plot, const double spike_threshold);
int plot_reservoir_predictions(const double *expected, const double *predicted,
- size_t num_samples, size_t num_outputs,
- size_t output_to_plot, const char *model_path);
+ const size_t num_samples,
+ const size_t num_outputs,
+ const size_t output_to_plot,
+ const char *model_path);
int plot_model_delta(const double *fixed, const double *model,
- size_t num_samples, size_t num_outputs,
- size_t output_to_plot, const char *model_path);
-
-int plot_all_model_deltas(const double *predictions, const MemModel *models,
- size_t model_count, size_t num_samples,
- size_t num_outputs, size_t output_to_plot);
+ const size_t num_samples, const size_t num_outputs,
+ const size_t output_to_plot, const char *model_path);
#endif