public class PathCondition extends Object
| Constructor and Description |
|---|
PathCondition(List<BranchCondition> branchConditions)
Creates a new path condition from a list of branch conditions
|
| Modifier and Type | Method and Description |
|---|---|
BranchCondition |
get(int index)
Returns the branch condition at position
index |
List<BranchCondition> |
getBranchConditions()
Returns the list of branch conditions on this path condition
|
List<Constraint<?>> |
getConstraints()
Returns the constraints for this path condition
|
boolean |
isEmpty()
Returns true if the path condition is empty
|
PathCondition |
negate(int branchConditionIndex)
Creates a new path condition by negating the branch condition at index
branchConditionIndex |
int |
size()
The length of the path condition in terms of branch conditions
|
public PathCondition(List<BranchCondition> branchConditions)
branchConditions - public List<Constraint<?>> getConstraints()
public PathCondition negate(int branchConditionIndex)
branchConditionIndexbranchConditionIndex - public List<BranchCondition> getBranchConditions()
public boolean isEmpty()
public int size()
public BranchCondition get(int index)
indexindex - Copyright © 2010–2017 EvoSuite. All rights reserved.