Package de.fzi.herakles.commons.configuration

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


      for( ReasonerAdapter reasoner : reasonerPool ) {
        Properties reasonerProperties = reasoner.getReasonerProperties();
//        double aBoxTBoxRatioLowerBound = Double.parseDouble( reasonerProperties.getProperty( "ABoxTBoxRatioLowerBound", "0" ) );
//        double aBoxTBoxRatioUpperBound = Double.parseDouble( reasonerProperties.getProperty( "ABoxTBoxRatioUpperBound", "1" ) );
       
        FunctionConfiguration functionCfg = HeraklesManager.getFunctionConfiguration();
        ReasonerRegistry registry = HeraklesManager.getReasonerRegistry();
        String reasonerID = registry.getReasonerID(reasoner);
        double aBoxTBoxRatioLowerBound = functionCfg.getLowerBound(reasonerID);
        double aBoxTBoxRatioUpperBound = functionCfg.getUpperBound(reasonerID);
       
        if(logger.isDebugEnabled()){
          logger.debug("The lower bound is: " + aBoxTBoxRatioLowerBound);
          logger.debug("The upper bound is: " + aBoxTBoxRatioUpperBound);
        }
View Full Code Here

TOP

Related Classes of de.fzi.herakles.commons.configuration.FunctionConfiguration

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.