SoCRocket
Transaction-Level Modeling Framework for Space Applications
#include <stdlib.h>Macros | |
| #define | MAXQUEENS 20 /* Maximum number of queens */ |
| #define | MAXRANKS MAXQUEENS /* Maximum number of ranks (rows) */ |
| #define | MAXFILES MAXQUEENS /* Maximum number of files (columns) */ |
| #define | MAXDIAGS (MAXRANKS+MAXFILES-1) /* Maximum number of diagonals */ |
| #define | EMPTY (MAXQUEENS+1) /* Marks unoccupied file or diagonal */ |
Functions | |
| void | find (int level) |
| int | main (int argc, char **argv) |
| void | find (register int level) |
Variables | |
| int | queens |
| int | ranks |
| int | files |
| int | findall = 0 |
| unsigned long | solutions = 0 |
| int | queen [MAXRANKS] |
| int | file [MAXFILES] |
| int | fordiag [MAXDIAGS] |
| int | bakdiag [MAXDIAGS] |
| void find | ( | int | level | ) |
Referenced by doxycomment::BlockHandler(), core.tools.cpplint::CleanseRawStrings(), find(), core.tools.cpplint::FindNextMultiLineCommentStart(), trap::ELFFrontend::getInstance(), trap::OSEmulator< issueWidth >::initSysCalls(), main(), scireg_ns::scireg_tool_registry::remove_tool(), and sc_register_b< unsigned char >::scireg_remove_callback().
| void find | ( | register int | level | ) |
Referenced by findPath().
| int findall = 0 |