Skip to content

Commit

Permalink
k-induction and bmc send 'unknown' after max-iterations
Browse files Browse the repository at this point in the history
  • Loading branch information
agacek committed Apr 18, 2015
1 parent 7316827 commit 1ad2c6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion jkind/src/jkind/engines/BmcEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@ public void main() {
comment("K = " + (k + 1));
processMessages();
if (properties.isEmpty()) {
break;
return;
}
createVariables(k);
assertBaseTransition(k);
checkProperties(k);
assertProperties(k);
}
sendUnknown(properties);
}

private void checkProperties(int k) {
Expand Down
3 changes: 2 additions & 1 deletion jkind/src/jkind/engines/KInductionEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ public void main() {
assertTransitionAndInvariants(kCurrent);
checkProperties(kCurrent);
if (properties.isEmpty()) {
break;
return;
}
}
sendUnknown(properties);
}

private void processMessagesAndWait() {
Expand Down

0 comments on commit 1ad2c6e

Please sign in to comment.