java.lang.Object
edu.cmu.tetrad.algcomparison.algorithm.continuous.dag.IcaLingD
All Implemented Interfaces:
Algorithm, ReturnsBootstrapGraphs, HasParameters, TetradSerializable, Serializable

IcaLingD is an implementation of the Algorithm interface that performs the ICA-LiNG-D algorithm for discovering causal models for the linear non-Gaussian case where the underlying model might be cyclic.
See Also:
  • Constructor Details

    • IcaLingD

      public IcaLingD()
  • Method Details

    • search

      public Graph search(DataModel dataSet, Parameters parameters)
      Runs a search on the provided data set using the given parameters. If verbose is set to true, all stable and unstable graphs are printed to the console along with their B matrices.
      Specified by:
      search in interface Algorithm
      Parameters:
      dataSet - The data set to run the search on.
      parameters - The parameters of the search.
      Returns:
      One of the stable graphs, otherwise and empty graph.
    • getComparisonGraph

      public Graph getComparisonGraph(Graph graph)
      Retrieves the comparison graph of the provided true directed graph.
      Specified by:
      getComparisonGraph in interface Algorithm
      Parameters:
      graph - The true directed graph, if there is one.
      Returns:
      The comparison graph.
    • getDescription

      public String getDescription()
      Retrieves the description of the algorithm.
      Specified by:
      getDescription in interface Algorithm
      Returns:
      The description of the algorithm.
    • getDataType

      public DataType getDataType()
      Retrieves the data type of the algorithm.
      Specified by:
      getDataType in interface Algorithm
      Returns:
      The data type of the algorithm.
    • getParameters

      public List<String> getParameters()
      Retrieves the list of parameters used by this method.
      Specified by:
      getParameters in interface Algorithm
      Specified by:
      getParameters in interface HasParameters
      Returns:
      A list of strings representing the parameters used by this method.
    • getBootstrapGraphs

      public List<Graph> getBootstrapGraphs()
      Retrieves the list of bootstrap graphs generated by the algorithm.
      Specified by:
      getBootstrapGraphs in interface ReturnsBootstrapGraphs
      Returns:
      A list of bootstrap graphs.