@Test public void testNTuplesAllSquaresRandomIndividualFactory3() throws Exception { NTuplesAllRectanglesFactory factory = new NTuplesAllRectanglesFactory( new RectSize(3), OthelloBoard.SIZE, OthelloBoard.NUM_VALUES, -1, 1, new RotationMirrorSymmetryExpander(OthelloBoard.SIZE)); NTuples ntuples = factory.createRandomIndividual(new RandomDataGenerator()); Assert.assertEquals(6, ntuples.getMain().size()); }
@Override public NTuples createRandomIndividual(RandomDataGenerator random) { return genericFactory.createRandomIndividual(random); }
NTuplesAllRectanglesFactory implements IndividualFactory<NTuples> { @Override public NTuples createRandomIndividual(RandomDataGenerator random) { return genericFactory.createRandomIndividual(random); } }
NTuplesAllRectanglesFactory implements IndividualFactory<NTuples> { @Override public NTuples createRandomIndividual(RandomDataGenerator random) { return genericFactory.createRandomIndividual(random); } NTuplesAllRectanglesFactory(RectSize rectSize, RectSize boardSize, int numValues, double minWeight,
			double maxWeight, SymmetryExpander expander); }
NTuplesAllRectanglesFactory implements IndividualFactory<NTuples> { @Override public NTuples createRandomIndividual(RandomDataGenerator random) { return genericFactory.createRandomIndividual(random); } NTuplesAllRectanglesFactory(RectSize rectSize, RectSize boardSize, int numValues, double minWeight,
			double maxWeight, SymmetryExpander expander); @Override NTuples createRandomIndividual(RandomDataGenerator random); @Override String toString(); }
NTuplesAllRectanglesFactory implements IndividualFactory<NTuples> { @Override public NTuples createRandomIndividual(RandomDataGenerator random) { return genericFactory.createRandomIndividual(random); } NTuplesAllRectanglesFactory(RectSize rectSize, RectSize boardSize, int numValues, double minWeight,
			double maxWeight, SymmetryExpander expander); @Override NTuples createRandomIndividual(RandomDataGenerator random); @Override String toString();  }