edu.ucla.belief.rc2.creation
Class RC2CreatorDtToDg

Object
  extended by RC2CreatorDtToDg

public class RC2CreatorDtToDg
extends Object

This class orients Dtrees into Dgraphs.


Nested Class Summary
static class RC2CreatorDtToDg.ReducedRootSet
           
 
Method Summary
static RC2Node[] orient(RC2Node rt, Map minVals)
          Cannot be called if rt has already been added to the RC object in rt.rc.
static RC2CreatorDtToDg.ReducedRootSet reduceToOnlyMarginals(RC2Node[] roots, Collection varsOfInterest, BeliefNetwork bn)
          If the roots is not from a complete dgraph, it is possible for the preprocessing to produce incorrect results.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

orient

public static RC2Node[] orient(RC2Node rt,
                               Map minVals)
Cannot be called if rt has already been added to the RC object in rt.rc. TODO document more


reduceToOnlyMarginals

public static RC2CreatorDtToDg.ReducedRootSet reduceToOnlyMarginals(RC2Node[] roots,
                                                                    Collection varsOfInterest,
                                                                    BeliefNetwork bn)
If the roots is not from a complete dgraph, it is possible for the preprocessing to produce incorrect results. As in this case, a variable (in varsOfInterest) may not appear in a cutset and could possibly be mapped to another root thinking it is a leaf variable with no evidence indicators.



Copyright 2010 UCLA Automated Reasoning Group