Class ArcIndexer


  • public class ArcIndexer
    extends java.lang.Object
    Create index for arcs that built into the topology
    • Field Detail

      • allArcs

        protected java.util.List<TopoArc> allArcs
      • hashSet

        protected java.util.Map<LatLng,​java.util.List<java.lang.Integer>> hashSet
    • Method Detail

      • addArc

        public int addArc​(TopoArc arc)
      • getAllArcs

        public java.util.List<TopoArc> getAllArcs()
      • getArcAt

        public TopoArc getArcAt​(int index)
      • findArcNeighbor

        public int findArcNeighbor​(java.util.List<LatLng> points,
                                   int direction)