org.processmining.analysis.dws
Class Trace

java.lang.Object
  extended by org.processmining.analysis.dws.Trace
All Implemented Interfaces:
java.lang.Comparable

public class Trace
extends java.lang.Object
implements java.lang.Comparable

Defines internal data structures and methods for optimizing the clustering of instances.

Version:
1.0
Author:
Gianluigi Greco, Antonella Guzzo

Constructor Summary
Trace(AuditTrailEntryList ates, HeuristicsNet en)
          Build a trace
Trace(int[] a, HeuristicsNet en)
           
Trace(Trace tlen, Trace t2)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 Trace concat(Trace t)
           
 boolean concatenable(Trace t)
           
 boolean contains(Trace t)
           
 boolean equals(java.lang.Object o)
           
 boolean extend(Trace t)
           
 Trace getBodyForFeature()
           
 Trace getHeadForFeature()
           
 int getLastElementInTrace()
           
 boolean onlyOneOutput(int i)
           
 int overlap(Trace t)
           
 double overlapDecaying(Trace t)
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Trace

public Trace(Trace tlen,
             Trace t2)

Trace

public Trace(int[] a,
             HeuristicsNet en)

Trace

public Trace(AuditTrailEntryList ates,
             HeuristicsNet en)
Build a trace

Parameters:
ates -
Method Detail

size

public int size()

contains

public boolean contains(Trace t)

concatenable

public boolean concatenable(Trace t)

overlap

public int overlap(Trace t)

overlapDecaying

public double overlapDecaying(Trace t)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getBodyForFeature

public Trace getBodyForFeature()

getHeadForFeature

public Trace getHeadForFeature()

concat

public Trace concat(Trace t)

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

extend

public boolean extend(Trace t)

getLastElementInTrace

public int getLastElementInTrace()

onlyOneOutput

public boolean onlyOneOutput(int i)