Package unbbayes.prs.bn

Examples of unbbayes.prs.bn.SingleEntityNetwork


      // this is the actual BN (i.e. SSBN) to compile
      Network bn = ssbn.getNetwork();
     
      // If it is a SingleEntityNetwork, make sure all variables are properly initialized
      if (bn instanceof SingleEntityNetwork) {
        SingleEntityNetwork singleEntityNetwork = (SingleEntityNetwork) bn;
        singleEntityNetwork.resetNodesCopy();
        singleEntityNetwork.resetEvidences();
      }
     
      // actually compile network using dmp
      dmp.setNetwork(bn);
      dmp.run();
View Full Code Here


  public void propagate() {
    for (IInferenceAlgorithmListener listener : this.getInferenceAlgorithmListeners()) {
      listener.onBeforePropagate(this);
    }
    //this.run();
    SingleEntityNetwork newPn = (SingleEntityNetwork)getNetwork();
   
    // insert evidence 
    UDB2SDB uToS = new UDB2SDB();
    SDB2UDB sToU = new SDB2UDB();
    uToS.setEvidences(newPn)
View Full Code Here

TOP

Related Classes of unbbayes.prs.bn.SingleEntityNetwork

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.