org.processmining.mining.fuzzymining.replay
Class TraceReplay

java.lang.Object
  extended by org.processmining.mining.fuzzymining.replay.TraceReplay

public class TraceReplay
extends java.lang.Object

Author:
christian

Nested Class Summary
static class TraceReplay.MatchType
           
 
Field Summary
protected  int countCorrect
           
protected  int countIncluster
           
protected  int countIncorrect
           
protected  int countRemoved
           
protected  double coverage
           
protected  FuzzyGraph graph
           
protected  ProcessInstance instance
           
protected  LogReader log
           
protected  TraceReplay.MatchType[] matches
           
 
Constructor Summary
TraceReplay(FuzzyGraph graph, LogReader log, int traceIndex)
           
 
Method Summary
protected  boolean checkNode(Node current, java.util.HashMap<Node,java.util.Set<Node>> possibleFollowers)
           
 double getCoverage()
           
 ProcessInstance getInstance()
           
 TraceReplay.MatchType getMatch(int index)
           
 TraceReplay.MatchType[] getMatches()
           
 double replayTrace()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

graph

protected FuzzyGraph graph

log

protected LogReader log

instance

protected ProcessInstance instance

coverage

protected double coverage

matches

protected TraceReplay.MatchType[] matches

countRemoved

protected int countRemoved

countIncluster

protected int countIncluster

countIncorrect

protected int countIncorrect

countCorrect

protected int countCorrect
Constructor Detail

TraceReplay

public TraceReplay(FuzzyGraph graph,
                   LogReader log,
                   int traceIndex)
            throws java.lang.IndexOutOfBoundsException,
                   java.io.IOException
Throws:
java.lang.IndexOutOfBoundsException
java.io.IOException
Method Detail

getCoverage

public double getCoverage()

getMatches

public TraceReplay.MatchType[] getMatches()

getMatch

public TraceReplay.MatchType getMatch(int index)

size

public int size()

getInstance

public ProcessInstance getInstance()

replayTrace

public double replayTrace()
                   throws java.lang.IndexOutOfBoundsException,
                          java.io.IOException
Throws:
java.lang.IndexOutOfBoundsException
java.io.IOException

checkNode

protected boolean checkNode(Node current,
                            java.util.HashMap<Node,java.util.Set<Node>> possibleFollowers)