pub struct GpuSolverProductionWeightedMaxSatSelection<'a> {
pub soft_clause_indices: &'a [usize],
pub status: GpuSolverProductionMaxSatSearchStatus,
}Expand description
One caller-declared weighted soft-clause selection for GPU MaxSAT search encoding.
The adapter treats soft_clause_indices as seed soft clauses for a bounded
search candidate, completes any upper-bound boundary candidates implied by
UNSAT seeds, uploads each candidate with the existing GPU CNF layout, and
certifies status through GPU CDCL. It does not enumerate assignments on CPU.
Fields§
§soft_clause_indices: &'a [usize]Indices of weighted soft clauses selected for this bounded candidate.
status: GpuSolverProductionMaxSatSearchStatusExpected GPU-CDCL status for the encoded selected-clause CNF.
Trait Implementations§
Source§impl<'a> Clone for GpuSolverProductionWeightedMaxSatSelection<'a>
impl<'a> Clone for GpuSolverProductionWeightedMaxSatSelection<'a>
Source§fn clone(&self) -> GpuSolverProductionWeightedMaxSatSelection<'a>
fn clone(&self) -> GpuSolverProductionWeightedMaxSatSelection<'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 GpuSolverProductionWeightedMaxSatSelection<'a>
Auto Trait Implementations§
impl<'a> Freeze for GpuSolverProductionWeightedMaxSatSelection<'a>
impl<'a> RefUnwindSafe for GpuSolverProductionWeightedMaxSatSelection<'a>
impl<'a> Send for GpuSolverProductionWeightedMaxSatSelection<'a>
impl<'a> Sync for GpuSolverProductionWeightedMaxSatSelection<'a>
impl<'a> Unpin for GpuSolverProductionWeightedMaxSatSelection<'a>
impl<'a> UnsafeUnpin for GpuSolverProductionWeightedMaxSatSelection<'a>
impl<'a> UnwindSafe for GpuSolverProductionWeightedMaxSatSelection<'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