gaioguys / GAIO.jl

A Julia package for set oriented computations.
MIT License
9 stars 4 forks source link

LightGraphs -> Graphs, conform with Base interface #57

Closed April-Hannah-Lena closed 2 years ago

April-Hannah-Lena commented 2 years ago

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 to Base.keytype(::BoxPartition), keys_all changed to Base.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...).

April-Hannah-Lena commented 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