Open mforets opened 4 years ago
there is now Convexify(fp::Flowpipe{N, ReachSet{N, ST}}) where {N, ST}
we could add a variant that also receives an index k >= 1
and convexifies reach-set chunks of size k
on a related note, though L = Convexify(sol[end-k:end])
works, it copies sol[end-k:end]
over to a new array. it would be nice if we can avoid the copy. this probably requires a wrapper type ConvexifiedReachSet
.
Write a function
convexify
that receives a flowpipe and an integerk
and returns the convexified flowpipe, ie. it groups throughConvexHullArray
wrappers the contiguous reach-sets for each chunk ofk
reach-sets.