pub trait InitCertDefaultBlock: InitCert<BlockClauseGen = fn(Assignment) -> Clause> {
// Provided methods
fn new_default_blocking_cert<Cls>(
clauses: Cls,
objs: Vec<Objective>,
var_manager: VarManager,
opts: KernelOptions,
proof: Proof<Self::ProofWriter>,
) -> Result<Self>
where Cls: IntoIterator<Item = (Clause, AbsConstraintId)> { ... }
fn from_instance_default_blocking_cert(
inst: Instance,
opts: KernelOptions,
proof: Proof<Self::ProofWriter>,
) -> Result<Self> { ... }
}
Provided Methods§
Sourcefn new_default_blocking_cert<Cls>(
clauses: Cls,
objs: Vec<Objective>,
var_manager: VarManager,
opts: KernelOptions,
proof: Proof<Self::ProofWriter>,
) -> Result<Self>
fn new_default_blocking_cert<Cls>( clauses: Cls, objs: Vec<Objective>, var_manager: VarManager, opts: KernelOptions, proof: Proof<Self::ProofWriter>, ) -> Result<Self>
Initializes the algorithm with the default blocking clause generator
Sourcefn from_instance_default_blocking_cert(
inst: Instance,
opts: KernelOptions,
proof: Proof<Self::ProofWriter>,
) -> Result<Self>
fn from_instance_default_blocking_cert( inst: Instance, opts: KernelOptions, proof: Proof<Self::ProofWriter>, ) -> Result<Self>
Initializes the algorithm using an Instance
rather than iterators with the default
blocking clause generator
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.