#include "osl/ntesuki/ntesukiSearcher.h"
#include "osl/ntesuki/ntesukiMove.h"
#include "osl/ntesuki/ntesukiMoveList.h"
#include "osl/ntesuki/ntesukiSimulationSearcher.h"
#include "osl/apply_move/applyMoveWithPath.h"
#include "osl/effect_util/effectUtil.h"
#include "osl/record/csaRecord.h"
#include <climits>
#include <list>
#include <algorithm>
Go to the source code of this file.
Classes | |
struct | PlayMoveLock |
struct | LockGC |
class | osl::ntesuki::NtesukiSearcher::AttackHelper< Search, T > |
class | osl::ntesuki::NtesukiSearcher::CallSimulationAttack< Search, T > |
class | osl::ntesuki::NtesukiSearcher::DefenseHelper< Search, T > |
class | osl::ntesuki::NtesukiSearcher::CallSimulationDefense< Search, T > |
class | osl::ntesuki::NtesukiSearcher::CallSimulationDefenseDisproof< Search, T > |
class | CountChildLock |
Defines | |
#define | RETURN(val) |
#define | RETURN_ON_STOP |
Typedefs | |
typedef std::pair< unsigned int, unsigned int > | top_pdp_t |
Functions | |
static unsigned int | addWithSaturation (unsigned int limit, unsigned int l, unsigned int r) |
static bool | sorter (const top_pdp_t &lhs, const top_pdp_t &rhs) |
Variables | |
const int | READ_ATTACK_BACK_LIMIT = 5120 |
#define RETURN | ( | val | ) |
if (record->getValueWithPath<A>(pass_left, path).proof() == 0)\ ntesuki_assert(record->getValueWithPath<A>(pass_left, path).disproof() > ProofDisproof::DISPROOF_LIMIT);\ if (record->getValueWithPath<A>(pass_left, path).disproof() == 0)\ ntesuki_assert(record->getValueWithPath<A>(pass_left, path).proof() > ProofDisproof::PROOF_LIMIT);\ ntesuki_assert(val.isFinal() == record->getValueWithPath<A>(pass_left, path).isFinal());\ return val
Definition at line 30 of file ntesukiSearcher.tcc.
Referenced by osl::ntesuki::NtesukiSearcher::attack(), and osl::ntesuki::NtesukiSearcher::defense().
#define RETURN_ON_STOP |
if (node_count > read_node_limit || *stop_flag)\
return
Definition at line 41 of file ntesukiSearcher.tcc.
Referenced by osl::ntesuki::NtesukiSearcher::attack(), osl::ntesuki::NtesukiSearcher::attackWithOrder(), osl::ntesuki::NtesukiSearcher::defense(), osl::ntesuki::NtesukiSearcher::defenseWithPlayer(), osl::ntesuki::NtesukiSearcher::handleInterpose(), osl::ntesuki::NtesukiSearcher::handleNonAttack(), osl::ntesuki::NtesukiSearcher::handleTonshi(), osl::ntesuki::NtesukiSearcher::selectMoveAttack(), osl::ntesuki::NtesukiSearcher::selectMoveDefense(), osl::ntesuki::NtesukiSearcher::simulateSiblingsFail(), and osl::ntesuki::NtesukiSearcher::simulateSiblingsSuccess().
typedef std::pair<unsigned int, unsigned int> top_pdp_t |
Definition at line 784 of file ntesukiSearcher.tcc.
static unsigned int addWithSaturation | ( | unsigned int | limit, |
unsigned int | l, | ||
unsigned int | r | ||
) | [static] |
Definition at line 49 of file ntesukiSearcher.tcc.
References limit, and ntesuki_assert.
Referenced by osl::ntesuki::NtesukiSearcher::attackWithOrder(), osl::ntesuki::NtesukiSearcher::defenseWithPlayer(), osl::ntesuki::NtesukiSearcher::selectMoveAttack(), and osl::ntesuki::NtesukiSearcher::selectMoveDefense().
Definition at line 785 of file ntesukiSearcher.tcc.
Referenced by osl::ntesuki::NtesukiSearcher::selectMoveAttack(), and osl::ntesuki::NtesukiSearcher::selectMoveDefense().
const int READ_ATTACK_BACK_LIMIT = 5120 |
Definition at line 27 of file ntesukiSearcher.tcc.
Referenced by osl::ntesuki::NtesukiSearcher::handleTonshi().