Added initialisers for reduction rule counters.

llvm-svn: 113108
This commit is contained in:
Lang Hames 2010-09-05 13:42:32 +00:00
parent e3ac69eca3
commit 64a4a13617
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,10 @@ namespace PBQP {
public:
/// \brief Initialise an empty solution.
Solution()
: r0Reductions(0), r1Reductions(0), r2Reductions(0), rNReductions(0) {}
/// \brief Number of nodes for which selections have been made.
/// @return Number of nodes for which selections have been made.
unsigned numNodes() const { return selections.size(); }