parameters: (obj)
docstring: converts a Composite to a BayesComposite
  
     if _obj_ is already a BayesComposite or if it is not a _Composite.Composite_ ,
      nothing will be done.
docstring_summary: converts a Composite to a BayesComposite
docstring_tokens: converts a Composite to a BayesComposite
function: def CompositeToBayesComposite(obj):
    """ converts a Composite to a BayesComposite
  
     if _obj_ is already a BayesComposite or if it is not a _Composite.Composite_ ,
      nothing will be done.
  
    """
    if obj.__class__ == BayesComposite:
      return
    elif obj.__class__ == Composite.Composite:
      obj.__class__ = BayesComposite
      obj.resultProbs = None
      obj.condProbs = None
function_tokens: def CompositeToBayesComposite ( obj ) : if obj . __class__ == BayesComposite : return elif obj . __class__ == Composite . Composite : obj . __class__ = BayesComposite obj . resultProbs = None obj . condProbs = None