package pricer;
import java.util.ArrayList;
import java.util.Map;
import java.util.TreeMap;

import pricer.spi.Algorithm;


public class BinomialTree implements Algorithm {
	public String algorithmName;
	private ArrayList<String> productName=new ArrayList<String>();
	
	public BinomialTree(){
		algorithmName = "binomialTree";
		productName.add("AmericanOption");
	}

	@Override
	public TreeMap<String, Float> getParameterMap() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setParameter(TreeMap<String, Float> a) {
		// TODO Auto-generated method stub

	}

	@Override
	public Float[] calculate() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getAlgorithmName() {
		// TODO Auto-generated method stub
		return algorithmName;
	}

	@Override
	public ArrayList<String> getProductName() {
		return productName;
	}

}

@@ -414,21 +414,22 @@
 String, 
-Float
+Double
 %3E getPar
@@ -557,21 +557,22 @@
 String, 
-Float
+Double
 %3E a) %7B%0D%0A
@@ -641,13 +641,14 @@
 lic 
-Float
+double
 %5B%5D c

fix binomialTree