Expand description
Per-binding, three-valued policy evaluation of a model against a facts file
(domainforge evaluate).
No evaluation semantics live here. Graph policies are evaluated by
Policy::evaluate_bindings (the existing three-valued evaluator);
operation-bound policies by evaluate_precondition (the application
evaluator). This module only loads facts, routes each policy to its
evaluator and shapes the result.
Structs§
- Fact
Instance - Facts
- Parsed
domainforge.evaluate-facts.v1document. - Operation
Input
Constants§
Functions§
- evaluate_
model - Evaluate every policy of
graph(afterload_instances) and every operation-bound policy against the supplied operation inputs. Rows are ordered by policy id, then operation name; bindings by instance name. - load_
instances - Add the fact instances to
graph. Unknown entities, unknown or mistyped fields and duplicate names are errors, never silently dropped.