Package randoop.generation
Class InputsAndSuccessFlag
- java.lang.Object
-
- randoop.generation.InputsAndSuccessFlag
-
class InputsAndSuccessFlag extends Object
Represents a set of inputs, plus a boolean that is true if this is a good set of inputs.This is the return type for ForwardGenerator's private
selectInputs
method, which is responsible for selecting a set of component sequences to be concatenated into a longer sequence.
-
-
Field Summary
Fields Modifier and Type Field Description List<Integer>
indices
Same length assequences
.List<Sequence>
sequences
The sequences that create the inputs.boolean
success
True if private methodForwardGenerator.selectInputs(TypedOperation operation)
was able to find component sequences for all the input types required by the given statement.
-
Constructor Summary
Constructors Constructor Description InputsAndSuccessFlag(boolean success, List<Sequence> sequences, List<Integer> indices)
Creates a new InputsAndSuccessFlag.
-
-
-
Constructor Detail
-
InputsAndSuccessFlag
public InputsAndSuccessFlag(boolean success, List<Sequence> sequences, List<Integer> indices)
Creates a new InputsAndSuccessFlag.- Parameters:
success
- true if there are component sequences for all the input typessequences
- the sequences that create the inputsindices
- index into the sequences, to the statement that creates/returns a value
-
-