Bayesian networks now have a GetTopologicalOrdering method. Ancestry/descendantry methods added to RandomVariable.