|
COOPY » Guide
version 0.6.5
|
#include <FMap.h>
Public Types | |
| typedef efficient_map< Feature, FVal > | Cache |
Public Member Functions | |
| FPolyMap (coopy::store::SparseFloatSheet &sheet, int len) | |
| coopy::store::FloatSheet & | getMatch () |
| void | setCurr (int x, int y) |
| void | resetCount () |
| void | resetCache () |
| void | queryBit (std::string txt) |
| void | addBit (std::string txt, bool alt) |
| void | applyBit (const std::string &bit, bool query, bool alt) |
| void | add (std::string txt, bool query, bool alt, int ctrl) |
| void | summarize (bool force=false) |
Static Public Member Functions | |
| static int | getCtrlMax () |
Data Fields | |
| int | ct |
| int | xcurr |
| int | ycurr |
| Cache | f |
| coopy::store::SparseFloatSheet & | rowMatch |
| bool | query |
| int | len |
| typedef efficient_map<Feature,FVal> coopy::cmp::FPolyMap< FVal >::Cache |
| coopy::cmp::FPolyMap< FVal >::FPolyMap | ( | coopy::store::SparseFloatSheet & | sheet, |
| int | len | ||
| ) | [inline] |
Definition at line 32 of file FMap.h.
References coopy::cmp::FPolyMap< FVal >::ct, coopy::cmp::FPolyMap< FVal >::len, and coopy::cmp::FPolyMap< FVal >::query.
| void coopy::cmp::FPolyMap< FVal >::add | ( | std::string | txt, |
| bool | query, | ||
| bool | alt, | ||
| int | ctrl | ||
| ) | [inline] |
Definition at line 89 of file FMap.h.
References coopy::cmp::FPolyMap< FVal >::applyBit(), coopy::cmp::FPolyMap< FVal >::len, and coopy::cmp::FPolyMap< FVal >::query.
| void coopy::cmp::FPolyMap< FVal >::addBit | ( | std::string | txt, |
| bool | alt | ||
| ) | [inline] |
Definition at line 67 of file FMap.h.
References coopy::cmp::FPolyMap< FVal >::ct, coopy::cmp::FPolyMap< FVal >::f, coopy::cmp::FPolyMap< FVal >::summarize(), and coopy::cmp::FPolyMap< FVal >::ycurr.
Referenced by coopy::cmp::FPolyMap< FVal >::applyBit().
| void coopy::cmp::FPolyMap< FVal >::applyBit | ( | const std::string & | bit, |
| bool | query, | ||
| bool | alt | ||
| ) | [inline] |
Definition at line 80 of file FMap.h.
References coopy::cmp::FPolyMap< FVal >::addBit(), and coopy::cmp::FPolyMap< FVal >::queryBit().
Referenced by coopy::cmp::FPolyMap< FVal >::add().
| static int coopy::cmp::FPolyMap< FVal >::getCtrlMax | ( | ) | [inline, static] |
| coopy::store::FloatSheet& coopy::cmp::FPolyMap< FVal >::getMatch | ( | ) |
| void coopy::cmp::FPolyMap< FVal >::queryBit | ( | std::string | txt | ) | [inline] |
Definition at line 58 of file FMap.h.
References coopy::cmp::FPolyMap< FVal >::ct, coopy::cmp::FPolyMap< FVal >::f, coopy::cmp::FPolyMap< FVal >::rowMatch, coopy::cmp::FPolyMap< FVal >::summarize(), and coopy::cmp::FPolyMap< FVal >::ycurr.
Referenced by coopy::cmp::FPolyMap< FVal >::applyBit().
| void coopy::cmp::FPolyMap< FVal >::resetCache | ( | ) | [inline] |
Definition at line 54 of file FMap.h.
References coopy::cmp::FPolyMap< FVal >::f.
| void coopy::cmp::FPolyMap< FVal >::resetCount | ( | ) | [inline] |
Definition at line 49 of file FMap.h.
References coopy::cmp::FPolyMap< FVal >::ct, and coopy::cmp::FPolyMap< FVal >::query.
| void coopy::cmp::FPolyMap< FVal >::setCurr | ( | int | x, |
| int | y | ||
| ) | [inline] |
Definition at line 44 of file FMap.h.
References coopy::cmp::FPolyMap< FVal >::xcurr, and coopy::cmp::FPolyMap< FVal >::ycurr.
| void coopy::cmp::FPolyMap< FVal >::summarize | ( | bool | force = false | ) | [inline] |
Definition at line 119 of file FMap.h.
References coopy::cmp::FPolyMap< FVal >::ct.
Referenced by coopy::cmp::FPolyMap< FVal >::addBit(), and coopy::cmp::FPolyMap< FVal >::queryBit().
| int coopy::cmp::FPolyMap< FVal >::ct |
Definition at line 25 of file FMap.h.
Referenced by coopy::cmp::FPolyMap< FVal >::addBit(), coopy::cmp::FPolyMap< FVal >::FPolyMap(), coopy::cmp::FPolyMap< FVal >::queryBit(), coopy::cmp::FPolyMap< FVal >::resetCount(), and coopy::cmp::FPolyMap< FVal >::summarize().
| Cache coopy::cmp::FPolyMap< FVal >::f |
Definition at line 27 of file FMap.h.
Referenced by coopy::cmp::FPolyMap< FVal >::addBit(), coopy::cmp::FPolyMap< FVal >::queryBit(), and coopy::cmp::FPolyMap< FVal >::resetCache().
| int coopy::cmp::FPolyMap< FVal >::len |
Definition at line 30 of file FMap.h.
Referenced by coopy::cmp::FPolyMap< FVal >::add(), and coopy::cmp::FPolyMap< FVal >::FPolyMap().
| bool coopy::cmp::FPolyMap< FVal >::query |
Definition at line 29 of file FMap.h.
Referenced by coopy::cmp::FPolyMap< FVal >::add(), coopy::cmp::FPolyMap< FVal >::FPolyMap(), and coopy::cmp::FPolyMap< FVal >::resetCount().
| coopy::store::SparseFloatSheet& coopy::cmp::FPolyMap< FVal >::rowMatch |
Definition at line 28 of file FMap.h.
Referenced by coopy::cmp::FPolyMap< FVal >::queryBit().
| int coopy::cmp::FPolyMap< FVal >::xcurr |
Definition at line 26 of file FMap.h.
Referenced by coopy::cmp::FPolyMap< FVal >::setCurr().
| int coopy::cmp::FPolyMap< FVal >::ycurr |
Definition at line 26 of file FMap.h.
Referenced by coopy::cmp::FPolyMap< FVal >::addBit(), coopy::cmp::FPolyMap< FVal >::queryBit(), and coopy::cmp::FPolyMap< FVal >::setCurr().
1.7.4