Implementing Paul Thagard's connectionist algorithm for solving influence diagrams