optimizer = new Optimizer( this, FileUtil.getHomeDir() +"performance/trebuchet/trebuchet_optimization.txt" );
Parameter[] params = new Parameter[NUM_PARAMS];
//params[0] = new Parameter( WAVE_SPEED, 0.0001, 0.02, "wave speed" );
//params[1] = new Parameter( WAVE_AMPLITUDE, 0.001, 0.2, "wave amplitude" );
//params[2] = new Parameter( WAVE_PERIOD, 0.5, 9.0, "wave period" );
ParameterArray paramArray = new NumericParameterArray( params );
setPaused(false);
optimizer.doOptimization( OptimizationStrategyType.GENETIC_SEARCH, paramArray, 0.3);
}