pairstat.cc File Reference

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions
pairstat.cc File Reference
`#include "osl/eval/ppair/piecePairRawEval.h"`
`#include "osl/record/csaString.h"`
`#include "osl/state/simpleState.h"`
`#include <iostream>`
`#include <iomanip>`
`#include <cstdlib>`
`#include <cstdio>`
`#include <unistd.h>`
Include dependency graph for pairstat.cc:

Go to the source code of this file.

## Functions
void | usage (const char *prog)
void | showPieceStat (Player, Ptype)
void | showPairStat (Player, Square, Ptype)
int | main (int argc, char **argv)
void | showPairStatAgainst (Player player2, Ptype ptype2, unsigned int index1)

## Function Documentation

int main | ( | int | argc,
|  | char ** | argv
| ) |  |

Definition at line 30 of file pairstat.cc.

References osl::BLACK, osl::PPAWN, osl::PROOK, osl::PTYPE_MAX, showPairStat(), showPieceStat(), usage(), and osl::WHITE.

void showPairStat | ( | Player | player,
|  | Square | pos1,
|  | Ptype | ptype1
| ) |  |

Definition at line 121 of file pairstat.cc.

References osl::alt(), osl::newPtypeO(), osl::PPAWN, osl::PTYPE_MAX, and showPairStatAgainst().

Referenced by main().

void showPairStatAgainst | ( | Player | player2,
|  | Ptype | ptype2,
|  | unsigned int | index1
| ) |  |

Definition at line 102 of file pairstat.cc.

References osl::newPtypeO(), and osl::Square::STAND().

Referenced by showPairStat().

void showPieceStat | ( | Player | player,
|  | Ptype | ptype
| ) |  |

Definition at line 81 of file pairstat.cc.

References osl::newPtypeO(), and osl::Square::STAND().

Referenced by main().

void usage | ( | const char * | prog) |  |

Definition at line 16 of file pairstat.cc.