Package jline.solvers.ctmc
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
-
Method Details
-
apply
- Parameters:
model- a private copy of the model to write theta ontovalue- the value of theta
-