Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Class: PuzzleSolvers.ProgressVisualizer

Summary

Provides a default implementation for IProgressVisualizer which displays, on the console, one row of information for each cell currently under consideration, up to a specified recursion depth, highlighting for each cell the values under consideration, thus giving a somewhat informative idea of the amount of progress made in the puzzle.

Constructors

Provides a default implementation for IProgressVisualizer which displays, on the console, one row of information for each cell currently under consideration, up to a specified recursion depth, highlighting for each cell the values under consideration, thus giving a somewhat informative idea of the amount of progress made in the puzzle.

Instance methods

bool
IsActive(int recursionDepth)
Implements IProgressVisualizer.IsActive(int).

Instance fields

intLeaves a number of columns on the left of the console window beside the debug display.
intLeaves a number of rows at the top of the console window above the debug display.
Func<int, string> Specifies how the visualization should identify the cells in a puzzle (locations where digits are entered). When not specified, the cells are numbered from 0.
Func<int, string> Specifies how the visualization should identify the values in a puzzle (the digits that are being entered into the cells). When not specified, the values are numbered from Puzzle.MinValue.
objectIf not null, obtains a lock on this object while outputting information to the console.
bool Only show candidate values for each cell; useful when cells can have many possible values but the majority of them are not applicable most of the time.

Static fields

object If ProgressVisualizer.LockObject is null, a lock is obtained on this default object while outputting to the console.