Package jline.solvers.tr
Interface TransformSolve.Strategy
- All Known Implementing Classes:
ChainsStrategy,LcStrategy
- Enclosing class:
- TransformSolve
public static interface TransformSolve.Strategy
A transformation, as a pair of phases.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanconverged(TransformSolve.Expanded ctx, List<TransformSolve.Inner> res, int it) True when the sweep may stop.couple(TransformSolve.Expanded ctx, List<TransformSolve.Inner> res, int e) Updates the subproblems from the sweep so far.expand(Network model, NetworkStruct sn, SolverOptions options) Builds the subproblems and the context the lift will need.lift(TransformSolve.Expanded ctx, List<TransformSolve.Inner> res) Maps the subproblem metrics back onto the original model.
-
Method Details
-
expand
Builds the subproblems and the context the lift will need. -
lift
Maps the subproblem metrics back onto the original model. -
couple
Updates the subproblems from the sweep so far. Called only by an iterated strategy, immediately after each subproblem's solve, which is what makes the coupling Gauss-Seidel. -
converged
True when the sweep may stop. Called only by an iterated strategy.
-