package es.tid.pce.computingEngine.algorithms.wson.svec;

import es.tid.pce.computingEngine.ComputingRequest;
import es.tid.pce.computingEngine.algorithms.ComputingAlgorithm;
import es.tid.pce.computingEngine.algorithms.ComputingAlgorithmManager;
import es.tid.pce.computingEngine.algorithms.ComputingAlgorithmPreComputation;
import es.tid.pce.computingEngine.algorithms.multiLayer.OperationsCounter;
import es.tid.pce.server.wson.ReservationManager;
import es.tid.tedb.TEDB;

public class SVEC_SP_FF_WSON_PathComputingManager implements ComputingAlgorithmManager {

	SVEC_SP_FF_WSON_PathComputingPreComputation preComp;
	
	private ReservationManager reservationManager;
	
	@Override
	public ComputingAlgorithm getComputingAlgorithm(
			ComputingRequest pathReq, TEDB ted) {
		SVEC_SP_FF_WSON_PathComputing algo = new SVEC_SP_FF_WSON_PathComputing(pathReq, ted);
		algo.setPreComp(preComp);	
		return algo;
	}

	@Override
	public void setReservationManager(ReservationManager reservationManager) {
		this.reservationManager=reservationManager;
		
	}

	@Override
	public void setPreComputation(ComputingAlgorithmPreComputation pc) {
		// TODO Auto-generated method stub
		this.preComp=(SVEC_SP_FF_WSON_PathComputingPreComputation) pc;		
	
	}

	@Override
	public ComputingAlgorithm getComputingAlgorithm(ComputingRequest pathReq,
			TEDB ted, OperationsCounter OPcounter) {
		// TODO Auto-generated method stub
		return null;
	}

}

@@ -471,20 +471,114 @@
 id.tedb.
-TEDB
+DomainTEDB;%0D%0Aimport es.tid.tedb.TEDB;%0D%0A%0D%0Aimport java.net.Inet4Address;%0D%0Aimport java.util.Hashtable
 ;%0D%0A%0D%0Apub
@@ -1557,13 +1557,230 @@
 l;%0D%0A%09%7D%0D%0A
+%09@Override%0D%0A%09public ComputingAlgorithm getComputingAlgorithm(ComputingRequest pathReq,%0D%0A%09%09%09%09%09%09%09%09%09%09%09%09%09TEDB ted, Hashtable%3CInet4Address,DomainTEDB%3E intraTEDBs) %7B%0D%0A%09%09// TODO Auto-generated method stub%0D%0A%09%09return null;%0D%0A%09%7D
 %0D%0A%7D%0D%0A

Add files via upload