qtil
advanced-security/qtil-swift 0.0.3
Search

Module signature GraphPathSearchSig

Implement this signature to define a graph, and a search for paths within that graph, using the GraphPathSearch module.

module MyConfig implements GraphPathSearchSig<Node> {
  predicate start(Node n1) { ... }
  predicate edge(Node n1, Node n2) { ... }
  predicate end(Node n1) { ... }
}

Import path

import qtil.graph.GraphPathSearch

Predicates

edge

A directional edge from n1 to n2.

end

The end nodes of the search.

start

The nodes that begin the search of the graph.

Parameters