コード例 #1
0
        private Pattern GenerateSmartPattern(int lines)
        {
            var bins = TypeCode == "RACE_ORDER"
                ? PatternGenerator.CreateFectaPattern(lines, Legs.Length)
                : PatternGenerator.CreateSmartPattern(lines,
                                                      Legs.ToDictionary(l => l.LegOrder, l => l.Selections.Length));
            var pattern = new Pattern(bins.ToArray());

            SmartPickPatterns[lines] = pattern;
            return(pattern);
        }