Class Room
- java.lang.Object
-
- org.processmining.plugins.stochasticpetrinet.external.Entity
-
- org.processmining.plugins.stochasticpetrinet.external.Location
-
- org.processmining.plugins.stochasticpetrinet.external.Room
-
- All Implemented Interfaces:
Allocatable
public class Room extends Location
A representation of a room which can be allocated to activities. In a model this can be represented as a place with the number of tokens as specified by capacity.
-
-
Field Summary
-
Fields inherited from class org.processmining.plugins.stochasticpetrinet.external.Location
childLocations, parentLocation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCapacity()Returns the capacity of the allocatable entity.voidsetCapacity(int capacity)-
Methods inherited from class org.processmining.plugins.stochasticpetrinet.external.Location
getChildLocations, getParentLocation, setParentLocation
-
Methods inherited from class org.processmining.plugins.stochasticpetrinet.external.Entity
getName, setName
-
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.Allocatable
getName
-
-
-
-
Method Detail
-
getCapacity
public int getCapacity()
Description copied from interface:AllocatableReturns the capacity of the allocatable entity. A room can have a capacity > 1, if there can be multiple cases handles within Similarly, a worker can perhaps multi-task and handle multiple cases at once.- Specified by:
getCapacityin interfaceAllocatable- Overrides:
getCapacityin classLocation- Returns:
- int capacity of the allocatable entity.
-
setCapacity
public void setCapacity(int capacity)
-
-