Package org.integratedmodelling.riskwiz.pfunction

Examples of org.integratedmodelling.riskwiz.pfunction.IFunction


   
    }
 
    public static void createNodeOrderedParents(BeliefNetwork bn, BNNode node) {
        Vector<BNNode> orderedParents = new  Vector<BNNode>();
        IFunction func = node.getFunction();

        if (func instanceof TabularFunction) {
            Vector<DiscreteDomain> pdomains = ((TabularFunction) func).getParentsDomains();

            for (DiscreteDomain dom : pdomains) {
View Full Code Here


    }

    private static UT discretizeUF(BNNode node, BeliefNetwork bn)
        throws Exception {

        IFunction cpf = node.getFunction();

        if (cpf instanceof TabularFunction) {
            return converttTabularToUT((TabularFunction) cpf);
        } else {
            return discretizeContUF(cpf, bn);
View Full Code Here

        }
    }

    private static CPT discretizeProbabilisticCPF(BNNode node,
            BeliefNetwork bn) throws ParseException {
        IFunction function = node.getFunction();

        if (function instanceof TabularFunction) {
            return convertTabularToCPT((TabularFunction) function);
        } else {
            return discretizeContProbabilisticCPF(function, bn);
View Full Code Here

    }

    private static CPT discretizeDetF(BNNode node, BeliefNetwork bn)
        throws Exception {

        IFunction cpf = node.getFunction();

        if (cpf instanceof TabularFunction) {

            return convertTbaularDetFToCPT(node, bn);
        } else {
View Full Code Here

        return pT;
    }

    private static PT contDetFtoPT(BNNode node, BeliefNetwork bn)
        throws Exception {
        IFunction detf = node.getFunction();
        DiscretizationDomainMap dmap = new DiscretizationDomainMap(
                detf.getParentsDomains(), bn);
        PT pt = new PT(dmap.getDiscretizedParentDomains());

        int[] productStructureIterator = pt.index2addr(0);
        boolean done = false;
View Full Code Here

TOP

Related Classes of org.integratedmodelling.riskwiz.pfunction.IFunction

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.