A hybrid Bayesian network approach for trade-offs between environmental flows and agricultural water using dynamic discretization. (December 2017)