SearchDefaultsGraph

public protocol SearchDefaultsGraph : IncidenceGraph

A graph that provides defaults for graph searching algorithms.

Implementations of Graph algorithms often demand a variety of associated data structures. A graph that conforms to SearchDefaultsGraph provides default types that make using these graph data structures more convenient.

To conform an IncidenceGraph to SearchDefaultsGraph, simpliy implement the required methods. Reasonable choices for IdIndexable VertexId’s often use TablePropertyMaps. For graphs with hashable VertexId’s, the DictionaryPropertyMap is often a good choice.

Note: we have to spell out each of these associated PropertyMaps explicitly, because associated types cannot be generic in Swift, and we want to avoid existentials.