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