Examples of printText()


Examples of unbbayes.io.log.ISSBNLogManager.printText()

         throws ImplementationRestrictionException, SSBNNodeGeneralException{
   
    level4 = new IdentationLevel(level3);
    ISSBNLogManager logManager = ssbn.getLogManager();
    if (logManager != null) {
      logManager.printText(level4, false, "Create parents of node " + node);
    }
   
    node.setMFragInstance(mFragInstance);
   
    //--- 1) Evaluate if the node is a finding.
View Full Code Here

Examples of unbbayes.io.log.ISSBNLogManager.printText()

      //The node is a finding...
      node.setState(exactValue.getState());
      ssbn.addFindingToTheFindingList(node);
     
      if (logManager != null) {
        logManager.printText(level4, false, " -> Node " + node +
          " set as a finding. Exact Value = " + exactValue);
      }
    }
   
   
View Full Code Here

Examples of unbbayes.io.log.ISSBNLogManager.printText()

    //If the context node of the MFrag don't are evaluated, the creation of
    //the parents isn't possible
    if(mFragInstance.isUseDefaultDistribution()){
     
      if (logManager != null) {
        logManager.printText(level4, false, " -> Node can't be evaluated: mfrag using default distribution");
      }
      return;
   
    }
   
View Full Code Here

Examples of unbbayes.io.log.ISSBNLogManager.printText()

   
    OrdinaryVariable[] ovFilledArray = node.getOvArray();
    LiteralEntityInstance[] entityFilledArray = node.getEntityArray();
 
    if (logManager != null) {
      logManager.printText(level4, false, " 1) Evaluate the resident node parents");
    }
    for(ResidentNode residentNodeParent: resident.getResidentNodeFatherList()){
     
      List<SimpleSSBNNode> createdNodesList = createParents(node,
          ovFilledArray, entityFilledArray, residentNodeParent);
View Full Code Here

Examples of unbbayes.io.log.ISSBNLogManager.printText()

     
      List<SimpleSSBNNode> createdNodesList = createParents(node,
          ovFilledArray, entityFilledArray, residentNodeParent);
     
      if (logManager != null) {
        logManager.printText(level4, false, "Resident parents generates from the resident node " +
          residentNodeParent);
      }
      int count = 0;
      for(SimpleSSBNNode newNode: createdNodesList){
        if (logManager != null) {
View Full Code Here

Examples of unbbayes.io.log.ISSBNLogManager.printText()

          residentNodeParent);
      }
      int count = 0;
      for(SimpleSSBNNode newNode: createdNodesList){
        if (logManager != null) {
          logManager.printText(level4, false, "Evaluate " + count + " - "+ newNode);
        }
        count= count + 1 ;
        evaluateNodeInMFragInstance(mFragInstance, newNode);
      }
     
View Full Code Here

Examples of unbbayes.io.log.ISSBNLogManager.printText()

     
    }
   
    //---- 3) Create the parents of node from the input nodes
    if (logManager != null) {
      logManager.printText(level4, false, " 2) Evaluate the input node parents");
    }
    for(InputNode inputNodeParent: resident.getParentInputNodesList()){
     
      if(inputNodeParent.getResidentNodePointer().getResidentNode().equals(resident)){
        //Special case: the recursivity.
View Full Code Here

Examples of unbbayes.io.log.ISSBNLogManager.printText()

    for(InputNode inputNodeParent: resident.getParentInputNodesList()){
     
      if(inputNodeParent.getResidentNodePointer().getResidentNode().equals(resident)){
        //Special case: the recursivity.
        if (logManager != null) {
          logManager.printText(level4, false, " Recursivity treatment: " + resident);
        }
       
        SimpleSSBNNode newNode = createRecursiveParents(node, ovFilledArray,
            entityFilledArray, inputNodeParent);
       
View Full Code Here

Examples of unbbayes.io.log.ISSBNLogManager.printText()

     
    }
   
    node.setFinished(true);
    if (logManager != null) {
      logManager.printText(level4, false, "Node " + node + " setted finished");
    }

    mFragInstance.setEvaluated(true);
  }
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.