X-Git-Url: http://git.tuebingen.mpg.de/?p=libdai.git;a=blobdiff_plain;f=include%2Fdai%2Fjtree.h;h=aaff0e21adacb144366e8f2fb302b195a3018917;hp=48a2c29d184149f2238d96c0b8594d835095234b;hb=87c6827445f8fd67801efb6e818771e16229313b;hpb=83f2623b5af4926236d6aeae2a98d8e068d4424f diff --git a/include/dai/jtree.h b/include/dai/jtree.h index 48a2c29..aaff0e2 100644 --- a/include/dai/jtree.h +++ b/include/dai/jtree.h @@ -22,6 +22,7 @@ /// \file /// \brief Defines class JTree +/// \todo Improve documentation #ifndef __defined_libdai_jtree_h @@ -78,23 +79,6 @@ class JTree : public DAIAlgRG { /// Default constructor JTree() : DAIAlgRG(), _mes(), _logZ(), RTree(), Qa(), Qb(), props() {} - /// Copy constructor - JTree( const JTree &x ) : DAIAlgRG(x), _mes(x._mes), _logZ(x._logZ), RTree(x.RTree), Qa(x.Qa), Qb(x.Qb), props(x.props) {} - - /// Assignment operator - JTree& operator=( const JTree &x ) { - if( this != &x ) { - DAIAlgRG::operator=( x ); - _mes = x._mes; - _logZ = x._logZ; - RTree = x.RTree; - Qa = x.Qa; - Qb = x.Qb; - props = x.props; - } - return *this; - } - /// Construct from FactorGraph fg and PropertySet opts JTree( const FactorGraph &fg, const PropertySet &opts, bool automatic=true );