Beispiel #1
0
        public void Test_CarSelection1()
        {
            IDecision tmp_project = TestFactory.CarSelectionProblem();

            System.Diagnostics.Debug.WriteLine(tmp_project.ToString());

            AnpSolver       tmp_solver     = new AnpSolver(tmp_project);
            IDecisionResult decisionResult = tmp_solver.Solve();

            Assert.IsNotNull(decisionResult, "success");
        }
Beispiel #2
0
        public void Test_CarSelection2()
        {
            //http://en.wikipedia.org/wiki/Analytic_hierarchy_process_%E2%80%94_Car_example
            //https://rpubs.com/gluc/ahp

            IDecision tmp_project = TestFactory.ComplexCarSelectionProblem();

            System.Diagnostics.Debug.WriteLine(tmp_project.ToString());

            AnpSolver       tmp_solver     = new AnpSolver(tmp_project);
            IDecisionResult decisionResult = tmp_solver.Solve();

            Assert.IsNotNull(decisionResult, "success");
        }