predecessorsOf

fun predecessorsOf(vertex: Vertex): Set<Vertex>

Answer the set of predecessors of the specified vertex. Fail if the vertex is not present in the graph.

Return

The predecessors of the vertex.

Parameters

vertex

The vertex for which to answer predecessors.