pub struct GpuSolverProductionMaxSatCandidate<'a> {
pub score: u64,
pub cnf: &'a GpuCnf,
pub branch_var_limit: &'a TrackedCudaSlice<u32>,
}Expand description
One GPU-CDCL-backed candidate for bounded weighted MaxSAT production solving.
The candidate CNF should encode the hard clauses plus the soft-clause subset
represented by score. The adapter certifies each provided candidate through
the existing GPU CDCL SAT path; it does not enumerate assignments on CPU.
Fields§
§score: u64Candidate MaxSAT score represented by this satisfiable CNF.
cnf: &'a GpuCnfDevice-resident CNF for this MaxSAT candidate.
branch_var_limit: &'a TrackedCudaSlice<u32>Device-resident branch limit passed to the GPU CDCL solver.
Trait Implementations§
Source§impl<'a> Clone for GpuSolverProductionMaxSatCandidate<'a>
impl<'a> Clone for GpuSolverProductionMaxSatCandidate<'a>
Source§fn clone(&self) -> GpuSolverProductionMaxSatCandidate<'a>
fn clone(&self) -> GpuSolverProductionMaxSatCandidate<'a>
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 moreimpl<'a> Copy for GpuSolverProductionMaxSatCandidate<'a>
Auto Trait Implementations§
impl<'a> Freeze for GpuSolverProductionMaxSatCandidate<'a>
impl<'a> RefUnwindSafe for GpuSolverProductionMaxSatCandidate<'a>
impl<'a> Send for GpuSolverProductionMaxSatCandidate<'a>
impl<'a> Sync for GpuSolverProductionMaxSatCandidate<'a>
impl<'a> Unpin for GpuSolverProductionMaxSatCandidate<'a>
impl<'a> UnsafeUnpin for GpuSolverProductionMaxSatCandidate<'a>
impl<'a> UnwindSafe for GpuSolverProductionMaxSatCandidate<'a>
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