Skip to content

Commit 9fc7df4

Browse files
committed
renames QueueMethod to Coevolve.
1 parent 69cadb0 commit 9fc7df4

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

benchmarks/Jumps/Diffusion_CTRW.jmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ N = 256
2121
h = 1 / N
2222
u0 = 10 * ones(Int64, N)
2323
tf = .01
24-
methods = (Direct(), SortingDirect(), NRM(), DirectCR(), RSSA(), RSSACR(), QueueMethod())
24+
methods = (Direct(), SortingDirect(), NRM(), DirectCR(), RSSA(), RSSACR(), Coevolve())
2525
shortlabels = [string(leg)[15:end-2] for leg in methods]
2626
jprob = JumpProblemLibrary.prob_jump_diffnetwork
2727
rn = jprob.network(N)

benchmarks/Jumps/Hawkes_process.jmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function hawkes_jump(u, g, h)
5656
return [hawkes_jump(i, g, h) for i in 1:length(u)]
5757
end
5858

59-
function hawkes_problem(p, agg::QueueMethod; u=[0.], tspan=(0., 50.), save_positions=(false, true),
59+
function hawkes_problem(p, agg::Coevolve; u=[0.], tspan=(0., 50.), save_positions=(false, true),
6060
g = [[1]], h = [[]])
6161
dprob = DiscreteProblem(u, tspan, p)
6262
jumps = hawkes_jump(u, g, h)
@@ -80,7 +80,7 @@ end
8080
```
8181

8282
```julia
83-
methods = (Direct(), QueueMethod())
83+
methods = (Direct(), Coevolve())
8484
shortlabels = [string(leg)[15:end-2] for leg in methods]
8585

8686
V = 10
@@ -96,7 +96,7 @@ plots = []
9696
for (i, method) in enumerate(methods)
9797
jump_prob = hawkes_problem(p, method; u=u, tspan=tspan, g=g, h=h)
9898
reset_history!(h)
99-
if typeof(method) <: QueueMethod
99+
if typeof(method) <: Coevolve
100100
sol = solve(jump_prob, SSAStepper())
101101
else
102102
sol = solve(jump_prob, Tsit5())
@@ -131,7 +131,7 @@ for method in methods
131131
global _u = [0. for i in 1:nv(_G)]
132132
global _h = [eltype(tspan)[] for _ in 1:nv(_G)]
133133
global _jump_prob = hawkes_problem(p, method; u=_u, tspan=tspan, g=_g, h=_h)
134-
if typeof(method) <: QueueMethod
134+
if typeof(method) <: Coevolve
135135
global _stepper = SSAStepper()
136136
else
137137
global _stepper = Tsit5()

benchmarks/Jumps/Manifest.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,9 +724,9 @@ version = "0.1.3"
724724

725725
[[deps.JumpProcesses]]
726726
deps = ["ArrayInterfaceCore", "DataStructures", "DiffEqBase", "DocStringExtensions", "FunctionWrappers", "Graphs", "LinearAlgebra", "Markdown", "PoissonRandom", "Random", "RandomNumbers", "RecursiveArrayTools", "Reexport", "SciMLBase", "StaticArrays", "TreeViews", "UnPack"]
727-
path = "../../../JumpProcesses.jl"
727+
path = "/home/gzagatti/.julia/dev/JumpProcesses"
728728
uuid = "ccbc3e58-028d-4f4c-8cd5-9ae44345cda5"
729-
version = "9.2.2"
729+
version = "9.2.3"
730730

731731
[[deps.KLU]]
732732
deps = ["LinearAlgebra", "SparseArrays", "SuiteSparse_jll"]

benchmarks/Jumps/Mendes_multistate_example.jmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ reactions(rn)
2121

2222
# Plot solutions by each method
2323
```julia
24-
methods = (Direct(), FRM(), SortingDirect(), NRM(), DirectCR(), RSSA(), RSSACR(), QueueMethod())
24+
methods = (Direct(), FRM(), SortingDirect(), NRM(), DirectCR(), RSSA(), RSSACR(), Coevolve())
2525
shortlabels = [string(leg)[15:end-2] for leg in methods]
2626
tf = 10.0 * jprob.tstop
2727
prob = DiscreteProblem(rn, jprob.u0, (0.0, tf), jprob.rates)

benchmarks/Jumps/NegFeedback_GeneExpr.jmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ reactions(rn)
2020
# Plot solutions by each method
2121

2222
```julia
23-
methods = (Direct(), FRM(), SortingDirect(), NRM(), DirectCR(), RSSA(), RSSACR(), QueueMethod())
23+
methods = (Direct(), FRM(), SortingDirect(), NRM(), DirectCR(), RSSA(), RSSACR(), Coevolve())
2424
shortlabels = [string(leg)[15:end-2] for leg in methods]
2525
prob = prob_jump_dnarepressor.discrete_prob
2626
tf = prob_jump_dnarepressor.tstop

benchmarks/Jumps/NegFeedback_GeneExpr_Marchetti.jmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ plot(solution, format=fmt)
3333

3434
```julia
3535
tf = 4000.
36-
methods = (Direct(), FRM(), SortingDirect(), NRM(), DirectCR(), RSSA(), RSSACR(), QueueMethod())
36+
methods = (Direct(), FRM(), SortingDirect(), NRM(), DirectCR(), RSSA(), RSSACR(), Coevolve())
3737
shortlabels = [string(leg)[15:end-2] for leg in methods]
3838
prob = prob = DiscreteProblem(rn, u0, (0.0, tf), rnpar)
3939
ploth = plot(reuse=false)

0 commit comments

Comments
 (0)