public class ProductBijectionPerformanceTest {
public static void main(String[] args) {
int badCounter = 0;
// CC.resetTensorNames(-3912578993076521674L);
RandomTensor rp = new RandomTensor(
4,
10,
new int[]{4, 0, 0, 0},
new int[]{10, 0, 0, 0},
false);
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;
while (++count < 500) {
// CC.resetTensorNames();
Tensor t = rp.nextProduct(15);
if (!(t instanceof Product))
continue;
Product from = (Product) t;