Interface PayloadHandler<E>
-
- Type Parameters:
E- is the type of elements in the sequence.
- All Known Subinterfaces:
EventPayloadHandler
- All Known Implementing Classes:
TSMinerPayloadHandler
public interface PayloadHandler<E>This interface represents the logic of a specific strategy of "replaying" a sequence on a transition system.- Author:
- mpesic
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EgetSequenceElement(java.util.List<E> sequence, int i)Returns the i-th element of the sequence.java.lang.ObjectgetSourceStateIdentifier(java.util.List<E> sequence, int i)Returns the state representation (i.e., identifier) of the source state of the transition that corresponds to the i-th element of the sequence.java.lang.ObjectgetTargetStateIdentifier(java.util.List<E> sequence, int i)Returns the state representation (i.e., identifier) of the target state of the transition that corresponds to the i-th element of the sequence.java.lang.ObjectgetTransitionIdentifier(E element)Returns the transition representation of the given element.
-
-
-
Method Detail
-
getSourceStateIdentifier
java.lang.Object getSourceStateIdentifier(java.util.List<E> sequence, int i)
Returns the state representation (i.e., identifier) of the source state of the transition that corresponds to the i-th element of the sequence.- Parameters:
sequence-i-- Returns:
-
getTargetStateIdentifier
java.lang.Object getTargetStateIdentifier(java.util.List<E> sequence, int i)
Returns the state representation (i.e., identifier) of the target state of the transition that corresponds to the i-th element of the sequence.- Parameters:
sequence-i-- Returns:
-
getTransitionIdentifier
java.lang.Object getTransitionIdentifier(E element)
Returns the transition representation of the given element.- Parameters:
element-- Returns:
-
-