Package edu.cmu.tetrad.sem
Class GeneralizedSemEstimator.MyContext
java.lang.Object
edu.cmu.tetrad.sem.GeneralizedSemEstimator.MyContext
- All Implemented Interfaces:
Context
- Enclosing class:
- GeneralizedSemEstimator
Context.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the value of a variable or parameter.voidputParameterValue(String s, double parameter) Puts a parameter value into the parameterValues map of the MyContext class.voidputVariableValue(String s, double value) Puts a variable value into the variableValues map of the MyContext class.
-
Constructor Details
-
MyContext
public MyContext()Constructs a new MyContext.
-
-
Method Details
-
getValue
Get the value of a variable or parameter. -
putParameterValue
Puts a parameter value into the parameterValues map of the MyContext class.- Parameters:
s- The key for the parameter value.parameter- The value to be put in the map.
-
putVariableValue
Puts a variable value into the variableValues map of the MyContext class.- Parameters:
s- The key for the variable value.value- The value to be put in the map.
-