You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert(false, "differential function phi() should not be called from prasp2")
26
-
27
-
valuncertainAtomIndex= arg().getReal.toInt // must be toAbsEli positive Eli
28
-
29
-
-1d// dummy
30
-
31
-
}
32
-
33
-
@deprecated overridedefdiff(i_v: Variable[DoubleReal]):DifferentialFunction[DoubleReal] = { // subject to removal in one of the next versions of DelSAT
34
-
35
-
//prt("Diff phi wrt " + i_v + "...")
36
-
37
-
if (i_v.getName.stripPrefix("anyPwPrForAtom_").toDouble == arg().getValue().getReal)
38
-
39
-
// We are returning the partial derivative d/dx, where x = i_v is toAbsEli variable with name "anyPwPrForAtom_"+uai, with uai being the index
40
-
// of an uncertain atom ua. Since phi(uai) is defined as sum(probabilities of all pws where atom ua holds), the result is
41
-
// either 1 (if this sum is differentiated against the probability variable of any possible world where atom ua holds) or 0 (otherwise).
0 commit comments