pub enum Node {
True,
Atom(AtomId),
Not(FormulaId),
And(FormulaId, FormulaId),
Knows(AgentId, FormulaId),
Believes(AgentId, FormulaId),
Safe(AgentId, FormulaId),
CondBel(AgentId, FormulaId, FormulaId),
Common(AgentMask, FormulaId),
}Expand description
One node of the formula DAG. §4.2 fixes the operator set at six.
Variants§
True
Verum.
Atom(AtomId)
An atomic proposition.
Not(FormulaId)
Negation.
And(FormulaId, FormulaId)
Conjunction.
Knows(AgentId, FormulaId)
K[i] φ — box over ~ᵢ.
Believes(AgentId, FormulaId)
B[i] φ — box over Belᵢ.
Safe(AgentId, FormulaId)
□[i] φ — box over Rᵢ.
CondBel(AgentId, FormulaId, FormulaId)
B^ψ[i] φ — arguments are (agent, ψ, φ).
Common(AgentMask, FormulaId)
C[g] φ — box over the reflexive-transitive closure of ∪_{i∈g} ~ᵢ.
Trait Implementations§
impl Eq for Node
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more