Package com.bayesserver
Class DecomposeOutput
- java.lang.Object
-
- com.bayesserver.DecomposeOutput
-
public final class DecomposeOutput extends Object
Contains information returned byDecomposer.decompose(com.bayesserver.Network, com.bayesserver.DecomposeOptions)
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Network
getDecomposedNetwork()
Gets the network, which is the decomposed equivalent of the original network.Variable
getDecomposedVariable(Variable networkVariable)
Maps a variable in the original network to the equivalent variable in the decomposed network.Network
getOriginalNetwork()
Gets the original network, containing nodes with multiple variables.Variable
getOriginalVariable(Variable decomposedVariable)
Maps a variable in the decomposed network to the equivalent variable in the original network.
-
-
-
Method Detail
-
getOriginalNetwork
public Network getOriginalNetwork()
Gets the original network, containing nodes with multiple variables.- Returns:
- The original network.
-
getDecomposedNetwork
public Network getDecomposedNetwork()
Gets the network, which is the decomposed equivalent of the original network.- Returns:
- The decomposed network.
-
getOriginalVariable
public Variable getOriginalVariable(Variable decomposedVariable)
Maps a variable in the decomposed network to the equivalent variable in the original network.- Parameters:
decomposedVariable
- The variable in the decomposed network.- Returns:
- The equivalent variable in the original network.
-
getDecomposedVariable
public Variable getDecomposedVariable(Variable networkVariable)
Maps a variable in the original network to the equivalent variable in the decomposed network.- Parameters:
networkVariable
- The variable in the original network.- Returns:
- The equivalent variable in the decomposed network.
-
-