Package edu.cmu.tetrad.session
Class Type1
java.lang.Object
edu.cmu.tetrad.session.Type1
- All Implemented Interfaces:
SessionModel
,TetradSerializable
,TetradSerializableExcluded
,Serializable
A sample class to be wrapped in a SessionNode as a model.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionType1
(Type2 model1, Type3 model2, Parameters parameters) A sample constructor that takes Model 2 and Type3 as parent. -
Method Summary
-
Constructor Details
-
Type1
A sample constructor that takes Model 2 and Type3 as parent. The session node wrapping this should allow parent session nodes to be added that wrap either Type2 or Type3 and when parents of both types are added it should allow a model of type Type1 to be created. SessionNodes wrapping models of other types should not be addable as parents.
-
-
Method Details
-
serializableInstance
-
equals
-
getName
- Specified by:
getName
in interfaceSessionModel
- Returns:
- the name of the session model.
-
setName
Sets the name of the session model.- Specified by:
setName
in interfaceSessionModel
-