@Test public void testNTuplesBuilder() throws Exception { int B = 2; NTuplesBuilder builder = new NTuplesBuilder( 4, -1.0, 1.0, new RotationMirrorSymmetryExpander(new RectSize(B)), new RandomDataGenerator(new MersenneTwister(123)), false); builder.addTuple(new int[] { toMarginPos(B, 0, 0), toMarginPos(B, 1, 0), }); NTuples ntuples = builder.buildNTuples(); Assert.assertEquals(1, ntuples.getMain().size()); Assert.assertEquals(8, ntuples.getAll().size()); }
public NTuplesBuilder(int numValues, double minWeight, double maxWeight, SymmetryExpander expander, RandomDataGenerator random, boolean removeSubtuples) { this.maxWeight = maxWeight; this.minWeight = minWeight; this.numValues = numValues; this.expander = expander; this.random = random; this.removeSubtuples = removeSubtuples; }
NTuplesBuilder { public NTuplesBuilder(int numValues, double minWeight, double maxWeight, SymmetryExpander expander, RandomDataGenerator random, boolean removeSubtuples) { this.maxWeight = maxWeight; this.minWeight = minWeight; this.numValues = numValues; this.expander = expander; this.random = random; this.removeSubtuples = removeSubtuples; } }
NTuplesBuilder { public NTuplesBuilder(int numValues, double minWeight, double maxWeight, SymmetryExpander expander, RandomDataGenerator random, boolean removeSubtuples) { this.maxWeight = maxWeight; this.minWeight = minWeight; this.numValues = numValues; this.expander = expander; this.random = random; this.removeSubtuples = removeSubtuples; } NTuplesBuilder(int numValues, double minWeight, double maxWeight, SymmetryExpander expander,
			RandomDataGenerator random, boolean removeSubtuples); }
NTuplesBuilder { public NTuplesBuilder(int numValues, double minWeight, double maxWeight, SymmetryExpander expander, RandomDataGenerator random, boolean removeSubtuples) { this.maxWeight = maxWeight; this.minWeight = minWeight; this.numValues = numValues; this.expander = expander; this.random = random; this.removeSubtuples = removeSubtuples; } NTuplesBuilder(int numValues, double minWeight, double maxWeight, SymmetryExpander expander,
			RandomDataGenerator random, boolean removeSubtuples); void addTuple(int[] locations); NTuples buildNTuples(); }
NTuplesBuilder { public NTuplesBuilder(int numValues, double minWeight, double maxWeight, SymmetryExpander expander, RandomDataGenerator random, boolean removeSubtuples) { this.maxWeight = maxWeight; this.minWeight = minWeight; this.numValues = numValues; this.expander = expander; this.random = random; this.removeSubtuples = removeSubtuples; } NTuplesBuilder(int numValues, double minWeight, double maxWeight, SymmetryExpander expander,
			RandomDataGenerator random, boolean removeSubtuples); void addTuple(int[] locations); NTuples buildNTuples();  }