Public Member Functions | |
ValidGodelData () | |
Computes the set of valid godels. | |
Public Attributes | |
std::vector< RingGodel > | valid_godel |
std::vector< int > | godel_to_index |
Definition at line 90 of file RingGodel.hpp.
RingGodel::ValidGodelData::ValidGodelData | ( | ) |
Computes the set of valid godels.
This skips godels where a slice is empty and either black or white. Also computes the godel to index vector for fast lookups -- using a map is apparently too slow.
Definition at line 132 of file RingGodel.cpp.
References RingGodel::BITS_PER_SLICE, BLACK, RingGodel::GlobalData::color_slice_score, EMPTY, RingGodel::GetGlobalData(), godel_to_index, RingGodel::GlobalData::mask_slice_score, Pattern::NUM_SLICES, valid_godel, and WHITE.
std::vector<int> RingGodel::ValidGodelData::godel_to_index |
Definition at line 93 of file RingGodel.hpp.
Referenced by RingGodel::Index(), and ValidGodelData().
std::vector<RingGodel> RingGodel::ValidGodelData::valid_godel |
Definition at line 92 of file RingGodel.hpp.
Referenced by ValidGodelData(), and RingGodel::ValidGodels().