coco::statistic_info Class Reference
[Module Base Classes]

Base class for all inference engine statistics classes. More...

#include <ie_statistic.h>

List of all members.

Public Member Functions

 statistic_info ()
virtual ~statistic_info ()
virtual void calc_effectiveness (int n)

Public Attributes

double effectiveness
int number_of_infers

Detailed Description

This is the base class of all statistcs classes used to keep the statistics information of all the inference engines.

Definition at line 39 of file ie_statistic.h.

Constructor & Destructor Documentation

coco::statistic_info::statistic_info (  )  [inline]

Standard Constructor

Definition at line 49 of file ie_statistic.h.

virtual coco::statistic_info::~statistic_info (  )  [inline, virtual]

Standard Destructor

Definition at line 51 of file ie_statistic.h.

Member Function Documentation

virtual void coco::statistic_info::calc_effectiveness ( int  n  )  [inline, virtual]

A call to this method calculates the effectiveness of the inference engine and stores the result in the effectiveness variable.

Definition at line 55 of file ie_statistic.h.

Member Data Documentation

This is the effectiveness of the engine

Definition at line 43 of file ie_statistic.h.

The number_of_infers variable keeps the number of calls to the infer method of the inference engine.

Definition at line 46 of file ie_statistic.h.

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

Generated on Tue Feb 9 14:48:59 2010 for COCONUT API by  doxygen 1.5.8