randoop.experiments
Class RandomWalkGenerator

Object
  extended by AbstractGenerator
      extended by RandomWalkGenerator

public class RandomWalkGenerator
extends AbstractGenerator

Experimental code.


Field Summary
Modifier and Type Field and Description
static int exceptions
           
static int normals
           
 
Fields inherited from class AbstractGenerator
componentManager, currSeq, dump_sequences, executionVisitor, listenerMgr, maxSequences, maxTimeMillis, num_failing_sequences, num_sequences_generated, num_steps, outputTestFilters, outSeqs, statements, timer
 
Constructor Summary
Constructor and Description
RandomWalkGenerator(List<StatementKind> statements, long timeMillis, int maxSequences, ComponentManager componentMgr, IStopper stopper, RandoopListenerManager listenerManager, List<ITestFilter> fs)
           
 
Method Summary
Modifier and Type Method and Description
 int numSequences()
           
 ExecutableSequence step()
           
 
Methods inherited from class AbstractGenerator
explore, stop, subsumed_sequences
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

normals

public static int normals

exceptions

public static int exceptions
Constructor Detail

RandomWalkGenerator

public RandomWalkGenerator(List<StatementKind> statements,
                           long timeMillis,
                           int maxSequences,
                           ComponentManager componentMgr,
                           IStopper stopper,
                           RandoopListenerManager listenerManager,
                           List<ITestFilter> fs)
Method Detail

step

public ExecutableSequence step()
Specified by:
step in class AbstractGenerator

numSequences

public int numSequences()
Specified by:
numSequences in class AbstractGenerator