pub struct ProofNode {
pub rule: String,
pub premises: Vec<NodeId>,
pub conclusion_axiom: Option<AxiomId>,
pub conclusion_sub: Option<(EntityId, EntityId)>,
pub conclusion_existential: Option<(EntityId, EntityId, EntityId)>,
pub conclusion_subproperty: Option<(EntityId, EntityId)>,
}Expand description
Single step in a reasoning proof.
Fields§
§rule: StringRule that produced this step.
premises: Vec<NodeId>Premise nodes in the proof graph.
conclusion_axiom: Option<AxiomId>Concluded axiom, when applicable.
conclusion_sub: Option<(EntityId, EntityId)>EL subsumption conclusion sub ⊑ sup.
conclusion_existential: Option<(EntityId, EntityId, EntityId)>EL existential conclusion.
conclusion_subproperty: Option<(EntityId, EntityId)>EL subproperty conclusion.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ProofNode
impl<'de> Deserialize<'de> for ProofNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProofNode
impl RefUnwindSafe for ProofNode
impl Send for ProofNode
impl Sync for ProofNode
impl Unpin for ProofNode
impl UnsafeUnpin for ProofNode
impl UnwindSafe for ProofNode
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