LoopyWeightedSampling.isEnabledMaxTime

LoopyWeightedSampling.isEnabledMaxTime()
Returns:

True if max time is used as a stopping criterion

Return type:

bool

Example

import pyagrum as gum

bn = gum.fastBN("A->B<-C")
ie = gum.LoopyWeightedSampling(bn)
ie.isEnabledMaxTime()  # is the time a stopping criterion
# True

Class

LoopyWeightedSampling