Valuation-based systems: a framework for managing uncertainty in expert systems