Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

IcePatternSet Class Reference

Collection of Patterns and HashedPatterns for use in ICE. More...

#include <IcePatternSet.hpp>

List of all members.

Public Member Functions

 IcePatternSet ()
 Creates an empty set of patterns.
 ~IcePatternSet ()
 Destructor.
void LoadPatterns (const boost::filesystem::path &file)
 Loads the patterns from the given file.
Pattern Access Methods

const HashedPatternSetHashedDead () const
const HashedPatternSetHashedCaptured (HexColor color) const
const HashedPatternSetHashedPermInf (HexColor color) const
const HashedPatternSetHashedMutualFillin (HexColor color) const
const HashedPatternSetHashedVulnerable (HexColor color) const
const HashedPatternSetHashedReversible (HexColor color) const
const HashedPatternSetHashedDominated (HexColor color) const

Private Attributes

Patterns

Patterns for each type of Inferior cell.

std::vector< Patternm_dead
std::vector< Patternm_captured [BLACK_AND_WHITE]
std::vector< Patternm_permanently_inferior [BLACK_AND_WHITE]
std::vector< Patternm_mutual_fillin [BLACK_AND_WHITE]
std::vector< Patternm_vulnerable [BLACK_AND_WHITE]
std::vector< Patternm_reversible [BLACK_AND_WHITE]
std::vector< Patternm_dominated [BLACK_AND_WHITE]
Hashed Paterns

HashedPatternSets for each type of inferior cell.

HashedPatternSet m_hashed_dead
HashedPatternSet m_hashed_captured [BLACK_AND_WHITE]
HashedPatternSet m_hashed_permanently_inferior [BLACK_AND_WHITE]
HashedPatternSet m_hashed_mutual_fillin [BLACK_AND_WHITE]
HashedPatternSet m_hashed_vulnerable [BLACK_AND_WHITE]
HashedPatternSet m_hashed_reversible [BLACK_AND_WHITE]
HashedPatternSet m_hashed_dominated [BLACK_AND_WHITE]

Detailed Description

Collection of Patterns and HashedPatterns for use in ICE.

Definition at line 19 of file IcePatternSet.hpp.


Constructor & Destructor Documentation

IcePatternSet::IcePatternSet (  ) 

Creates an empty set of patterns.

Definition at line 12 of file IcePatternSet.cpp.

IcePatternSet::~IcePatternSet (  ) 

Destructor.

Definition at line 16 of file IcePatternSet.cpp.


Member Function Documentation

const HashedPatternSet & IcePatternSet::HashedCaptured ( HexColor  color  )  const [inline]

Definition at line 76 of file IcePatternSet.hpp.

References m_hashed_captured.

Referenced by ICEngine::FindCaptured().

const HashedPatternSet & IcePatternSet::HashedDead (  )  const [inline]

Definition at line 70 of file IcePatternSet.hpp.

References m_hashed_dead.

Referenced by ICEngine::FindDead().

const HashedPatternSet & IcePatternSet::HashedDominated ( HexColor  color  )  const [inline]

Definition at line 106 of file IcePatternSet.hpp.

References m_hashed_dominated.

Referenced by ICEngine::FindDominated(), and ICEngine::FindDominatedOnCell().

const HashedPatternSet & IcePatternSet::HashedMutualFillin ( HexColor  color  )  const [inline]

Definition at line 88 of file IcePatternSet.hpp.

References m_hashed_mutual_fillin.

Referenced by ICEngine::FindMutualFillin().

const HashedPatternSet & IcePatternSet::HashedPermInf ( HexColor  color  )  const [inline]

Definition at line 82 of file IcePatternSet.hpp.

References m_hashed_permanently_inferior.

Referenced by ICEngine::FindPermanentlyInferior().

const HashedPatternSet & IcePatternSet::HashedReversible ( HexColor  color  )  const [inline]

Definition at line 100 of file IcePatternSet.hpp.

References m_hashed_reversible.

Referenced by ICEngine::FindReversible().

const HashedPatternSet & IcePatternSet::HashedVulnerable ( HexColor  color  )  const [inline]

Definition at line 94 of file IcePatternSet.hpp.

References m_hashed_vulnerable.

Referenced by ICEngine::FindVulnerable().

void IcePatternSet::LoadPatterns ( const boost::filesystem::path &  file  ) 

Member Data Documentation

Definition at line 49 of file IcePatternSet.hpp.

Referenced by LoadPatterns().

std::vector<Pattern> IcePatternSet::m_dead [private]

Definition at line 48 of file IcePatternSet.hpp.

Referenced by LoadPatterns().

Definition at line 54 of file IcePatternSet.hpp.

Referenced by LoadPatterns().

Definition at line 61 of file IcePatternSet.hpp.

Referenced by HashedCaptured(), and LoadPatterns().

Definition at line 60 of file IcePatternSet.hpp.

Referenced by HashedDead(), and LoadPatterns().

Definition at line 66 of file IcePatternSet.hpp.

Referenced by HashedDominated(), and LoadPatterns().

Definition at line 63 of file IcePatternSet.hpp.

Referenced by HashedMutualFillin(), and LoadPatterns().

Definition at line 62 of file IcePatternSet.hpp.

Referenced by HashedPermInf(), and LoadPatterns().

Definition at line 65 of file IcePatternSet.hpp.

Referenced by HashedReversible(), and LoadPatterns().

Definition at line 64 of file IcePatternSet.hpp.

Referenced by HashedVulnerable(), and LoadPatterns().

Definition at line 51 of file IcePatternSet.hpp.

Referenced by LoadPatterns().

Definition at line 50 of file IcePatternSet.hpp.

Referenced by LoadPatterns().

Definition at line 53 of file IcePatternSet.hpp.

Referenced by LoadPatterns().

Definition at line 52 of file IcePatternSet.hpp.

Referenced by LoadPatterns().


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


6 Jan 2011 Doxygen 1.6.3