aboutsummaryrefslogtreecommitdiff
path: root/src/main/evaluation/binomial_ci.h
diff options
context:
space:
mode:
authorIan Gent2018-06-26 16:43:45 +0100
committerIan Gent2018-06-26 16:43:45 +0100
commit0798cfe1ecb92996ed7959383dcc4b8b0d51a1d9 (patch)
treef6f6dbd927012de317feea6b2bb25d466cff1ac3 /src/main/evaluation/binomial_ci.h
parentfirst R file (diff)
parentMerge pull request #71 from thecharlesblake/correct-klondike (diff)
downloadmetasol-0798cfe1ecb92996ed7959383dcc4b8b0d51a1d9.tar.gz
metasol-0798cfe1ecb92996ed7959383dcc4b8b0d51a1d9.zip

Merge branch ‘master’ of github.com:thecharlesblake/Solvitaire into ipg

Diffstat (limited to 'src/main/evaluation/binomial_ci.h')
-rw-r--r--src/main/evaluation/binomial_ci.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/evaluation/binomial_ci.h b/src/main/evaluation/binomial_ci.h
new file mode 100644
index 0000000..6e2dceb
--- /dev/null
+++ b/src/main/evaluation/binomial_ci.h
@@ -0,0 +1,19 @@
+//
+// Created by thecharlesblake on 20/06/18.
+//
+
+#ifndef SOLVITAIRE_BINOMIAL_CI_H
+#define SOLVITAIRE_BINOMIAL_CI_H
+
+
+#include <utility>
+
+struct binomial_ci {
+ static std::pair<double, double> wilson(int, int);
+ static std::pair<double, double> wilson(int, int, int);
+ static std::pair<double, double> agresti_coull(int, int);
+ static std::pair<double, double> agresti_coull(int, int, int);
+};
+
+
+#endif //SOLVITAIRE_BINOMIAL_CI_H