|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.mining.dmcscanning.Footprint
public class Footprint
This class wraps a footprint, i.e. an unordered set of data objects that are typically modified in a clustered way.
Field Summary | |
---|---|
protected java.util.HashSet<java.lang.String> |
dataObjects
|
Constructor Summary | |
---|---|
Footprint()
constructor |
|
Footprint(Footprint other)
copy constructor |
Method Summary | |
---|---|
void |
add(java.lang.String data)
add a new data object to this footprint, keeps the set minimal (no double entries) |
java.lang.Object |
clone()
returns a deep copy of this footprint instance |
boolean |
contains(java.lang.String data)
checks, whether a data object is already contained |
void |
convertToCanonical(ObjectEquivalence equiv)
Converts all contained data object identifiers to canonical representations of the data objects, following the rules implemented in the given equivalence relation implementation. |
boolean |
equals(java.lang.Object obj)
tests for deep equality with another footprint instance |
java.util.HashSet<java.lang.String> |
getData()
|
Footprint |
intersection(Footprint other)
Set-wise intersection. |
boolean |
isSubsetOf(Footprint other)
Checks whether this footprint is a subset of another footprint, i.e. |
java.util.Iterator |
iterator()
|
double |
overlap(Footprint other)
Computes the relative overlap of this footprint with another one, i.e. |
void |
remove(java.lang.String data)
removes a data object from this footprint |
int |
size()
|
java.lang.Object[] |
toArray()
|
java.lang.String |
toString()
String representation |
Footprint |
union(Footprint other)
Set-wise union. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.util.HashSet<java.lang.String> dataObjects
Constructor Detail |
---|
public Footprint()
public Footprint(Footprint other)
other
- Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public void add(java.lang.String data)
data
- public void remove(java.lang.String data)
data
- public int size()
public boolean contains(java.lang.String data)
data
-
public java.util.Iterator iterator()
public java.util.HashSet<java.lang.String> getData()
public java.lang.Object[] toArray()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
public Footprint intersection(Footprint other)
other
- further footprint
public Footprint union(Footprint other)
other
- further footprint
public double overlap(Footprint other)
other
- further footprint
public boolean isSubsetOf(Footprint other)
other
-
public void convertToCanonical(ObjectEquivalence equiv)
equiv
- equivalence relation implementation used for conversionpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |