public final class UnrollOutput extends Object
Unroller.unroll(com.bayesserver.Network, int, com.bayesserver.UnrollOptions)
.Modifier and Type | Class and Description |
---|---|
static class |
UnrollOutput.NodeTime
Identifies a node and related time.
|
static class |
UnrollOutput.VariableTime
Identifies a variable and related time.
|
Modifier and Type | Method and Description |
---|---|
Network |
getDbn()
Gets the Dynamic Bayesian network before it was unrolled.
|
UnrollOutput.NodeTime |
getDbnNode(Node unrolledNode)
Maps from a node in the unrolled network to the corresponding node in the original Dynamic Bayesian network.
|
UnrollOutput.VariableTime |
getDbnVariable(Variable unrolledVariable)
Maps from a variable in the unrolled network to the corresponding variable in the original Dynamic Bayesian network.
|
int |
getSliceCount()
Gets the slice count of the unrolled network.
|
Network |
getUnrolled()
Gets the unrolled Dynamic Bayesian network.
|
Node |
getUnrolledNode(Node dbnNode,
Integer time)
Maps between a node in the original Dynamic Bayesian network, and the corresponding node in the unrolled network.
|
Variable |
getUnrolledVariable(Variable dbnVariable,
Integer time)
Maps between a variable in the original Dynamic Bayesian network, and the corresponding variable in the unrolled network.
|
public Network getDbn()
public Network getUnrolled()
public int getSliceCount()
public UnrollOutput.VariableTime getDbnVariable(Variable unrolledVariable)
unrolledVariable
- The unrolled variable.public UnrollOutput.NodeTime getDbnNode(Node unrolledNode)
unrolledNode
- The unrolled node.public Node getUnrolledNode(Node dbnNode, Integer time)
dbnNode
- The node in the original Dynamic Bayesian network.time
- The time at which to retrieve the corresponding unrolled node.public Variable getUnrolledVariable(Variable dbnVariable, Integer time)
dbnVariable
- The variable in the original Dynamic Bayesian network.time
- The time at which to retrieve the corresponding unrolled variable.Copyright © 2021. All rights reserved.