Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

RingGodel::ValidGodelData Struct Reference

List of all members.

Public Member Functions

 ValidGodelData ()
 Computes the set of valid godels.

Public Attributes

std::vector< RingGodelvalid_godel
std::vector< int > godel_to_index

Detailed Description

Definition at line 90 of file RingGodel.hpp.


Constructor & Destructor Documentation

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.


Member Data Documentation

Definition at line 93 of file RingGodel.hpp.

Referenced by RingGodel::Index(), and ValidGodelData().

Definition at line 92 of file RingGodel.hpp.

Referenced by ValidGodelData(), and RingGodel::ValidGodels().


The documentation for this struct was generated from the following files:


6 Jan 2011 Doxygen 1.6.3