Interface LalMapNetwork.NativeSolveHook

Enclosing class:
LalMapNetwork

public static interface LalMapNetwork.NativeSolveHook
TEST-ONLY seam over the native SolverMAM solve of a lowered network. The Python tests monkeypatch SolverMAM.getAvgTable to feed the lowering a native result that loses throughput; this hook plays that role. It is never set in production code.
  • Method Summary

    Modifier and Type
    Method
    Description
    solve(Network network, SolverOptions options)
     
  • Method Details

    • solve

      Matrix[] solve(Network network, SolverOptions options)
      Parameters:
      network - the lowered native network
      options - the SolverMAM options the lowering would solve it with
      Returns:
      {QLen, Tput}, indexed as getAvgQLen and getAvgTput