Interface GacTotalEffectElibility.AdjustmentSetProvider

Enclosing class:
GacTotalEffectElibility
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface GacTotalEffectElibility.AdjustmentSetProvider
Optional hook for computing adjustment sets. This is intentionally pluggable so the GUI can use RA/OMA/etc without duplicating gating logic. Tetrad-lib callers can also provide their own.
  • Method Summary

    Modifier and Type
    Method
    Description
    compute(Graph graph, Node x, Node y, String graphType, int maxPathLength)
    Computes adjustment sets based on the provided graph, pair of nodes, graph type, and maximum path length.
  • Method Details

    • compute

      List<Set<Node>> compute(Graph graph, Node x, Node y, String graphType, int maxPathLength)
      Computes adjustment sets based on the provided graph, pair of nodes, graph type, and maximum path length.
      Parameters:
      graph - the graph on which the computation is to be performed
      x - the source node for computing adjustment sets
      y - the target node for computing adjustment sets
      graphType - the type of graph used, such as "undirected", "directed", etc.
      maxPathLength - the maximum allowable length of paths to consider in the computation
      Returns:
      a list of sets, where each set represents an adjustment set of nodes