pub enum ProblemDetails {
Root(Literal),
AIGER(Box<AIGERDetails>),
}
Expand description
Details of a Problem
in addition to the circuit structure
Variants§
Root(Literal)
Simple circuit with a single root
AIGER(Box<AIGERDetails>)
Details from the AIGER format
Implementations§
Source§impl ProblemDetails
impl ProblemDetails
Sourcepub fn apply_gate_map(&self, map: &[Literal]) -> Self
pub fn apply_gate_map(&self, map: &[Literal]) -> Self
Map the literals in self
based on gate_map
See Literal::apply_gate_map()
for more details.
Sourcepub fn apply_gate_map_in_place(&mut self, map: &[Literal])
pub fn apply_gate_map_in_place(&mut self, map: &[Literal])
In-place version of Self::apply_gate_map()
Trait Implementations§
Source§impl Clone for ProblemDetails
impl Clone for ProblemDetails
Source§fn clone(&self) -> ProblemDetails
fn clone(&self) -> ProblemDetails
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 ProblemDetails
impl Debug for ProblemDetails
Source§impl PartialEq for ProblemDetails
impl PartialEq for ProblemDetails
impl Eq for ProblemDetails
impl StructuralPartialEq for ProblemDetails
Auto Trait Implementations§
impl Freeze for ProblemDetails
impl RefUnwindSafe for ProblemDetails
impl Send for ProblemDetails
impl Sync for ProblemDetails
impl Unpin for ProblemDetails
impl UnwindSafe for ProblemDetails
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