Examples of analyseSensitivity()


Examples of eu.planets_project.pp.plato.bean.ResultNode.analyseSensitivity()

        // in other words the current weighting is unstable
        sf1.setWeight(0.49);
        sf2.setWeight(0.51);
       
        ResultNode resultRoot = new ResultNode(root, new WeightedSum(), alternatives);
        resultRoot.analyseSensitivity(weightModifier,
                SensitivityAnalysisTestFactory.getSensitivityTest(root, new WeightedSum(), alternatives));
        assert(resultRoot.isSensitive());
    }
   
       
View Full Code Here

Examples of eu.planets_project.pp.plato.bean.ResultNode.analyseSensitivity()

        // a change by 0.04 is not much which means this weighting is unstable
        sf1.setWeight(0.47);
        sf2.setWeight(0.53);
       
        ResultNode resultRoot = new ResultNode(root, new WeightedSum(), alternatives);
        resultRoot.analyseSensitivity(weightModifier,
                SensitivityAnalysisTestFactory.getSensitivityTest(root, new WeightedSum(), alternatives));
       
        assert(resultRoot.isSensitive());
    }
   
View Full Code Here

Examples of eu.planets_project.pp.plato.bean.ResultNode.analyseSensitivity()

        // a change by 0.04 is not much which means this weighting is unstable
        sf1.setWeight(0.46);
        sf2.setWeight(0.54);
       
        ResultNode resultRoot = new ResultNode(root, new WeightedSum(), alternatives);
        resultRoot.analyseSensitivity(weightModifier,
                SensitivityAnalysisTestFactory.getSensitivityTest(root, new WeightedSum(), alternatives));
       
        assert(resultRoot.isSensitive());
    }
   
View Full Code Here

Examples of eu.planets_project.pp.plato.bean.ResultNode.analyseSensitivity()

        // a change by 0.04 is not much which means this weighting is unstable
        sf1.setWeight(0.45);
        sf2.setWeight(0.55);
       
        ResultNode resultRoot = new ResultNode(root, new WeightedSum(), alternatives);
        resultRoot.analyseSensitivity(weightModifier,
                SensitivityAnalysisTestFactory.getSensitivityTest(root, new WeightedSum(), alternatives));
        assert(resultRoot.isSensitive());
    }
   
    public void testStableWeights() {
View Full Code Here

Examples of eu.planets_project.pp.plato.bean.ResultNode.analyseSensitivity()

        // (0.19->0.51 and 0.81->0.49), this means the weighting is stable
        sf1.setWeight(0.19);
        sf2.setWeight(0.81);
       
        ResultNode resultRoot = new ResultNode(root, new WeightedSum(), alternatives);
        resultRoot.analyseSensitivity(weightModifier,
                SensitivityAnalysisTestFactory.getSensitivityTest(root, new WeightedSum(), alternatives));
       
        assert(!resultRoot.isSensitive());
    }
   
View Full Code Here

Examples of eu.planets_project.pp.plato.bean.ResultNode.analyseSensitivity()

        // a change by 0.11 is considered a lot, therefor this weighting is stable
        sf1.setWeight(0.4);
        sf2.setWeight(0.6);
       
        ResultNode resultRoot = new ResultNode(root, new WeightedSum(), alternatives);
        resultRoot.analyseSensitivity(weightModifier,
                SensitivityAnalysisTestFactory.getSensitivityTest(root, new WeightedSum(), alternatives));
       
        assert(!resultRoot.isSensitive());
    }
   
View Full Code Here

Examples of eu.planets_project.pp.plato.bean.ResultNode.analyseSensitivity()

        // a change by 0.11 is considered a lot, therefor this weighting is stable
        sf1.setWeight(0.44);
        sf2.setWeight(0.56);
       
        ResultNode resultRoot = new ResultNode(root, new WeightedSum(), alternatives);
        resultRoot.analyseSensitivity(weightModifier,
                SensitivityAnalysisTestFactory.getSensitivityTest(root, new WeightedSum(), alternatives));
       
        assert(!resultRoot.isSensitive());
    }
   
View Full Code Here

Examples of eu.planets_project.pp.plato.bean.ResultNode.analyseSensitivity()

        // a change by 0.11 is considered a lot, therefor this weighting is stable
        sf1.setWeight(0.43);
        sf2.setWeight(0.57);
       
        ResultNode resultRoot = new ResultNode(root, new WeightedSum(), alternatives);
        resultRoot.analyseSensitivity(weightModifier,
                SensitivityAnalysisTestFactory.getSensitivityTest(root, new WeightedSum(), alternatives));
       
        assert(!resultRoot.isSensitive());
    }
   
View Full Code Here

Examples of eu.planets_project.pp.plato.bean.ResultNode.analyseSensitivity()

        sf1.setWeight(sf1Weight);
        sf2.setWeight(sf2Weight);
        sf3.setWeight(sf3Weight);
       
        ResultNode resultRoot = new ResultNode(root, new WeightedSum(), alternatives);
        resultRoot.analyseSensitivity(weightModifier,
                SensitivityAnalysisTestFactory.getSensitivityTest(root, new WeightedSum(), alternatives));
       
        assert(resultRoot.isSensitive());
    }
    @Test
View Full Code Here

Examples of eu.planets_project.pp.plato.bean.ResultNode.analyseSensitivity()

        sf1.setWeight(sf1Weight);
        sf2.setWeight(sf2Weight);
        sf3.setWeight(sf3Weight);
       
        ResultNode resultRoot = new ResultNode(root, new WeightedSum(), alternatives);
        resultRoot.analyseSensitivity(weightModifier,
                SensitivityAnalysisTestFactory.getSensitivityTest(root, new WeightedSum(), alternatives));

        assert(resultRoot.isSensitive());
    }
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.