net.sourceforge.domian.test.benchmark
Class RandomSequenceQueenPuzzleConstellationFactory

java.lang.Object
  extended by net.sourceforge.domian.test.benchmark.RandomSequenceQueenPuzzleConstellationFactory
Direct Known Subclasses:
RandomCombinationQueenPuzzleConstellationFactory, RandomPermutationQueenPuzzleConstellationFactory

 class RandomSequenceQueenPuzzleConstellationFactory
extends java.lang.Object


Field Summary
(package private)  long logInterval
           
(package private)  long maximumNumberOfConstellationToProduce
           
 
Constructor Summary
RandomSequenceQueenPuzzleConstellationFactory(java.lang.Long maximumNumberOfConstellationToProduce, java.lang.Long logInterval)
           
 
Method Summary
protected  boolean constellationConstraintOk(int[] queenPlacingNumbers, int index, int number)
           
(package private)  void generateAndPopulate(Repository repo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maximumNumberOfConstellationToProduce

final long maximumNumberOfConstellationToProduce

logInterval

final long logInterval
Constructor Detail

RandomSequenceQueenPuzzleConstellationFactory

RandomSequenceQueenPuzzleConstellationFactory(java.lang.Long maximumNumberOfConstellationToProduce,
                                              java.lang.Long logInterval)
Method Detail

constellationConstraintOk

protected boolean constellationConstraintOk(int[] queenPlacingNumbers,
                                            int index,
                                            int number)

generateAndPopulate

void generateAndPopulate(Repository repo)


Copyright © 2008-2010. All Rights Reserved.