Class PdagPagIda.NodeEffects

java.lang.Object
edu.cmu.tetrad.search.PdagPagIda.NodeEffects
Enclosing class:
PdagPagIda

public static class PdagPagIda.NodeEffects extends Object
Convenience container used elsewhere in Tetrad.
  • Method Details

    • getNodes

      public List<Node> getNodes()
      Retrieves the list of nodes contained in this object.
      Returns:
      the list of nodes
    • setNodes

      public void setNodes(List<Node> nodes)
      Sets the list of nodes in this object.
      Parameters:
      nodes - the list of nodes to be set
    • getEffects

      public LinkedList<Double> getEffects()
      Retrieves the list of effect values associated with the nodes.
      Returns:
      a LinkedList of Double values representing the effects
    • setEffects

      public void setEffects(LinkedList<Double> effects)
      Sets the list of effect values associated with the nodes.
      Parameters:
      effects - the LinkedList of Double values representing the effects to be set
    • toString

      public String toString()
      Converts the object to a readable string representation by iterating through the nodes and their corresponding effects, appending them in the format "node=effect" with a space delimiter.
      Overrides:
      toString in class Object
      Returns:
      a string representation where each node and its corresponding effect are paired and separated by a space