pub struct Reasoner { /* private fields */ }Expand description
One native, storage-independent executor for the named RDF/RDFS profiles.
Implementations§
Source§impl Reasoner
impl Reasoner
Sourcepub const fn new(profile: ExecutionProfile, limits: RunLimits) -> Self
pub const fn new(profile: ExecutionProfile, limits: RunLimits) -> Self
Select an exact supported profile and explicit resource limits.
Sourcepub const fn profile(&self) -> ExecutionProfile
pub const fn profile(&self) -> ExecutionProfile
Exact selected execution contract.
Sourcepub const fn implementation_version(&self) -> &'static str
pub const fn implementation_version(&self) -> &'static str
Implementation package version to record alongside input/profile identity.
Sourcepub const fn rule_catalogue(&self) -> &'static str
pub const fn rule_catalogue(&self) -> &'static str
Pinned semantic rule catalogue identity for inference provenance.
Sourcepub async fn run<S: ReasoningStore>(
&self,
store: &mut S,
) -> Result<RunReport, ReasoningError<S::Error>>
pub async fn run<S: ReasoningStore>( &self, store: &mut S, ) -> Result<RunReport, ReasoningError<S::Error>>
Derive into caller-owned scratch until a fixpoint, retaining bounded state.
Memory is at most fourteen clauses, fixed-size bindings and two active cursors per join. Each round reads an immutable view; inserted tuples become join inputs next round. Stores must implement indexed probes and disk spill.
§Errors
Cancellation, resource exhaustion, unsupported shared rule shapes or any storage failure abort the run. Staged output must then be discarded.
Auto Trait Implementations§
impl Forget for Reasoner
impl Freeze for Reasoner
impl Move for Reasoner
impl RefUnwindSafe for Reasoner
impl Send for Reasoner
impl Sync for Reasoner
impl Unpin for Reasoner
impl UnsafeUnpin for Reasonerwhere
NonZeroU32Inner: UnsafeUnpin,
NonZeroU64Inner: UnsafeUnpin,
impl UnwindSafe for Reasoner
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