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

DefGlobalAnalyser Class Reference

A simple implementation of the DefGlobalAnalyser class. More...

#include <DefGlobalAnalyser.h>

Inheritance diagram for DefGlobalAnalyser:

Inheritance graph
[legend]
Collaboration diagram for DefGlobalAnalyser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DefGlobalAnalyser (const BehaviorControlInterfaces &interfaces)
 Constructor.

virtual void update ()
 This method should be implemented by descendants.

virtual double getWeight (RateableOptions::TacticEntryTypeID tacticEntryType)
 This method should be implemented by descendants.


Private Attributes

double calcWeights [RateableOptions::defGA_Max-RateableOptions::defGA_Neutral]

Detailed Description

A simple implementation of the DefGlobalAnalyser class.

Definition at line 22 of file DefGlobalAnalyser.h.


Constructor & Destructor Documentation

DefGlobalAnalyser::DefGlobalAnalyser const BehaviorControlInterfaces interfaces  ) 
 

Constructor.

Parameters:
interfaces The parameters of the DefGlobalAnalyser class.

Definition at line 11 of file DefGlobalAnalyser.cpp.


Member Function Documentation

void DefGlobalAnalyser::update  )  [virtual]
 

This method should be implemented by descendants.

Implements GlobalAnalyser.

Definition at line 16 of file DefGlobalAnalyser.cpp.

References calcWeights.

double DefGlobalAnalyser::getWeight RateableOptions::TacticEntryTypeID  tacticEntryType  )  [virtual]
 

This method should be implemented by descendants.

Implements GlobalAnalyser.

Definition at line 21 of file DefGlobalAnalyser.cpp.

References calcWeights.


Member Data Documentation

double DefGlobalAnalyser::calcWeights[RateableOptions::defGA_Max - RateableOptions::defGA_Neutral] [private]
 

Definition at line 26 of file DefGlobalAnalyser.h.

Referenced by getWeight(), and update().


The documentation for this class was generated from the following files:
Generated on Thu Sep 23 20:05:51 2004 for GT2004 by doxygen 1.3.6