randoop.experiments
Class RandWalkExpMaker

Object
  extended by RandWalkExpMaker
All Implemented Interfaces:
TargetMaker

public class RandWalkExpMaker
extends Object
implements TargetMaker


Constructor Summary
Constructor and Description
RandWalkExpMaker(String[] args)
           
 
Method Summary
Modifier and Type Method and Description
 String getNextTarget()
           
 boolean hasMoreTargets()
           
 int targetsLeft()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandWalkExpMaker

public RandWalkExpMaker(String[] args)
Parameters:
args - Fist argument is either "count" or a number. Each argument is a 4-character experiment descriptor, like "fcjc" (fc=technique, jc=subject).
Method Detail

getNextTarget

public String getNextTarget()
Specified by:
getNextTarget in interface TargetMaker
Returns:
The next target, or null if no more targets.

hasMoreTargets

public boolean hasMoreTargets()
Specified by:
hasMoreTargets in interface TargetMaker
Returns:
true if there are more targets left.

targetsLeft

public int targetsLeft()
Specified by:
targetsLeft in interface TargetMaker