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 SummaryConstructorsConstructorDescriptionType1(Type2 model1, Type3 model2, Parameters parameters) A sample constructor that takes Model 2 and Type3 as parent.
- 
Method Summary
- 
Constructor Details- 
Type1A 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
- 
setNameSets the name of the session model.- Specified by:
- setNamein interface- SessionModel
 
- 
getName- Specified by:
- getNamein interface- SessionModel
- Returns:
- the name of the session model.
 
 
-