Class LayeredAreasNavigation.Portal<Node>

java.lang.Object
eu.iv4xr.framework.extensions.pathfinding.LayeredAreasNavigation.Portal<Node>
Enclosing class:
LayeredAreasNavigation<NodeId,​Nav extends XPathfinder<NodeId> & CanDealWithDynamicObstacle<NodeId>>

public class LayeredAreasNavigation.Portal<Node> extends Object
Representing a bi-directional "portal" between areas.
  • Field Details

    • lowPortal

      public Node lowPortal
      The portal from area n to go up to area n+1.
    • highPortal

      public Node highPortal
      The portal from area n+1 to go down to area n.
    • isOpen

      public boolean isOpen
      When true, the portal can be navigated through. Else it is blocked.
  • Constructor Details

    • Portal

      public Portal(Node n1, Node n2)