public static void Replace(MoveList moves, PatternFunctionParameters <int> patternFunctionParameters) { double lValue = moves.GetValue(patternFunctionParameters[0]); moves.RemoveMove(patternFunctionParameters[0]); moves.SetMinValue(patternFunctionParameters[1], lValue); // redistribution (limited) }
/// <summary> /// Prunes moves from the list. /// </summary> /// <param name="moves">The moves.</param> public void PruneMoveList(MoveList moves) { if ((Options.PrunePassMove) && (moves.Count > 2)) { moves.RemoveMove(CoordinateSystem.PASS); } return; }
public static void AntiSuji(MoveList moves, PatternFunctionParameters <int> patternFunctionParameters) { moves.RemoveMove(patternFunctionParameters[0]); }
/// <summary> /// Prunes moves from the list. /// </summary> /// <param name="moves">The moves.</param> public void PruneMoveList(MoveList moves) { if ((Options.PrunePassMove) && (moves.Count > 2)) moves.RemoveMove(CoordinateSystem.PASS); return; }
public static void AntiSuji(MoveList moves, PatternFunctionParameters<int> patternFunctionParameters) { moves.RemoveMove(patternFunctionParameters[0]); }
public static void Replace(MoveList moves, PatternFunctionParameters<int> patternFunctionParameters) { double lValue = moves.GetValue(patternFunctionParameters[0]); moves.RemoveMove(patternFunctionParameters[0]); moves.SetMinValue(patternFunctionParameters[1], lValue); // redistribution (limited) }