public final class DistributionSpecification extends Object
| Constructor and Description |
|---|
DistributionSpecification(Node node)
Initializes a new instance of the
DistributionSpecification class. |
DistributionSpecification(Node node,
int order)
Initializes a new instance of the
DistributionSpecification class. |
DistributionSpecification(Node node,
NodeDistributionKey key)
Initializes a new instance of the
DistributionSpecification class. |
| Modifier and Type | Method and Description |
|---|---|
DiscretePriorMethod |
getDiscretePriorMethod()
Gets the type of discrete prior to use for this distribution.
|
Boolean |
getInitialize()
Gets a flag indicating whether the distribution should be initialized.
|
NodeDistributionKey |
getKey()
Gets the order/related node of the distribution.
|
Node |
getNode()
Gets the
Node this distribution specification refers to. |
int |
getOrder()
Gets the order of the distribution, for temporal nodes.
|
void |
setDiscretePriorMethod(DiscretePriorMethod value)
Sets the type of discrete prior to use for this distribution.
|
void |
setInitialize(Boolean value)
Sets a flag indicating whether the distribution should be initialized.
|
public DistributionSpecification(Node node)
DistributionSpecification class.node - The node the distribution refers to.public DistributionSpecification(Node node, int order)
DistributionSpecification class.node - The node the distribution refers to.order - The order of the distribution, for temporal nodes.public DistributionSpecification(Node node, NodeDistributionKey key)
DistributionSpecification class.node - The node the distribution refers to.key - Properties that identify the distribution, such as the temporal order.public Boolean getInitialize()
nullInitializationOptions.getInitializeDistributions() will be used to determine whether initialization is performed.true initialize the distribution, when false do not initialize the distributions, and when null use the value from InitializationOptions.getInitializeDistributions().public void setInitialize(Boolean value)
nullInitializationOptions.getInitializeDistributions() will be used to determine whether initialization is performed.value - When true initialize the distribution, when false do not initialize the distributions, and when null use the value from InitializationOptions.getInitializeDistributions().public DiscretePriorMethod getDiscretePriorMethod()
nullcom.bayesserver.learning.parameters.PriorOptions#getDiscretePriorMethod will be used to determine the type of prior.public void setDiscretePriorMethod(DiscretePriorMethod value)
nullcom.bayesserver.learning.parameters.PriorOptions#getDiscretePriorMethod will be used to determine the type of prior.public int getOrder()
public NodeDistributionKey getKey()
Copyright © 2021. All rights reserved.