You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia>using LazySets, Polyhedra
julia> A, B =HPolytope(rand(10, 2), rand(10)), HPolytope(rand(10, 2), rand(10));
julia>is_intersection_empty(A, B)
ERROR: MethodError: no method matching is_intersection_empty(::LazySets.HPolytope{Float64}, ::LazySets.HPolytope{Float64})
Closest candidates are:is_intersection_empty(::LazySets.AbstractSingleton{N<:Real}, ::LazySets.LazySet{N<:Real}) where N<:Real at /Users/forets/.julia/v0.6/LazySets/src/is_intersection_empty.jl:109is_intersection_empty(::LazySets.AbstractSingleton{N<:Real}, ::LazySets.LazySet{N<:Real}, ::Bool) where N<:Real at /Users/forets/.julia/v0.6/LazySets/src/is_intersection_empty.jl:109is_intersection_empty(::LazySets.LazySet{N<:Real}, ::LazySets.AbstractSingleton{N<:Real}) where N<:Real at /Users/forets/.julia/v0.6/LazySets/src/is_intersection_empty.jl:149...
@kostakoida
The text was updated successfully, but these errors were encountered:
A naive implementation (that i would propose to write as a first algorithm) is to compute the concrete intersection and then check if the result has zero vertices.
A quick search shows that testing intersection can be done in better ways:
@kostakoida
The text was updated successfully, but these errors were encountered: