Package unbbayes.prs.mebn.kb

Examples of unbbayes.prs.mebn.kb.SearchResult


          logManager.printText(level5, false, "Try 1: Use the search strategy");
        }
       
       
        //---> 2) Use the Entity Tree Strategy.
        SearchResult searchResult = kb.evaluateSearchContextNodeFormula(contextNode, ovInstances);

        if(searchResult!= null){ 

          if (logManager != null) {
            logManager.printText(level5, false, "Search Result: ");
            for(String[] result: searchResult.getValuesResultList()){
              String resultOv = " > ";
              for(int i = 0; i < result.length; i++){
                resultOv += result[i] + " ";
              }
              logManager.printText(level5, false, resultOv);
            }
          }
         
          //Result valid results: Add the result to the tree of result.
          try {

            mFragInstance.addOVValuesCombination(
                searchResult.getOrdinaryVariableSequence(),
                searchResult.getValuesResultList());

            mFragInstance.setStateEvaluationOfContextNode(contextNode, ContextNodeEvaluationState.EVALUATION_OK);
           
            if (logManager != null) {
              logManager.printText(level5, false, "Node evaluated OK");
View Full Code Here

TOP

Related Classes of unbbayes.prs.mebn.kb.SearchResult

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.