org.processmining.plugins.causalnet.temp.index
Class InvertedIndex
java.lang.Object
org.processmining.plugins.causalnet.temp.index.InvertedIndex
public class InvertedIndex
- extends java.lang.Object
Inverted index.
- Version:
- May 12, 2011
- Author:
- jribeiro
|
Method Summary |
void |
createCompleteIndex(org.deckfour.xes.model.XLog log)
Creates the complete inverted index of a given event log. |
void |
createPartialIndex(org.deckfour.xes.model.XLog log)
Creates the partial inverted index of a given event log. |
Dimension |
getDimension(java.lang.String key)
|
java.util.HashMap<java.lang.String,Dimension> |
getDimensions()
|
java.util.ArrayList<org.processmining.framework.util.Pair<org.processmining.framework.util.Pair<java.lang.Integer,java.lang.Integer>,org.deckfour.xes.model.XEvent>> |
getEvents(java.util.LinkedList<org.processmining.framework.util.Pair<java.lang.String,java.lang.String>> constraints)
|
java.util.ArrayList<org.processmining.framework.util.Pair<java.lang.Integer,org.deckfour.xes.model.XTrace>> |
getTraces(java.util.LinkedList<org.processmining.framework.util.Pair<java.lang.String,java.lang.String>> constraints)
|
void |
normalizeDimensionScopes(java.util.HashMap<Dimension,java.lang.Boolean> scopes)
|
void |
printDimensions()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvertedIndex
public InvertedIndex()
createCompleteIndex
public void createCompleteIndex(org.deckfour.xes.model.XLog log)
- Creates the complete inverted index of a given event log.
All the information in the event log will be indexed.
- Parameters:
log - the event log to be indexed
createPartialIndex
public void createPartialIndex(org.deckfour.xes.model.XLog log)
- Creates the partial inverted index of a given event log.
Only the information about the event name and type will be indexed.
- Parameters:
log - the event log to be indexed
normalizeDimensionScopes
public void normalizeDimensionScopes(java.util.HashMap<Dimension,java.lang.Boolean> scopes)
getTraces
public java.util.ArrayList<org.processmining.framework.util.Pair<java.lang.Integer,org.deckfour.xes.model.XTrace>> getTraces(java.util.LinkedList<org.processmining.framework.util.Pair<java.lang.String,java.lang.String>> constraints)
getEvents
public java.util.ArrayList<org.processmining.framework.util.Pair<org.processmining.framework.util.Pair<java.lang.Integer,java.lang.Integer>,org.deckfour.xes.model.XEvent>> getEvents(java.util.LinkedList<org.processmining.framework.util.Pair<java.lang.String,java.lang.String>> constraints)
getDimensions
public java.util.HashMap<java.lang.String,Dimension> getDimensions()
getDimension
public Dimension getDimension(java.lang.String key)
printDimensions
public void printDimensions()