From 5ac838a266a8a5ea668356ade70f4f5b642b73fc Mon Sep 17 00:00:00 2001 From: Cory Date: Tue, 31 Oct 2023 20:27:35 +0100 Subject: [PATCH] Add things for monte carlo simulations --- include/monte_carlo.hpp | 19 +++++++++++++++++++ src/monte_carlo.cpp | 12 ++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 include/monte_carlo.hpp create mode 100644 src/monte_carlo.cpp diff --git a/include/monte_carlo.hpp b/include/monte_carlo.hpp new file mode 100644 index 0000000..2ad1738 --- /dev/null +++ b/include/monte_carlo.hpp @@ -0,0 +1,19 @@ +/** @file monte_carlo.hpp + * + * @author Cory Alexander Balaton (coryab) + * @author Janita Ovidie Sandtrøen Willumsen (janitaws) + * + * @version 1.0 + * + * @brief Functions for monte carlo simulations. + * + * @bug No known bugs + * */ +#ifndef __MONTE_CARLO__ +#define __MONTE_CARLO__ + +void burn_in_time(); + +void pd_estimate(); + +#endif diff --git a/src/monte_carlo.cpp b/src/monte_carlo.cpp new file mode 100644 index 0000000..7bd596d --- /dev/null +++ b/src/monte_carlo.cpp @@ -0,0 +1,12 @@ +/** @file monte_carlo.cpp + * + * @author Cory Alexander Balaton (coryab) + * @author Janita Ovidie Sandtrøen Willumsen (janitaws) + * + * @version 1.0 + * + * @brief Implementation of the monte carlo functions + * + * @bug No known bugs + * */ +#include "monte_carlo.hpp"