Interface ScoreWrapper

All Superinterfaces:
HasParameters, Serializable, TetradSerializable
All Known Implementing Classes:
BdeuScore, CciScore, ConditionalGaussianBicScore, DegenerateGaussianBicScore, DiscreteBicScore, EbicScore, FisherZScore, GicScores, MagSemBicScore, MSeparationScore, MVPBicScore, PoissonPriorScore, PositiveCorrScore, SemBicScore, SemBicScoreDeterministic, ZhangShenBoundScore

public interface ScoreWrapper extends HasParameters, TetradSerializable
Interface that algorithm must implement.
Author:
josephramsey
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the data type that the search requires, whether continuous, discrete, or mixed.
    Returns a short of this independence test.
    Returns the parameters that this search uses.
    getScore(DataModel dataSet, Parameters parameters)
    Returns true iff x and y are independent conditional on z for the given data set.
    Returns the variable with the given name.
  • Field Details

  • Method Details

    • getScore

      Score getScore(DataModel dataSet, Parameters parameters)
      Returns true iff x and y are independent conditional on z for the given data set.
      Parameters:
      dataSet - The data set to test independence against.
      parameters - The paramters of the test.
      Returns:
      True iff independence holds.
    • getDescription

      String getDescription()
      Returns a short of this independence test.
      Returns:
      This description.
    • getDataType

      DataType getDataType()
      Returns the data type that the search requires, whether continuous, discrete, or mixed.
      Returns:
      This type.
    • getParameters

      List<String> getParameters()
      Returns the parameters that this search uses.
      Specified by:
      getParameters in interface HasParameters
      Returns:
      A list of String names of parameters.
    • getVariable

      Node getVariable(String name)
      Returns the variable with the given name.
      Parameters:
      name - the name.