Class AllocationConfig
- java.lang.Object
-
- org.processmining.plugins.stochasticpetrinet.external.AllocationConfig
-
public class AllocationConfig extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AllocationConfig(java.util.Set<Allocatable> choices, int numOfAllocatables, double probability, Allocation.AllocType type)AllocationConfig(java.util.Set<Allocatable> choices, int numOfAllocatables, double probability, Allocation.AllocType type, StochasticNet.DistributionType distributionType)AllocationConfig(java.util.Set<Allocatable> setA, java.util.Set<Allocatable> setB, int numA, int numB, double probability, Allocation.AllocType type)AllocationConfig(java.util.Set<Allocatable> setA, java.util.Set<Allocatable> setB, int numA, int numB, double probability, Allocation.AllocType type, StochasticNet.DistributionType distributionType)Configure a cross product of two sets
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetProbability()AllocationgetResultingAllocationDistribution()
-
-
-
Constructor Detail
-
AllocationConfig
public AllocationConfig(java.util.Set<Allocatable> choices, int numOfAllocatables, double probability, Allocation.AllocType type)
-
AllocationConfig
public AllocationConfig(java.util.Set<Allocatable> choices, int numOfAllocatables, double probability, Allocation.AllocType type, StochasticNet.DistributionType distributionType)
-
AllocationConfig
public AllocationConfig(java.util.Set<Allocatable> setA, java.util.Set<Allocatable> setB, int numA, int numB, double probability, Allocation.AllocType type)
-
AllocationConfig
public AllocationConfig(java.util.Set<Allocatable> setA, java.util.Set<Allocatable> setB, int numA, int numB, double probability, Allocation.AllocType type, StochasticNet.DistributionType distributionType)
Configure a cross product of two sets- Parameters:
setA-setB-numA-numB-probability-type-
-
-
Method Detail
-
getResultingAllocationDistribution
public Allocation getResultingAllocationDistribution()
-
getProbability
public double getProbability()
-
-