pub struct MaterializationReport {
pub initial_axiom_count: usize,
pub final_axiom_count: usize,
pub rdfs_inferred: usize,
pub inferred_by_rule: BTreeMap<RlRule, usize>,
pub trace: InferenceTrace,
pub clashes: Vec<String>,
pub disjoint_clash_keys: HashSet<(EntityId, EntityId, EntityId)>,
pub same_as_clash_keys: HashSet<(EntityId, EntityId)>,
}Expand description
Summary of RL saturation over an ontology (includes prior RDFS pass).
Fields§
§initial_axiom_count: usize§final_axiom_count: usize§rdfs_inferred: usize§inferred_by_rule: BTreeMap<RlRule, usize>§trace: InferenceTrace§clashes: Vec<String>§disjoint_clash_keys: HashSet<(EntityId, EntityId, EntityId)>Canonical disjoint-clash keys already reported (not serialized).
same_as_clash_keys: HashSet<(EntityId, EntityId)>Canonical sameAs/differentFrom clash pairs already reported (not serialized).
Implementations§
Source§impl MaterializationReport
impl MaterializationReport
pub fn inferred_total(&self) -> usize
Trait Implementations§
Source§impl Clone for MaterializationReport
impl Clone for MaterializationReport
Source§fn clone(&self) -> MaterializationReport
fn clone(&self) -> MaterializationReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MaterializationReport
impl Debug for MaterializationReport
impl Eq for MaterializationReport
Source§impl PartialEq for MaterializationReport
impl PartialEq for MaterializationReport
Source§fn eq(&self, other: &MaterializationReport) -> bool
fn eq(&self, other: &MaterializationReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MaterializationReport
impl Serialize for MaterializationReport
impl StructuralPartialEq for MaterializationReport
Auto Trait Implementations§
impl Freeze for MaterializationReport
impl RefUnwindSafe for MaterializationReport
impl Send for MaterializationReport
impl Sync for MaterializationReport
impl Unpin for MaterializationReport
impl UnsafeUnpin for MaterializationReport
impl UnwindSafe for MaterializationReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.