summaryrefslogtreecommitdiff
path: root/vest/lo_test.cc
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-09 21:25:41 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-09 21:25:41 +0000
commit261027816caf7676dbb082ce58da086b5f5cb707 (patch)
tree70bd7c17203c9e16df9f10f66900aa166855b3d8 /vest/lo_test.cc
parent2f18ef81afaed06ab7a1214b4e367db49c9c7606 (diff)
mert comments
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@213 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'vest/lo_test.cc')
-rw-r--r--vest/lo_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vest/lo_test.cc b/vest/lo_test.cc
index f937daac..5b0ba3cd 100644
--- a/vest/lo_test.cc
+++ b/vest/lo_test.cc
@@ -147,7 +147,7 @@ TEST_F(OptTest, TestS1) {
RandomNumberGenerator<boost::mt19937> rng;
- vector<SparseVector<double> > axes;
+ vector<SparseVector<double> > axes; // directions to search
LineOptimizer::CreateOptimizationDirections(
to_optimize,
10,
@@ -161,7 +161,7 @@ TEST_F(OptTest, TestS1) {
cerr << "Computing Viterbi envelope using inside algorithm...\n";
cerr << "axis: " << axis << endl;
clock_t t_start=clock();
- ViterbiEnvelopeWeightFunction wf(wts, axis);
+ ViterbiEnvelopeWeightFunction wf(wts, axis); // wts = starting point, axis = search direction
envs[0] = Inside<ViterbiEnvelope, ViterbiEnvelopeWeightFunction>(hg, NULL, wf);
envs[1] = Inside<ViterbiEnvelope, ViterbiEnvelopeWeightFunction>(hg2, NULL, wf);