pub struct GraphColoredVertices {
    bdd: Bdd,
    state_variables: Vec<BddVariable>,
    parameter_variables: Vec<BddVariable>,
}
Expand description

Symbolic representation of a coloured set of graph vertices, i.e. a subset of $V \times C$.

Fields

bdd: Bddstate_variables: Vec<BddVariable>parameter_variables: Vec<BddVariable>

Implementations

Basic utility operations.

Construct a new colored vertex set from a given bdd and symbolic context.

Construct a new colored vertex set by copying the context of the current set.

The contents of the set are completely replaced using the provided bdd, but the underlying SymbolicAsyncGraph remains the same.

Convert this set to a raw Bdd.

View this set as a raw Bdd.

Convert this set to a .dot graph.

Amount of storage used for this symbolic set.

Approximate size of this set (error grows for large sets).

Compute exact BigInt cardinality of this set.

Relation operations.

Remove every occurrence of a color form colors set.

Only retain colours in the supplied colors set.

Remove every occurrence of a vertex from vertices, regardless of color.

Retain only occurrences of vertices from vertices, regardless of color.

For every color, pick exactly one vertex.

For every vertex, pick exactly one color.

Pick one (vertex, color) pair from this set and return it as a singleton.

If the set is empty, return empty set.

Set of all colors which are in this set for at least one vertex.

Set of all vertices which are in this set for at least one colour.

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

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

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

This method tests for !=.

Set operations.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.