danielbinder / LogiVis

A teaching aid for concepts and algorithms in logic
MIT License
2 stars 0 forks source link

Fix model tracer for multiple start states #49

Open danielbinder opened 7 months ago

danielbinder commented 7 months ago

The model tracer can take multiple start and goal states. Currently, it returns a connections from one start state to one goal state. While this seems to be fine, it may not be the expected behavior. It makes sense that a trace is given if any goal state is reached, but with multiple start states, it could be the case that some do not reach any goal state. This is currently unclear. See here.

If the user does not care if all start states lead to a goal state, they can simply ignore the additional lines, so we don't need additional functionality there.

Tasks: