#include <elementmodel.h>
Static Public Methods | |
double | calculate (ElementModeler *modeler) |
Calculate the average entropy of given model. More... |
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.
|
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.
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. |