Class EventCooccurrence
- java.lang.Object
-
- edu.gsu.cs.dmlab.solgrind.base.types.event.EventCooccurrence
-
- All Implemented Interfaces:
Comparable<EventCooccurrence>
public class EventCooccurrence extends Object implements Comparable<EventCooccurrence>
This class is will be used for ST co-occurrence pattern. (Naming is EventCooccurrence because not every set of event co-occurrences are necessarily frequent patterns)- Author:
- Berkay Aydin, Data Mining Lab, Georgia State University
-
-
Constructor Summary
Constructors Constructor Description EventCooccurrence()
EventCooccurrence(EventCooccurrence eventCooccurrence)
copy constructorEventCooccurrence(Collection<EventType> eventTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEventType(EventType eventType)
int
compareTo(EventCooccurrence o)
boolean
equals(Object et)
int
getCardinality()
Set<EventType>
getEventTypes()
int
hashCode()
String
toString()
EventCooccurrence
union(EventCooccurrence eventCooccurrence)
-
-
-
Constructor Detail
-
EventCooccurrence
public EventCooccurrence(Collection<EventType> eventTypes)
-
EventCooccurrence
public EventCooccurrence()
-
EventCooccurrence
public EventCooccurrence(EventCooccurrence eventCooccurrence)
copy constructor- Parameters:
eventCooccurrence
-
-
-
Method Detail
-
addEventType
public void addEventType(EventType eventType)
-
getCardinality
public int getCardinality()
-
union
public EventCooccurrence union(EventCooccurrence eventCooccurrence)
-
compareTo
public int compareTo(EventCooccurrence o)
- Specified by:
compareTo
in interfaceComparable<EventCooccurrence>
-
-