Table of Contents

Class Model<T>

Namespace
NanoByte.SatSolver
Assembly
NanoByte.SatSolver.dll

A satisfying assignment for a SatProblem<T>. Variables that were never constrained may be missing.

public sealed class Model<T> where T : IEquatable<T>

Type Parameters

T
Inheritance
object
Model<T>

Constructors

Model(IReadOnlyDictionary<T, bool>)

A satisfying assignment for a SatProblem<T>. Variables that were never constrained may be missing.

public Model(IReadOnlyDictionary<T, bool> assignment)

Parameters

assignment IReadOnlyDictionary<T, bool>

Properties

this[T]

The truth value assigned to value, or null if no assignment exists.

public bool? this[T value] { get; }

Parameters

value T

Property Value

bool?