public class AllocationBasedNetGenerator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AllocationBasedNetGenerator.ObsType |
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.math3.distribution.RealDistribution |
arrivalDistribution |
static java.lang.String |
PLACE_CASE_PREFIX |
Constructor and Description |
---|
AllocationBasedNetGenerator() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object[] |
generateNet(StochasticNet base,
PetrinetModelAllocations allocations,
java.util.Set<Allocatable> resources,
int numCases,
double meanTimeBetweenArrivals,
double noise,
long startTime)
Generates a net based on a basis and a number of cases that are drawn randomly from the model.
|
static java.lang.Object[] |
generateObservationAwareNet(StochasticNet base,
PetrinetModelAllocations allocations,
java.util.Set<Allocatable> resources,
double noise)
TOSO: Currently we neglect resources!
|
protected static void |
swapTransitionsRandomly(java.util.List<org.processmining.models.graphbased.directed.petrinet.elements.Transition> transitionsToExecuteInSequence,
double noise) |
public static final java.lang.String PLACE_CASE_PREFIX
protected static org.apache.commons.math3.distribution.RealDistribution arrivalDistribution
public static java.lang.Object[] generateObservationAwareNet(StochasticNet base, PetrinetModelAllocations allocations, java.util.Set<Allocatable> resources, double noise)
base
- allocations
- resources
- noise
- public static java.lang.Object[] generateNet(StochasticNet base, PetrinetModelAllocations allocations, java.util.Set<Allocatable> resources, int numCases, double meanTimeBetweenArrivals, double noise, long startTime)
base
- StochasticNetallocations
- PetrinetModelAllocationsresources
- SetnumCases
- intmeanTimeBetweenArrivals
- doublenoise
- double the noise represents the probability that something goes NOT according to process knowledge
(examples are a swap in activities, a change in a duration distribution, a change in the allocated resource set)startTime
- the start time of the simulationprotected static void swapTransitionsRandomly(java.util.List<org.processmining.models.graphbased.directed.petrinet.elements.Transition> transitionsToExecuteInSequence, double noise)