public class StatRes
extends java.lang.Object
All estimators will share the object of the classes, which implies that result of a latter-executed estimator will overwrite those of previous estimators.
| Constructor and Description |
|---|
StatRes(org.deckfour.xes.model.XLog log,
int maxTrace,
org.deckfour.xes.classification.XEventClassifier classifier)
Construct method.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTrace(int i) |
int |
checkIfObservedBefore(org.deckfour.xes.model.XTrace trace) |
void |
displayEstimation(boolean success)
display the estimation result
|
void |
displayStat()
output information of statistics.
|
int |
getClassesOccurringWithFrequency(int freq)
Check the number of observed trace classes that appearing $freq$ times
exactly.
|
double |
getCoverageProbability() |
double |
getEstimatedNumberOfClasses() |
double |
getEstimatedUnobservedClasses() |
long |
getExpectedCompleteLogLength() |
int |
getLoglength() |
double |
getNewClassProbability() |
int |
getObservedclasses() |
java.util.Map<java.lang.Integer,java.lang.Integer> |
getTraces() |
void |
initial4Estimating()
Preparation for a new estimation.
|
void |
setCoverageProbability(double c) |
void |
setEstimatedNumberOfClasses(double w) |
void |
setEstimatedUnobservedClasses(double u) |
void |
setExpectedCompleteLogLength(long l) |
void |
setNewClassProbability(double n) |
public StatRes(org.deckfour.xes.model.XLog log,
int maxTrace,
org.deckfour.xes.classification.XEventClassifier classifier)
logFile - full path/name of a log file.public void addTrace(int i)
public int checkIfObservedBefore(org.deckfour.xes.model.XTrace trace)
public void initial4Estimating()
public int getClassesOccurringWithFrequency(int freq)
freq - the appearing time of an observed trace class.public void displayStat()
public void displayEstimation(boolean success)
public java.util.Map<java.lang.Integer,java.lang.Integer> getTraces()
public int getLoglength()
public int getObservedclasses()
public void setEstimatedNumberOfClasses(double w)
public double getEstimatedNumberOfClasses()
public void setEstimatedUnobservedClasses(double u)
public double getEstimatedUnobservedClasses()
public void setCoverageProbability(double c)
public double getCoverageProbability()
public void setNewClassProbability(double n)
public double getNewClassProbability()
public void setExpectedCompleteLogLength(long l)
public long getExpectedCompleteLogLength()