Module results

Module results 

Source
Expand description

Contains the outputs of solving using the [Solver].

We differentiate between 3 different types of results:

On these results, different methods can be called which ensure that the solver is in the right state for these operations. For example, SatisfactionResultUnderAssumptions::UnsatisfiableUnderAssumptions allows you to extract a core consisting of the assumptions using [UnsatisfiableUnderAssumptions::extract_core].

Modules§

solution_iterator
Contains the structures corresponding to solution iterations.
unsatisfiable
Contains the representation of a unsatisfiable solution.

Structs§

Satisfiable
Solution
A solution which takes ownership of its inner structures.
SolutionReference
A solution which keeps reference to its inner structures.

Enums§

OptimisationResult
The result of a call to Solver::optimise.
SatisfactionResult
The result of a call to Solver::satisfy.
SatisfactionResultUnderAssumptions
The result of a call to Solver::satisfy_under_assumptions.

Traits§

ProblemSolution
A trait which specifies the common behaviours of Solution and SolutionReference.