Package edu.cmu.tetrad.data
Interface DataModel
- All Superinterfaces:
KnowledgeTransferable
,Serializable
,TetradSerializable
,VariableSource
- All Known Subinterfaces:
DataSet
,ICovarianceMatrix
- All Known Implementing Classes:
BoxDataSet
,CorrelationMatrix
,CorrelationMatrixOnTheFly
,CovarianceMatrix
,CovarianceMatrixOnTheFly
,DataModelList
,IndependenceFacts
,NumberObjectDataSet
,TimeSeriesData
Interface implemented by classes, instantiations of which can serve as data models in Tetrad. Data models may be named if desired; if provided, these names will be used for display purposes.
This interface is relatively free of methods, mainly because classes that can serve as data models in Tetrad are diverse, including continuous and discrete data sets, covariance and correlation matrices, graphs, and lists of other data models. So this is primarily a taqging interface.
- Version:
- $Id: $Id
- Author:
- josephramsey
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
ConstantserialVersionUID=23L
-
Method Summary
Methods inherited from interface edu.cmu.tetrad.data.KnowledgeTransferable
getKnowledge, setKnowledge
Methods inherited from interface edu.cmu.tetrad.data.VariableSource
getVariableNames, getVariables
-
Field Details
-
serialVersionUID
static final long serialVersionUIDConstantserialVersionUID=23L
- See Also:
-
-
Method Details
-
getName
-
setName
Sets the name of the data model (may be null).- Parameters:
name
- the name to set
-
toString
-
isContinuous
boolean isContinuous()isContinuous.
- Returns:
- true if the data model is continuous, false otherwise.
-
isDiscrete
boolean isDiscrete()isDiscrete.
- Returns:
- true if the data model is discrete, false otherwise.
-
isMixed
boolean isMixed()isMixed.
- Returns:
- true if the data model is mixed continuous/discrete, false otherwise.
-
getVariable
-
copy
-