Interface INodeFilterReason

All Known Implementing Classes:
NodeFilterReason

public interface INodeFilterReason
This interface provides methods to set a certain quotient of penalty points, if this threshold of a INodeFilterReason has been surpassed the Node can be filtered out and put into another Route.
Since:
26/07/2018
Version:
10/1/2010
Author:
DNA
  • Method Details

    • setQuotient

      void setQuotient(double qoutient)
      Sets the quotient of penalty points of a INodeFilterReason. The quotient weighs penalty points against antipenalty points. If the quotient has been surpassed, the Node is being filtered out.
      Parameters:
      qoutient - the double quotient
    • getQuotient

      double getQuotient()
      Gets the quotient of penalty points of a INodeFilterReason. The quotient weighs penalty points against antipenalty points. If the quotient has been surpassed, the Node is being filtered out.
      Returns:
      the quotient
    • getDescription

      String getDescription()
      Gets the title of the INodeFilterReason.
      Returns:
      the title of the NodeFilterReason
    • getNode

      Gets the INode that has been filtered out
      Returns:
      the IOptimizationElement
    • setProtected

      void setProtected()
    • isProtected

      boolean isProtected()
    • setExtraInfo

      void setExtraInfo(String extraInfo)