Ejemplo n.º 1
0
        private void SortChains()
        {// give a more logical order to the fields (debugging purposes)
            TekFieldComparer sorter = new TekFieldComparer();

            for (int i = 0; i < Chains.Count; i++)
            {
                Chains[i].Sort(sorter);
            }
        }
Ejemplo n.º 2
0
 public BruteForceHeuristic() : base("Brute Force", HeuristicAction.haNone)
 {
     _SortedCandidates = new List <TekField>();
     _NonCandidates    = new List <TekField>();
     sorter            = new TekFieldComparer();
 }