Free cookie consent management tool by TermsFeed Policy Generator

source: stable/HeuristicLab.Problems.GraphColoring/3.3/GraphColoringProblem.cs @ 17604

Last change on this file since 17604 was 17181, checked in by swagner, 5 years ago

#2875: Merged r17180 from trunk to stable

File size: 29.7 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21
22using System;
23using System.Linq;
24using HeuristicLab.Analysis;
25using HeuristicLab.Common;
26using HeuristicLab.Core;
27using HeuristicLab.Data;
28using HeuristicLab.Encodings.LinearLinkageEncoding;
29using HeuristicLab.Optimization;
30using HeuristicLab.Optimization.Operators;
31using HeuristicLab.Parameters;
32using HEAL.Attic;
33using HeuristicLab.Problems.Instances;
34
35namespace HeuristicLab.Problems.GraphColoring {
36  public enum FitnessFunction { Prioritized, Penalized }
37  [Item("Graph Coloring Problem (GCP)", "Attempts to find a coloring using a minimal number of colors that doesn't produce a conflict.")]
38  [Creatable(CreatableAttribute.Categories.CombinatorialProblems, Priority = 135)]
39  [StorableType("007BD5F0-196C-4045-AC5D-BF287927C3DC")]
40  public sealed class GraphColoringProblem : SingleObjectiveBasicProblem<LinearLinkageEncoding>, IProblemInstanceConsumer<GCPData>, IProblemInstanceExporter<GCPData> {
41
42    public override bool Maximization {
43      get { return false; }
44    }
45
46    [Storable]
47    private IValueParameter<IntMatrix> adjacencyListParameter;
48    public IValueParameter<IntMatrix> AdjacencyListParameter {
49      get { return adjacencyListParameter; }
50    }
51    [Storable]
52    private IValueParameter<EnumValue<FitnessFunction>> fitnessFunctionParameter;
53    public IValueParameter<EnumValue<FitnessFunction>> FitnessFunctionParameter {
54      get { return fitnessFunctionParameter; }
55    }
56    public FitnessFunction FitnessFunction {
57      get { return fitnessFunctionParameter.Value.Value; }
58      set { fitnessFunctionParameter.Value.Value = value; }
59    }
60    [Storable]
61    private IValueParameter<IntValue> bestKnownColorsParameter;
62    public IValueParameter<IntValue> BestKnownColorsParameter {
63      get { return bestKnownColorsParameter; }
64    }
65
66    [StorableConstructor]
67    private GraphColoringProblem(StorableConstructorFlag _) : base(_) { }
68    private GraphColoringProblem(GraphColoringProblem original, Cloner cloner)
69      : base(original, cloner) {
70      adjacencyListParameter = cloner.Clone(original.adjacencyListParameter);
71      fitnessFunctionParameter = cloner.Clone(original.fitnessFunctionParameter);
72      bestKnownColorsParameter = cloner.Clone(original.bestKnownColorsParameter);
73      RegisterEventHandlers();
74    }
75    public GraphColoringProblem() {
76      Encoding = new LinearLinkageEncoding("lle");
77      Parameters.Add(adjacencyListParameter = new ValueParameter<IntMatrix>("Adjacency List", "The adjacency list that describes the (symmetric) edges in the graph with nodes from 0 to N-1."));
78      Parameters.Add(fitnessFunctionParameter = new ValueParameter<EnumValue<FitnessFunction>>("Fitness Function", "The function to use for evaluating the quality of a solution.", new EnumValue<FitnessFunction>(FitnessFunction.Penalized)));
79      Parameters.Add(bestKnownColorsParameter = new OptionalValueParameter<IntValue>("BestKnownColors", "The least amount of colors in a valid coloring."));
80
81      var imat = new IntMatrix(defaultInstance.Length, 2);
82      for (var i = 0; i < defaultInstance.Length; i++) {
83        imat[i, 0] = defaultInstance[i].Item1 - 1;
84        imat[i, 1] = defaultInstance[i].Item2 - 1;
85      }
86      Encoding.Length = defaultInstanceNodes;
87      AdjacencyListParameter.Value = imat;
88      BestKnownQualityParameter.Value = null;
89      BestKnownColorsParameter.Value = new IntValue(defaultInstanceBestColors);
90
91      InitializeOperators();
92      RegisterEventHandlers();
93    }
94
95    public override IDeepCloneable Clone(Cloner cloner) {
96      return new GraphColoringProblem(this, cloner);
97    }
98
99    protected override void OnEncodingChanged() {
100      base.OnEncodingChanged();
101
102      Parameterize();
103    }
104
105    [StorableHook(HookType.AfterDeserialization)]
106    private void AfterDeserialization() {
107      RegisterEventHandlers();
108    }
109
110    private void RegisterEventHandlers() {
111      fitnessFunctionParameter.ValueChanged += FitnessFunctionParameterOnValueChanged;
112      fitnessFunctionParameter.Value.ValueChanged += FitnessFunctionOnValueChanged;
113    }
114
115    private void FitnessFunctionParameterOnValueChanged(object sender, EventArgs eventArgs) {
116      fitnessFunctionParameter.Value.ValueChanged += FitnessFunctionOnValueChanged;
117      FitnessFunctionOnValueChanged(sender, eventArgs);
118    }
119
120    private void FitnessFunctionOnValueChanged(object sender, EventArgs eventArgs) {
121      BestKnownQualityParameter.Value = null;
122      if (FitnessFunction == FitnessFunction.Prioritized
123        && BestKnownColorsParameter.Value != null
124        && Encoding.Length > 0) {
125        var mag = Math.Pow(10, -(int)Math.Ceiling(Math.Log10(Encoding.Length)));
126        // the value is e.g. 0.051 for 0 conflicts with 51 colors (and less than 1000 nodes)
127        BestKnownQuality = BestKnownColorsParameter.Value.Value * mag;
128      } else BestKnownQualityParameter.Value = null;
129      OnReset();
130    }
131
132    public override double Evaluate(Individual individual, IRandom random) {
133      var adjList = adjacencyListParameter.Value;
134      var llee = individual.LinearLinkage(Encoding.Name).ToEndLinks(); // LLE-e encoding uses the highest indexed member as group number
135
136      switch (FitnessFunction) {
137        case FitnessFunction.Prioritized: {
138            var colors = llee.Distinct().Count();
139            var conflicts = CalculateConflicts(llee);
140            // number of conflicts is the integer part of the quality
141            // number of colors constitutes the fractional part
142            // the number of fractional digits is defined by the maximum number of possible colors (each node its own color)
143            var mag = Math.Pow(10, -(int)Math.Ceiling(Math.Log10(llee.Length)));
144            // the value is e.g. 4.03 for 4 conflicts with 3 colors (and less than 100 nodes)
145            return conflicts + colors * mag;
146          }
147        case FitnessFunction.Penalized: {
148            // Fitness function from
149            // David S. Johnson, Cecilia R. Aragon, Lyle A. McGeoch, and Catherine Schevon. 1991.
150            // Optimization by simulated annealing: An experimental evaluation; part II, graph coloring and number partitioning.
151            // Operations Research 39(3), pp. 378–406.
152            // All local optima of this function correspond to legal colorings.
153            // We need to calculate conflicts and nodes per color
154            var colors = llee.GroupBy(x => x).ToDictionary(x => x.Key, x => new EvaluationHelper() { ColorCount = x.Count() });
155            for (var r = 0; r < adjList.Rows; r++) {
156              var color1 = llee[adjList[r, 0]];
157              var color2 = llee[adjList[r, 1]];
158              if (color1 == color2) colors[color1].ConflictCount++;
159            }
160            return 2 * colors.Sum(x => x.Value.ColorCount * x.Value.ConflictCount) - colors.Sum(x => x.Value.ColorCount * x.Value.ColorCount);
161          }
162        default: throw new InvalidOperationException(string.Format("Unknown fitness function {0}.", FitnessFunction));
163      }
164    }
165
166    private class EvaluationHelper {
167      public int ColorCount { get; set; }
168      public int ConflictCount { get; set; }
169    }
170
171    public override void Analyze(Individual[] individuals, double[] qualities, ResultCollection results, IRandom random) {
172      var orderedIndividuals = individuals.Zip(qualities, (i, q) => new { Individual = i, Quality = q }).OrderBy(z => z.Quality);
173      var best = Maximization ? orderedIndividuals.Last().Individual.LinearLinkage(Encoding.Name) : orderedIndividuals.First().Individual.LinearLinkage(Encoding.Name);
174       
175      var lle = best.ToEndLinks();
176      var colors = lle.Distinct().Count();
177      var conflicts = CalculateConflicts(lle);
178     
179      IResult res;
180      int bestColors = int.MaxValue, bestConflicts = int.MaxValue;
181      var improvement = false;
182      if (!results.TryGetValue("Best Solution Conflicts", out res)) {
183        bestConflicts = conflicts;
184        res = new Result("Best Solution Conflicts", new IntValue(bestConflicts));
185        results.Add(res);
186      } else {
187        bestConflicts = ((IntValue)res.Value).Value;
188        improvement = conflicts < bestConflicts;
189        if (improvement) ((IntValue)res.Value).Value = bestConflicts = conflicts;
190      }
191      if (!results.TryGetValue("Best Solution Colors", out res)) {
192        bestColors = colors;
193        res = new Result("Best Solution Colors", new IntValue(bestColors));
194        results.Add(res);
195      } else {
196        bestColors = ((IntValue)res.Value).Value;
197        improvement = improvement || conflicts == bestConflicts && colors < bestColors;
198        if (improvement)
199          ((IntValue)res.Value).Value = bestColors = colors;
200      }
201      if (!results.TryGetValue("Best Solution", out res)) {
202        res = new Result("Best Solution", (LinearLinkage)best.Clone());
203        results.Add(res);
204      } else {
205        if (improvement)
206          res.Value = (LinearLinkage)best.Clone();
207      }
208
209      if (conflicts == 0) {
210        if (BestKnownColorsParameter.Value == null || BestKnownColorsParameter.Value.Value > colors)
211          BestKnownColorsParameter.Value = new IntValue(colors);
212      }
213    }
214
215    private int CalculateConflicts(int[] llee) {
216      var adjList = AdjacencyListParameter.Value;
217      var conflicts = 0;
218      for (var r = 0; r < adjList.Rows; r++) {
219        if (llee[adjList[r, 0]] == llee[adjList[r, 1]]) conflicts++; // both nodes are adjacent and have the same color (are in the same group)
220      }
221      return conflicts;
222    }
223
224    public void Load(GCPData data) {
225      Encoding.Length = data.Nodes;
226      AdjacencyListParameter.Value = new IntMatrix(data.Adjacencies);
227      if (data.BestKnownColoring != null) {
228        var colors = data.BestKnownColoring.Distinct().Count();
229        BestKnownColorsParameter.Value = new IntValue(colors);
230        if (FitnessFunction == FitnessFunction.Prioritized) {
231          var mag = Math.Pow(10, -(int)Math.Ceiling(Math.Log10(data.Nodes)));
232          BestKnownQuality = colors * mag;
233        } else {
234          var nodesPerColor = data.BestKnownColoring.GroupBy(x => x).Select(x => x.Count());
235          BestKnownQuality = -nodesPerColor.Sum(x => x * x);
236        }
237      } else if (data.BestKnownColors.HasValue) {
238        BestKnownColorsParameter.Value = new IntValue(data.BestKnownColors.Value);
239        if (FitnessFunction == FitnessFunction.Prioritized) {
240          var mag = Math.Pow(10, -(int)Math.Ceiling(Math.Log10(data.Nodes)));
241          // the value is e.g. 0.051 for 0 conflicts with 51 colors (and less than 1000 nodes)
242          BestKnownQuality = data.BestKnownColors.Value * mag;
243        } else BestKnownQualityParameter.Value = null;
244      } else {
245        BestKnownColorsParameter.Value = null;
246        BestKnownQualityParameter.Value = null;
247      }
248      Name = data.Name;
249      Description = data.Description;
250      OnReset();
251    }
252
253    public GCPData Export() {
254      var instance = new GCPData();
255      instance.Name = Name;
256      instance.Description = Description;
257      instance.Nodes = Encoding.Length;
258      var adjList = AdjacencyListParameter.Value;
259      instance.Adjacencies = new int[adjList.Rows, 2];
260      for (var r = 0; r < adjList.Rows; r++) {
261        instance.Adjacencies[r, 0] = adjList[r, 0];
262        instance.Adjacencies[r, 1] = adjList[r, 1];
263      }
264      if (BestKnownColorsParameter.Value != null)
265        instance.BestKnownColors = BestKnownColorsParameter.Value.Value;
266      return instance;
267    }
268
269    private void InitializeOperators() {
270      Operators.Add(new HammingSimilarityCalculator());
271      Operators.Add(new QualitySimilarityCalculator());
272      Operators.Add(new PopulationSimilarityAnalyzer(Operators.OfType<ISolutionSimilarityCalculator>()));
273
274      Parameterize();
275    }
276
277    private void Parameterize() {
278      foreach (var simCalc in Operators.OfType<ISolutionSimilarityCalculator>()) {
279        simCalc.SolutionVariableName = Encoding.Name;
280        simCalc.QualityVariableName = Evaluator.QualityParameter.ActualName;
281      }
282    }
283
284    #region Default Instance (myciel6.col)
285    private static readonly int defaultInstanceNodes = 95;
286    private static readonly int defaultInstanceBestColors = 7;
287    private static readonly Tuple<int, int>[] defaultInstance = {
288Tuple.Create(1, 2),
289Tuple.Create(1, 4),
290Tuple.Create(1, 7),
291Tuple.Create(1, 9),
292Tuple.Create(1, 13),
293Tuple.Create(1, 15),
294Tuple.Create(1, 18),
295Tuple.Create(1, 20),
296Tuple.Create(1, 25),
297Tuple.Create(1, 27),
298Tuple.Create(1, 30),
299Tuple.Create(1, 32),
300Tuple.Create(1, 36),
301Tuple.Create(1, 38),
302Tuple.Create(1, 41),
303Tuple.Create(1, 43),
304Tuple.Create(1, 49),
305Tuple.Create(1, 51),
306Tuple.Create(1, 54),
307Tuple.Create(1, 56),
308Tuple.Create(1, 60),
309Tuple.Create(1, 62),
310Tuple.Create(1, 65),
311Tuple.Create(1, 67),
312Tuple.Create(1, 72),
313Tuple.Create(1, 74),
314Tuple.Create(1, 77),
315Tuple.Create(1, 79),
316Tuple.Create(1, 83),
317Tuple.Create(1, 85),
318Tuple.Create(1, 88),
319Tuple.Create(1, 90),
320Tuple.Create(2, 3),
321Tuple.Create(2, 6),
322Tuple.Create(2, 8),
323Tuple.Create(2, 12),
324Tuple.Create(2, 14),
325Tuple.Create(2, 17),
326Tuple.Create(2, 19),
327Tuple.Create(2, 24),
328Tuple.Create(2, 26),
329Tuple.Create(2, 29),
330Tuple.Create(2, 31),
331Tuple.Create(2, 35),
332Tuple.Create(2, 37),
333Tuple.Create(2, 40),
334Tuple.Create(2, 42),
335Tuple.Create(2, 48),
336Tuple.Create(2, 50),
337Tuple.Create(2, 53),
338Tuple.Create(2, 55),
339Tuple.Create(2, 59),
340Tuple.Create(2, 61),
341Tuple.Create(2, 64),
342Tuple.Create(2, 66),
343Tuple.Create(2, 71),
344Tuple.Create(2, 73),
345Tuple.Create(2, 76),
346Tuple.Create(2, 78),
347Tuple.Create(2, 82),
348Tuple.Create(2, 84),
349Tuple.Create(2, 87),
350Tuple.Create(2, 89),
351Tuple.Create(3, 5),
352Tuple.Create(3, 7),
353Tuple.Create(3, 10),
354Tuple.Create(3, 13),
355Tuple.Create(3, 16),
356Tuple.Create(3, 18),
357Tuple.Create(3, 21),
358Tuple.Create(3, 25),
359Tuple.Create(3, 28),
360Tuple.Create(3, 30),
361Tuple.Create(3, 33),
362Tuple.Create(3, 36),
363Tuple.Create(3, 39),
364Tuple.Create(3, 41),
365Tuple.Create(3, 44),
366Tuple.Create(3, 49),
367Tuple.Create(3, 52),
368Tuple.Create(3, 54),
369Tuple.Create(3, 57),
370Tuple.Create(3, 60),
371Tuple.Create(3, 63),
372Tuple.Create(3, 65),
373Tuple.Create(3, 68),
374Tuple.Create(3, 72),
375Tuple.Create(3, 75),
376Tuple.Create(3, 77),
377Tuple.Create(3, 80),
378Tuple.Create(3, 83),
379Tuple.Create(3, 86),
380Tuple.Create(3, 88),
381Tuple.Create(3, 91),
382Tuple.Create(4, 5),
383Tuple.Create(4, 6),
384Tuple.Create(4, 10),
385Tuple.Create(4, 12),
386Tuple.Create(4, 16),
387Tuple.Create(4, 17),
388Tuple.Create(4, 21),
389Tuple.Create(4, 24),
390Tuple.Create(4, 28),
391Tuple.Create(4, 29),
392Tuple.Create(4, 33),
393Tuple.Create(4, 35),
394Tuple.Create(4, 39),
395Tuple.Create(4, 40),
396Tuple.Create(4, 44),
397Tuple.Create(4, 48),
398Tuple.Create(4, 52),
399Tuple.Create(4, 53),
400Tuple.Create(4, 57),
401Tuple.Create(4, 59),
402Tuple.Create(4, 63),
403Tuple.Create(4, 64),
404Tuple.Create(4, 68),
405Tuple.Create(4, 71),
406Tuple.Create(4, 75),
407Tuple.Create(4, 76),
408Tuple.Create(4, 80),
409Tuple.Create(4, 82),
410Tuple.Create(4, 86),
411Tuple.Create(4, 87),
412Tuple.Create(4, 91),
413Tuple.Create(5, 8),
414Tuple.Create(5, 9),
415Tuple.Create(5, 14),
416Tuple.Create(5, 15),
417Tuple.Create(5, 19),
418Tuple.Create(5, 20),
419Tuple.Create(5, 26),
420Tuple.Create(5, 27),
421Tuple.Create(5, 31),
422Tuple.Create(5, 32),
423Tuple.Create(5, 37),
424Tuple.Create(5, 38),
425Tuple.Create(5, 42),
426Tuple.Create(5, 43),
427Tuple.Create(5, 50),
428Tuple.Create(5, 51),
429Tuple.Create(5, 55),
430Tuple.Create(5, 56),
431Tuple.Create(5, 61),
432Tuple.Create(5, 62),
433Tuple.Create(5, 66),
434Tuple.Create(5, 67),
435Tuple.Create(5, 73),
436Tuple.Create(5, 74),
437Tuple.Create(5, 78),
438Tuple.Create(5, 79),
439Tuple.Create(5, 84),
440Tuple.Create(5, 85),
441Tuple.Create(5, 89),
442Tuple.Create(5, 90),
443Tuple.Create(6, 11),
444Tuple.Create(6, 13),
445Tuple.Create(6, 15),
446Tuple.Create(6, 22),
447Tuple.Create(6, 25),
448Tuple.Create(6, 27),
449Tuple.Create(6, 34),
450Tuple.Create(6, 36),
451Tuple.Create(6, 38),
452Tuple.Create(6, 45),
453Tuple.Create(6, 49),
454Tuple.Create(6, 51),
455Tuple.Create(6, 58),
456Tuple.Create(6, 60),
457Tuple.Create(6, 62),
458Tuple.Create(6, 69),
459Tuple.Create(6, 72),
460Tuple.Create(6, 74),
461Tuple.Create(6, 81),
462Tuple.Create(6, 83),
463Tuple.Create(6, 85),
464Tuple.Create(6, 92),
465Tuple.Create(7, 11),
466Tuple.Create(7, 12),
467Tuple.Create(7, 14),
468Tuple.Create(7, 22),
469Tuple.Create(7, 24),
470Tuple.Create(7, 26),
471Tuple.Create(7, 34),
472Tuple.Create(7, 35),
473Tuple.Create(7, 37),
474Tuple.Create(7, 45),
475Tuple.Create(7, 48),
476Tuple.Create(7, 50),
477Tuple.Create(7, 58),
478Tuple.Create(7, 59),
479Tuple.Create(7, 61),
480Tuple.Create(7, 69),
481Tuple.Create(7, 71),
482Tuple.Create(7, 73),
483Tuple.Create(7, 81),
484Tuple.Create(7, 82),
485Tuple.Create(7, 84),
486Tuple.Create(7, 92),
487Tuple.Create(8, 11),
488Tuple.Create(8, 13),
489Tuple.Create(8, 16),
490Tuple.Create(8, 22),
491Tuple.Create(8, 25),
492Tuple.Create(8, 28),
493Tuple.Create(8, 34),
494Tuple.Create(8, 36),
495Tuple.Create(8, 39),
496Tuple.Create(8, 45),
497Tuple.Create(8, 49),
498Tuple.Create(8, 52),
499Tuple.Create(8, 58),
500Tuple.Create(8, 60),
501Tuple.Create(8, 63),
502Tuple.Create(8, 69),
503Tuple.Create(8, 72),
504Tuple.Create(8, 75),
505Tuple.Create(8, 81),
506Tuple.Create(8, 83),
507Tuple.Create(8, 86),
508Tuple.Create(8, 92),
509Tuple.Create(9, 11),
510Tuple.Create(9, 12),
511Tuple.Create(9, 16),
512Tuple.Create(9, 22),
513Tuple.Create(9, 24),
514Tuple.Create(9, 28),
515Tuple.Create(9, 34),
516Tuple.Create(9, 35),
517Tuple.Create(9, 39),
518Tuple.Create(9, 45),
519Tuple.Create(9, 48),
520Tuple.Create(9, 52),
521Tuple.Create(9, 58),
522Tuple.Create(9, 59),
523Tuple.Create(9, 63),
524Tuple.Create(9, 69),
525Tuple.Create(9, 71),
526Tuple.Create(9, 75),
527Tuple.Create(9, 81),
528Tuple.Create(9, 82),
529Tuple.Create(9, 86),
530Tuple.Create(9, 92),
531Tuple.Create(10, 11),
532Tuple.Create(10, 14),
533Tuple.Create(10, 15),
534Tuple.Create(10, 22),
535Tuple.Create(10, 26),
536Tuple.Create(10, 27),
537Tuple.Create(10, 34),
538Tuple.Create(10, 37),
539Tuple.Create(10, 38),
540Tuple.Create(10, 45),
541Tuple.Create(10, 50),
542Tuple.Create(10, 51),
543Tuple.Create(10, 58),
544Tuple.Create(10, 61),
545Tuple.Create(10, 62),
546Tuple.Create(10, 69),
547Tuple.Create(10, 73),
548Tuple.Create(10, 74),
549Tuple.Create(10, 81),
550Tuple.Create(10, 84),
551Tuple.Create(10, 85),
552Tuple.Create(10, 92),
553Tuple.Create(11, 17),
554Tuple.Create(11, 18),
555Tuple.Create(11, 19),
556Tuple.Create(11, 20),
557Tuple.Create(11, 21),
558Tuple.Create(11, 29),
559Tuple.Create(11, 30),
560Tuple.Create(11, 31),
561Tuple.Create(11, 32),
562Tuple.Create(11, 33),
563Tuple.Create(11, 40),
564Tuple.Create(11, 41),
565Tuple.Create(11, 42),
566Tuple.Create(11, 43),
567Tuple.Create(11, 44),
568Tuple.Create(11, 53),
569Tuple.Create(11, 54),
570Tuple.Create(11, 55),
571Tuple.Create(11, 56),
572Tuple.Create(11, 57),
573Tuple.Create(11, 64),
574Tuple.Create(11, 65),
575Tuple.Create(11, 66),
576Tuple.Create(11, 67),
577Tuple.Create(11, 68),
578Tuple.Create(11, 76),
579Tuple.Create(11, 77),
580Tuple.Create(11, 78),
581Tuple.Create(11, 79),
582Tuple.Create(11, 80),
583Tuple.Create(11, 87),
584Tuple.Create(11, 88),
585Tuple.Create(11, 89),
586Tuple.Create(11, 90),
587Tuple.Create(11, 91),
588Tuple.Create(12, 23),
589Tuple.Create(12, 25),
590Tuple.Create(12, 27),
591Tuple.Create(12, 30),
592Tuple.Create(12, 32),
593Tuple.Create(12, 46),
594Tuple.Create(12, 49),
595Tuple.Create(12, 51),
596Tuple.Create(12, 54),
597Tuple.Create(12, 56),
598Tuple.Create(12, 70),
599Tuple.Create(12, 72),
600Tuple.Create(12, 74),
601Tuple.Create(12, 77),
602Tuple.Create(12, 79),
603Tuple.Create(12, 93),
604Tuple.Create(13, 23),
605Tuple.Create(13, 24),
606Tuple.Create(13, 26),
607Tuple.Create(13, 29),
608Tuple.Create(13, 31),
609Tuple.Create(13, 46),
610Tuple.Create(13, 48),
611Tuple.Create(13, 50),
612Tuple.Create(13, 53),
613Tuple.Create(13, 55),
614Tuple.Create(13, 70),
615Tuple.Create(13, 71),
616Tuple.Create(13, 73),
617Tuple.Create(13, 76),
618Tuple.Create(13, 78),
619Tuple.Create(13, 93),
620Tuple.Create(14, 23),
621Tuple.Create(14, 25),
622Tuple.Create(14, 28),
623Tuple.Create(14, 30),
624Tuple.Create(14, 33),
625Tuple.Create(14, 46),
626Tuple.Create(14, 49),
627Tuple.Create(14, 52),
628Tuple.Create(14, 54),
629Tuple.Create(14, 57),
630Tuple.Create(14, 70),
631Tuple.Create(14, 72),
632Tuple.Create(14, 75),
633Tuple.Create(14, 77),
634Tuple.Create(14, 80),
635Tuple.Create(14, 93),
636Tuple.Create(15, 23),
637Tuple.Create(15, 24),
638Tuple.Create(15, 28),
639Tuple.Create(15, 29),
640Tuple.Create(15, 33),
641Tuple.Create(15, 46),
642Tuple.Create(15, 48),
643Tuple.Create(15, 52),
644Tuple.Create(15, 53),
645Tuple.Create(15, 57),
646Tuple.Create(15, 70),
647Tuple.Create(15, 71),
648Tuple.Create(15, 75),
649Tuple.Create(15, 76),
650Tuple.Create(15, 80),
651Tuple.Create(15, 93),
652Tuple.Create(16, 23),
653Tuple.Create(16, 26),
654Tuple.Create(16, 27),
655Tuple.Create(16, 31),
656Tuple.Create(16, 32),
657Tuple.Create(16, 46),
658Tuple.Create(16, 50),
659Tuple.Create(16, 51),
660Tuple.Create(16, 55),
661Tuple.Create(16, 56),
662Tuple.Create(16, 70),
663Tuple.Create(16, 73),
664Tuple.Create(16, 74),
665Tuple.Create(16, 78),
666Tuple.Create(16, 79),
667Tuple.Create(16, 93),
668Tuple.Create(17, 23),
669Tuple.Create(17, 25),
670Tuple.Create(17, 27),
671Tuple.Create(17, 34),
672Tuple.Create(17, 46),
673Tuple.Create(17, 49),
674Tuple.Create(17, 51),
675Tuple.Create(17, 58),
676Tuple.Create(17, 70),
677Tuple.Create(17, 72),
678Tuple.Create(17, 74),
679Tuple.Create(17, 81),
680Tuple.Create(17, 93),
681Tuple.Create(18, 23),
682Tuple.Create(18, 24),
683Tuple.Create(18, 26),
684Tuple.Create(18, 34),
685Tuple.Create(18, 46),
686Tuple.Create(18, 48),
687Tuple.Create(18, 50),
688Tuple.Create(18, 58),
689Tuple.Create(18, 70),
690Tuple.Create(18, 71),
691Tuple.Create(18, 73),
692Tuple.Create(18, 81),
693Tuple.Create(18, 93),
694Tuple.Create(19, 23),
695Tuple.Create(19, 25),
696Tuple.Create(19, 28),
697Tuple.Create(19, 34),
698Tuple.Create(19, 46),
699Tuple.Create(19, 49),
700Tuple.Create(19, 52),
701Tuple.Create(19, 58),
702Tuple.Create(19, 70),
703Tuple.Create(19, 72),
704Tuple.Create(19, 75),
705Tuple.Create(19, 81),
706Tuple.Create(19, 93),
707Tuple.Create(20, 23),
708Tuple.Create(20, 24),
709Tuple.Create(20, 28),
710Tuple.Create(20, 34),
711Tuple.Create(20, 46),
712Tuple.Create(20, 48),
713Tuple.Create(20, 52),
714Tuple.Create(20, 58),
715Tuple.Create(20, 70),
716Tuple.Create(20, 71),
717Tuple.Create(20, 75),
718Tuple.Create(20, 81),
719Tuple.Create(20, 93),
720Tuple.Create(21, 23),
721Tuple.Create(21, 26),
722Tuple.Create(21, 27),
723Tuple.Create(21, 34),
724Tuple.Create(21, 46),
725Tuple.Create(21, 50),
726Tuple.Create(21, 51),
727Tuple.Create(21, 58),
728Tuple.Create(21, 70),
729Tuple.Create(21, 73),
730Tuple.Create(21, 74),
731Tuple.Create(21, 81),
732Tuple.Create(21, 93),
733Tuple.Create(22, 23),
734Tuple.Create(22, 29),
735Tuple.Create(22, 30),
736Tuple.Create(22, 31),
737Tuple.Create(22, 32),
738Tuple.Create(22, 33),
739Tuple.Create(22, 46),
740Tuple.Create(22, 53),
741Tuple.Create(22, 54),
742Tuple.Create(22, 55),
743Tuple.Create(22, 56),
744Tuple.Create(22, 57),
745Tuple.Create(22, 70),
746Tuple.Create(22, 76),
747Tuple.Create(22, 77),
748Tuple.Create(22, 78),
749Tuple.Create(22, 79),
750Tuple.Create(22, 80),
751Tuple.Create(22, 93),
752Tuple.Create(23, 35),
753Tuple.Create(23, 36),
754Tuple.Create(23, 37),
755Tuple.Create(23, 38),
756Tuple.Create(23, 39),
757Tuple.Create(23, 40),
758Tuple.Create(23, 41),
759Tuple.Create(23, 42),
760Tuple.Create(23, 43),
761Tuple.Create(23, 44),
762Tuple.Create(23, 45),
763Tuple.Create(23, 59),
764Tuple.Create(23, 60),
765Tuple.Create(23, 61),
766Tuple.Create(23, 62),
767Tuple.Create(23, 63),
768Tuple.Create(23, 64),
769Tuple.Create(23, 65),
770Tuple.Create(23, 66),
771Tuple.Create(23, 67),
772Tuple.Create(23, 68),
773Tuple.Create(23, 69),
774Tuple.Create(23, 82),
775Tuple.Create(23, 83),
776Tuple.Create(23, 84),
777Tuple.Create(23, 85),
778Tuple.Create(23, 86),
779Tuple.Create(23, 87),
780Tuple.Create(23, 88),
781Tuple.Create(23, 89),
782Tuple.Create(23, 90),
783Tuple.Create(23, 91),
784Tuple.Create(23, 92),
785Tuple.Create(24, 47),
786Tuple.Create(24, 49),
787Tuple.Create(24, 51),
788Tuple.Create(24, 54),
789Tuple.Create(24, 56),
790Tuple.Create(24, 60),
791Tuple.Create(24, 62),
792Tuple.Create(24, 65),
793Tuple.Create(24, 67),
794Tuple.Create(24, 94),
795Tuple.Create(25, 47),
796Tuple.Create(25, 48),
797Tuple.Create(25, 50),
798Tuple.Create(25, 53),
799Tuple.Create(25, 55),
800Tuple.Create(25, 59),
801Tuple.Create(25, 61),
802Tuple.Create(25, 64),
803Tuple.Create(25, 66),
804Tuple.Create(25, 94),
805Tuple.Create(26, 47),
806Tuple.Create(26, 49),
807Tuple.Create(26, 52),
808Tuple.Create(26, 54),
809Tuple.Create(26, 57),
810Tuple.Create(26, 60),
811Tuple.Create(26, 63),
812Tuple.Create(26, 65),
813Tuple.Create(26, 68),
814Tuple.Create(26, 94),
815Tuple.Create(27, 47),
816Tuple.Create(27, 48),
817Tuple.Create(27, 52),
818Tuple.Create(27, 53),
819Tuple.Create(27, 57),
820Tuple.Create(27, 59),
821Tuple.Create(27, 63),
822Tuple.Create(27, 64),
823Tuple.Create(27, 68),
824Tuple.Create(27, 94),
825Tuple.Create(28, 47),
826Tuple.Create(28, 50),
827Tuple.Create(28, 51),
828Tuple.Create(28, 55),
829Tuple.Create(28, 56),
830Tuple.Create(28, 61),
831Tuple.Create(28, 62),
832Tuple.Create(28, 66),
833Tuple.Create(28, 67),
834Tuple.Create(28, 94),
835Tuple.Create(29, 47),
836Tuple.Create(29, 49),
837Tuple.Create(29, 51),
838Tuple.Create(29, 58),
839Tuple.Create(29, 60),
840Tuple.Create(29, 62),
841Tuple.Create(29, 69),
842Tuple.Create(29, 94),
843Tuple.Create(30, 47),
844Tuple.Create(30, 48),
845Tuple.Create(30, 50),
846Tuple.Create(30, 58),
847Tuple.Create(30, 59),
848Tuple.Create(30, 61),
849Tuple.Create(30, 69),
850Tuple.Create(30, 94),
851Tuple.Create(31, 47),
852Tuple.Create(31, 49),
853Tuple.Create(31, 52),
854Tuple.Create(31, 58),
855Tuple.Create(31, 60),
856Tuple.Create(31, 63),
857Tuple.Create(31, 69),
858Tuple.Create(31, 94),
859Tuple.Create(32, 47),
860Tuple.Create(32, 48),
861Tuple.Create(32, 52),
862Tuple.Create(32, 58),
863Tuple.Create(32, 59),
864Tuple.Create(32, 63),
865Tuple.Create(32, 69),
866Tuple.Create(32, 94),
867Tuple.Create(33, 47),
868Tuple.Create(33, 50),
869Tuple.Create(33, 51),
870Tuple.Create(33, 58),
871Tuple.Create(33, 61),
872Tuple.Create(33, 62),
873Tuple.Create(33, 69),
874Tuple.Create(33, 94),
875Tuple.Create(34, 47),
876Tuple.Create(34, 53),
877Tuple.Create(34, 54),
878Tuple.Create(34, 55),
879Tuple.Create(34, 56),
880Tuple.Create(34, 57),
881Tuple.Create(34, 64),
882Tuple.Create(34, 65),
883Tuple.Create(34, 66),
884Tuple.Create(34, 67),
885Tuple.Create(34, 68),
886Tuple.Create(34, 94),
887Tuple.Create(35, 47),
888Tuple.Create(35, 49),
889Tuple.Create(35, 51),
890Tuple.Create(35, 54),
891Tuple.Create(35, 56),
892Tuple.Create(35, 70),
893Tuple.Create(35, 94),
894Tuple.Create(36, 47),
895Tuple.Create(36, 48),
896Tuple.Create(36, 50),
897Tuple.Create(36, 53),
898Tuple.Create(36, 55),
899Tuple.Create(36, 70),
900Tuple.Create(36, 94),
901Tuple.Create(37, 47),
902Tuple.Create(37, 49),
903Tuple.Create(37, 52),
904Tuple.Create(37, 54),
905Tuple.Create(37, 57),
906Tuple.Create(37, 70),
907Tuple.Create(37, 94),
908Tuple.Create(38, 47),
909Tuple.Create(38, 48),
910Tuple.Create(38, 52),
911Tuple.Create(38, 53),
912Tuple.Create(38, 57),
913Tuple.Create(38, 70),
914Tuple.Create(38, 94),
915Tuple.Create(39, 47),
916Tuple.Create(39, 50),
917Tuple.Create(39, 51),
918Tuple.Create(39, 55),
919Tuple.Create(39, 56),
920Tuple.Create(39, 70),
921Tuple.Create(39, 94),
922Tuple.Create(40, 47),
923Tuple.Create(40, 49),
924Tuple.Create(40, 51),
925Tuple.Create(40, 58),
926Tuple.Create(40, 70),
927Tuple.Create(40, 94),
928Tuple.Create(41, 47),
929Tuple.Create(41, 48),
930Tuple.Create(41, 50),
931Tuple.Create(41, 58),
932Tuple.Create(41, 70),
933Tuple.Create(41, 94),
934Tuple.Create(42, 47),
935Tuple.Create(42, 49),
936Tuple.Create(42, 52),
937Tuple.Create(42, 58),
938Tuple.Create(42, 70),
939Tuple.Create(42, 94),
940Tuple.Create(43, 47),
941Tuple.Create(43, 48),
942Tuple.Create(43, 52),
943Tuple.Create(43, 58),
944Tuple.Create(43, 70),
945Tuple.Create(43, 94),
946Tuple.Create(44, 47),
947Tuple.Create(44, 50),
948Tuple.Create(44, 51),
949Tuple.Create(44, 58),
950Tuple.Create(44, 70),
951Tuple.Create(44, 94),
952Tuple.Create(45, 47),
953Tuple.Create(45, 53),
954Tuple.Create(45, 54),
955Tuple.Create(45, 55),
956Tuple.Create(45, 56),
957Tuple.Create(45, 57),
958Tuple.Create(45, 70),
959Tuple.Create(45, 94),
960Tuple.Create(46, 47),
961Tuple.Create(46, 59),
962Tuple.Create(46, 60),
963Tuple.Create(46, 61),
964Tuple.Create(46, 62),
965Tuple.Create(46, 63),
966Tuple.Create(46, 64),
967Tuple.Create(46, 65),
968Tuple.Create(46, 66),
969Tuple.Create(46, 67),
970Tuple.Create(46, 68),
971Tuple.Create(46, 69),
972Tuple.Create(46, 94),
973Tuple.Create(47, 71),
974Tuple.Create(47, 72),
975Tuple.Create(47, 73),
976Tuple.Create(47, 74),
977Tuple.Create(47, 75),
978Tuple.Create(47, 76),
979Tuple.Create(47, 77),
980Tuple.Create(47, 78),
981Tuple.Create(47, 79),
982Tuple.Create(47, 80),
983Tuple.Create(47, 81),
984Tuple.Create(47, 82),
985Tuple.Create(47, 83),
986Tuple.Create(47, 84),
987Tuple.Create(47, 85),
988Tuple.Create(47, 86),
989Tuple.Create(47, 87),
990Tuple.Create(47, 88),
991Tuple.Create(47, 89),
992Tuple.Create(47, 90),
993Tuple.Create(47, 91),
994Tuple.Create(47, 92),
995Tuple.Create(47, 93),
996Tuple.Create(48, 95),
997Tuple.Create(49, 95),
998Tuple.Create(50, 95),
999Tuple.Create(51, 95),
1000Tuple.Create(52, 95),
1001Tuple.Create(53, 95),
1002Tuple.Create(54, 95),
1003Tuple.Create(55, 95),
1004Tuple.Create(56, 95),
1005Tuple.Create(57, 95),
1006Tuple.Create(58, 95),
1007Tuple.Create(59, 95),
1008Tuple.Create(60, 95),
1009Tuple.Create(61, 95),
1010Tuple.Create(62, 95),
1011Tuple.Create(63, 95),
1012Tuple.Create(64, 95),
1013Tuple.Create(65, 95),
1014Tuple.Create(66, 95),
1015Tuple.Create(67, 95),
1016Tuple.Create(68, 95),
1017Tuple.Create(69, 95),
1018Tuple.Create(70, 95),
1019Tuple.Create(71, 95),
1020Tuple.Create(72, 95),
1021Tuple.Create(73, 95),
1022Tuple.Create(74, 95),
1023Tuple.Create(75, 95),
1024Tuple.Create(76, 95),
1025Tuple.Create(77, 95),
1026Tuple.Create(78, 95),
1027Tuple.Create(79, 95),
1028Tuple.Create(80, 95),
1029Tuple.Create(81, 95),
1030Tuple.Create(82, 95),
1031Tuple.Create(83, 95),
1032Tuple.Create(84, 95),
1033Tuple.Create(85, 95),
1034Tuple.Create(86, 95),
1035Tuple.Create(87, 95),
1036Tuple.Create(88, 95),
1037Tuple.Create(89, 95),
1038Tuple.Create(90, 95),
1039Tuple.Create(91, 95),
1040Tuple.Create(92, 95),
1041Tuple.Create(93, 95),
1042Tuple.Create(94, 95)
1043    };
1044    #endregion
1045  }
1046}
Note: See TracBrowser for help on using the repository browser.