MCPcopy Create free account
hub / github.com/dagit/rust-prolog / solve_step

Method solve_step

src/solve.rs:151–248  ·  view source on GitHub ↗

Iterative solver for a single depth level. Replaces the former mutually-recursive Solver::solve/continue_search pair. Every former recursive call was a tail call, so each maps to updating (asrl, c, n) and continuing the loop. Backtracking pops from self.choices. */

(&mut self, mut asrl: Database, mut c: FramableClause, mut n: i32)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

solver_nextMethod · 0.80

Calls 2

is_complementaryFunction · 0.85
reduce_atomFunction · 0.85

Tested by

no test coverage detected