Package com.bayesserver
Class ValidationOptions
- java.lang.Object
-
- com.bayesserver.ValidationOptions
-
public final class ValidationOptions extends Object
Represents options that govern the validation of a network. SeeNetwork.validate(com.bayesserver.ValidationOptions)
.
-
-
Constructor Summary
Constructors Constructor Description ValidationOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
boolean
getAllowNullDistributions()
Determines whether validation should succeed even if the required distribution(s) have not been assigned to a node.boolean
getAllowNullFunctions()
Determines whether validation should succeed even if a function has not been assigned to a functiomn variable.int
hashCode()
void
setAllowNullDistributions(boolean value)
Determines whether validation should succeed even if the required distribution(s) have not been assigned to a node.void
setAllowNullFunctions(boolean value)
Determines whether validation should succeed even if a function has not been assigned to a functiomn variable.
-
-
-
Method Detail
-
getAllowNullDistributions
public boolean getAllowNullDistributions()
Determines whether validation should succeed even if the required distribution(s) have not been assigned to a node. Default value is false. Temporal nodes (Dynamic Bayesian networks) may require multiple distributions to be specified.
-
setAllowNullDistributions
public void setAllowNullDistributions(boolean value)
Determines whether validation should succeed even if the required distribution(s) have not been assigned to a node. Default value is false. Temporal nodes (Dynamic Bayesian networks) may require multiple distributions to be specified.
-
getAllowNullFunctions
public boolean getAllowNullFunctions()
Determines whether validation should succeed even if a function has not been assigned to a functiomn variable. Default value is false.
-
setAllowNullFunctions
public void setAllowNullFunctions(boolean value)
Determines whether validation should succeed even if a function has not been assigned to a functiomn variable. Default value is false.
-
-