Interface BlockIndependenceWrapper
- All Superinterfaces:
HasParameters,IndependenceWrapper,Serializable,TetradSerializable
- All Known Implementing Classes:
BlocksIndTest,BlocksIndTestLemma10,BlocksIndTestTs
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
FieldsModifier and TypeFieldDescriptionstatic final longConstantserialVersionUID=23L -
Method Summary
Modifier and TypeMethodDescriptionReturns 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.voidsetBlockSpec(BlockSpec blockSpec) 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 serialVersionUIDConstantserialVersionUID=23L- See Also:
-
-
Method Details
-
setBlockSpec
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:
getDescriptionin interfaceIndependenceWrapper- Returns:
- This description.
-
getDataType
DataType getDataType()Returns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
getDataTypein interfaceIndependenceWrapper- Returns:
- This type.
-
getParameters
Returns the parameters that this search uses.- Specified by:
getParametersin interfaceHasParameters- Specified by:
getParametersin interfaceIndependenceWrapper- Returns:
- A list of String names of parameters.
-