Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

AI_SKAnalysis Struct Reference

Storage space for AI analysis of a scorekeeper. More...

#include <aiscore.h>

Collaboration diagram for AI_SKAnalysis:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void copy_to (AI_SKAnalysis *skanal)
 Deep copy to a scorekeeper analysis.

AI_SKAnalysisclone ()
 Clone a scorekeeper analysis.

void push_test_op (int testop)
 Push onto operator stack.

AI_SKANode_TestOppop_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_SKAnalysisconstruct ()
 "Constructor".

void destroy (AI_SKAnalysis **skanalp)
 "Destructor".


Public Attributes

AI_SKAnalysisnext
 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_UpropIntuprops_win_eq_some_sum
 Uprops summed equal to some number cause a side to win.

AI_SKANode_UpropIntuprops_lose_eq_some_sum
 Uprops summed equal some number cause a side to lose.

AI_SKANode_UpropIntuprops_win_ne_some_sum
 Uprops summed not equal some number cause a side to win.

AI_SKANode_UpropIntuprops_lose_ne_some_sum
 Uprops summed not equal some number cause a side to lose.

AI_SKANode_UpropIntuprops_win_le_some_sum
 Uprops summed <= some number cause a side to win.

AI_SKANode_UpropIntuprops_lose_le_some_sum
 Uprops summed <= some number cause a side to lose.

AI_SKANode_UpropIntuprops_win_lt_some_sum
 Uprops summed < some number cause a side to win.

AI_SKANode_UpropIntuprops_lose_lt_some_sum
 Uprops summed < some number cause a side to lose.

AI_SKANode_UpropIntuprops_win_ge_some_sum
 Uprops summed >= some number cause a side to win.

AI_SKANode_UpropIntuprops_lose_ge_some_sum
 Uprops summed >= some number cause a side to lose.

AI_SKANode_UpropIntuprops_win_gt_some_sum
 Uprops summed > some number cause a side to win.

AI_SKANode_UpropIntuprops_lose_gt_some_sum
 Uprops summed > some number cause a side to lose.

AI_SKANode_UpropIntuprops_change_score
 Uprops that change a side's score.

AI_SKANode_TestOpopstack
 Test operators.


Detailed Description

Storage space for AI analysis of a scorekeeper.

Various fields pertaining to an AI's understanding of a scorekeeper.

Todo:
Utypes that cause draws.

Add support for new scorekeeper forms.


Member Function Documentation

AI_SKAnalysis * AI_SKAnalysis::clone  ) 
 

Clone a scorekeeper analysis.

AI_SKAnalysis * AI_SKAnalysis::construct  )  [static]
 

"Constructor".

void AI_SKAnalysis::copy_to AI_SKAnalysis skanal  ) 
 

Deep copy to a scorekeeper analysis.

void AI_SKAnalysis::destroy AI_SKAnalysis **  skanalp  )  [static]
 

"Destructor".

void AI_SKAnalysis::init AI_SKAnalysis skanal  )  [static]
 

Initializer.

AI_SKANode_TestOp * AI_SKAnalysis::pop_test_op  ) 
 

Pop from operator stack.

void AI_SKAnalysis::push_test_op int  testop  ) 
 

Push onto operator stack.

int AI_SKAnalysis::search_test_ops_for int  op  ) 
 

Search operator stack/list for a test op.


Member Data Documentation

int AI_SKAnalysis::action_flags
 

Flag bits indicating which action/outcome is in effect.

int AI_SKAnalysis::basic_flags
 

Flag bits indicating basic scorekeeper properties.

Is the scorekeeper understood? Does it cause a draw after some turn? Etc...

int AI_SKAnalysis::draw_eq_turn
 

Exact turn that will end the game in a draw.

int AI_SKAnalysis::draw_ge_turn
 

Drawed game >= turn.

int AI_SKAnalysis::draw_gt_turn
 

Drawed game > turn.

int* AI_SKAnalysis::lose_eq_score
 

Exact scores that sides will lose with.

SideMask AI_SKAnalysis::lose_eq_some_score
 

Sides which will lose when their scores equal some number.

SideMask AI_SKAnalysis::lose_eq_some_turn
 

Sides which will lose on some turn.

int* AI_SKAnalysis::lose_eq_turn
 

Exact turns that sides will lose on.

int* AI_SKAnalysis::lose_ge_score
 

Sides lose >= scores.

SideMask AI_SKAnalysis::lose_ge_some_score
 

Sides which will lose when their scores >= some number.

SideMask AI_SKAnalysis::lose_ge_some_turn
 

Sides which will lose >= some turn.

int* AI_SKAnalysis::lose_ge_turn
 

Sides lose >= turns.

int* AI_SKAnalysis::lose_gt_score
 

Sides lose > scores.

SideMask AI_SKAnalysis::lose_gt_some_score
 

Sides which will lose when their scores < some number.

SideMask AI_SKAnalysis::lose_gt_some_turn
 

Sides which will lose > some turn.

int* AI_SKAnalysis::lose_gt_turn
 

Sides lose > turns.

int* AI_SKAnalysis::lose_le_score
 

Sides lose <= scores.

SideMask AI_SKAnalysis::lose_le_some_score
 

Sides which will lose when their scores <= some number.

int* AI_SKAnalysis::lose_lt_score
 

Sides lose < scores.

SideMask AI_SKAnalysis::lose_lt_some_score
 

Sides which will lose when their scores < some number.

int* AI_SKAnalysis::lose_ne_score
 

Exact scores that sides will lose without.

SideMask AI_SKAnalysis::lose_ne_some_score
 

Sides which will lose when their scores not equal some number.

AI_SKAnalysis* AI_SKAnalysis::next
 

Pointer to next analysis.

AI_SKANode_TestOp* AI_SKAnalysis::opstack
 

Test operators.

AI_SKANode_UpropInt* AI_SKAnalysis::uprops_change_score
 

Uprops that change a side's score.

AI_SKANode_UpropInt* AI_SKAnalysis::uprops_lose_eq_some_sum
 

Uprops summed equal some number cause a side to lose.

AI_SKANode_UpropInt* AI_SKAnalysis::uprops_lose_ge_some_sum
 

Uprops summed >= some number cause a side to lose.

AI_SKANode_UpropInt* AI_SKAnalysis::uprops_lose_gt_some_sum
 

Uprops summed > some number cause a side to lose.

AI_SKANode_UpropInt* AI_SKAnalysis::uprops_lose_le_some_sum
 

Uprops summed <= some number cause a side to lose.

AI_SKANode_UpropInt* AI_SKAnalysis::uprops_lose_lt_some_sum
 

Uprops summed < some number cause a side to lose.

AI_SKANode_UpropInt* AI_SKAnalysis::uprops_lose_ne_some_sum
 

Uprops summed not equal some number cause a side to lose.

AI_SKANode_UpropInt* AI_SKAnalysis::uprops_win_eq_some_sum
 

Uprops summed equal to some number cause a side to win.

AI_SKANode_UpropInt* AI_SKAnalysis::uprops_win_ge_some_sum
 

Uprops summed >= some number cause a side to win.

AI_SKANode_UpropInt* AI_SKAnalysis::uprops_win_gt_some_sum
 

Uprops summed > some number cause a side to win.

AI_SKANode_UpropInt* AI_SKAnalysis::uprops_win_le_some_sum
 

Uprops summed <= some number cause a side to win.

AI_SKANode_UpropInt* AI_SKAnalysis::uprops_win_lt_some_sum
 

Uprops summed < some number cause a side to win.

AI_SKANode_UpropInt* AI_SKAnalysis::uprops_win_ne_some_sum
 

Uprops summed not equal some number cause a side to win.

int* AI_SKAnalysis::win_eq_score
 

Exact scores that sides will win with.

SideMask AI_SKAnalysis::win_eq_some_score
 

Sides which will win when their scores equal some number.

SideMask AI_SKAnalysis::win_eq_some_turn
 

Sides which will win on some turn.

int* AI_SKAnalysis::win_eq_turn
 

Exact turns that sides will win on.

int* AI_SKAnalysis::win_ge_score
 

Sides win >= scores.

SideMask AI_SKAnalysis::win_ge_some_score
 

Sides which will win when their scores >= some number.

SideMask AI_SKAnalysis::win_ge_some_turn
 

Sides which will win >= some turn.

int* AI_SKAnalysis::win_ge_turn
 

Sides win >= turns.

int* AI_SKAnalysis::win_gt_score
 

Sides win > scores.

SideMask AI_SKAnalysis::win_gt_some_score
 

Sides which will win when their scores > some number.

SideMask AI_SKAnalysis::win_gt_some_turn
 

Sides which will win > some turn.

int* AI_SKAnalysis::win_gt_turn
 

Sides win > turns.

int* AI_SKAnalysis::win_le_score
 

Sides win <= scores.

SideMask AI_SKAnalysis::win_le_some_score
 

Sides which will win when their scores <= some number.

int* AI_SKAnalysis::win_lt_score
 

Sides win < scores.

SideMask AI_SKAnalysis::win_lt_some_score
 

Sides which will win when their scores < some number.

int* AI_SKAnalysis::win_ne_score
 

Exact scores that sides will win without.

SideMask AI_SKAnalysis::win_ne_some_score
 

Sides which will win when their scores not equal some number.


The documentation for this struct was generated from the following files:
Generated on Sat Sep 17 10:30:39 2005 for XconqKernel by doxygen 1.3.6