Changeset 2375 for coopr.pysp/trunk/coopr/pysp/scenariotree.py
 Timestamp:
 Feb 19, 2010 4:35:39 PM (10 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

coopr.pysp/trunk/coopr/pysp/scenariotree.py
r2374 r2375 480 480 sum_probabilities += child._conditional_probability 481 481 if abs(1.0  sum_probabilities) > 0.000001: 482 print "The child conditional probabilities for tree node=" + child._name + " sum to " + `sum_probabilities`482 print "The child conditional probabilities for tree node=" + tree_node._name + " sum to " + `sum_probabilities` 483 483 return False 484 484
Note: See TracChangeset
for help on using the changeset viewer.