Fix naming convention in HiddenMarkovModell
This commit is contained in:
parent
1ab6c07bad
commit
e504128587
@ -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() &&
|
BOOST_ASSERT(viterbi.size() == parents.size() && parents.size() == path_distances.size() &&
|
||||||
path_distances.size() == pruned.size() && pruned.size() == breakage.size());
|
path_distances.size() == pruned.size() && pruned.size() == breakage.size());
|
||||||
|
@ -206,7 +206,7 @@ class MapMatching final : public BasicRoutingInterface<DataFacadeT, MapMatching<
|
|||||||
split_points.push_back(split_index);
|
split_points.push_back(split_index);
|
||||||
|
|
||||||
// note: this preserves everything before 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);
|
std::size_t new_start = model.initialize(split_index);
|
||||||
// no new start was found -> stop viterbi calculation
|
// no new start was found -> stop viterbi calculation
|
||||||
if (new_start == map_matching::INVALID_STATE)
|
if (new_start == map_matching::INVALID_STATE)
|
||||||
|
Loading…
Reference in New Issue
Block a user