Skip to content

Commit

Permalink
[PSym] minor correction
Browse files Browse the repository at this point in the history
  • Loading branch information
aman-goel committed Aug 1, 2023
1 parent e98bc3b commit 5314644
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public class PSymConfiguration implements Serializable {
@Getter @Setter boolean writeToFile = false;

public boolean isSymbolic() {
return (strategy.equals("symbolic"));
return (strategy.startsWith("symbolic"));
}

public boolean isExplicit() {
Expand All @@ -109,18 +109,16 @@ public void setToSymbolic() {
}

public void setToSymbolicFixpoint() {
setToSymbolic();
this.setStrategy("symbolic-fixpoint");
this.setStateCachingMode(StateCachingMode.Symbolic);
this.setUseBacktrack(false);
this.setChoiceOrchestration(ChoiceOrchestrationMode.None);
this.setTaskOrchestration(TaskOrchestrationMode.DepthFirst);
}

public void setToSymbolicIterative() {
setToSymbolic();
this.setStrategy("symbolic-iterative");
this.setSchChoiceBound(2);
this.setDataChoiceBound(2);
this.setStateCachingMode(StateCachingMode.None);
this.setUseBacktrack(true);
this.setChoiceOrchestration(ChoiceOrchestrationMode.Random);
this.setTaskOrchestration(TaskOrchestrationMode.Random);
Expand Down

0 comments on commit 5314644

Please sign in to comment.