public class Log extends Object implements IEntityModel<TraceEntry>
| Modifier and Type | Field and Description |
|---|---|
protected int |
id
The id of the log.
|
protected Set<String> |
labels
A set of all labels of the traces in the log.
|
protected int |
lengthLongestTrace
The length of the longest trace.
|
protected Set<TraceEntry> |
traceEntries
A set of all trace entries of the traces in the log.
|
protected Map<Trace,Integer> |
traces
The traces of the log along with their number of occurrence
in the log.
|
| Constructor and Description |
|---|
Log() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTrace(Trace trace)
Add a trace to the log.
|
Collection<TraceEntry> |
getEntities() |
int |
getId() |
Collection<String> |
getLabelsOfLog() |
int |
getLengthLongestTrace() |
Collection<Trace> |
getTraces() |
void |
setId(int id) |
protected boolean |
tracesShowSameSequenceOfLabels(Trace t1,
Trace t2) |
protected int id
protected Map<Trace,Integer> traces
protected Set<TraceEntry> traceEntries
protected int lengthLongestTrace
public void addTrace(Trace trace)
trace, - the trace that should be added to the logpublic Collection<String> getLabelsOfLog()
public Collection<Trace> getTraces()
public int getLengthLongestTrace()
public Collection<TraceEntry> getEntities()
getEntities in interface IEntityModel<TraceEntry>public int getId()
public void setId(int id)
Copyright © 2017. All rights reserved.