Click or drag to resize
Dlx Class
Use this class to solve exact cover problems.
Inheritance Hierarchy
SystemObject
  DlxLibDlx

Namespace: DlxLib
Assembly: DlxLib (in DlxLib.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
public class Dlx

The Dlx type exposes the following members.

Constructors
  NameDescription
Public methodDlx
Callers should use this constructor when they do not need to be able to request cancellation.
Public methodCode exampleDlx(CancellationToken)
Callers should use this constructor when they need to be able to request cancellation.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodCode exampleSolveT(T)
Find all possible solutions to an exact cover problem given a 2-dimensional array of T.
Public methodCode exampleSolveT(T, FuncT, Boolean)
Find all possible solutions to an exact cover problem given a 2-dimensional array of T and a predicate.
Public methodCode exampleSolveT(T, Int32)
Find all possible solutions to an exact cover problem given a 2-dimensional array of T containing primary and secondary columns.
Public methodCode exampleSolveT(T, FuncT, Boolean, Int32)
Find all possible solutions to an exact cover problem given a 2-dimensional array of T containing primary and secondary columns and a predicate.
Public methodCode exampleSolveTData, TRow, TCol(TData, FuncTData, IEnumerableTRow, FuncTRow, IEnumerableTCol)
Find all possible solutions to an exact cover problem given an arbitrary data structure representing a matrix.
Public methodCode exampleSolveTData, TRow, TCol(TData, FuncTData, IEnumerableTRow, FuncTRow, IEnumerableTCol, FuncTCol, Boolean)
Find all possible solutions to an exact cover problem given an arbitrary data structure representing a matrix and a predicate.
Public methodCode exampleSolveTData, TRow, TCol(TData, FuncTData, IEnumerableTRow, FuncTRow, IEnumerableTCol, Int32)
Find all possible solutions to an exact cover problem given an arbitrary data structure representing a matrix containing primary and secondary columns.
Public methodCode exampleSolveTData, TRow, TCol(TData, FuncTData, IEnumerableTRow, FuncTRow, IEnumerableTCol, FuncTCol, Boolean, Int32)
Find all possible solutions to an exact cover problem given an arbitrary data structure representing a matrix containing primary and secondary columns and a predicate.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventCancelled
Occurs when the caller requests cancellation via the CancellationToken passed to Dlx(CancellationToken).
Public eventFinished
Occurs once when the internal search algorithm finishes.
Public eventSearchStep
Occurs for each set of rows considered by the internal search algorithm.
Public eventSolutionFound
Occurs for each solution found to the exact cover problem.
Public eventStarted
Occurs once when the internal search algorithm starts.
Top
See Also