Resolve "Problem::check() more exhaustive"
Compare changes
- Joaquim Casals Buñuel authored
+ 24
− 24
@@ -885,7 +885,7 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
@@ -885,7 +885,7 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
@@ -929,28 +929,28 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
@@ -929,28 +929,28 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
cout << " o: C" << pm->getOrigin()->id() << " - " << (pm->getOrigin()->getFrame()->isKeyOrAux() ? (pm->getOrigin()->getFrame()->isKey() ? " KF" : " AuxF" ) : " F")
cout << " l: C" << pm->getLast()->id() << " - " << (pm->getLast()->getFrame()->isKeyOrAux() ? (pm->getLast()->getFrame()->isKey() ? " KF" : " AuxF") : " F")
cout << " o: C" << pt->getOrigin()->id() << " - " << (pt->getOrigin()->getFrame()->isKeyOrAux() ? (pt->getOrigin()->getFrame()->isKey() ? " KF" : " AuxF") : " F")
cout << " l: C" << pt->getLast()->id() << " - " << (pt->getLast()->getFrame()->isKeyOrAux() ? (pt->getLast()->getFrame()->isKey() ? " KF" : " AuxF") : " F")
@@ -966,12 +966,12 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
@@ -966,12 +966,12 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
cout << (F->isKeyOrAux() ? (F->isKey() ? " KF" : " AuxF") : " F") << F->id() << ((depth < 2) ? " -- " + std::to_string(F->getCaptureList().size()) + "C " : "");
@@ -995,11 +995,11 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
@@ -995,11 +995,11 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
@@ -1008,9 +1008,9 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
@@ -1008,9 +1008,9 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
@@ -1019,7 +1019,7 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
@@ -1019,7 +1019,7 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
@@ -1058,12 +1058,12 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
@@ -1058,12 +1058,12 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
cout << " f" << f->id() << " trk" << f->trackId() << " " << f->getType() << ((depth < 4) ? " -- " + std::to_string(f->getFactorList().size()) + "c " : "");
@@ -1074,17 +1074,17 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
@@ -1074,17 +1074,17 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
if (c->getFrameOther() == nullptr && c->getCaptureOther() == nullptr && c->getFeatureOther() == nullptr && c->getLandmarkOther() == nullptr)
@@ -1100,12 +1100,12 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
@@ -1100,12 +1100,12 @@ void Problem::print(int depth, bool constr_by, bool metric, bool state_blocks) c
// Landmarks =======================================================================================