Changeset 2321
 Timestamp:
 Feb 11, 2010 9:04:39 PM (10 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

coopr.pysp/trunk/coopr/pysp/scenariotree.py
r2320 r2321 510 510 sum_probabilities += child._conditional_probability 511 511 if abs(1.0  sum_probabilities) > 0.000001: 512 print "The child conditional probabilities for tree node=" + child._name + " sum sto " + `sum_probabilities`512 print "The child conditional probabilities for tree node=" + child._name + " sum to " + `sum_probabilities` 513 513 return False 514 514
Note: See TracChangeset
for help on using the changeset viewer.