summaryrefslogtreecommitdiff
path: root/vest/lo_test.cc
diff options
context:
space:
mode:
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);