public class Alignment extends java.lang.Object implements java.lang.Comparable<Alignment>, java.lang.Iterable<Alignment.AlignmentStep>
alignmentStepIterator()
to iterate
over the Alignment.AlignmentStep
s. Equals semantics of the alignment are based
on the traceName
and fitness
(TODO: why also fitness?).
Equals semantics of the contained Alignment.AlignmentStep
s are based on the
actual alignment, so to compare if the alignment of two traces is the same
you should compare all steps.Modifier and Type | Class and Description |
---|---|
static class |
Alignment.AlignmentOrdering |
static interface |
Alignment.AlignmentStep
A step (move) in the alignment, each step has a type
Alignment.AlignmentStep.getType() ,
a log (Alignment.AlignmentStep.getLogView() ), and a process component (
Alignment.AlignmentStep.getProcessView() . |
static class |
Alignment.AlignmentStepImpl |
Constructor and Description |
---|
Alignment(ReplayState state,
float fitness,
java.util.List<java.lang.String> labelArray,
java.util.List<DataAwareStepTypes> stepArray) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Alignment.AlignmentStep> |
alignmentStepIterator() |
int |
compareTo(Alignment o) |
boolean |
equals(java.lang.Object obj) |
float |
getCost() |
float |
getFitness() |
java.util.List<ExecutionStep> |
getLogTrace() |
java.util.List<ExecutionStep> |
getProcessTrace() |
java.util.List<? extends java.lang.Object> |
getStepLabels() |
java.util.List<DataAwareStepTypes> |
getStepTypes() |
java.lang.String |
getTraceName() |
int |
hashCode() |
java.util.Iterator<Alignment.AlignmentStep> |
iterator() |
public Alignment(ReplayState state, float fitness, java.util.List<java.lang.String> labelArray, java.util.List<DataAwareStepTypes> stepArray)
public java.lang.String getTraceName()
public float getFitness()
public float getCost()
public java.util.List<? extends java.lang.Object> getStepLabels()
public java.util.List<DataAwareStepTypes> getStepTypes()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(Alignment o)
compareTo
in interface java.lang.Comparable<Alignment>
public java.util.List<ExecutionStep> getLogTrace()
public java.util.List<ExecutionStep> getProcessTrace()
public java.util.Iterator<Alignment.AlignmentStep> alignmentStepIterator()
Alignment.AlignmentStep
objectspublic java.util.Iterator<Alignment.AlignmentStep> iterator()
iterator
in interface java.lang.Iterable<Alignment.AlignmentStep>