JuliaReach / Reachability.jl

Reachability and Safety of Nondeterministic Dynamical Systems
MIT License
50 stars 4 forks source link

Replace inout_map by low-dimensional flowpipes #668

Closed schillic closed 4 years ago

schillic commented 4 years ago

Example

Say that you want to plot dimensions x3 and x4 and you do a decomposed analysis only for those two dimensions. Then the result will be a 2D flowpipe representing x3 and x4. However, the projection would try to access dimensions 3 and 4 (because those were the specified dimensions), which do not exist in a 2D flowpipe.

Current state

Internally we create inout_maps to map to the correct dimensions. But this is poorly integrated and at some places we just inject them.

Proposal

Let the ReachSet automatically handle these situations. They should receive the information which dimensions are stored and which of them are just taken as universal. (This is essentially what was proposed in #275.) Essentially this internal information is equivalent to the inout_map, but we can remove some hacks.

schillic commented 4 years ago

Result of a discussion with @mforets: