UoY-RoboStar / robocert-textual

Textual plugin and CSP generator for RoboCert
Eclipse Public License 2.0
2 stars 0 forks source link

Should collection worlds include siblings? #124

Open MattWindsor91 opened 2 years ago

MattWindsor91 commented 2 years ago

Right now, the definitions of worlds of InXTargets are just those of the corresponding XTargets. This is fine, but it leads to a situation where we cannot partially select a handful of subcomponents of an X and reason about the connections to any other subcomponents not explicitly mentioned (without adding them to the lifelines).

We could extend the definition of these worlds to contain all subcomponents. This would fix this issue, but then mean that, with the way we currently resolve worlds, each subcomponent both exists in the world and also as a collection target. To fix this we would need to either:

This seems a little clumsy, so I'd only want to go forward with this if it improves things.