Interface SolverCTMC.ParamSetter

Enclosing class:
SolverCTMC

public static interface SolverCTMC.ParamSetter
How a scalar model parameter theta is written onto a model.

Java 8 functional interface, so a caller writes (m, v) -> ((Queue) m.getNodes().get(1)).setService(cls, new Exp(v)). It receives a COPY of the model, never the caller's own.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(Network model, double value)
     
  • Method Details

    • apply

      void apply(Network model, double value)
      Parameters:
      model - a private copy of the model to write theta onto
      value - the value of theta