Class UniIntDistFunction

java.lang.Object
de.uka.ipd.sdq.simucomframework.variables.functions.AbstractProbDistFunction
de.uka.ipd.sdq.simucomframework.variables.functions.UniIntDistFunction
All Implemented Interfaces:
IFunction

public class UniIntDistFunction extends AbstractProbDistFunction
  • Constructor Details

    • UniIntDistFunction

      public UniIntDistFunction(de.uka.ipd.sdq.probfunction.math.IRandomGenerator random, de.uka.ipd.sdq.probfunction.math.IPDFFactory factory)
  • Method Details

    • checkParameters

      public boolean checkParameters(List<Object> parameters)
      Description copied from interface: IFunction
      Test whether the given parameters can be processed by this function
      Parameters:
      parameters - A set of parameters to be processed
      Returns:
      true if the parameters fit to the functions preconditions, false otherwise
    • evaluate

      public Object evaluate(List<Object> parameters)
      Description copied from interface: IFunction
      Evaluate the functions result using the parameters given
      Parameters:
      parameters - Parameters for the function
      Returns:
      Value of the function