-/* Copyright (C) 2006-2008 Joris Mooij [j dot mooij at science dot ru dot nl]
- Radboud University Nijmegen, The Netherlands
-
+/* Copyright (C) 2006-2008 Joris Mooij [joris dot mooij at tuebingen dot mpg dot de]
+ Radboud University Nijmegen, The Netherlands /
+ Max Planck Institute for Biological Cybernetics, Germany
+
This file is part of libDAI.
libDAI is free software; you can redistribute it and/or modify
}
-void ExactInf::create() {
+string ExactInf::printProperties() const {
+ stringstream s( stringstream::out );
+ s << "[";
+ s << "verbose=" << props.verbose << "]";
+ return s.str();
+}
+
+
+void ExactInf::construct() {
// clear variable beliefs and reserve space
_beliefsV.clear();
_beliefsV.reserve( nrVars() );
string ExactInf::identify() const {
- stringstream result (stringstream::out);
- result << Name << getProperties();
- return result.str();
+ return string(Name) + printProperties();
}