It moves some general graph functionality from ITensorNetworks into this package, along with expanding tests of the GraphsExtensions submodule.
TODO:
[x] Change the design of parent_graph, vertex_to_parent_vertex, etc. using a type like OrderedCollections.OrderedSet, AcceleratedArrays.jl, or OrdinalIndexing.jl. A better name for parent_graph would be ordinal_graph, and ordinal_vertices/ordinal_vertex could refer to the integer vertices of the ordinal_graph. vertices could be an ordered AbstractVector of the named vertices with fast lookup of the vertex positions in the ordinal_graph. (Leaving for future work.)
This is in conjunction with https://github.com/mtfishman/ITensorNetworks.jl/pull/159 and https://github.com/mtfishman/DataGraphs.jl/pull/31.
It moves some general graph functionality from ITensorNetworks into this package, along with expanding tests of the
GraphsExtensions
submodule.TODO:
Change the design of(Leaving for future work.)parent_graph
,vertex_to_parent_vertex
, etc. using a type like OrderedCollections.OrderedSet, AcceleratedArrays.jl, or OrdinalIndexing.jl. A better name forparent_graph
would beordinal_graph
, andordinal_vertices
/ordinal_vertex
could refer to the integer vertices of theordinal_graph
.vertices
could be an orderedAbstractVector
of the named vertices with fast lookup of the vertex positions in theordinal_graph
.