Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2019 - Special case concrete Minkowski sum for intervals #2026

Merged
merged 4 commits into from
Feb 29, 2020
Merged

Conversation

mforets
Copy link
Member

@mforets mforets commented Feb 28, 2020

Closes #2019.

@mforets
Copy link
Member Author

mforets commented Feb 28, 2020

In this branch,

julia> x, y = rand(Interval), rand(Interval)

julia> @btime minkowski_sum($x, $y)
  0.017 ns (0 allocations: 0 bytes)
Interval{Float64,IntervalArithmetic.Interval{Float64}}([0.0864657, 2.39401])

In master,

julia> @btime minkowski_sum($x, $y)
  154.339 ns (7 allocations: 608 bytes)
Hyperrectangle{Float64,Array{Float64,1},Array{Float64,1}}([-0.46852105974655833], [0.6100585759329054])

@mforets mforets requested a review from schillic February 28, 2020 18:54
test/unit_Interval.jl Outdated Show resolved Hide resolved
src/ConcreteOperations/minkowski_sum.jl Show resolved Hide resolved
test/unit_Interval.jl Outdated Show resolved Hide resolved
@mforets mforets requested a review from schillic February 29, 2020 02:42
@mforets mforets merged commit 16d7174 into master Feb 29, 2020
@mforets mforets deleted the mforets/2019 branch February 29, 2020 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Special case concrete Minkowski sum for intervals
2 participants