libkombilo  0.8
Data Structures | Typedefs | Functions | Variables
/home/ug/devel/kombilo-py-dev/kombilo/libkombilo/pattern.h File Reference
#include <vector>
#include <stack>
#include <fstream>
#include "sqlite3.h"
#include "pstdint.h"
#include <boost/unordered_map.hpp>
#include "abstractboard.h"
#include "sgfparser.h"

Go to the source code of this file.

Data Structures

class  SnapshotVector
 
class  PatternError
 
class  DBError
 
class  Symmetries
 
class  Pattern
 
class  Continuation
 
class  PatternList
 
class  Candidate
 
class  Hit
 

Typedefs

typedef char * char_p
 
typedef int64_t hashtype
 

Functions

char * flipped_sig (int f, char *sig, int boardsize)
 
char * symmetrize (char *sig, int boardsize)
 

Variables

const hashtype NOT_HASHABLE = 9223372036854775807LL
 
const char NO_CONT = 255
 
const int CORNER_NW_PATTERN = 0
 
const int CORNER_NE_PATTERN = 1
 
const int CORNER_SW_PATTERN = 2
 
const int CORNER_SE_PATTERN = 3
 
const int SIDE_N_PATTERN = 4
 
const int SIDE_W_PATTERN = 5
 
const int SIDE_E_PATTERN = 6
 
const int SIDE_S_PATTERN = 7
 
const int CENTER_PATTERN = 8
 
const int FULLBOARD_PATTERN = 9
 
const int ALGO_FINALPOS = 1
 
const int ALGO_MOVELIST = 2
 
const int ALGO_HASH_FULL = 4
 
const int ALGO_HASH_CORNER = 8
 
const int ALGO_HASH_CENTER = 32
 
const int ALGO_HASH_SIDE = 64
 
const int algo_finalpos = 1
 
const int algo_movelist = 2
 
const int algo_hash_full = 3
 
const int algo_hash_corner = 4
 
const int algo_intervals = 5
 
const int algo_hash_center = 6
 
const int algo_hash_side = 7
 
date profile constants
const int DATE_PROFILE_START = 1600
 
const int DATE_PROFILE_END = 2020
 

Detailed Description

part of libkombilo, http://www.u-go.net/kombilo/

Copyright (c) 2006-12 Ulrich Goertz ug@ge.nosp@m.omet.nosp@m.ry.de

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.