7 #include "LocalRouteVertex.h"
17 namespace NavGraphConforming
24 const std::vector<Candidate*>& candidates,
29 std::vector<Candidate*>& candidates() {
return m_candidates; }
30 const std::vector<Candidate*>& GetCandidates()
const {
return m_candidates; }
32 bool HasConformCandidates()
const;
35 const Candidate* GetUnfittedCandidate()
const {
return &m_unfittedCandidate; }
37 int GetIndex()
const {
return m_index; }
39 bool IsInputInCentralCell()
const {
return m_localRouteVertex.IsInCentralCell(); }
41 const CandidateSet* GetNextCandidateSet(
const std::vector<const CandidateSet*>& candidateSets)
const
43 int nextIndex = m_index + 1;
44 if (nextIndex >= candidateSets.size())
48 return candidateSets.at(nextIndex);
54 void FixUpCandidatesPointers();
57 std::vector<Candidate*> m_candidates;