Reasoning And Decisions In Probabilistic Graphical Models - A Unified Framework