Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
schillic committed Mar 16, 2024
1 parent b030240 commit d6e6f9c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ X0 = Hyperrectangle(low=[0.9, -0.1], high=[1.1, 0.1])
prob = @ivp(x' = duffing!(x), x(0) X0, dim=2)

# solve using a Taylor model set representation
sol = solve(prob, tspan=(0.0, 20*T), alg=TMJets21a())
sol = solve(prob, tspan=(0.0, 20*T), alg=TMJets())

# plot the flowpipe in state-space
plot(sol, vars=(1, 2), xlab="x", ylab="v", lw=0.5, color=:red)
Expand Down
10 changes: 2 additions & 8 deletions docs/src/lib/algorithms/TMJets.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
```@docs
TMJets
TMJets20
TMJets21a
TMJets21b
ReachabilityAnalysis.iscontractive
ReachabilityAnalysis.validated_step!
ReachabilityAnalysis.absorb_remainder
ReachabilityAnalysis.picard_remainder!
ReachabilityAnalysis.remainder_taylorstep!
TMJets1
TMJets2
```
4 changes: 2 additions & 2 deletions docs/src/tutorials/taylor_methods/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fig = DisplayAs.Text(DisplayAs.PNG(fig)) # hide
```
The divergence observed in the solution is due to using an algorithm which doesn't specialize for intervals hence suffers from dependency problems.

However, specialized algorithms can handle this case without noticeable wrapping effect, producing a sequence of sets whose union covers the true solution for all initial points. We use the [`ReachabilityAnalysis.jl`](https://github.com/JuliaReach/ReachabilityAnalysis.jl) interface to the algorithm [`TMJets21a`](@ref), which is itself implemented in
However, specialized algorithms can handle this case without noticeable wrapping effect, producing a sequence of sets whose union covers the true solution for all initial points. We use the [`ReachabilityAnalysis.jl`](https://github.com/JuliaReach/ReachabilityAnalysis.jl) interface to the algorithm [`TMJets1`](@ref), which is itself implemented in
[`TaylorModels.jl`](https://github.com/JuliaIntervals/TaylorModels.jl).

```@example nonlinear_univariate
Expand All @@ -69,7 +69,7 @@ X0 = -1 .. 1
prob = @ivp(x' = f(x), x(0) ∈ X0, dim=1)
# solve it using a Taylor model method
sol = solve(prob, alg=TMJets21a(abstol=1e-10), T=15)
sol = solve(prob, alg=TMJets1(abstol=1e-10), T=15)
# visualize the solution in time
fig = plot(sol, vars=(0, 1), xlab="t", ylab="x(t)", title="Specialized (Taylor-model based) integrator")
Expand Down
6 changes: 3 additions & 3 deletions src/Algorithms/TMJets/TMJets.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
TMJets1{N, DM<:AbstractDisjointnessMethod} <: AbstractContinuousPost
Validated integration using Taylor models.
Validated integration using Taylor models with the `validated_integ` algorithm.
### Fields
Expand Down Expand Up @@ -45,9 +45,9 @@ rsetrep(::TMJets1{N}) where {N} = TaylorModelReachSet{N}


"""
TMJets1{N, DM<:AbstractDisjointnessMethod} <: AbstractContinuousPost
TMJets2{N, DM<:AbstractDisjointnessMethod} <: AbstractContinuousPost
Validated integration using Taylor models.
Validated integration using Taylor models with the `validated_integ2` algorithm.
### Fields
Expand Down

0 comments on commit d6e6f9c

Please sign in to comment.