Package edu.cmu.tetrad.sem
Class ParamConstraintType
java.lang.Object
edu.cmu.tetrad.sem.ParamConstraintType
- All Implemented Interfaces:
TetradSerializable
,Serializable
A typesafe enum of the types of the types of constraints on freeParameters for SEM models (LT, GT, EQ). For example,
LT constraints require that the value of a parameter in a given SemIm be less than some value. That value may be a
given number (double) or the value of another parameter.
- Author:
- Frank Wimberly following Joe Ramsey's ParamType class.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParamConstraintType
An "equal to" constraint.static final ParamConstraintType
A "greater than" constraint.static final ParamConstraintType
A "less than" constraint.static final ParamConstraintType
No constraint. -
Method Summary
Modifier and TypeMethodDescriptionstatic ParamConstraintType
Generates a simple exemplar of this class to test serialization.toString()
Prints out the name of the type.
-
Field Details
-
LT
A "less than" constraint. -
GT
A "greater than" constraint. -
EQ
An "equal to" constraint. -
NONE
No constraint.
-
-
Method Details