Fix naming convention in HiddenMarkovModell

This commit is contained in:
Patrick Niklaus 2016-04-29 00:20:32 +02:00
parent 1ab6c07bad
commit e504128587
No known key found for this signature in database
GPG Key ID: E426891B5F978B1B
2 changed files with 3 additions and 3 deletions

View File

@ -82,10 +82,10 @@ template <class CandidateLists> struct HiddenMarkovModel
}
}
clear(0);
Clear(0);
}
void clear(std::size_t initial_timestamp)
void Clear(std::size_t initial_timestamp)
{
BOOST_ASSERT(viterbi.size() == parents.size() && parents.size() == path_distances.size() &&
path_distances.size() == pruned.size() && pruned.size() == breakage.size());

View File

@ -206,7 +206,7 @@ class MapMatching final : public BasicRoutingInterface<DataFacadeT, MapMatching<
split_points.push_back(split_index);
// note: this preserves everything before split_index
model.clear(split_index);
model.Clear(split_index);
std::size_t new_start = model.initialize(split_index);
// no new start was found -> stop viterbi calculation
if (new_start == map_matching::INVALID_STATE)