kill DEBUG constant, its not used any more
This commit is contained in:
parent
7cf8c68e15
commit
9971736a45
@ -496,7 +496,9 @@ BpSolver::converged (void)
|
|||||||
}
|
}
|
||||||
if (residual > BpOptions::accuracy) {
|
if (residual > BpOptions::accuracy) {
|
||||||
converged = false;
|
converged = false;
|
||||||
if (Constants::DEBUG == 0) break;
|
if (Globals::verbosity < 2) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (Globals::verbosity > 1) {
|
if (Globals::verbosity > 1) {
|
||||||
|
@ -39,6 +39,7 @@ namespace Globals {
|
|||||||
|
|
||||||
extern bool logDomain;
|
extern bool logDomain;
|
||||||
|
|
||||||
|
// level of debug information
|
||||||
extern unsigned verbosity;
|
extern unsigned verbosity;
|
||||||
|
|
||||||
extern InfAlgorithms infAlgorithm;
|
extern InfAlgorithms infAlgorithm;
|
||||||
@ -48,9 +49,7 @@ extern InfAlgorithms infAlgorithm;
|
|||||||
|
|
||||||
namespace Constants {
|
namespace Constants {
|
||||||
|
|
||||||
// level of debug information
|
// show message calculation for belief propagation
|
||||||
const unsigned DEBUG = 3;
|
|
||||||
|
|
||||||
const bool SHOW_BP_CALCS = false;
|
const bool SHOW_BP_CALCS = false;
|
||||||
|
|
||||||
const int NO_EVIDENCE = -1;
|
const int NO_EVIDENCE = -1;
|
||||||
|
Reference in New Issue
Block a user