Expand description
Conflict-of-interest detection algorithms.
Three detection strategies:
- Cycle detection – enumerate directed simple cycles and match
edge-type sequences against
CyclePatterns. - Path detection – constrained DFS from every node, matching
edge types and node labels against
PathPatterns. - Hub detection – for each Actor→Institution pair, count
distinct “influence” edge types and flag when the count exceeds
HUB_THRESHOLD.
Structs§
- Detect
Opts - Options controlling detection behaviour.
Functions§
- detect_
conflicts - Run all detection algorithms on the given subgraph.