Interface NetworkConstraint

  • All Superinterfaces:
    java.lang.Cloneable, java.io.Serializable
    All Known Implementing Classes:
    SystemConstraint

    public interface NetworkConstraint
    extends java.lang.Cloneable, java.io.Serializable
    This interface defines a general network constraint for network analysis. A network constraint at the node level means that only the current node and the currrent link are considered. A network constraint at the path level means that some or all path information is considered during the search. Note the constraint is checked during the search and implemented by the users.
    • Method Detail

      • requiresPathLinks

        boolean requiresPathLinks()
        Returns true if the constraint requires some or all path information.
      • isSatisfied

        boolean isSatisfied​(AnalysisInfo info)
        Checks if the constraint is satisfied.
        Parameters:
        info - the analysis information for the network constraint
        See Also:
        AnalysisInfo