/**
 * Copyright (c) 2011 Michael Kutschke.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Michael Kutschke - initial API and implementation.
 */
package bayesnet.jayes.inference.jtree;

import java.util.List;

import bayesnet.jayes.util.Graph;
import bayesnet.jayes.util.OrderIgnoringPair;
import bayesnet.jayes.util.Pair;

public class JunctionTree {

    private List> clusters;
    private List, List>> sepSets;
    private Graph junctionTreeGraph;

    public JunctionTree() {
    }

    public List> getClusters() {
        return clusters;
    }

    public void setClusters(List> clusters) {
        this.clusters = clusters;
        junctionTreeGraph = new Graph(clusters.size());
    }

    public List, List>> getSepSets() {
        return sepSets;
    }

    public void setSepSets(List, List>> sepSets) {
        this.sepSets = sepSets;
    }

    public Graph getGraph() {
        return junctionTreeGraph;
    }
}

 

Ads help maintain this website.