TraversalFilter typedef
Function type for controlling subgraph traversal
This function is called for each triple encountered during subgraph traversal to determine whether the triple should be included and whether traversal should continue from its object.
Parameters:
triple
The current triple being evaluateddepth
The current traversal depth (root subject is at depth 0)
Returns: A TraversalDecision indicating how to handle this triple
Implementation
typedef TraversalFilter = TraversalDecision Function(Triple triple, int depth);