Interface BlockingRegionDefinition
- All Known Subinterfaces:
JmodelBlockingRegionDefinition
- All Known Implementing Classes:
CommonModel, JSimGraphModel, JSIMModel
public interface BlockingRegionDefinition
Title: Blocking Region Definition Interface
Description: This interface will enumerate methods used to specify a blocking region on the queue network.
- Author:
- Bertoli Marco Date: 26-gen-2006 Time: 16.21.26
-
Method Summary
Modifier and TypeMethodDescriptionaddBlockingRegion(String name, String type) Adds a new blocking region to the modelvoidaddClassIntoRegionGroup(Object regionKey, int index, Object classKey) Adds a class to a group for a blocking regionvoidaddRegionGroup(Object regionKey, String name) Adds a new group to a blocking regionbooleanaddRegionStation(Object regionKey, Object stationKey) Adds a station to a blocking regionbooleancanRegionStationBeAdded(Object regionKey, Object stationKey) Tells if a station can be added to a blocking region (all the stations that create or destroy jobs cannot be added)voiddeleteAllRegionGroups(Object regionKey) Deletes all the groups from a blocking regionvoidDeletes a blocking region from the modelvoiddeleteRegionGroup(Object regionKey, int index) Deletes a group from a blocking regionGets a vector of stations that can be added to a blocking regiongetBlockingRegionStations(Object regionKey) Returns a set of all the stations in a blocking regiongetRegionClassCustomerConstraint(Object regionKey, Object classKey) Gets the customer number constraint for a blocking region and a classgetRegionClassDropRule(Object regionKey, Object classKey) Gets the drop rule for a blocking region and a classgetRegionClassMemorySize(Object regionKey, Object classKey) Gets the memory size constraint for a blocking region and a classgetRegionClassSize(Object regionKey, Object classKey) Gets the size of each job for a blocking region and a classgetRegionClassSoftDeadline(Object regionKey, Object classKey) Gets the soft deadline of each job for a blocking region and a classgetRegionClassWeight(Object regionKey, Object classKey) Gets the weight of each job for a blocking region and a classgetRegionCustomerConstraint(Object regionKey) Gets the global customer number constraint for a blocking regiongetRegionGroupClassList(Object regionKey, int index) Returns a list of classes in a group for a blocking regiongetRegionGroupCustomerConstraint(Object regionKey, int index) Gets the customer number constraint for a blocking region and a groupgetRegionGroupList(Object regionKey) Returns a list of the group data for a blocking regiongetRegionGroupMemorySize(Object regionKey, int index) Gets the memory size constraint for a blocking region and a groupgetRegionGroupName(Object regionKey, int index) Gets the name of a group for a blocking regionReturns the entire set of blocking region keysgetRegionMemorySize(Object regionKey) Gets the global memory size constraint for a blocking regiongetRegionName(Object regionKey) Gets the name of a blocking regiongetRegionType(Object regionKey) Gets the type of a blocking regiongetStationBlockingRegion(Object stationKey) Gets the blocking region of a stationvoidremoveAllClassesFromRegionGroup(Object regionKey, int index) Removes all the classes from a group for a blocking regionvoidremoveClassFromRegionGroup(Object regionKey, int index, Object classKey) Removes a class from a group for a blocking regionvoidremoveRegionStation(Object regionKey, Object stationKey) Removes a station from a blocking regionvoidsetRegionClassCustomerConstraint(Object regionKey, Object classKey, Integer maxJobs) Sets the customer number constraint for a blocking region and a classvoidsetRegionClassDropRule(Object regionKey, Object classKey, Boolean drop) Sets the drop rule for a blocking region and a classvoidsetRegionClassMemorySize(Object regionKey, Object classKey, Integer maxMemory) Sets the memory size constraint for a blocking region and a classvoidsetRegionClassSize(Object regionKey, Object classKey, Integer size) Sets the size of each job for a blocking region and a classvoidsetRegionClassSoftDeadline(Object regionKey, Object classKey, Double softDeadline) Sets the soft deadline of each job for a blocking region and a classvoidsetRegionClassWeight(Object regionKey, Object classKey, Integer weight) Sets the weight of each job for a blocking region and a classvoidsetRegionCustomerConstraint(Object regionKey, Integer maxJobs) Sets the global customer number constraint for a blocking regionvoidsetRegionGroupCustomerConstraint(Object regionKey, int index, Integer maxJobs) Sets the customer number constraint for a blocking region and a groupvoidsetRegionGroupMemorySize(Object regionKey, int index, Integer maxMemory) Sets the memory size constraint for a blocking region and a groupvoidsetRegionGroupName(Object regionKey, int index, String name) Sets the name of a group for a blocking regionvoidsetRegionMemorySize(Object regionKey, Integer maxMemory) Sets the global memory size constraint for a blocking regionvoidsetRegionName(Object regionKey, String name) Sets the name of a blocking regionvoidsetRegionType(Object regionKey, String type) Sets the type of a blocking region
-
Method Details
-
addBlockingRegion
-
deleteBlockingRegion
Deletes a blocking region from the model- Parameters:
key- search's key for region
-
getRegionKeys
-
getRegionName
-
setRegionName
-
getRegionType
-
setRegionType
-
getRegionCustomerConstraint
-
setRegionCustomerConstraint
-
getRegionMemorySize
-
setRegionMemorySize
-
getRegionClassCustomerConstraint
Gets the customer number constraint for a blocking region and a class- Parameters:
regionKey- search's key for regionclassKey- search's key for class- Returns:
- maximum number of allowed customers for specified class (-1 means infinity)
-
setRegionClassCustomerConstraint
Sets the customer number constraint for a blocking region and a class- Parameters:
regionKey- search's key for regionclassKey- search's key for classmaxJobs- maximum number of allowed customers for specified class (-1 means infinity)
-
getRegionClassMemorySize
-
setRegionClassMemorySize
Sets the memory size constraint for a blocking region and a class- Parameters:
regionKey- search's key for regionclassKey- search's key for classmaxMemory- maximum size of allowed memory for specified class (-1 means infinity)
-
getRegionClassDropRule
-
setRegionClassDropRule
-
getRegionClassWeight
-
setRegionClassWeight
-
getRegionClassSize
-
setRegionClassSize
-
getRegionClassSoftDeadline
-
setRegionClassSoftDeadline
-
canRegionStationBeAdded
Tells if a station can be added to a blocking region (all the stations that create or destroy jobs cannot be added)- Parameters:
regionKey- search's key for regionstationKey- search's key for station- Returns:
- true if the station can be added to specified region
-
addRegionStation
-
removeRegionStation
-
getBlockingRegionStations
-
getStationBlockingRegion
-
getBlockableStationKeys
-
addRegionGroup
-
deleteRegionGroup
Deletes a group from a blocking region- Parameters:
regionKey- search's key for regionindex- indexing number for group
-
deleteAllRegionGroups
Deletes all the groups from a blocking region- Parameters:
regionKey- search's key for region
-
getRegionGroupList
Returns a list of the group data for a blocking region- Parameters:
regionKey- search's key for region- Returns:
- a list of the group data for specified region
-
getRegionGroupName
-
setRegionGroupName
-
getRegionGroupCustomerConstraint
Gets the customer number constraint for a blocking region and a group- Parameters:
regionKey- search's key for regionindex- indexing number for group- Returns:
- maximum number of allowed customers for specified group (-1 means infinity)
-
setRegionGroupCustomerConstraint
Sets the customer number constraint for a blocking region and a group- Parameters:
regionKey- search's key for regionindex- indexing number for groupmaxJobs- maximum number of allowed customers for specified group (-1 means infinity)
-
getRegionGroupMemorySize
-
setRegionGroupMemorySize
Sets the memory size constraint for a blocking region and a group- Parameters:
regionKey- search's key for regionindex- indexing number for groupmaxMemory- maximum size of allowed memory for specified group (-1 means infinity)
-
addClassIntoRegionGroup
-
removeClassFromRegionGroup
-
removeAllClassesFromRegionGroup
Removes all the classes from a group for a blocking region- Parameters:
regionKey- search's key for regionindex- indexing number for group
-
getRegionGroupClassList
-