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.
- Author:
- josephramsey
-
Field Summary
Fields -
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 serialVersionUID- See Also:
-
-
Method Details
-
getName
String getName()- Returns:
- the name of the data model (may be null).
-
setName
Sets the name of the data model (may be null). -
toString
String toString()Renders the data model as as String. -
isContinuous
boolean isContinuous() -
isDiscrete
boolean isDiscrete() -
isMixed
boolean isMixed() -
getVariable
-
copy
DataModel copy()
-