📄 structboard.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Othello Solver: Board struct Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.5 --><div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div><h1>Board Struct Reference<br><small>[<a class="el" href="group__mac.html">Macros, constants, globals & declarations</a>]</small></h1><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Data Fields</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="structBoard.html#o0">square</a> [BOARD_SIZE]</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>char </td><td class="memItemRight" valign=bottom><a class="el" href="structBoard.html#o1">player</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="structBoard.html#o2">n_discs</a> [2]</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="structBoard.html#o3">n_empties</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>double </td><td class="memItemRight" valign=bottom><a class="el" href="structBoard.html#o4">n_nodes</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>unsigned long </td><td class="memItemRight" valign=bottom><a class="el" href="structBoard.html#o5">hash_code</a> [2]</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>unsigned char </td><td class="memItemRight" valign=bottom><a class="el" href="structBoard.html#o6">parity</a> [4]</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structSquareList.html">SquareList</a> </td><td class="memItemRight" valign=bottom><a class="el" href="structBoard.html#o7">empties</a> [MAX_SCORE-2]</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structSquareList.html">SquareList</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="structBoard.html#o8">position_to_empties</a> [BOARD_SIZE]</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>board representation <p><hr><h2>Field Documentation</h2><a class="anchor" name="o7" doxytag="Board::empties" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="structSquareList.html">SquareList</a> <a class="el" href="structBoard.html#o7">Board::empties</a>[MAX_SCORE - 2] </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>list of empty squares </td> </tr></table><a class="anchor" name="o5" doxytag="Board::hash_code" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> unsigned long <a class="el" href="structBoard.html#o5">Board::hash_code</a>[2] </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>64 bit hash code </td> </tr></table><a class="anchor" name="o2" doxytag="Board::n_discs" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int <a class="el" href="structBoard.html#o2">Board::n_discs</a>[2] </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>disc numbers </td> </tr></table><a class="anchor" name="o3" doxytag="Board::n_empties" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int <a class="el" href="structBoard.html#o3">Board::n_empties</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>number of empty squares </td> </tr></table><a class="anchor" name="o4" doxytag="Board::n_nodes" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> double <a class="el" href="structBoard.html#o4">Board::n_nodes</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>node counter </td> </tr></table><a class="anchor" name="o6" doxytag="Board::parity" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> unsigned char <a class="el" href="structBoard.html#o6">Board::parity</a>[4] </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>quadrant parity </td> </tr></table><a class="anchor" name="o1" doxytag="Board::player" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> char <a class="el" href="structBoard.html#o1">Board::player</a> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>player to move </td> </tr></table><a class="anchor" name="o8" doxytag="Board::position_to_empties" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="structSquareList.html">SquareList</a>* <a class="el" href="structBoard.html#o8">Board::position_to_empties</a>[BOARD_SIZE] </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>link position to the list </td> </tr></table><a class="anchor" name="o0" doxytag="Board::square" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> char <a class="el" href="structBoard.html#o0">Board::square</a>[BOARD_SIZE] </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>square content </td> </tr></table><hr>The documentation for this struct was generated from the following file:<ul><li><a class="el" href="solver_8c.html">solver.c</a></ul><hr size="1"><address style="align: right;"><small>Generated on Mon Apr 12 19:31:51 2004 for Othello Solver by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.5 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -