Package jline.solvers.ctmc
Class SolverCTMC.symbolicGeneratorResult
java.lang.Object
jline.solvers.ctmc.SolverCTMC.symbolicGeneratorResult
- Enclosing class:
SolverCTMC
-
Field Summary
FieldsModifier and TypeFieldDescriptionNormalized filtration matrix of each event (coefficient of its symbol); empty if the event has no positive ratesPer-event contribution to the symbolic infinitesimal generator (diagonal included)booleanTrue if event filtrations are divided by their symbol instead of multipliedSymbol names x1..xE; null for events with no positive rates -
Constructor Summary
ConstructorsConstructorDescriptionsymbolicGeneratorResult(MatrixCell eventFilt, MatrixCell infGenTerms, List<String> symbols, boolean invertSymbol, Matrix stateSpace, MatrixCell nodeStateSpace, Map<Integer, Sync> syncInfo) -
Method Summary
Modifier and TypeMethodDescriptionevalInfGen(double[] x) Evaluate the symbolic generator at the given symbol values.evalInfGen(Map<String, Double> assignment) Evaluate the symbolic generator at the given symbol assignment.getSymbolicEntry(int i, int j) Symbolic expression of generator entry (i,j), e.g.voidPrint the symbolic generator, one row of expressions per state.
-
Field Details
-
eventFilt
Normalized filtration matrix of each event (coefficient of its symbol); empty if the event has no positive rates -
infGenTerms
Per-event contribution to the symbolic infinitesimal generator (diagonal included) -
symbols
Symbol names x1..xE; null for events with no positive rates -
invertSymbol
public boolean invertSymbolTrue if event filtrations are divided by their symbol instead of multiplied -
stateSpace
-
nodeStateSpace
-
syncInfo
-
-
Constructor Details
-
symbolicGeneratorResult
public symbolicGeneratorResult(MatrixCell eventFilt, MatrixCell infGenTerms, List<String> symbols, boolean invertSymbol, Matrix stateSpace, MatrixCell nodeStateSpace, Map<Integer, Sync> syncInfo)
-
-
Method Details
-
evalInfGen
Evaluate the symbolic generator at the given symbol values.- Parameters:
x- value of symbol xe at index e-1, one per event- Returns:
- numeric infinitesimal generator
-
evalInfGen
Evaluate the symbolic generator at the given symbol assignment.- Parameters:
assignment- map from symbol name (e.g. "x1") to value- Returns:
- numeric infinitesimal generator
-
getSymbolicEntry
Symbolic expression of generator entry (i,j), e.g. "2*x1 - 3*x2".- Parameters:
i- row indexj- column index- Returns:
- expression string; "0" if the entry is zero
-
prettyPrint
public void prettyPrint()Print the symbolic generator, one row of expressions per state.
-