aGrUM  0.17.2
a C++ library for (probabilistic) graphical models
graphicalModel.cpp
Go to the documentation of this file.
1 
24 
25 #ifdef GUM_NO_INLINE
27 #endif /* GUM_NO_INLINE */
28 
29 namespace gum {
30  GraphicalModel::GraphicalModel() : __propertiesMap(nullptr) {
31  GUM_CONSTRUCTOR(GraphicalModel);
32  }
33 
35  __propertiesMap(nullptr) {
36  GUM_CONS_CPY(GraphicalModel);
37 
38  if (from.__propertiesMap) {
41  }
42  }
43 
45  GUM_DESTRUCTOR(GraphicalModel);
46  if (__propertiesMap) { delete __propertiesMap; }
47  }
48 
50  if (this != &source) {
51  if (__propertiesMap) {
52  delete __propertiesMap;
53  __propertiesMap = nullptr;
54  }
55 
56  if (source.__propertiesMap != 0) {
59  }
60  }
61  return *this;
62  }
63 } // namespace gum
Virtual base class for probabilistic graphical models.
HashTable< std::string, std::string > * __propertiesMap
The properties of this Directed Graphical Model. Initialized using a lazy instantiation.
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
Definition: agrum.h:25
virtual ~GraphicalModel()
Destructor.
GraphicalModel & operator=(const GraphicalModel &source)
Private copy operator.
GraphicalModel()
Default constructor.
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.