code wiki / (root) / nx_uv_cached_solver_candidate_t280.nx

nx_uv_cached_solver_candidate_t280.nx

buildroot/runtime/nx_uv_cached_solver_candidate_t280.nx

7833 B159 linesdepth 6pulls 11 transitivereach 3 importersview sourcekind librarytopic uv
docsdependenciesstructsconstsfunctions

about

nx_uv_cached_solver_candidate_t280.nx -- Caches UV solve data per model to improve performance and reduce recomputation.

dependencies 1 imports · 3 importers

nx_nxa_corner_prepare_candidate_t2 nx_uv_cached_solver_candidate_ nx_uv_cached_solver_gate_t280.nx nx_uv_closed_cut_gate_t280.nx nx_uv_cotangent_audit_t280.nx

imports: nx_nxa_corner_prepare_candidate_t280.nx

imported by: nx_uv_cached_solver_gate_t280.nxnx_uv_closed_cut_gate_t280.nxnx_uv_cotangent_audit_t280.nx

structs

5struct UvCachedSolve

consts

10const UVC_YIELDED:i64=1

functions

11func uvc_now(s:*UvCachedSolve)->i64
called by 2: uvc_beginuvc_step
16func uvc_elapsed(a:i64,b:i64)->i64{if a<0{return 0-1};if b<a{return 0-1};return b-a}
called by 2: uvc_beginuvc_step
17func uvc_begin(m:*i64,c:i64)->*UvCachedSolve
50func uvc_free(s:*UvCachedSolve)->i64
called by 3: mainmainmain
56func uvc_step(s:*UvCachedSolve,budget:i64)->i64
called by 2: mainmain calls 2: uvc_nowuvc_elapsed