KociembaSolver class
Herbert Kociemba's two-phase algorithm implementation.
Constructors
- KociembaSolver()
-
Creates an instance of KociembaSolver class.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
solve(
Cube cube, {int maxDepth = Solver.defaultMaxDepth, Duration timeout = Solver.defaultTimeout}) → Solution? -
Returns the Solution for the
cube
with a maximum ofmaxDepth
moves ornull
if thetimeout
is exceeded or there is no Solution.override -
solveDeeply(
Cube cube, {Duration timeout = defaultTimeout}) → Stream< Solution> -
Gets the
Solution
s as much as possible until the minimum number of moves is reached or thetimeout
is exceeded.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited