6 #include "Navigation.h"
9 #include "CallbackCollection.h"
21 typedef Helpers::ICallback1<const NavigationGraph> INavigationGraphLinkedCallback;
22 typedef Helpers::ICallback1<const NavigationGraph> INavigationGraphUnlinkedCallback;
28 : m_maxLinkDistSqr(maxLinkDist*maxLinkDist)
29 , m_debugLog(debugLog)
33 typedef std::vector<NavigationGraphLink*> TLinksVector;
47 TLinksVector m_pendingLinks;
48 TLinksVector m_newLinksScratch;
49 TLinksVector m_newPendingLinksScratch;
51 const float m_maxLinkDistSqr;
52 const bool m_debugLog;
57 void FormConnectionsWithLinks(
const NavigationGraph& navGraphA,
const TLinksVector& newLinksToA);
64 TLinksVector::iterator FindBestAdmissableLink(
const NavigationGraphLink& link, TLinksVector::iterator pendingLinksBegin, TLinksVector::iterator pendingLinksEnd);