Statistics for the last call to Build(). More...
#include <VCBuilder.hpp>
Public Member Functions | |
std::string | ToString () const |
Dumps statistics to a string. | |
Public Attributes | |
int | base_attempts |
Base connections built. | |
int | base_successes |
Base connections successfully added. | |
int | pattern_attempts |
Pattern connections that match the board. | |
int | pattern_successes |
Pattern connections successfully added. | |
int | and_full_attempts |
Full-connections built by and-rule. | |
int | and_full_successes |
Full-connections successfully added by and-rule. | |
int | and_semi_attempts |
Semi-connections built by and-rule. | |
int | and_semi_successes |
Semi-connections successfully added by and-rule. | |
int | or_attempts |
Full-connections built by or-rule. | |
int | or_successes |
Full-connections successfully added by or-rule. | |
int | doOrs |
Calls to or-rule. | |
int | goodOrs |
Successfull or-rule calls -- at least one full-connection successfully added by this call. | |
int | shrunk0 |
Fulls shrunk in merge phase. | |
int | shrunk1 |
Semis shrunk in merge phase. | |
int | upgraded |
Semis upgraded to fulls in merge phase. | |
int | killed0 |
Fulls killed by opponent stones in merge phase. | |
int | killed1 |
Semis killed by opponent stones in merge phase. |
Statistics for the last call to Build().
Definition at line 53 of file VCBuilder.hpp.
std::string VCBuilderStatistics::ToString | ( | ) | const |
Dumps statistics to a string.
Definition at line 833 of file VCBuilder.cpp.
References and_full_attempts, and_full_successes, and_semi_attempts, and_semi_successes, base_attempts, base_successes, doOrs, goodOrs, killed0, killed1, or_attempts, or_successes, pattern_attempts, pattern_successes, shrunk0, shrunk1, and upgraded.
Referenced by VCCommands::CmdBuilderStats().
Full-connections built by and-rule.
Definition at line 68 of file VCBuilder.hpp.
Referenced by VCBuilder::doAnd(), and ToString().
Full-connections successfully added by and-rule.
Definition at line 71 of file VCBuilder.hpp.
Referenced by VCBuilder::doAnd(), and ToString().
Semi-connections built by and-rule.
Definition at line 74 of file VCBuilder.hpp.
Referenced by VCBuilder::doAnd(), and ToString().
Semi-connections successfully added by and-rule.
Definition at line 77 of file VCBuilder.hpp.
Referenced by VCBuilder::doAnd(), and ToString().
Base connections built.
Definition at line 56 of file VCBuilder.hpp.
Referenced by VCBuilder::AddBaseVCs(), and ToString().
Base connections successfully added.
Definition at line 59 of file VCBuilder.hpp.
Referenced by VCBuilder::AddBaseVCs(), and ToString().
Calls to or-rule.
Definition at line 86 of file VCBuilder.hpp.
Referenced by VCBuilder::ProcessSemis(), and ToString().
Successfull or-rule calls -- at least one full-connection successfully added by this call.
Definition at line 90 of file VCBuilder.hpp.
Referenced by VCBuilder::ProcessSemis(), and ToString().
Fulls killed by opponent stones in merge phase.
Definition at line 102 of file VCBuilder.hpp.
Referenced by VCBuilder::RemoveAllContaining(), and ToString().
Semis killed by opponent stones in merge phase.
Definition at line 105 of file VCBuilder.hpp.
Referenced by VCBuilder::RemoveAllContaining(), and ToString().
Full-connections built by or-rule.
Definition at line 80 of file VCBuilder.hpp.
Referenced by VCBuilder::OrRule::operator()(), and ToString().
Full-connections successfully added by or-rule.
Definition at line 83 of file VCBuilder.hpp.
Referenced by VCBuilder::OrRule::operator()(), and ToString().
Pattern connections that match the board.
Definition at line 62 of file VCBuilder.hpp.
Referenced by VCBuilder::AddPatternVCs(), and ToString().
Pattern connections successfully added.
Definition at line 65 of file VCBuilder.hpp.
Referenced by VCBuilder::AddPatternVCs(), and ToString().
Fulls shrunk in merge phase.
Definition at line 93 of file VCBuilder.hpp.
Referenced by VCBuilder::MergeAndShrink(), and ToString().
Semis shrunk in merge phase.
Definition at line 96 of file VCBuilder.hpp.
Referenced by VCBuilder::MergeAndShrink(), and ToString().
Semis upgraded to fulls in merge phase.
Definition at line 99 of file VCBuilder.hpp.
Referenced by VCBuilder::MergeAndShrink(), and ToString().