Examples of StrategyConfiguration


Examples of de.fzi.herakles.commons.configuration.StrategyConfiguration

      throw new NotBoundException( "No reasoner bound." );
    } catch (NotBoundException e) {
      e.printStackTrace();
    }
   
    StrategyConfiguration strategyConfig = HeraklesManager.getStrategyConfiguration();
    // get the selected load strategy
    String loadStrategy = strategyConfig.getSelectedLoadStrategy();
    // if the load strategy is not selected, use the basic load strategy
    if(loadStrategy.equals("")){
      loadStrategy = "de.fzi.herakles.strategy.impl.BasicLoadStrategy";
    }
    // get the selected execution strategy
    String executionStrategy = strategyConfig.getSelectedExecutionSttrategy();
    // if the execution strategy is not selected, use the basic parallel execution strategy
    if(executionStrategy.equals("")){
      executionStrategy = "de.fzi.herakles.strategy.impl.BasicPStrategy";
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.