ImportanceSampling.maxTime

ImportanceSampling.maxTime()
Returns:

the timeout(in seconds)

Return type:

float

Example

import pyagrum as gum

bn = gum.fastBN("A->B<-C")
ie = gum.ImportanceSampling(bn)
ie.maxTime()
# 6000.0
ie.setMaxTime(10.0)
ie.maxTime()
# 10.0

Class

ImportanceSampling

Overridden in

LoopyImportanceSampling.maxTime