Skip to content

Add JointInterval#312

Draft
FriesischScott wants to merge 15 commits into
masterfrom
dependent-intervals
Draft

Add JointInterval#312
FriesischScott wants to merge 15 commits into
masterfrom
dependent-intervals

Conversation

@FriesischScott
Copy link
Copy Markdown
Member

This PR adds dependent intervals as a new type JointInterval. A dependent interval is constructed from a set of points. The convex hull of these points describes the permissible set of the joint intervals.

By default, as with the IntervalVariable sampling will return the marginal intervals of the permissible set. To instead obtain samples inside the hull one can pass the keyword intervals=false to the sample function. This is currently only possible for QMC sampling but could also be enabled for regular Monte Carlo.

dependent-intervals

I've also added tests for this. As part of this PR I'm adding TestItems.jl to enable running individual tests in VS Code. I've only migrated the test files I touched to the new system. The existing tests will run as before.

To enable reliability analysis with the dependent intervals, constraints must be added to the interval propagation. I'm still working on this. I also still need to write documentation.

References

[1] M. Faes and D. Moens, “Multivariate dependent interval finite element analysis via convex hull pair constructions and the Extended Transformation Method,” Computer Methods in Applied Mechanics and Engineering, vol. 347, pp. 85–102, Apr. 2019, doi: 10.1016/j.cma.2018.12.021.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 18, 2026

Codecov Report

❌ Patch coverage is 84.48276% with 9 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/reliability/probabilityoffailure_imprecise.jl 50.00% 4 Missing ⚠️
src/inputs/imprecise/interval.jl 81.25% 3 Missing ⚠️
src/simulations/montecarlo.jl 93.54% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant