Class ChainOfNodes



  • public class ChainOfNodes
    extends Object
    • Constructor Detail

      • ChainOfNodes

        public ChainOfNodes(TLongList nodeIds)
    • Method Detail

      • isClosed

        public boolean isClosed()
      • getLength

        public int getLength()
      • isValidRing

        public boolean isValidRing()
      • hasNodeIntersections

        public boolean hasNodeIntersections()
        Return whether this ring has intersections in terms of node ids appearing multiple times.
      • resolveNodeIntersections

        public List<ChainOfNodes> resolveNodeIntersections()
        Build a new set of rings by splitting at node intersections.