public static void AddCandidate(this PatternMining p, int key) { p.Candidate[key] = (ushort)(p.GetCandidate(key) + 1); }
public static ushort GetCandidate(this PatternMining p, int patternCode, int cellIndex, int player) { return(p.GetCandidate(Key(patternCode, cellIndex, player))); }