Class NFEBasicLink

    • Constructor Detail

      • NFEBasicLink

        public NFEBasicLink​(NFENode startNode,
                            NFENode endNode)
    • Method Detail

      • setLevel

        public void setLevel​(int level)
        Description copied from class: NFELink
        Sets the link's level
        Specified by:
        setLevel in class NFELink
        Parameters:
        level - the link's level
      • getLevel

        public int getLevel()
        Description copied from class: NFELink
        Gets the link's level
        Specified by:
        getLevel in class NFELink
        Returns:
        the link's level
      • setBidirected

        public void setBidirected​(boolean bidirected)
        Description copied from class: NFELink
        Sets whether the link is bidirected or not
        Specified by:
        setBidirected in class NFELink
        Parameters:
        bidirected - true for bidirected, false for single direction
      • isBidirected

        public boolean isBidirected()
        Description copied from class: NFELink
        Tells whether the link is bidirected or not
        Specified by:
        isBidirected in class NFELink
        Returns:
        true for bidirected, false for single direction
      • setParentLinkId

        public void setParentLinkId​(long parentLinkId)
        Description copied from class: NFELink
        Sets the link's parent link ID
        Specified by:
        setParentLinkId in class NFELink
        Parameters:
        parentLinkId - the link's parent link ID
      • getParentLinkId

        public long getParentLinkId()
        Description copied from class: NFELink
        Gets the link's parent link ID (if any)
        Specified by:
        getParentLinkId in class NFELink
        Returns:
        the link's parent link ID or -1 if the link does not have a parent link