/*
 * UncminOptimizer.java
 *
 * Created on May 28, 2002, 11:21 AM
 */

package hep.aida.ref.optimizer.uncmin;
import hep.aida.IFunction;
import hep.aida.ext.IOptimizerResult;
import hep.aida.ext.IVariableSettings;
import hep.aida.ref.optimizer.OptimizerResult;
import optimization.Uncmin_f77;
import optimization.Uncmin_methods;

/**
 *
 * @author  turri
 */
public class UncminOptimizer extends hep.aida.ref.optimizer.AbstractOptimizer {
    
    int[] varIndex;
    
    /** Creates a new instance of UncminOptimizer */
    public UncminOptimizer() {
        result = new OptimizerResult();
        configuration = new UncminOptimizerConfiguration();
        domainConstraint = null;
    }
    
    /**
     * Perform the optimization.
     * @return true if the optimization was
     *        successfull, false otherwise.
     *
     */

    /*
    public void optimize() {
        
        if ( function == null ) throw new IllegalArgumentException("Cannot optimize!! The function was not set correctely!");
        
        String[] variableNames = function.variableNames();
        varIndex = new int[variableNames.length];
        
        if ( variableNames == null || variableNames.length == 0 ) throw new IllegalArgumentException("Cannot optimize!! There are no variables in this function!");
        
        int dimension = 0;
        
        for ( int i = 0; i 

Ads help maintain this website.