H
- T
- public class DataAwareThread<H extends nl.tue.astar.Head,T extends nl.tue.astar.Tail>
extends nl.tue.astar.impl.AbstractAStarThread<H,T>
DRecord
instead of the normal
PRecord
as we need to store some additional information.Modifier and Type | Class and Description |
---|---|
static class |
DataAwareThread.PartialResultFactory
Stateful factory for
ControlFlowAlignmentResult instances from a
DRecord |
nl.tue.astar.impl.AbstractAStarThread.StorageHandler<H extends nl.tue.astar.Head,T extends nl.tue.astar.Tail>
nl.tue.astar.AStarThread.ASynchronousMoveSorting, nl.tue.astar.AStarThread.Canceller, nl.tue.astar.AStarThread.CPUEfficient<H extends nl.tue.astar.Head,T extends nl.tue.astar.Tail>, nl.tue.astar.AStarThread.MemoryEfficient<H extends nl.tue.astar.Head,T extends nl.tue.astar.Tail>, nl.tue.astar.AStarThread.QueueingModel, nl.tue.astar.AStarThread.Type
Modifier and Type | Field and Description |
---|---|
protected ConsideredStatesStore |
consideredStatesStore |
protected DataAlignmentAdapterChainingImpl |
dataAdapterChain |
protected DataStateStore |
dataStateStore |
protected H |
initialHead |
protected LogMapping |
logMapping |
protected java.util.Map<org.deckfour.xes.model.XEvent,org.deckfour.xes.classification.XEventClass> |
mapEv2EventClass |
protected java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> |
mapEvClass2Cost |
protected int |
partialDataAlignmentCount |
protected DataAwareThread.PartialResultFactory |
partialResultFactory |
protected TraceMapping |
traceMapping |
Constructor and Description |
---|
DataAwareThread(nl.tue.astar.impl.memefficient.StorageAwareDelegate<H,T> delegate,
H initialHead,
nl.tue.astar.impl.AbstractAStarThread.StorageHandler<H,T> storageHandler,
nl.tue.astar.Trace trace,
int maxStates,
DataAlignmentAdapter adapter,
LogMapping logMapping,
TraceMapping traceMapping,
java.util.Map<org.deckfour.xes.model.XEvent,org.deckfour.xes.classification.XEventClass> mapEv2EventClass,
java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> mapEvClass2Cost,
DataViewBuilder dataViewBuilder,
boolean activateCache,
boolean isUseImprovedMethod,
nl.tue.astar.AStarThread.ASynchronousMoveSorting sorting,
AlignmentAdapter.PriorityQueueFactory queueFactory,
DataStateStore dataStateStore) |
Modifier and Type | Method and Description |
---|---|
protected DRecord |
augmentRecord(DRecord newRecord) |
protected void |
enqueueRecord(DRecord newRec) |
protected org.processmining.plugins.astar.petrinet.impl.AbstractPDelegate<? extends nl.tue.astar.Tail> |
getAbstractPDelegate() |
int |
getCacheHit() |
int |
getCacheSize() |
protected ConsideredStatesStore |
getConsideredStateStore() |
long |
getDataStateCount() |
int |
getPartialDataAlignments() |
protected void |
initializeQueue(H head) |
boolean |
isQueueEmpty() |
protected void |
processMove(H head,
T tail,
nl.tue.astar.Record rec,
int modelMove,
int movedEvent,
int activity) |
protected void |
processMovesForRecordWithUpToDateTail(nl.tue.astar.Record rec,
H head,
T tail,
int stopAt,
double timeLimit,
long endTime) |
protected void |
setConsidered(nl.tue.astar.Record record) |
void |
setQueueingModel(nl.tue.astar.AStarThread.QueueingModel model) |
addObserver, allowMove, computeNewTail, computeNextHead, getComputedEstimateCount, getDelegate, getOptimalRecord, getOptimalRecord, getOptimalRecord, getOptimalRecord, getPreferBreadth, getQueuedStateCount, getSorting, getTrace, getTraversedArcCount, getType, getVisitedStateCount, isValidMoveOnLog, isValidMoveOnModel, poll, processMovesForRecord, removeObserver, setASynchronousMoveSorting, setEpsilon, setExpectedLength, setPreferBreadth, setQueue, setType, toString, wasReliable
protected final TraceMapping traceMapping
protected final LogMapping logMapping
protected final java.util.Map<org.deckfour.xes.model.XEvent,org.deckfour.xes.classification.XEventClass> mapEv2EventClass
protected final java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> mapEvClass2Cost
protected final DataAlignmentAdapterChainingImpl dataAdapterChain
protected final DataAwareThread.PartialResultFactory partialResultFactory
protected int partialDataAlignmentCount
protected final DataStateStore dataStateStore
protected final H extends nl.tue.astar.Head initialHead
protected ConsideredStatesStore consideredStatesStore
public DataAwareThread(nl.tue.astar.impl.memefficient.StorageAwareDelegate<H,T> delegate, H initialHead, nl.tue.astar.impl.AbstractAStarThread.StorageHandler<H,T> storageHandler, nl.tue.astar.Trace trace, int maxStates, DataAlignmentAdapter adapter, LogMapping logMapping, TraceMapping traceMapping, java.util.Map<org.deckfour.xes.model.XEvent,org.deckfour.xes.classification.XEventClass> mapEv2EventClass, java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> mapEvClass2Cost, DataViewBuilder dataViewBuilder, boolean activateCache, boolean isUseImprovedMethod, nl.tue.astar.AStarThread.ASynchronousMoveSorting sorting, AlignmentAdapter.PriorityQueueFactory queueFactory, DataStateStore dataStateStore)
public final int getCacheHit()
public final int getPartialDataAlignments()
public final int getCacheSize()
protected void initializeQueue(H head) throws nl.tue.astar.AStarException
public void setQueueingModel(nl.tue.astar.AStarThread.QueueingModel model)
protected final org.processmining.plugins.astar.petrinet.impl.AbstractPDelegate<? extends nl.tue.astar.Tail> getAbstractPDelegate()
protected final void setConsidered(nl.tue.astar.Record record)
protected final DRecord augmentRecord(DRecord newRecord) throws nl.tue.astar.AStarException
nl.tue.astar.AStarException
protected final ConsideredStatesStore getConsideredStateStore()
protected void processMovesForRecordWithUpToDateTail(nl.tue.astar.Record rec, H head, T tail, int stopAt, double timeLimit, long endTime) throws nl.tue.astar.AStarException
protected void processMove(H head, T tail, nl.tue.astar.Record rec, int modelMove, int movedEvent, int activity) throws nl.tue.astar.AStarException
protected final void enqueueRecord(DRecord newRec)
public final long getDataStateCount()
public final boolean isQueueEmpty()