Open adamnovak opened 4 years ago
Seems to me it should be pretty easy to canonicalize internally
It kind of depends on if we want people to construct their own edge_t
values ever, or if they are supposed to be opaque like handles.
Since there's no accessors into them other than .first
and .second
, I guess we should actually regard them as non-opaque and canonicalize the input edges.
VectorizableHandleGraph::edge_index
should state that the edge_t has to be fromfor_each_edge
oredge_handle
(i.e. in canonical order and orientation).