Skip to content

Commit

Permalink
Create new statespaceinfo instead of reusing the one created above
Browse files Browse the repository at this point in the history
  • Loading branch information
mondokm committed Feb 15, 2024
1 parent 03b6e9d commit 2263f28
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,16 @@ private MddNode satFire(
}

MddUnsafeTemplateBuilder templateBuilder = JavaMddFactory.getDefault().createUnsafeTemplateBuilder();


// final IntObjMapView<AbstractNextStateDescriptor> diagonal = dfire.getDiagonal(
// stateSpaceInfo);
// var c = diagonal.cursor();

var stateSpaceInfo2 = new MddStateSpaceInfo(variable, n);

final IntObjMapView<IntObjMapView<AbstractNextStateDescriptor>> offDiagonal = dfire.getOffDiagonal(
stateSpaceInfo);
stateSpaceInfo2);

for (IntObjCursor<? extends MddNode> cFrom = n.cursor(); cFrom.moveNext(); ) {
for (IntObjCursor<? extends AbstractNextStateDescriptor> cTo = offDiagonal.get(
cFrom.key()).cursor(); cTo.moveNext(); ) {
Expand Down

0 comments on commit 2263f28

Please sign in to comment.