pub struct EpistemicConstraintPlan {
pub constraint_index: usize,
pub literal_indices: Vec<usize>,
}Expand description
World-view integrity constraint lowered for accepted GPU execution.
An epistemic integrity constraint (:- know unsafe().) must reject a
candidate world view when the conjunction of its body literals evaluates
true under the selected epistemic semantics. Each body epistemic literal is
kept first-class as an EpistemicGpuPlan::epistemic_literals entry; this
plan only records which literal indices form the constraint conjunction so
the device constraint kernel can prune candidates whose accepted world view
satisfies the constraint body.
Fields§
§constraint_index: usizeSource-order constraint index.
literal_indices: Vec<usize>Indices into EpistemicGpuPlan::epistemic_literals forming the body conjunction.
The accepted world view violates the constraint exactly when every referenced literal’s negation-folded modal value holds, so the device kernel rejects a candidate when all of these literal assumption bits are set.
Trait Implementations§
Source§impl Clone for EpistemicConstraintPlan
impl Clone for EpistemicConstraintPlan
Source§fn clone(&self) -> EpistemicConstraintPlan
fn clone(&self) -> EpistemicConstraintPlan
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more