Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion example/src/Modelling/PetriNet/PetriDeadlock/Instance.hs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ examWs2024 = DeadlockInstance {
},
showPlaceNames = False,
maxDisplayedSolutions = 1,
shortestSolutions = Left ([] :| []), -- TO DO: add a solution here
shortestSolutions = Left ([
"t4", "t3", "t3", "t6", "t6", "t8", "t8",
"t8", "t1", "t1", "t1", "t1", "t1", "t1"
] :| []),
withLengthHint = Just 14,
withMinLengthHint = True,
rejectSpaceballsLength = Nothing
Expand Down
6 changes: 5 additions & 1 deletion example/src/Modelling/PetriNet/PetriReach/Instance.hs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ task5 = ReachInstance {
showGoalNet = True,
showPlaceNames = False,
maxDisplayedSolutions = 1,
shortestSolutions = Left ([] :| []), -- TO DO: add a solution here
shortestSolutions = Left ([
"t5", "t2", "t4", "t3",
"t5", "t2", "t4", "t3",
"t5", "t2", "t4", "t3"
] :| []),
withLengthHint = Just 12,
withMinLengthHint = True,
rejectSpaceballsLength = Nothing
Expand Down
7 changes: 5 additions & 2 deletions src/Modelling/PetriNet/Reach/Deadlock.hs
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,11 @@ defaultDeadlockInstance = DeadlockInstance {
noLongerThan = Nothing,
petriNet = fst example,
showPlaceNames = False,
maxDisplayedSolutions = 0,
shortestSolutions = Left ([] :| []), -- TO DO: add a solution
maxDisplayedSolutions = 1,
shortestSolutions = Left ([
Transition 3, Transition 3, Transition 3,
Transition 2, Transition 2, Transition 2
] :| []),
withLengthHint = Just 9,
withMinLengthHint = True,
rejectSpaceballsLength = Nothing
Expand Down
8 changes: 6 additions & 2 deletions src/Modelling/PetriNet/Reach/Reach.hs
Original file line number Diff line number Diff line change
Expand Up @@ -616,8 +616,12 @@ defaultReachInstance = ReachInstance {
noLongerThan = Nothing,
showGoalNet = True,
showPlaceNames = False,
maxDisplayedSolutions = 0,
shortestSolutions = Left ([] :| []), -- TO DO: add a solution
maxDisplayedSolutions = 1,
shortestSolutions = Left ([
Transition 3, Transition 3, Transition 2, Transition 1, Transition 4,
Transition 3, Transition 3, Transition 2, Transition 1, Transition 4,
Transition 3, Transition 2
] :| []),
withLengthHint = Just 12,
withMinLengthHint = False,
rejectSpaceballsLength = Nothing
Expand Down
Loading