// Path: src/nl/esciencecenter/diffevo/likelihoodfunctionfactories/LikelihoodFunctionFactory.java
// public interface LikelihoodFunctionFactory {
// 	
// 	LikelihoodFunction create();
// 
// }
// 
// Path: src/nl/esciencecenter/diffevo/likelihoodfunctionfactories/LikelihoodFunctionRosenbrockModelFactory.java
// public class LikelihoodFunctionRosenbrockModelFactory implements
// 		LikelihoodFunctionFactory {
// 
// 	@Override
// 	public LikelihoodFunction create() {
// 		return new LikelihoodFunctionRosenbrockModel();
// 	}
// 
// }
// 
// Path: src/nl/esciencecenter/diffevo/likelihoodfunctions/LikelihoodFunction.java
// public interface LikelihoodFunction {
// 	
// 	double evaluate(double[][] obs, double[][] sim);
// 	double evaluate(double[] parameterVector);
// 	String getName();
// 
// }


import static org.junit.Assert.*;
import nl.esciencecenter.diffevo.likelihoodfunctionfactories.LikelihoodFunctionFactory;
import nl.esciencecenter.diffevo.likelihoodfunctionfactories.LikelihoodFunctionRosenbrockModelFactory;
import nl.esciencecenter.diffevo.likelihoodfunctions.LikelihoodFunction;
import org.junit.Test;
package nl.esciencecenter.diffevo;




public class RosenbrockModelTest {

	private int nGens;
	private int nPop;
	private ParSpace parSpace;
	private LikelihoodFunctionFactory likelihoodFunctionFactory;
	private DiffEvo diffEvo;
	private EvalResults evalResults;

	public RosenbrockModelTest(){
		nGens = 3000;
		nPop = 50;
		double[] lowerBoundsParSpace = new double[]{-50,-40};
		double[] upperBoundsParSpace = new double[]{50,80};
		String[] parNames = new String[]{"p1","p2"};
		parSpace = new ParSpace(lowerBoundsParSpace,upperBoundsParSpace,parNames);
		parSpace.divideIntoIntervals(500);
// Path: src/nl/esciencecenter/diffevo/likelihoodfunctionfactories/LikelihoodFunctionFactory.java
// public interface LikelihoodFunctionFactory {
// 	
// 	LikelihoodFunction create();
// 
// }
// 
// Path: src/nl/esciencecenter/diffevo/likelihoodfunctionfactories/LikelihoodFunctionRosenbrockModelFactory.java
// public class LikelihoodFunctionRosenbrockModelFactory implements
// 		LikelihoodFunctionFactory {
// 
// 	@Override
// 	public LikelihoodFunction create() {
// 		return new LikelihoodFunctionRosenbrockModel();
// 	}
// 
// }
// 
// Path: src/nl/esciencecenter/diffevo/likelihoodfunctions/LikelihoodFunction.java
// public interface LikelihoodFunction {
// 	
// 	double evaluate(double[][] obs, double[][] sim);
// 	double evaluate(double[] parameterVector);
// 	String getName();
// 
// }


// Path: test/src/nl/esciencecenter/diffevo/RosenbrockModelTest.java
import static org.junit.Assert.*;
import nl.esciencecenter.diffevo.likelihoodfunctionfactories.LikelihoodFunctionFactory;
import nl.esciencecenter.diffevo.likelihoodfunctionfactories.LikelihoodFunctionRosenbrockModelFactory;
import nl.esciencecenter.diffevo.likelihoodfunctions.LikelihoodFunction;
import org.junit.Test;

package nl.esciencecenter.diffevo;




public class RosenbrockModelTest {

	private int nGens;
	private int nPop;
	private ParSpace parSpace;
	private LikelihoodFunctionFactory likelihoodFunctionFactory;
	private DiffEvo diffEvo;
	private EvalResults evalResults;

	public RosenbrockModelTest(){
		nGens = 3000;
		nPop = 50;
		double[] lowerBoundsParSpace = new double[]{-50,-40};
		double[] upperBoundsParSpace = new double[]{50,80};
		String[] parNames = new String[]{"p1","p2"};
		parSpace = new ParSpace(lowerBoundsParSpace,upperBoundsParSpace,parNames);
		parSpace.divideIntoIntervals(500);
		likelihoodFunctionFactory = (LikelihoodFunctionFactory) new LikelihoodFunctionRosenbrockModelFactory();