Interface LogicalNode

    • Method Detail

      • getId

        long getId()
        Returns the node ID
        Returns:
        node ID
      • getCost

        double getCost()
        Returns the cost of this node.
        Returns:
        node cost
      • setCost

        void setCost​(double cost)
        Sets the cost of this node.
        Parameters:
        cost - node cost
      • getMaxLinkLevel

        int getMaxLinkLevel()
        Returns the maximum link level of the links incident to this node.
        Returns:
        the maximum link level of the links incident to this node
      • setMaxLinkLevel

        void setMaxLinkLevel​(int maxLinkLevel)
        Sets the maximum link level of the links incident to this node.
        Parameters:
        maxLinkLevel - maximum link level of the links incident to this node
      • isActive

        boolean isActive()
        Checks whether the node is active.
        Returns:
        true if the node is active
      • setIsActive

        void setIsActive​(boolean isActive)
        Sets whether this node is active.
        Parameters:
        isActive - true if the node is active; false otherwise.
      • update

        void update​(LogicalNode node)
        Copies the attributes of the input node to this node.
        Parameters:
        node - node containing the attributes to copy from
      • getCategorizedUserData

        CategorizedUserData getCategorizedUserData()
        Returns categorized user data.
        Returns:
      • setCategorizedUserData

        void setCategorizedUserData​(CategorizedUserData userData)
        Sets categorized user data.
        Parameters:
        userData -
      • getUserData

        UserData getUserData​(int category)
        Returns user data for the specified category.
        Returns:
      • setUserData

        void setUserData​(int category,
                         UserData userData)
        Sets user data for the specified category.
        Parameters:
        userData -
      • clone

        java.lang.Object clone()
                        throws java.lang.CloneNotSupportedException
        Support cloneable
        Returns:
        cloned object
        Throws:
        java.lang.CloneNotSupportedException