All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Namespaces | Constant Groups | Macros
ntesukiExceptions.h File Reference
#include <iostream>
#include <stdexcept>
Include dependency graph for ntesukiExceptions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  osl::ntesuki::DfpnError
 Throwed when something wrong happend with the df-pn search. More...
 

Namespaces

 osl
 attackDefense.h
 
 osl::ntesuki
 ntesuki
 

Constant Groups

 osl
 attackDefense.h
 
 osl::ntesuki
 ntesuki
 

Macros

#define ntesuki_assert(assertion)
 
#define TRY_DFPN
 
#define CATCH_DFPN
 

Macro Definition Documentation

#define CATCH_DFPN
Value:
}\
catch (DfpnError err)\
{\
ntesuki_assert(false);\
}

Definition at line 21 of file ntesukiExceptions.h.

Referenced by osl::ntesuki::OracleProverLight::attack(), osl::ntesuki::NtesukiSearcher::attack(), osl::ntesuki::NtesukiSimulationSearcher::attackForDisproof(), osl::ntesuki::NtesukiSimulationSearcher::attackForProof(), osl::ntesuki::NtesukiSearcher::attackWithOrder(), osl::ntesuki::OracleProverLight::defense(), osl::ntesuki::NtesukiSearcher::defense(), osl::ntesuki::NtesukiSimulationSearcher::defenseForDisproof(), osl::ntesuki::NtesukiSimulationSearcher::defenseForProof(), osl::ntesuki::NtesukiSearcher::defenseWithPlayer(), osl::ntesuki::NtesukiSearcher::handleInterpose(), osl::ntesuki::NtesukiSearcher::handleNonAttack(), osl::ntesuki::NtesukiSearcher::handleTonshi(), osl::ntesuki::NtesukiRecord::lookup_same_board_list(), osl::ntesuki::NtesukiRecord::propagate_disproof(), osl::ntesuki::NtesukiRecord::propagate_proof(), osl::ntesuki::NtesukiSearcher::selectMoveAttack(), osl::ntesuki::NtesukiSearcher::selectMoveDefense(), osl::ntesuki::NtesukiRecord::setFinal(), osl::ntesuki::NtesukiRecord::setUpAttackNode(), osl::ntesuki::NtesukiRecord::setUpDefenseNode(), osl::ntesuki::NtesukiSearcher::simulateSiblingsFail(), osl::ntesuki::NtesukiSearcher::simulateSiblingsSuccess(), osl::ntesuki::OracleProverLight::startFromAttack(), osl::ntesuki::NtesukiSimulationSearcher::startFromAttackDisproof(), osl::ntesuki::NtesukiSimulationSearcher::startFromAttackProof(), osl::ntesuki::OracleProverLight::startFromDefense(), osl::ntesuki::NtesukiSimulationSearcher::startFromDefenseDisproof(), and osl::ntesuki::NtesukiSimulationSearcher::startFromDefenseProof().

#define ntesuki_assert (   assertion)
Value:
if (!(assertion))\
throw DfpnError("assertion failed", __FILE__, __LINE__);

Definition at line 9 of file ntesukiExceptions.h.

Referenced by osl::ntesuki::NtesukiRecord::addNewParent(), addWithSaturation(), osl::ntesuki::OracleProverLight::attack(), osl::ntesuki::NtesukiSearcher::attack(), osl::ntesuki::NtesukiSimulationSearcher::attackForDisproof(), osl::ntesuki::NtesukiSimulationSearcher::attackForProof(), osl::ntesuki::NtesukiSearcher::attackWithOrder(), osl::ntesuki::NtesukiRecord::calcProofPiecesAnd(), osl::ntesuki::NtesukiRecord::calcProofPiecesOr(), osl::ntesuki::OracleProverLight::defense(), osl::ntesuki::NtesukiSearcher::defense(), osl::ntesuki::NtesukiSimulationSearcher::defenseForDisproof(), osl::ntesuki::NtesukiSimulationSearcher::defenseForProof(), osl::ntesuki::NtesukiSearcher::defenseWithPlayer(), osl::ntesuki::NtesukiRecord::generateMoves(), osl::ntesuki::NtesukiMoveGenerator::generateWithRzone(), osl::ntesuki::NtesukiRecord::getValueOr(), osl::ntesuki::NtesukiSearcher::handleInterpose(), osl::ntesuki::NtesukiSearcher::handleNonAttack(), osl::ntesuki::NtesukiMove::is_fail_flag(), osl::ntesuki::NtesukiMove::is_success_flag(), osl::ntesuki::NtesukiMoveList::NtesukiMoveList(), RecordPrinter::operator()(), RecordPrinter2::operator()(), osl::ntesuki::Rzone::operator-(), osl::ntesuki::NtesukiRecord::propagate_disproof(), osl::ntesuki::NtesukiRecord::propagate_proof(), osl::ntesuki::Rzone::Rzone(), osl::ntesuki::NtesukiSearcher::search(), osl::ntesuki::NtesukiSearcher::selectMoveAttack(), osl::ntesuki::NtesukiSearcher::selectMoveDefense(), osl::ntesuki::NtesukiMove::setCheck(), osl::ntesuki::NtesukiMove::setCheckmateFail(), osl::ntesuki::NtesukiMove::setCheckmateSuccess(), osl::ntesuki::NtesukiRecord::setDisproofPieces(), osl::ntesuki::NtesukiRecord::setFinal(), osl::ntesuki::NtesukiMove::setInterpose(), osl::ntesuki::NtesukiMove::setLameLong(), osl::ntesuki::NtesukiMove::setNoPromote(), osl::ntesuki::NtesukiMove::setOrder(), osl::ntesuki::NtesukiRecord::setProofPieces(), osl::ntesuki::NtesukiRecord::setResult(), osl::ntesuki::NtesukiRecord::setUpNode(), osl::ntesuki::NtesukiSearcher::simulateSiblingsFail(), osl::ntesuki::NtesukiSearcher::simulateSiblingsSuccess(), osl::ntesuki::OracleProverLight::startFromAttack(), osl::ntesuki::NtesukiSimulationSearcher::startFromAttackDisproof(), osl::ntesuki::NtesukiSimulationSearcher::startFromAttackProof(), osl::ntesuki::OracleProverLight::startFromDefense(), osl::ntesuki::NtesukiSimulationSearcher::startFromDefenseDisproof(), and osl::ntesuki::NtesukiSimulationSearcher::startFromDefenseProof().

#define TRY_DFPN
Value:
try\
{\

Definition at line 17 of file ntesukiExceptions.h.

Referenced by osl::ntesuki::OracleProverLight::attack(), osl::ntesuki::NtesukiSearcher::attack(), osl::ntesuki::NtesukiSimulationSearcher::attackForDisproof(), osl::ntesuki::NtesukiSimulationSearcher::attackForProof(), osl::ntesuki::NtesukiSearcher::attackWithOrder(), osl::ntesuki::OracleProverLight::defense(), osl::ntesuki::NtesukiSearcher::defense(), osl::ntesuki::NtesukiSimulationSearcher::defenseForDisproof(), osl::ntesuki::NtesukiSimulationSearcher::defenseForProof(), osl::ntesuki::NtesukiSearcher::defenseWithPlayer(), osl::ntesuki::NtesukiSearcher::handleInterpose(), osl::ntesuki::NtesukiSearcher::handleNonAttack(), osl::ntesuki::NtesukiSearcher::handleTonshi(), osl::ntesuki::NtesukiRecord::lookup_same_board_list(), osl::ntesuki::NtesukiRecord::propagate_disproof(), osl::ntesuki::NtesukiRecord::propagate_proof(), osl::ntesuki::NtesukiSearcher::selectMoveAttack(), osl::ntesuki::NtesukiSearcher::selectMoveDefense(), osl::ntesuki::NtesukiRecord::setFinal(), osl::ntesuki::NtesukiRecord::setUpAttackNode(), osl::ntesuki::NtesukiRecord::setUpDefenseNode(), osl::ntesuki::NtesukiSearcher::simulateSiblingsFail(), osl::ntesuki::NtesukiSearcher::simulateSiblingsSuccess(), osl::ntesuki::OracleProverLight::startFromAttack(), osl::ntesuki::NtesukiSimulationSearcher::startFromAttackDisproof(), osl::ntesuki::NtesukiSimulationSearcher::startFromAttackProof(), osl::ntesuki::OracleProverLight::startFromDefense(), osl::ntesuki::NtesukiSimulationSearcher::startFromDefenseDisproof(), and osl::ntesuki::NtesukiSimulationSearcher::startFromDefenseProof().