Class Outcome
- java.lang.Object
-
- org.processmining.plugins.stochasticpetrinet.measures.entropy.Outcome
-
- All Implemented Interfaces:
java.lang.Comparable<Outcome>
public class Outcome extends java.lang.Object implements java.lang.Comparable<Outcome>
The outcome of an abstraction of a traceCurrently, there is no need for more than an int-encoded representation of an event. We can represent each abstraction level as an ordered integer array.
Let's assume we encode the events A,B,C,D with 1,2,3,4 respectively.
The set abstraction is represented as an ordered array of the encoded integers. {B,D,A} -> [1,2,4] The multiset abstraction is also an ordered array but with multiple. {B²,D,A³} -> [1,1,1,2,2,4] And the list abstraction is just kept. -> [2,1,4,3,3,1]
Comparison becomes easy this way, as we don't need to search but can fast and simple array-comparison.
- Author:
- Andreas Rogge-Solti
- See Also:
AbstractionLevel
-
-
Constructor Summary
Constructors Constructor Description Outcome(int... args)Outcome(org.deckfour.xes.model.XTrace trace, AbstractionLevel level, org.deckfour.xes.classification.XEventClasses eventClasses, java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> encoding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Outcome o)booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Constructor Detail
-
Outcome
public Outcome(int... args)
-
Outcome
public Outcome(org.deckfour.xes.model.XTrace trace, AbstractionLevel level, org.deckfour.xes.classification.XEventClasses eventClasses, java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> encoding)
-
-