Add NetworkSimulation
#620
Annotations
2 errors and 3 warnings
../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L44
failed to run `@example` block in src/visualizations.md:79-105
```@example vis
using Graphs
using ConcurrentSim
sim = Simulation()
# add random metadata to vertices and edges of the network
for v in vertices(net)
net[v,:bool] = rand(Bool)
net[v,:resource] = Resource(sim,1)
rand(Bool) && request(net[v,:resource])
end
for e in edges(net)
net[e,:edge_bool] = true
net[e,:another_bool] = rand(Bool)
end
# plot the resources and metadata
fig = Figure(size=(700,400))
resourceplot_axis(fig[1,1],net,
[:edge_bool,:another_bool], # list of edge metadata to plot
[:bool,:resource], # list of vertex metadata
registercoords=plt[:registercoords] # optionally, reuse register coordinates
)
fig
```
exception =
type Simulation has no field sim
Stacktrace:
[1] getproperty
@ ./Base.jl:37 [inlined]
[2] put!(con::ConcurrentSim.Resource, amount::Int64; priority::Int64)
@ QuantumSavory ~/work/QuantumSavory.jl/QuantumSavory.jl/src/concurrentsim.jl:81
[3] put!
@ ~/work/QuantumSavory.jl/QuantumSavory.jl/src/concurrentsim.jl:80 [inlined]
[4] lock(res::ConcurrentSim.Resource)
@ ConcurrentSim ~/.julia/packages/ConcurrentSim/3poQf/src/resources/containers.jl:61
[5] top-level scope
@ ./visualizations.md:89
[6] eval
@ ./boot.jl:385 [inlined]
[7] #58
@ ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:754 [inlined]
[8] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[9] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:753
[10] (::IOCapture.var"#5#9"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})()
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170
[11] with_logstate(f::Function, logstate::Any)
@ Base.CoreLogging ./logging.jl:515
[12] with_logger
@ ./logging.jl:627 [inlined]
[13] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any})
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167
[14] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:752
|
|
../../../.julia/packages/QuantumSymbolics/JM8cK/ext/QuantumOpticsExt/QuantumOpticsExt.jl#L74
Fock space cutoff is not specified so we default to 2
|
../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
19 docstrings not included in the manual:
QuantumSavory.ProtocolZoo.Switches._switch_read_backlog :: Tuple{Any, Any}
QuantumSavory.Wildcard
QuantumSavory.tag_types
QuantumSavory.ProtocolZoo.Switches._SwitchSynchronizedDelete
QuantumSavory.CircuitZoo.StringentBodyNode
QuantumSavory.ProtocolZoo.Switches._switch_run_swaps :: Tuple{Any, Any}
QuantumSavory.ProtocolZoo.Switches.match_entangled_pattern :: NTuple{4, Any}
QuantumSavory.CircuitZoo.inputqubits
QuantumSavory.ProtocolZoo.Switches.SymMatrix
QuantumSavory.CircuitZoo.StringentHeadNode
QuantumSavory.ProtocolZoo.Switches.capture_stdout :: Tuple{Any}
QuantumSavory.ProtocolZoo.Switches.SimpleSwitchDiscreteProt
QuantumSavory.ProtocolZoo.Switches.SwitchRequest
QuantumSavory.showmetadata
QuantumSavory.ProtocolZoo.Switches._switch_entangler :: Tuple{Any, Any}
QuantumSavory.CircuitZoo.StringentHead
QuantumSavory.ProtocolZoo.Switches._switch_successful_entanglements_best_match :: Tuple{Any, Any}
QuantumSavory.ProtocolZoo.Switches.promponas_bruteforce_choice :: NTuple{4, Any}
QuantumSavory.CircuitZoo.StringentBody
These are docstrings in the checked modules (configured with the modules keyword)
that are not included in canonical @docs or @autodocs blocks.
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading