Class AbstractAllocation
- java.lang.Object
-
- org.processmining.plugins.stochasticpetrinet.external.AbstractAllocation
-
- All Implemented Interfaces:
Allocation
- Direct Known Subclasses:
AllocationDistribution,DirectAllocation,PoissonAllocation,UniformAllocation,UniformSetAllocation
public abstract class AbstractAllocation extends java.lang.Object implements Allocation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.processmining.plugins.stochasticpetrinet.external.Allocation
Allocation.AllocType
-
-
Constructor Summary
Constructors Constructor Description AbstractAllocation(Allocation.AllocType type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetEntropy()Returns the entropy of the allocation distribution.protected static java.lang.StringgetString(java.util.Set<Allocatable> allocs)Allocation.AllocTypegetType()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.processmining.plugins.stochasticpetrinet.external.Allocation
getAllAllocatables, getAllocation, getAllocation, getProbabilitiesOfAllocations
-
-
-
-
Constructor Detail
-
AbstractAllocation
public AbstractAllocation(Allocation.AllocType type)
-
-
Method Detail
-
getType
public Allocation.AllocType getType()
- Specified by:
getTypein interfaceAllocation
-
getString
protected static java.lang.String getString(java.util.Set<Allocatable> allocs)
-
getEntropy
public double getEntropy()
Returns the entropy of the allocation distribution.- Returns:
-
-