Interface IVariable<T extends IVariable>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void copyState​(T v)
      Set this variable to have the same state as another one
      int getOrderNumber()
      Variables must allow the solver implementation to get/set an order number, which the solver uses to control evaluation order.
      void setOrderNumber​(int i)
      Variables must allow the solver implementation to get/set an order number, which the solver uses to control evaluation order.
    • Method Detail

      • getOrderNumber

        int getOrderNumber()
        Variables must allow the solver implementation to get/set an order number, which the solver uses to control evaluation order. It might be cleaner to hold this on the side, but we cannot tolerate any extra space. TODO: consider moving this functionality to a subinterface?
        Returns:
        a number used to order equation evaluation
      • setOrderNumber

        void setOrderNumber​(int i)
        Variables must allow the solver implementation to get/set an order number, which the solver uses to control evaluation order. It might be cleaner to hold this on the side, but we cannot tolerate any extra space. TODO: consider moving this functionality to a subinterface?
      • copyState

        void copyState​(T v)
        Set this variable to have the same state as another one