00001 //---------------------------------------------------------------------------- 00002 /** @file GoBensonSolver.cpp 00003 See GoBensonSolver.h. */ 00004 //---------------------------------------------------------------------------- 00005 00006 #include "SgSystem.h" 00007 #include "GoBensonSolver.h" 00008 00009 #include "GoBlock.h" 00010 #include "GoSafetyUtil.h" 00011 #include "SgDebug.h" 00012 00013 namespace { 00014 const bool DEBUG_BENSON = false; 00015 } 00016 00017 //---------------------------------------------------------------------------- 00018 00019 void GoBensonSolver::FindSafePoints(SgBWSet* safe) 00020 { 00021 safe->Clear(); 00022 GoStaticSafetySolver::FindSafePoints(safe); 00023 00024 if (DEBUG_BENSON) 00025 GoSafetyUtil::WriteStatistics("GoBensonSolver", Regions(), safe); 00026 } 00027