Search in sources :

Example 11 with Parameter

use of edu.cmu.tetrad.sem.Parameter in project tetrad by cmu-phil.

the class SemEstimatorWrapper method containsCovarParam.

private static boolean containsCovarParam(SemPm semPm) {
    boolean containsCovarParam = false;
    List<Parameter> params = semPm.getParameters();
    for (Parameter param : params) {
        if (param.getType() == ParamType.COVAR) {
            containsCovarParam = true;
            break;
        }
    }
    return containsCovarParam;
}
Also used : Parameter(edu.cmu.tetrad.sem.Parameter)

Aggregations

Parameter (edu.cmu.tetrad.sem.Parameter)11 DataSet (edu.cmu.tetrad.data.DataSet)3 EdgeListGraph (edu.cmu.tetrad.graph.EdgeListGraph)3 Graph (edu.cmu.tetrad.graph.Graph)3 GraphNode (edu.cmu.tetrad.graph.GraphNode)3 Node (edu.cmu.tetrad.graph.Node)3 SemEstimator (edu.cmu.tetrad.sem.SemEstimator)3 SemIm (edu.cmu.tetrad.sem.SemIm)3 SemPm (edu.cmu.tetrad.sem.SemPm)3 Test (org.junit.Test)3 PropertyChangeEvent (java.beans.PropertyChangeEvent)2 PropertyChangeListener (java.beans.PropertyChangeListener)2 DisplayNode (edu.cmu.tetradapp.workbench.DisplayNode)1 List (java.util.List)1