Package edu.cmu.tetrad.sem
Class SemOptimizerRicf
java.lang.Object
edu.cmu.tetrad.sem.SemOptimizerRicf
- All Implemented Interfaces:
SemOptimizer
,TetradSerializable
,Serializable
Optimizes a SEM using RICF (see that class).
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
Optimizes the fitting function of the given Sem using the Powell method from Numerical Recipes by adjusting the freeParameters of the Sem.static SemOptimizerRicf
Generates a simple exemplar of this class to test serialization.void
setNumRestarts
(int numRestarts) toString()
-
Constructor Details
-
SemOptimizerRicf
public SemOptimizerRicf()Blank constructor.
-
-
Method Details
-
serializableInstance
Generates a simple exemplar of this class to test serialization. -
optimize
Optimizes the fitting function of the given Sem using the Powell method from Numerical Recipes by adjusting the freeParameters of the Sem.- Specified by:
optimize
in interfaceSemOptimizer
- Parameters:
semIm
- The unoptimized Sem (will be optimized).
-
getNumRestarts
public int getNumRestarts()- Specified by:
getNumRestarts
in interfaceSemOptimizer
-
setNumRestarts
public void setNumRestarts(int numRestarts) - Specified by:
setNumRestarts
in interfaceSemOptimizer
-
toString
-