Move MsgSchedule enum to inside class BeliefProp.

Move also SPNodeInfo to inside BeliefProp. Improve also some using of enums.
This commit is contained in:
Tiago Gomes
2013-02-20 23:34:03 +00:00
parent ce8152d7a0
commit 6b0e125e3b
6 changed files with 49 additions and 41 deletions

View File

@@ -69,6 +69,7 @@ LiftedBp::printSolverFlags (void) const
std::stringstream ss;
ss << "lifted bp [" ;
ss << "bp_msg_schedule=" ;
typedef WeightedBp::MsgSchedule MsgSchedule;
switch (WeightedBp::msgSchedule()) {
case MsgSchedule::seqFixedSch: ss << "seq_fixed"; break;
case MsgSchedule::seqRandomSch: ss << "seq_random"; break;