Class SolverCustomAlgorithm

java.lang.Object
jline.examples.java.advanced.SolverCustomAlgorithm

public class SolverCustomAlgorithm extends Object
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 Details

    • SolverCustomAlgorithm

      public SolverCustomAlgorithm()
  • Method Details

    • solver_custom

      public static SolverResult solver_custom(NetworkStruct sn, SolverOptions options)
      The solution algorithm proper: QN, UN, RN, TN, CN and XN for the model.
      Parameters:
      sn - the model structure
      options - the solver options
      Returns:
      a result carrying the six average-metric matrices