#include <aiscore.h>
Collaboration diagram for AI_SKAnalysis:
Public Member Functions | |
void | copy_to (AI_SKAnalysis *skanal) |
Deep copy to a scorekeeper analysis. | |
AI_SKAnalysis * | clone () |
Clone a scorekeeper analysis. | |
void | push_test_op (int testop) |
Push onto operator stack. | |
AI_SKANode_TestOp * | pop_test_op () |
Pop from operator stack. | |
int | search_test_ops_for (int op) |
Search operator stack/list for a test op. | |
Static Public Member Functions | |
void | init (AI_SKAnalysis *skanal) |
Initializer. | |
AI_SKAnalysis * | construct () |
"Constructor". | |
void | destroy (AI_SKAnalysis **skanalp) |
"Destructor". | |
Public Attributes | |
AI_SKAnalysis * | next |
Pointer to next analysis. | |
int | basic_flags |
Flag bits indicating basic scorekeeper properties. | |
int | action_flags |
Flag bits indicating which action/outcome is in effect. | |
SideMask | win_eq_some_turn |
Sides which will win on some turn. | |
SideMask | lose_eq_some_turn |
Sides which will lose on some turn. | |
SideMask | win_ge_some_turn |
Sides which will win >= some turn. | |
SideMask | lose_ge_some_turn |
Sides which will lose >= some turn. | |
SideMask | win_gt_some_turn |
Sides which will win > some turn. | |
SideMask | lose_gt_some_turn |
Sides which will lose > some turn. | |
SideMask | win_eq_some_score |
Sides which will win when their scores equal some number. | |
SideMask | lose_eq_some_score |
Sides which will lose when their scores equal some number. | |
SideMask | win_ne_some_score |
Sides which will win when their scores not equal some number. | |
SideMask | lose_ne_some_score |
Sides which will lose when their scores not equal some number. | |
SideMask | win_le_some_score |
Sides which will win when their scores <= some number. | |
SideMask | lose_le_some_score |
Sides which will lose when their scores <= some number. | |
SideMask | win_lt_some_score |
Sides which will win when their scores < some number. | |
SideMask | lose_lt_some_score |
Sides which will lose when their scores < some number. | |
SideMask | win_ge_some_score |
Sides which will win when their scores >= some number. | |
SideMask | lose_ge_some_score |
Sides which will lose when their scores >= some number. | |
SideMask | win_gt_some_score |
Sides which will win when their scores > some number. | |
SideMask | lose_gt_some_score |
Sides which will lose when their scores < some number. | |
int * | win_eq_turn |
Exact turns that sides will win on. | |
int * | lose_eq_turn |
Exact turns that sides will lose on. | |
int | draw_eq_turn |
Exact turn that will end the game in a draw. | |
int * | win_ge_turn |
Sides win >= turns. | |
int * | lose_ge_turn |
Sides lose >= turns. | |
int | draw_ge_turn |
Drawed game >= turn. | |
int * | win_gt_turn |
Sides win > turns. | |
int * | lose_gt_turn |
Sides lose > turns. | |
int | draw_gt_turn |
Drawed game > turn. | |
int * | win_eq_score |
Exact scores that sides will win with. | |
int * | lose_eq_score |
Exact scores that sides will lose with. | |
int * | win_ne_score |
Exact scores that sides will win without. | |
int * | lose_ne_score |
Exact scores that sides will lose without. | |
int * | win_le_score |
Sides win <= scores. | |
int * | lose_le_score |
Sides lose <= scores. | |
int * | win_lt_score |
Sides win < scores. | |
int * | lose_lt_score |
Sides lose < scores. | |
int * | win_ge_score |
Sides win >= scores. | |
int * | lose_ge_score |
Sides lose >= scores. | |
int * | win_gt_score |
Sides win > scores. | |
int * | lose_gt_score |
Sides lose > scores. | |
AI_SKANode_UpropInt * | uprops_win_eq_some_sum |
Uprops summed equal to some number cause a side to win. | |
AI_SKANode_UpropInt * | uprops_lose_eq_some_sum |
Uprops summed equal some number cause a side to lose. | |
AI_SKANode_UpropInt * | uprops_win_ne_some_sum |
Uprops summed not equal some number cause a side to win. | |
AI_SKANode_UpropInt * | uprops_lose_ne_some_sum |
Uprops summed not equal some number cause a side to lose. | |
AI_SKANode_UpropInt * | uprops_win_le_some_sum |
Uprops summed <= some number cause a side to win. | |
AI_SKANode_UpropInt * | uprops_lose_le_some_sum |
Uprops summed <= some number cause a side to lose. | |
AI_SKANode_UpropInt * | uprops_win_lt_some_sum |
Uprops summed < some number cause a side to win. | |
AI_SKANode_UpropInt * | uprops_lose_lt_some_sum |
Uprops summed < some number cause a side to lose. | |
AI_SKANode_UpropInt * | uprops_win_ge_some_sum |
Uprops summed >= some number cause a side to win. | |
AI_SKANode_UpropInt * | uprops_lose_ge_some_sum |
Uprops summed >= some number cause a side to lose. | |
AI_SKANode_UpropInt * | uprops_win_gt_some_sum |
Uprops summed > some number cause a side to win. | |
AI_SKANode_UpropInt * | uprops_lose_gt_some_sum |
Uprops summed > some number cause a side to lose. | |
AI_SKANode_UpropInt * | uprops_change_score |
Uprops that change a side's score. | |
AI_SKANode_TestOp * | opstack |
Test operators. |
Various fields pertaining to an AI's understanding of a scorekeeper.
Add support for new scorekeeper forms.
|
Clone a scorekeeper analysis.
|
|
"Constructor".
|
|
Deep copy to a scorekeeper analysis.
|
|
"Destructor".
|
|
Initializer.
|
|
Pop from operator stack.
|
|
Push onto operator stack.
|
|
Search operator stack/list for a test op.
|
|
Flag bits indicating which action/outcome is in effect.
|
|
Flag bits indicating basic scorekeeper properties. Is the scorekeeper understood? Does it cause a draw after some turn? Etc... |
|
Exact turn that will end the game in a draw.
|
|
Drawed game >= turn.
|
|
Drawed game > turn.
|
|
Exact scores that sides will lose with.
|
|
Sides which will lose when their scores equal some number.
|
|
Sides which will lose on some turn.
|
|
Exact turns that sides will lose on.
|
|
Sides lose >= scores.
|
|
Sides which will lose when their scores >= some number.
|
|
Sides which will lose >= some turn.
|
|
Sides lose >= turns.
|
|
Sides lose > scores.
|
|
Sides which will lose when their scores < some number.
|
|
Sides which will lose > some turn.
|
|
Sides lose > turns.
|
|
Sides lose <= scores.
|
|
Sides which will lose when their scores <= some number.
|
|
Sides lose < scores.
|
|
Sides which will lose when their scores < some number.
|
|
Exact scores that sides will lose without.
|
|
Sides which will lose when their scores not equal some number.
|
|
Pointer to next analysis.
|
|
Test operators.
|
|
Uprops that change a side's score.
|
|
Uprops summed equal some number cause a side to lose.
|
|
Uprops summed >= some number cause a side to lose.
|
|
Uprops summed > some number cause a side to lose.
|
|
Uprops summed <= some number cause a side to lose.
|
|
Uprops summed < some number cause a side to lose.
|
|
Uprops summed not equal some number cause a side to lose.
|
|
Uprops summed equal to some number cause a side to win.
|
|
Uprops summed >= some number cause a side to win.
|
|
Uprops summed > some number cause a side to win.
|
|
Uprops summed <= some number cause a side to win.
|
|
Uprops summed < some number cause a side to win.
|
|
Uprops summed not equal some number cause a side to win.
|
|
Exact scores that sides will win with.
|
|
Sides which will win when their scores equal some number.
|
|
Sides which will win on some turn.
|
|
Exact turns that sides will win on.
|
|
Sides win >= scores.
|
|
Sides which will win when their scores >= some number.
|
|
Sides which will win >= some turn.
|
|
Sides win >= turns.
|
|
Sides win > scores.
|
|
Sides which will win when their scores > some number.
|
|
Sides which will win > some turn.
|
|
Sides win > turns.
|
|
Sides win <= scores.
|
|
Sides which will win when their scores <= some number.
|
|
Sides win < scores.
|
|
Sides which will win when their scores < some number.
|
|
Exact scores that sides will win without.
|
|
Sides which will win when their scores not equal some number.
|