示例#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);
            }
        }
 public BruteForceHeuristic() : base("Brute Force", HeuristicAction.haNone)
 {
     _SortedCandidates = new List <TekField>();
     _NonCandidates    = new List <TekField>();
     sorter            = new TekFieldComparer();
 }