Package uk.ac.soton.itinnovation.pes.data.model

Examples of uk.ac.soton.itinnovation.pes.data.model.ObjectiveFunctionConfig


   */
    private AObjectiveFunction setUpObjFunc(String xmlFile, AModel appModel,
            IPriceCalculator priceCalculator, EstimationResult estimationResult,
            DAOFactory daoFactory, String workspace, Map<String, List<AttributeType>> aslaParams) throws Exception
    {
        ObjectiveFunctionConfig objFuncConfig = null;
        AObjectiveFunction objFunc = null;

    System.out.println("[TestFramework] Loading objective function from XML file");
        objFuncConfig = optUtil.loadObjectiveFunction(xmlFile);
        objFunc = classLoader.getObjectiveFunctionInstance(objFuncConfig.getImplClazz());

        System.out.println("[TestFramework] Initialising objective function");
        objFunc.init(objFuncConfig, appModel, aslaParams, workspace, estimationResult, daoFactory);
        objFunc.setPriceCalculator(priceCalculator);

View Full Code Here

TOP

Related Classes of uk.ac.soton.itinnovation.pes.data.model.ObjectiveFunctionConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.