Package 

Class NumericConstant

  • All Implemented Interfaces:
    it.unibo.alchemist.loader.variables.DependentVariable , java.io.Serializable

    
    public final class NumericConstant
     implements DependentVariable<Number>
                        

    A numeric constant.

    • Method Summary

      Modifier and Type Method Description
      Number getWith(Map<String, Object> variables) Given the current controlled variables, computes the current values forthis variable.
      • Methods inherited from class it.unibo.alchemist.loader.variables.DependentVariable

        getWith
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NumericConstant

        NumericConstant(Number n)
        Parameters:
        n - the number
    • Method Detail

      • getWith

         Number getWith(Map<String, Object> variables)

        Given the current controlled variables, computes the current values forthis variable.

        Parameters:
        variables - a mapping between variable names and values