undirected graphical models and junction trees 3 6002638