Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

ElementModelEntropyCalculator Class Reference

A static class for calculating the average entropy of the models of the elements. More...

#include <elementmodel.h>

List of all members.

Static Public Methods

double calculate (ElementModeler *modeler)
 Calculate the average entropy of given model. More...


Detailed Description

A static class for calculating the average entropy of the models of the elements.

The only one method of the class is the static method calculate() which calculates the average entropy of the model.

Definition at line 291 of file elementmodel.h.


Member Function Documentation

double ElementModelEntropyCalculator::calculate ElementModeler   modeler [static]
 

Calculate the average entropy of given model.

This method computes the average entropy of the model of the element. The model is accessed via the corresponding element modeler.

Parameters:
modeler  Pointer to element modeler.
Returns:
The average entropy of the model.

Definition at line 760 of file elementmodel.cpp.

References Stack::clear, ElementModel::Transition::frequency, ElementModeler::getEndNode, ElementModeler::getStartNode, Collection::isEmpty, NEW, ElementModel::Transition::node, Stack::pop, ElementModelTransitionInfo::probability, Stack::push, Collection::setAutoDelete, ElementModel::Node::successors, and ElementModelTransitionInfo::transition.

Referenced by ElementModeler::computeAverageEntropy.


The documentation for this class was generated from the following files:
Generated on Wed Feb 5 10:43:04 2003 for Exalt by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002