Skip to content

Commit

Permalink
Reformat files
Browse files Browse the repository at this point in the history
  • Loading branch information
mondokm committed Aug 15, 2024
1 parent 91a582e commit 07353cc
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,8 @@ private void cacheModel(Valuation valuation) {
}

assert !representation.mddVariable.isNullOrZero(childNode) : "This would mean the model returned by the solver is incorrect";
if (literal.isPresent()) representation.explicitRepresentation.cacheNode(LitExprConverter.toInt(literal.get()), childNode);
if (literal.isPresent())
representation.explicitRepresentation.cacheNode(LitExprConverter.toInt(literal.get()), childNode);
// TODO update domainSize
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public void test() throws Exception {
// final var structuralHandle = stateSig.getTopVariableHandle().getHandleFor(structuralRepresentation);

Integer size = 0;
for(var cursor = transHandle.cursor(structuralRepresentation); cursor.moveNext(); ) {
for (var cursor = transHandle.cursor(structuralRepresentation); cursor.moveNext(); ) {
size++;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static Collection<Object[]> data() {
2L},

{List.of(A, B),
Eq(B.getRef(), False()), // y = 0
Eq(B.getRef(), False()), // y = 0
2L},

{List.of(A, B),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static Collection<Object[]> data() {
//
// { "src/test/resources/model/if2.xsts", "src/test/resources/property/if2.prop", false}

{ "src/test/resources/model/localvars3.xsts", "src/test/resources/property/localvars3.prop", false},
{"src/test/resources/model/localvars3.xsts", "src/test/resources/property/localvars3.prop", false},
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,21 @@ public Expr<BoolType> getInitFormula() {
return initFormula;
}

public Expr<BoolType> getProp() { return prop;}
public Expr<BoolType> getProp() {
return prop;
}

public Set<VarDecl<?>> getVars() { return vars;}
public Set<VarDecl<?>> getVars() {
return vars;
}

public Set<VarDecl<?>> getTempVars() { return tempVars; }
public Set<VarDecl<?>> getTempVars() {
return tempVars;
}

public Set<VarDecl<?>> getStateVars() { return stateVars; }
public Set<VarDecl<?>> getStateVars() {
return stateVars;
}

public Set<VarDecl<?>> getCtrlVars() {
return ctrlVars;
Expand Down

0 comments on commit 07353cc

Please sign in to comment.