public abstract class BinaryLogMetric extends BinaryMetric
Modifier and Type | Field and Description |
---|---|
protected boolean |
compensateFrequency |
protected cern.colt.matrix.DoubleMatrix2D |
divisors |
normalized, relations, size
description, invert, name, normalizationMaximum
Constructor and Description |
---|
BinaryLogMetric(java.lang.String name,
java.lang.String description) |
BinaryLogMetric(java.lang.String name,
java.lang.String description,
int eventCount) |
Modifier and Type | Method and Description |
---|---|
double |
getMeasure(int fromIndex,
int toIndex) |
protected abstract double |
measure(org.deckfour.xes.model.XEvent reference,
org.deckfour.xes.model.XEvent follower) |
void |
measure(org.deckfour.xes.model.XEvent reference,
org.deckfour.xes.model.XEvent follower,
int referenceIndex,
int followerIndex,
double attenuationFactor) |
protected void |
rectifyFrequency() |
void |
setSize(int eventCount) |
clone, getNormalizedMatrix, isValid, setMeasure, setNormalizationMaximum, size
getDescription, getInvert, getName, getNormalizationMaximum, setDescription, setInvert, setName, toString
protected cern.colt.matrix.DoubleMatrix2D divisors
protected boolean compensateFrequency
public BinaryLogMetric(java.lang.String name, java.lang.String description, int eventCount)
public BinaryLogMetric(java.lang.String name, java.lang.String description)
public void setSize(int eventCount)
setSize
in class BinaryMetric
public double getMeasure(int fromIndex, int toIndex)
getMeasure
in class BinaryMetric
public void measure(org.deckfour.xes.model.XEvent reference, org.deckfour.xes.model.XEvent follower, int referenceIndex, int followerIndex, double attenuationFactor)
protected abstract double measure(org.deckfour.xes.model.XEvent reference, org.deckfour.xes.model.XEvent follower)
protected void rectifyFrequency()