Class IvMLogFilteredImpl
- java.lang.Object
-
- org.processmining.plugins.inductiveVisualMiner.ivmlog.IvMLogFilteredImpl
-
- All Implemented Interfaces:
java.lang.Cloneable,java.lang.Iterable<IvMTrace>,IvMLog,IvMLogFiltered
public class IvMLogFilteredImpl extends java.lang.Object implements IvMLog, IvMLogFiltered
-
-
Constructor Summary
Constructors Constructor Description IvMLogFilteredImpl(IvMLogNotFiltered log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IvMLogFilteredImplclone()booleanequals(IvMLogFiltered otherLog)org.deckfour.xes.model.XAttributeMapgetAttributes()voidinvert()Inverts the log.booleanisFilteredOut(int traceIndex)booleanisSomethingFiltered()IteratorWithPosition<IvMTrace>iterator()Get an iterator over all traces that are not filtered out.IteratorWithPosition<IvMTrace>iteratorUnfiltered()
-
-
-
Constructor Detail
-
IvMLogFilteredImpl
public IvMLogFilteredImpl(IvMLogNotFiltered log)
-
-
Method Detail
-
iterator
public IteratorWithPosition<IvMTrace> iterator()
Get an iterator over all traces that are not filtered out.- Specified by:
iteratorin interfacejava.lang.Iterable<IvMTrace>- Specified by:
iteratorin interfaceIvMLog- Specified by:
iteratorin interfaceIvMLogFiltered- Returns:
-
isSomethingFiltered
public boolean isSomethingFiltered()
- Specified by:
isSomethingFilteredin interfaceIvMLogFiltered- Returns:
- whether at least one trace is filtered out.
-
isFilteredOut
public boolean isFilteredOut(int traceIndex)
- Specified by:
isFilteredOutin interfaceIvMLogFiltered
-
iteratorUnfiltered
public IteratorWithPosition<IvMTrace> iteratorUnfiltered()
- Specified by:
iteratorUnfilteredin interfaceIvMLogFiltered- Returns:
- an iterator over all traces, regardless of filtering. This iterator must support the remove() action, which filters the current trace out.
-
equals
public boolean equals(IvMLogFiltered otherLog)
- Specified by:
equalsin interfaceIvMLogFiltered
-
getAttributes
public org.deckfour.xes.model.XAttributeMap getAttributes()
- Specified by:
getAttributesin interfaceIvMLog- Specified by:
getAttributesin interfaceIvMLogFiltered
-
invert
public void invert()
Description copied from interface:IvMLogFilteredInverts the log. Cheap operation.- Specified by:
invertin interfaceIvMLogFiltered
-
clone
public IvMLogFilteredImpl clone() throws java.lang.CloneNotSupportedException
- Specified by:
clonein interfaceIvMLogFiltered- Overrides:
clonein classjava.lang.Object- Throws:
java.lang.CloneNotSupportedException
-
-