org.processmining.analysis.dws
Class Feature

java.lang.Object
  extended by 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

Constructor Summary
Feature(Trace t)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 Trace getBody()
           
 Trace getHead()
           
 int occurrences(LogReader log, HeuristicsNet en)
          Check the occurrences in the log.
 boolean ridond(Feature t)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Feature

public Feature(Trace t)
Method Detail

occurrences

public int occurrences(LogReader log,
                       HeuristicsNet en)
Check the occurrences in the log.

Parameters:
log - Log reader
en - 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)