WeightedSampling.enableMaxTime
- WeightedSampling.enableMaxTime()
Enable max time as a stopping criterion.
- Return type:
None
Example
import pyagrum as gum
bn = gum.fastBN("A->B<-C")
ie = gum.WeightedSampling(bn)
ie.disableMaxTime()
ie.enableMaxTime()
ie.isEnabledMaxTime()
# True
Class
Overridden in