Package jline.examples.java.advanced
Class SolverCustomAlgorithm
java.lang.Object
jline.examples.java.advanced.SolverCustomAlgorithm
The bare solution algorithm of the custom-solver template.
This is the file to fill in: it receives the NetworkStruct and the
options and must return the six average-metric matrices. The template returns
zeros and says so, exactly as the MATLAB twin
examples/advanced/example_custom_solver/solver_custom.m does.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SolverResultsolver_custom(NetworkStruct sn, SolverOptions options) The solution algorithm proper: QN, UN, RN, TN, CN and XN for the model.
-
Constructor Details
-
SolverCustomAlgorithm
public SolverCustomAlgorithm()
-
-
Method Details
-
solver_custom
The solution algorithm proper: QN, UN, RN, TN, CN and XN for the model.- Parameters:
sn- the model structureoptions- the solver options- Returns:
- a result carrying the six average-metric matrices
-