X-Git-Url: http://git.tuebingen.mpg.de/?p=libdai.git;a=blobdiff_plain;f=include%2Fdai%2Fjtree.h;h=aaff0e21adacb144366e8f2fb302b195a3018917;hp=f1e083157fc64db0aead0d4b7973ddfc814b27f1;hb=87c6827445f8fd67801efb6e818771e16229313b;hpb=4795e2ddd5587464837e478bfb1b8e508c957424 diff --git a/include/dai/jtree.h b/include/dai/jtree.h index f1e0831..aaff0e2 100644 --- a/include/dai/jtree.h +++ b/include/dai/jtree.h @@ -79,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 );