summaryrefslogtreecommitdiff
path: root/training/risk.h
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-06-24 22:30:50 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2012-06-24 22:30:50 -0400
commitac40b555b98a2ea295d48e95263086b52ed3b74b (patch)
treebb324192fd23f9d77b61024cb14e9d6d4907a7c1 /training/risk.h
parent535cfe8da7c6107d8415afd1381d59f2a6b9844f (diff)
minimum risk training, not completely ready for primetime
Diffstat (limited to 'training/risk.h')
-rw-r--r--training/risk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/training/risk.h b/training/risk.h
index 00ff60ec..2e8db0fb 100644
--- a/training/risk.h
+++ b/training/risk.h
@@ -9,6 +9,7 @@ namespace training {
class CandidateSet;
class CandidateSetRisk {
+ public:
explicit CandidateSetRisk(const CandidateSet& cs, const EvaluationMetric& metric) :
cands_(cs),
metric_(metric) {}