Module sophia_indexed::graph
source · [−]Expand description
A utility trait for building graphs using indexed terms.
Modules
Symbols from other crates, re-exported for the sake of macros
Traits
A utility trait for implementing Graph
and MutableGraph
based on an internal TermIndexMap
for efficient storage.
Functions
Insert an absent value in the Vec value of a HashMap, creating the Vec if it does not exist.
Remove an existing value in the Vec value of a HashMap, removing the entry completely if the Vec ends up empty.