Interface BlockIndependenceWrapper

All Superinterfaces:
HasParameters, IndependenceWrapper, Serializable, TetradSerializable
All Known Implementing Classes:
BlocksIndTest, BlocksIndTestLemma10, BlocksIndTestTs

public interface BlockIndependenceWrapper extends IndependenceWrapper, HasParameters
An interface that extends functionality of the IndependenceWrapper and HasParameters interfaces by adding support for block-specific configuration in independence testing.

Implementations of this interface provide the ability to configure block structures, perform independence tests based on these structures, and retrieve descriptions, data types, and parameter requirements of the respective tests.

Defines methods for configuring block-specific independence tests and retrieving meta-details about the test such as its description, required data type, and associated parameters.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
    Constant serialVersionUID=23L
  • 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.
    void
    Configures the block specification for the independence test.

    Methods inherited from interface edu.cmu.tetrad.algcomparison.independence.IndependenceWrapper

    getTest
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      Constant serialVersionUID=23L
      See Also:
  • Method Details

    • setBlockSpec

      void setBlockSpec(BlockSpec blockSpec)
      Configures the block specification for the independence test. The block specification describes the structure and attributes of the blocks relevant for performing a block-specific independence test.
      Parameters:
      blockSpec - the block specification to be applied, which defines the dataset, block structure, and block variables.
    • getDescription

      String getDescription()
      Returns a short of this independence test.
      Specified by:
      getDescription in interface IndependenceWrapper
      Returns:
      This description.
    • getDataType

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

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