(C++)  1.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::simulation::C45ValueDecisionCounter Class Reference

The whole class should be INTERNAL; part of the private interface. More...

#include <C45ValueDecisionCounter.h>

Public Member Functions

const std::unordered_map< float, int > & getSampleCountByKey () const
 
void clear ()
 
double getTotalSampleCount () const
 
size_t geKeyCount () const
 
void observeKey (float key)
 
void observeKeyDecision (float key, ISimulatedGameAction *decision)
 
double calculateEntropy () const
 
int getCount (float key) const
 
double calculateGainPortion (double globalEntropy)
 

Detailed Description

The whole class should be INTERNAL; part of the private interface.


The documentation for this class was generated from the following files: