Package org.uncommons.maths.random

Examples of org.uncommons.maths.random.XORShiftRNG


        @Override
        protected List<ColouredPolygon> performTask() throws Exception
        {
            Dimension canvasSize = new Dimension(targetImage.getWidth(), targetImage.getHeight());

            Random rng = new XORShiftRNG();
            FitnessEvaluator<List<ColouredPolygon>> evaluator
                = new CachingFitnessEvaluator<List<ColouredPolygon>>(new PolygonImageEvaluator(targetImage));
            PolygonImageFactory factory = new PolygonImageFactory(canvasSize);
            EvolutionaryOperator<List<ColouredPolygon>> pipeline
                = probabilitiesPanel.createEvolutionPipeline(factory, canvasSize, rng);
View Full Code Here

TOP

Related Classes of org.uncommons.maths.random.XORShiftRNG

Copyright © 2018 www.massapicom. 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.