Struct dimacs::Clause [] [src]

pub struct Clause { /* fields omitted */ }

Represents a clause instance within a .cnf file.

Methods

impl Clause
[src]

Creates a new clause from a vector of literals.

Returns the number of literals of this clause.

Returns a slice over the literals of this clause.

Trait Implementations

impl Debug for Clause
[src]

Formats the value using the given formatter.

impl Clone for Clause
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Clause
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Clause
[src]