00001 /* simpleHashRecord.cc 00002 */ 00003 #include "osl/search/simpleHashRecord.h" 00004 #include "osl/record/csa.h" 00005 #include <map> 00006 #include <iostream> 00007 #include <iomanip> 00008 00009 #ifndef MINIMAL 00010 void osl::search:: 00011 SimpleHashRecord::dump(std::ostream& os) const 00012 { 00013 os << "SimpleHashRecord " << this 00014 << " node_count " << nodeCount() << "\n"; 00015 os << "best move " << record::csa::show(best_move.getMove()) 00016 << " " << best_move.getLogProb() 00017 << "\t"; 00018 os << "limit: l " << lower_limit << " u " << upper_limit << "\n"; 00019 os << "in_check " << inCheck() << "\n"; 00020 if (hasLowerBound(0)) 00021 os << lowerBound(); 00022 else 00023 os << "*"; 00024 os << " < "; 00025 if (hasUpperBound(0)) 00026 os << upperBound(); 00027 else 00028 os << "*"; 00029 os << "\n"; 00030 qrecord.dump(os); 00031 } 00032 00033 00034 #endif 00035 00036 /* ------------------------------------------------------------------------- */ 00037 // ;;; Local Variables: 00038 // ;;; mode:c++ 00039 // ;;; c-basic-offset:2 00040 // ;;; End: