pub struct KnowledgeCompilerAdapter {
pub name: String,
pub kind: CompilerAdapterKind,
pub support: CompilerAdapterSupport,
pub input_format: CompilerInputFormat,
pub output_format: CompilerOutputFormat,
/* private fields */
}Expand description
Knowledge compiler adapter metadata used by bounded fixtures.
Fields§
§name: StringHuman-readable adapter name.
kind: CompilerAdapterKindAdapter kind.
support: CompilerAdapterSupportImplementation support status.
input_format: CompilerInputFormatInput format consumed by the adapter.
output_format: CompilerOutputFormatOutput format emitted by the adapter.
Implementations§
Source§impl KnowledgeCompilerAdapter
impl KnowledgeCompilerAdapter
Sourcepub fn external_ddnnf_text(name: impl Into<String>) -> Self
pub fn external_ddnnf_text(name: impl Into<String>) -> Self
Return an alternative external Decision-DNNF text adapter design.
Sourcepub fn external_c2d() -> Self
pub fn external_c2d() -> Self
Return the explicit c2d Decision-DNNF text adapter design.
Sourcepub fn external_mini_c2d() -> Self
pub fn external_mini_c2d() -> Self
Return the explicit miniC2D Decision-DNNF text adapter design.
Sourcepub fn supports_incremental_evidence(&self) -> bool
pub fn supports_incremental_evidence(&self) -> bool
Whether the adapter can update evidence without rebuilding the circuit.
Trait Implementations§
Source§impl Clone for KnowledgeCompilerAdapter
impl Clone for KnowledgeCompilerAdapter
Source§fn clone(&self) -> KnowledgeCompilerAdapter
fn clone(&self) -> KnowledgeCompilerAdapter
Returns a duplicate of the value. Read more
1.0.0 · 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 KnowledgeCompilerAdapter
impl Debug for KnowledgeCompilerAdapter
Source§impl PartialEq for KnowledgeCompilerAdapter
impl PartialEq for KnowledgeCompilerAdapter
impl Eq for KnowledgeCompilerAdapter
impl StructuralPartialEq for KnowledgeCompilerAdapter
Auto Trait Implementations§
impl Freeze for KnowledgeCompilerAdapter
impl RefUnwindSafe for KnowledgeCompilerAdapter
impl Send for KnowledgeCompilerAdapter
impl Sync for KnowledgeCompilerAdapter
impl Unpin for KnowledgeCompilerAdapter
impl UnsafeUnpin for KnowledgeCompilerAdapter
impl UnwindSafe for KnowledgeCompilerAdapter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more