/*******************************************************************************
 * Copyright (c) 2012 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.transformation;

import bayesnet.jayes.BayesNet;
import bayesnet.jayes.BayesNode;
import bayesnet.jayes.transformation.util.DecompositionFailedException;

/**
 * Interface for decomposition algorithms. The basic idea is to decompose a probability distribution p(x,y) by
 * introducing a new variable z such that 
* \f$ p(x,y) = \sum_z p(x,z)p(z,y) \f$
* This can be done through matrix decomposition. */ public interface IDecompositionStrategy { /** * decomposes a single conditional probability distribution. * * @param node * node contained in net * @throws DecompositionFailedException * when the decomposition failed. In this case, the strategy should not alter the network */ void decompose(BayesNet net, BayesNode node) throws DecompositionFailedException; }

Ads help maintain this website.