org.processmining.analysis.dws
Class Feature
java.lang.Object
org.processmining.analysis.dws.Feature
- All Implemented Interfaces:
- java.lang.Comparable
public class Feature
- extends java.lang.Object
- implements java.lang.Comparable
A feature for the clustering of the form head: body, where
both body and head are trace
- Version:
- 1.0
- Author:
- Gianluigi Greco, Antonella Guzzo
- See Also:
Trace
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Feature
public Feature(Trace t)
occurrences
public int occurrences(LogReader log,
HeuristicsNet en)
- Check the occurrences in the log.
- Parameters:
log
- Log readeren
- A HeursticsNet
- Returns:
- number of time features occurs in the log
getBody
public Trace getBody()
- Returns:
- Body of the feature.
getHead
public Trace getHead()
- Returns:
- Head of the feature.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
ridond
public boolean ridond(Feature t)