Package org.integratedmodelling.riskwiz.pt.map

Examples of org.integratedmodelling.riskwiz.pt.map.SubtableFastMap2


                boolean debugInit = false;
                JTVertexHugin parentCluster = assignParentCluster(node);

                PT clusterPT = parentCluster.getPt();
                PT nodePT = node.getDiscreteCPT();
                SubtableFastMap2 fmap = clusterPT.createSubtableFastMap(nodePT);
                FMarginalizationMap mfmap = new FMarginalizationMap(
                        clusterPT.getDomainProduct(),
                        node.getDiscretizedDomain());
            
                FastMap2 liklihoodfmap = clusterPT.createSubtableFastMap(
View Full Code Here


            if (node.isNature()) {
                ClusterBundle bundle = clusterHash.get(node);
                JTVertexHugin parentCluster = bundle.jtcluster;
                PT clusterPT = parentCluster.getPt();
                PT nodePT = node.getDiscreteCPT();
                SubtableFastMap2 fmap = (SubtableFastMap2) bundle.fopmap;

                // FMarginalizationMap mfmap = bundle.mfmap;
                // FastMap2 liklihoodfmap = bundle.liklihoodfmap;
                // if(init)System.out.println( "clusterPT \n"+
                // clusterPT.toString() + "\n");
View Full Code Here

        PT.marginalizeDomainsFast(sepsetPT, sourcePT, mmap);
     
        // System.out.println("become \n"+ sepsetPT.toString());
        PT targetPT = target.getPt();
    
        SubtableFastMap2 fmap2 = target.getSubtableOpFastMap(jtedge);

        targetPT.multiplyAndDivideBySubtableFast(sepsetPT, oldSepsetPT, fmap2);
    
    }
View Full Code Here

    }
 
    public void createSubtableOpFastMap2(JTEdgeHugin jtedge) {
        Vector<DiscreteDomain> domainProduct = pT.getDomainProduct();
        Vector<DiscreteDomain> sepsetDomainProduct = jtedge.getPt().getDomainProduct();
        SubtableFastMap2 fmap2 = new SubtableFastMap2(domainProduct,
                sepsetDomainProduct);

        subtableOpMapHash.put(jtedge, fmap2);
    }
View Full Code Here

    }
 
    public void createSubtableOpFastMap2(SJTEdge jtedge) {
        Vector<DiscreteDomain> domainProduct = potential.getDomainProduct();
        Vector<DiscreteDomain> sepsetDomainProduct = jtedge.getPotential().getDomainProduct();
        SubtableFastMap2 fmap2 = new SubtableFastMap2(domainProduct,
                sepsetDomainProduct);

        subtableOpMapHash.put(jtedge, fmap2);
    }
View Full Code Here

        PT.marginalizeDomainsFast(sepsetPT, sourcePT, mmap);

        PT targetPT = target.getPotential().getProbabilityPotential();

        SubtableFastMap2 fmap2 = target.getSubtableOpFastMap(jtedge);

        targetPT.multiplyBySubtableFast(sepsetPT, fmap2);
        targetPT.divideBySubtableFast(oldSepsetPT, fmap2);

    }
View Full Code Here

                policyHash);
        jtedge.setPotential(sepsetPT);

        JTPotential targetPT = target.getPotential();

        SubtableFastMap2 fmap2 = target.getSubtableOpFastMap(jtedge);

        targetPT.multiplyBySubtableFast(sepsetPT, fmap2);

    }
View Full Code Here

        // System.out.println();

    }

    public SubtableFastMap2 createSubtableFastMap(PT pt2) {
        return new SubtableFastMap2(this.domainProduct, pt2.domainProduct);
    }
View Full Code Here

TOP

Related Classes of org.integratedmodelling.riskwiz.pt.map.SubtableFastMap2

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.