Struct batsat::clause::OccListsData

source ·
pub struct OccListsData<K: AsIndex, V> { /* private fields */ }
Expand description

List of occurrences of objects of type K (e.g. literals) in values of type V (e.g. clauses)

Implementations

Initialize occurrence list for the given idx

Obtain a fully usable occurrence list using the given predicate

oclist.lookup_mut_pred(idx, p) returns an up-to-date list of occurrences for idx. It will clean up the occurrence list with p if it’s dirty.

Cleanup entries marked as dirty (remove elements for which the predicate specifies they’re deleted)

Cleanup entry at idx

Mark index K as dirty, so it can be cleaned up later

Reset internal data

Reset internal data and free memory

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
The returned type after indexing.
Performs the indexing (container[index]) operation. Read more
Performs the mutable indexing (container[index]) operation. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.