Package collage.utils

Examples of collage.utils.SimulatedAnnealing


       
        //SimpleGridMaker sgm = new SimpleGridMaker();
        Dimension cellDim = new Dimension(2,2);
        //List<Cell> srcCells = sgm.getGrid(img, new Dimension(40,30), cellDim);
       
        SimulatedAnnealing sa = new SimulatedAnnealing(1000000, 0.00001, 0.99);
       
        SecondaryImagesConverter sic = new SecondaryImagesConverter(file);
        List<FeatureSet> candidates = sic.convertToFeatures(cellDim);
       
        List<Cell> srcCells = sa.perform(img, cellDim, candidates);

        NearestNeighbour nn = new NearestNeighbour();
        FeatureSet nearest;
        List<Cell> newCells = new ArrayList<Cell>();
       
View Full Code Here

TOP

Related Classes of collage.utils.SimulatedAnnealing

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.