Closed April-Hannah-Lena closed 2 years ago
I should have said, this PR was meant to be merged before the CUDA PR, since these changes were already in use in the Cuda version (except for the transition to Graphs.jl). I'll close this PR and reopen with the updated master branch
This is just a dependency change from LightGraphs.jl to Graphs.jl, and some changes to conform with the functions in Julia Base. For example:
keytype(::BoxPartition)
is changed toBase.keytype(::BoxPartition)
,keys_all
changed toBase.keys
, etc.There is now also a boundscheck performed when using
union(b::BoxSet...)
which tests if the partitions from the BoxSets are the same. As with Base Julia boundschecks, you can disable it by using@inbounds union(b::BoxSet...)
.