diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-10-26 16:38:38 +0300 |
---|---|---|
committer | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-10-26 16:38:38 +0300 |
commit | 4f3964bd76d5739b33bca3d99986b97503319384 (patch) | |
tree | ccbaae1770a59cb7761e8a7593004d216b1b298d /routing/cross_routing_context.hpp | |
parent | b9349c6ece8459d4849d2715cf228cd046b41d67 (diff) |
Remove IngoingCrossNode duplication inside a CrossRoutingContext class.
Diffstat (limited to 'routing/cross_routing_context.hpp')
-rw-r--r-- | routing/cross_routing_context.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/routing/cross_routing_context.hpp b/routing/cross_routing_context.hpp index 39131fb007..a17fff673b 100644 --- a/routing/cross_routing_context.hpp +++ b/routing/cross_routing_context.hpp @@ -77,7 +77,6 @@ using OutgoingEdgeIteratorT = vector<OutgoingCrossNode>::const_iterator; class CrossRoutingContextReader { vector<OutgoingCrossNode> m_outgoingNodes; - vector<IngoingCrossNode> m_ingoingNodes; vector<string> m_neighborMwmList; vector<WritedEdgeWeightT> m_adjacencyMatrix; m4::Tree<IngoingCrossNode> m_ingoingIndex; @@ -87,14 +86,14 @@ public: const string & GetOutgoingMwmName(OutgoingCrossNode const & mwmIndex) const; - pair<IngoingEdgeIteratorT, IngoingEdgeIteratorT> GetIngoingIterators() const; - bool FindIngoingNodeByPoint(m2::PointD const & point, IngoingCrossNode & node) const; pair<OutgoingEdgeIteratorT, OutgoingEdgeIteratorT> GetOutgoingIterators() const; WritedEdgeWeightT GetAdjacencyCost(IngoingCrossNode const & ingoing, OutgoingCrossNode const & outgoing) const; + + void GetAllIngoingNodes(vector<IngoingCrossNode> & nodes) const; }; /// Helper class to generate cross context section in mwm.routing file |