Package cc.redberry.core.tensor.random

Examples of cc.redberry.core.tensor.random.RandomProduct.reset()


        RandomProduct rp = new RandomProduct(80, 4,
                new int[]{5, 0, 0, 0}, //Min Free Indices
                new int[]{10, 0, 0, 0}, //Indices count
                new int[]{7, 0, 0, 0}, //Max INdex Per Tensor
                20, 2, true);
        rp.reset(-3806751651286565680L);
        System.out.println("Random Seed = " + rp.getSeed());
        System.out.println("NM Seed = " + CC.getNameManager().getSeed());
        DescriptiveStatistics timeStats = new DescriptiveStatistics();
        DescriptiveStatistics trysStats = new DescriptiveStatistics();
        int count = 0;
View Full Code Here


        RandomProduct rp = new RandomProduct(10, 4,
                new int[]{10, 0, 0, 0}, //Min Free Indices
                new int[]{180, 0, 0, 0}, //Indices count
                new int[]{4, 0, 0, 0}, //Max INdex Per Tensor
                30, 2, false);
        rp.reset(-3806751651286565680L);
        System.out.println("Random Seed = " + rp.getSeed());
        System.out.println("NM Seed = " + CC.getNameManager().getSeed());

//        Product t = rp.next();
//        ContractionsGraphDrawer.drawToPngFile(t, "/home/stas/Projects/Durty/", "Huge1");
View Full Code Here

        RandomProduct rp = new RandomProduct(80, 4,
                new int[]{5, 0, 0, 0}, //Min Free Indices
                new int[]{10, 0, 0, 0}, //Indices count
                new int[]{7, 0, 0, 0}, //Max INdex Per Tensor
                20, 2, true);
        rp.reset(-3806751651286565680L);
        System.out.println("Random Seed = " + rp.getSeed());
        System.out.println("NM Seed = " + CC.getNameManager().getSeed());
        DescriptiveStatistics timeStats = new DescriptiveStatistics();
        DescriptiveStatistics trysStats = new DescriptiveStatistics();
        int count = 0;
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.