在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:EtymoIO/EvolvingGraphs.jl开源软件地址:https://github.com/EtymoIO/EvolvingGraphs.jl开源编程语言:Julia 100.0%开源软件介绍:EvolvingGraphsWorking with time-dependent networks in Julia
Pkg.add("EvolvingGraphs") Get StartedWe model a time-dependent network, a.k.a an evolving graph, as a ordered sequence of static graphs such that each static graph represents the interaction between nodes at a specific time stamp. The figure below shows an evolving graph with 3 timestamps. Using julia> using EvolvingGraphs
julia> g = EvolvingGraph()
Directed EvolvingGraph 0 nodes, 0 static edges, 0 timestamps
julia> add_bunch_of_edges!(g, [(1,2,1),(1,3,2),(2,3,3)])
Directed EvolvingGraph 3 nodes, 3 static edges, 3 timestamps
julia> edges(g)
3-element Array{EvolvingGraphs.WeightedTimeEdge{EvolvingGraphs.Node{Int64},Int64,Float64},1}:
Node(1)-1.0->Node(2) at time 1
Node(1)-1.0->Node(3) at time 2
Node(2)-1.0->Node(3) at time 3 Now you've created your first evolving graph! Congrats! To learn more about evolving graphs and why they are useful, please have a look at our tutorial. References
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论