JuliaAttic / OldGraphs.jl

Working with graphs in Julia
Other
205 stars 81 forks source link

Load error with julia 0.6.0-pre.beta.0 (2017-03-31 12:58 UTC) #239

Open dbrowne opened 7 years ago

dbrowne commented 7 years ago

using Graphs warnings then WARNING: deprecated syntax "inner constructor TopologicalSortVisitor(...) around /apps/infrafs1/dbrowne/.julia/v0.6/Graphs/src/depth_first_visit.jl:131". Use "TopologicalSortVisitor{V}(...) where V" instead.

WARNING: deprecated syntax "abstract AbstractMASVisitor<:AbstractGraphVisitor" at /apps/infrafs1/dbrowne/.julia/v0.6/Graphs/src/maximum_adjacency_visit.jl:14. Use "abstract type AbstractMASVisitor<:AbstractGraphVisitor end" instead. ERROR: LoadError: LoadError: TypeError: Type{...} expression: expected UnionAll, got Base.Collections.#PriorityQueue Stacktrace: [1] include_from_node1(::String) at ./loading.jl:539 [2] include(::String) at ./sysimg.jl:14 [3] include_from_node1(::String) at ./loading.jl:539 [4] eval(::Module, ::Any) at ./boot.jl:235 [5] require(::Symbol) at ./loading.jl:453 while loading /apps/infrafs1/dbrowne/.julia/v0.6/Graphs/src/maximum_adjacency_visit.jl, in expression starting on line 15 while loading /apps/infrafs1/dbrowne/.julia/v0.6/Graphs/src/Graphs.jl, in expression starting on line 140

timholy commented 7 years ago

Switch to LightGraphs? Packages in JuliaArchive most likely aren't maintained, but you can of course adopt one yourself if you really need it.

dehann commented 7 years ago

Hi, maintenance on Graphs.jl is slow, but some of us are still using it. LightGraphs.jl does not support separate memory storage or deep coupling with algorithm operation. LightGraphs seems better suited for studying graph properties than using the graph as an actual extendable data structure. I will look at bringing Graphs.jl up to speed for 0.6 in the next couple of weeks. Unlikely to look at it until mid July though.

sbromberger commented 7 years ago

LightGraphs.jl does not support separate memory storage

Just to clarify, this isn't strictly true. Have a look at SimpleWeightedEdges.jl and Networks.jl for implementations that allow graph metadata.

(Edited to add 20170823: Also see MetaGraphs.jl for metadata storage with LightGraphs.)

dehann commented 7 years ago

see fixes in PR #241