Example #1
0
        public ComparativeRunReport SingleComparativeRun(ITspSolver baseSolver, ITspSolver testedSolver,
                                                         int nodesInGraph   = 5, int maxX = 10, int maxY = 10,
                                                         SaveType saveType  = SaveType.OnFailure, Func <ComparativeRunReport, object> selectiveSave = null,
                                                         bool includeImages = false)
        {
            var graph = _graphGenerator.Generate(nodesInGraph, maxX, maxY);

            var comparativeReport = CompareWithGraph(graph, baseSolver, testedSolver, saveType, selectiveSave,
                                                     includeImages);

            return(comparativeReport);
        }
Example #2
0
        public void BoundBuilder()
        {
            var graph = _graphGenerator.Generate(11, 20, 20);

            RunWithGraph(graph, new NodePicker());
        }