simplified dependency structure for Bayes nets and MRFs