Interface StationDefinition
- All Known Subinterfaces:
JmodelStationDefinition
- All Known Implementing Classes:
CommonModel, JSimGraphModel, JSIMModel
public interface StationDefinition
Created by IntelliJ IDEA.
User: OrsotronIII
Date: 27-mag-2005
Time: 9.52.46
This interface provides methods for editing of set of stations for JSIM models.
Each station is assigned a search key that can be used to retrieve each parameter.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCode for station name retrievalstatic final intCode for station type retrievalstatic final intCode for station type retrievalstatic final intCode for station type retrieval -
Method Summary
Modifier and TypeMethodDescriptionvoidaddServerType(Object StationKey, int change) This method adds a server typeaddStation(String name, String type, int nextServerNum, List<ServerType> servers) Adds a new station to the model, given the station name and type.voidaddTransitionMode(Object stationKey, String name) Adds a new mode for transitionstationKey.booleanareConnectable(Object sourceKey, Object targetKey) Tells whether two stations can be connectedbooleanareConnected(Object sourceKey, Object targetKey) Tells whether two stations are connectedvoiddeleteServerType(Object StationKey, int index) This method deletes a server typevoiddeleteStation(Object key) Deletes a station from the model, given the search key.voiddeleteTransitionMode(Object stationKey, int modeIndex) Deletes a mode for transitionstationKey.getAllTransitionModeNames(Object stationKey) Returns the names of all the modes for transitionstationKey.getBackwardConnectedPlaces(Object stationKey) getBackwardConnections(Object stationKey) Returns a set of station keys specified station is connected to as a target.getClassStationSoftDeadline(Object stationKey, Object classKey) floatgetClassSwitchMatrix(Object stationKey, Object classInKey, Object classOutKey) Returns the cell (classInKey,classOutKey) of the class switch matrix for stationstationKey.getDelayOffTimeDistribution(Object stationKey, Object classKey) Gets whether delay off times are enabled, given the search key.getDropRule(Object stationKey, Object classKey) Returns drop rule associated with given station queue section if capacity is finite.getEnablingCondition(Object stationKey, int modeIndex, Object stationInKey, Object classKey) Returns the entry (stationInKey,classKey) of the enabling condition for transitionstationKeyand modemodeIndex.This method returns the key set of blocking regions.getFiringOutcome(Object stationKey, int modeIndex, Object stationOutKey, Object classKey) Returns the entry (stationOutKey,classKey) of the firing outcome for transitionstationKeyand modemodeIndex.getFiringPriority(Object stationKey, int modeIndex) Returns the firing priority for transitionstationKeyand modemodeIndex.getFiringTimeDistribution(Object stationKey, int modeIndex) Returns the firing time distribution for transitionstationKeyand modemodeIndex.getFiringWeight(Object stationKey, int modeIndex) Returns the firing weight for transitionstationKeyand modemodeIndex.This method returns fork/join section keys.getForkBlock(Object key) Tells if a fork is blocking
Author: Bertoli MarcogetForkStrategy(Object stationKey, Object classKey) Returns fork strategy for class and station, given their search keys.getForwardConnections(Object stationKey) Returns a set of station keys specified station is connected to as a source.getHeterogeneousServersEnabled(Object stationKey) getImpatienceParameter(Object stationKey, Object classKey) Returns impatience parameter associated with given station queue section.getImpatienceType(Object stationKey, Object classKey) Returns impatience type associated with given station queue section.getInfoForServerType(Object stationKey, int index) This method returns a serverType given its station key and its order amongst the server types of that stationgetInhibitingCondition(Object stationKey, int modeIndex, Object stationInKey, Object classKey) Returns the entry (stationInKey,classKey) of the inhibiting condition for transitionstationKeyand modemodeIndex.Tells if a fork is simplified
Author: Bertoli MarcogetJoinStrategy(Object stationKey, Object classKey) Returns join strategy for class and station, given their search keys.getLoggingGlbParameter(String selector) Returns logging parameters for the Global logfile.getLoggingParameters(Object stationKey) Returns logging parameters for the logger.intgetNumberOfDifferentServerTypes(Object stationKey) This method returns the number of different server typesgetNumberOfServers(Object stationKey, int modeIndex) Returns the number of servers for transitionstationKeyand modemodeIndex.getPollingSwitchoverDistribution(Object stationKey, Object classKey) Returns switchover period distribution for class and station, given their search keys.getQuantumSize(Object stationKey) getQuantumSwitchoverTime(Object stationKey) getQueueCapacity(Object stationKey, Object classKey) Returns queue capacity for a station and a class, given their search keys.getQueueStrategy(Object stationKey, Object classKey) Returns queue strategy for a station and a class, given their search keys.getResourceCondition(Object stationKey, int modeIndex, Object stationInKey, Object classKey) Returns the entry (stationInKey,classKey) of the resource condition for serverstationKeyand modemodeIndexgetRetrialDistribution(Object stationKey, Object classKey) Returns retrial rate distribution for class and station, given their search keys.getRoutingStrategy(Object stationKey, Object classKey) Returns routing strategy for class and station, given their search keys.getSemaphoreStrategy(Object stationKey, Object classKey) Returns semaphore strategy for class and station, given their search keys.getSemaphoreThreshold(Object stationKey, Object classKey) Returns the threshold for semaphorestationKeyand classclassKey.getServerNumRequired(Object stationKey, Object classKey) Returns service time distribution for class and station, given their search keys.getServerType(Object serverTypeKey) This method returns Server Type given its keygetServerTypeKey(Object stationKey, String name) This method returns server type key given name and its stationThis method returns the key set of server Types.getServerTypeNames(Object stationKey) This method returns the names of different server typesgetServerTypes(Object StationKey) This method returns all server types of stationgetServerTypeStationName(Object serverTypeKey) This method returns a server type name with respect to its station given its keygetServiceTimeDistribution(Object stationKey, Object classKey) Returns service time distribution for class and station, given their search keys.getServiceTimeDistribution(Object stationKey, Object classKey, Object serverTypeKey) Returns service time distribution for class, station and server type, given their search keys.getServiceWeight(Object stationKey, Object classKey) Returns service weight for class and station, given their search keys.getSetupTimeDistribution(Object stationKey, Object classKey) getStationByName(String stationName) Returns the search key for the station, given the station name.This method returns the key set of all stations.This method returns the key set of class switches.This method returns the key set of delays.This method returns the key set of forks.This method returns the key set of joins.This method returns the key set of loggers.This method returns all station (except sources and sinks) keys.This method returns the key set of places.This method returns the key set of preloadable stations.This method returns reference station keys.This method returns the key set of routers.This method returns the key set of scalers.This method returns the key set of semaphores.This method returns the key set of servers.This method returns the key set of sinks.This method returns the key set of sources.This method returns the key set of terminals.This method returns the key set of transitions.Returns max running jobs of the station, given the search key.getStationName(Object key) Returns name of the station, given the search key.Returns number of servers of the station, given the search key.Returns k value for K polling servers, given the search key.Returns type of polling server, given the search key.Returns queue capacity of the station, given the search key.Returns queue strategy of the station, given the search key.This method returns all station (except sources and sinks) and blocking region keys.getStationSchedulingPolicy(Object stationKey) This method returns scheduling policy of a stationReturns total capacity of the station, given the search key.getStationType(Object key) Returns type of the station, given the search key.getStationVacationParameters(Object stationKey) getStationVacationPolicy(Object stationKey) getSwitchoverTimeDistribution(Object stationKey, Object fromClassKey, Object toClassKey) Returns setup time distribution for class and station, given their search keys.Gets whether setup times are enabled, given the search key.intgetTransitionModeListSize(Object stationKey) Returns the size of the mode list for transitionstationKey.getTransitionModeName(Object stationKey, int modeIndex) Returns the name of modemodeIndexfor transitionstationKey.booleanisServerTypeKey(Object serverTypeKey) This method returns true if it is a serverTypeKeyvoidManages the routing and fork probabilities.voidnormalizeClassSwitchProbabilities(Object classKey, Map values, Number example) Normalizes the class switch probabilities.voidnormalizeForkProbabilities(Map<Object, Double> values) Normalizes the fork probabilities.voidNormalizes the routing probabilities.voidresetImpatience(Object stationKey, Object classKey) Resets impatience strategy associated with given station queue section.voidsetClassStationSoftDeadline(Object stationKey, Object classKey, Double softDeadline) voidsetClassSwitchMatrix(Object stationKey, Object classInKey, Object classOutKey, float value) Sets the cell (classInKey,classOutKey) of the class switch matrix for stationstationKey.booleansetConnected(Object sourceKey, Object targetKey, boolean areConnected) Adds a connection between two stations in this model, given search keys of source and target stations.voidsetDelayOffTimeDistribution(Object stationKey, Object classKey, Object distribution) voidsetDelayOffTimesEnabled(Object key, Boolean enabled) Sets whether delay off times are enabled, given the search key.voidsetDropRule(Object stationKey, Object classKey, String dropRule) Sets drop rule associated with given station queue section if capacity is finite.voidsetEnablingCondition(Object stationKey, int modeIndex, Object stationInKey, Object classKey, Integer value) Sets the entry (stationInKey,classKey) of the enabling condition for transitionstationKeyand modemodeIndex.voidsetFiringOutcome(Object stationKey, int modeIndex, Object stationOutKey, Object classKey, Integer value) Sets the entry (stationOutKey,classKey) of the firing outcome for transitionstationKeyand modemodeIndex.voidsetFiringPriority(Object stationKey, int modeIndex, Integer priority) Sets the firing priority for transitionstationKeyand modemodeIndex.voidsetFiringTimeDistribution(Object stationKey, int modeIndex, Object distribution) Sets the firing time distribution for transitionstationKeyand modemodeIndex.voidsetFiringWeight(Object stationKey, int modeIndex, Double weight) Sets the firing weight for transitionstationKeyand modemodeIndex.voidsetForkBlock(Object key, Integer value) Sets if a fork is blocking
Author: Bertoli MarcovoidsetForkStrategy(Object stationKey, Object classKey, Object forkStrategy) Sets fork strategy for class and station, given their search keys.voidsetHeterogeneousServersEnabled(Object stationKey, Boolean enabled) voidsetImpatienceParameter(Object stationKey, Object classKey, ImpatienceParameter impatienceParameter) Sets impatience parameter associated with given station queue section.voidsetImpatienceType(Object stationKey, Object classKey, ImpatienceType impatienceType) Sets impatience type associated with given station queue section.voidsetInhibitingCondition(Object stationKey, int modeIndex, Object stationInKey, Object classKey, Integer value) Sets the entry (stationInKey,classKey) of the inhibiting condition for transitionstationKeyand modemodeIndex.voidsetIsSimplifiedFork(Object key, Boolean value) Sets if a fork is simplified
Author: Bertoli MarcovoidsetJoinStrategy(Object stationKey, Object classKey, Object joinStrategy) Sets join strategy for class and station, given their search keys.voidsetLoggingGlbParameter(String selector, String value) Sets logging parameters for the Global logfile.voidsetLoggingParameters(Object stationKey, LoggerParameters loggerParameters) Sets logging parameters for the logger.voidsetNumberOfServers(Object stationKey, int modeIndex, Integer number) Sets the number of servers for transitionstationKeyand modemodeIndex.voidsetPollingSwitchoverDistribution(Object stationKey, Object classKey, Object distribution) Sets switchover period distribution for class and station, given their search keys.voidsetQuantumSize(Object stationKey, Double quantaSize) voidsetQuantumSwitchoverTime(Object stationKey, Double switchOverTime) voidsetQueueCapacity(Object stationKey, Object classKey, Integer queueCapacity) Sets queue capacity for a station and a class, given their search keys.voidsetQueueStrategy(Object stationKey, Object classKey, String queueStrategy) Sets queue strategy for a station and a class, given their search keys.voidsetResourceCondition(Object stationKey, int modeIndex, Object stationInKey, Object classKey, Integer value) Sets the entry (stationInKey,classKey) of the resource condition for serverstationKeyand modemodeIndex.voidsetRetrialDistribution(Object stationKey, Object classKey, Object distribution) Sets retrial rate distribution for class and station, given their search keys.voidsetRoutingStrategy(Object stationKey, Object classKey, Object routingStrategy) Sets routing strategy for class and station, given their search keys.voidsetSemaphoreStrategy(Object stationKey, Object classKey, Object semaphoreStrategy) Sets semaphore strategy for class and station, given their search keys.voidsetSemaphoreThreshold(Object stationKey, Object classKey, Integer threshold) Sets the threshold for semaphorestationKeyand classclassKey.voidsetServerNumRequired(Object stationKey, Object classKey, Integer serverNumRequired) Sets service time distribution for class and station, given their search keys.voidsetServiceTimeDistribution(Object stationKey, Object classKey, Object distribution) Sets service time distribution for class and station, given their search keys.voidsetServiceTimeDistribution(Object stationKey, Object classKey, Object serverTypeKey, Object distribution) Sets service time distribution for class, station and server type, given their search keys.voidsetServiceWeight(Object stationKey, Object classKey, Double weight) Sets service weight for class and station, given their search keys.voidsetSetupTimeDistribution(Object stationKey, Object classKey, Object distribution) voidsetStationMaxRunningJobs(Object key, Integer maxRunningJobs) Sets max running jobs of the station, given the search key.voidsetStationName(Object key, String name) Sets name of the station, given the search key.voidsetStationNumberOfServers(Object key, Integer numberOfServers) Sets number of servers of the station, given the search key.voidSets k value for K polling servers, given the search key.voidsetStationPollingServerType(Object key, String PollingType) Sets type of polling server, given the search key.voidsetStationQueueCapacity(Object key, Integer queueCapacity) Sets queue capacity of the station, given the search key.voidsetStationQueueStrategy(Object key, String queueStrategy) Sets queue strategy of the station, given the search key.voidsetStationSchedulingPolicy(Object stationKey, String schedulingPolicy) This method sets scheduling policy of a stationvoidsetStationTotalCapacity(Object key, Integer totalStationCapacity) Sets total capacity of the station, given the search key.voidsetStationType(Object key, String type) Sets type of the station, given the search key.voidsetStationVacationPolicy(Object stationKey, String vacationPolicy) voidsetSwitchoverTimeDistribution(Object stationKey, Object fromClassKey, Object toClassKey, Object distribution) Sets setup time distribution for class and station, given their search keys.voidsetSwitchoverTimesEnabled(Object key, Boolean enabled) Sets whether setup times are enabled, given the search key.voidsetTransitionModeName(Object stationKey, int modeIndex, String name) Sets the name of transition modemodeIndexfor stationstationKey.voidupdateBalkingParameter(Object stationKey, Object classKey, String serverStationQueuePolicy) Updates balking parameter associated with given station queue section.voidupdateNumOfServers(Object stationKey, int newTotal) This method updates number of servers of different server types in station
-
Field Details
-
STATION_NAME
static final int STATION_NAMECode for station name retrieval- See Also:
-
STATION_TYPE
static final int STATION_TYPECode for station type retrieval- See Also:
-
STATION_QUEUE_CAPACITY
static final int STATION_QUEUE_CAPACITYCode for station type retrieval- See Also:
-
STATION_NUMBER_OF_SERVERS
static final int STATION_NUMBER_OF_SERVERSCode for station type retrieval- See Also:
-
-
Method Details
-
getStationKeys
-
getServerTypeKey
-
setStationSchedulingPolicy
-
getStationSchedulingPolicy
-
getNumberOfDifferentServerTypes
This method returns the number of different server types -
getServerTypes
This method returns all server types of station -
getInfoForServerType
This method returns a serverType given its station key and its order amongst the server types of that station -
getServerTypeStationName
-
getServerType
This method returns Server Type given its key -
isServerTypeKey
This method returns true if it is a serverTypeKey -
addServerType
This method adds a server type -
deleteServerType
This method deletes a server type -
updateNumOfServers
This method updates number of servers of different server types in station -
getServerTypeNames
-
getHeterogeneousServersEnabled
-
setHeterogeneousServersEnabled
-
setStationVacationPolicy
-
getStationVacationPolicy
-
getStationVacationParameters
-
getServerTypeKeys
-
getStationKeysSource
-
getStationKeysSink
-
getStationKeysTerminal
-
getStationKeysRouter
-
getStationKeysDelay
-
getStationKeysServer
-
getStationKeysFork
-
getStationKeysJoin
-
getStationKeysLogger
-
getStationKeysClassSwitch
-
getStationKeysSemaphore
-
getStationKeysScaler
-
getStationKeysPlace
-
getStationKeysTransition
-
getStationKeysPreloadable
-
getStationKeysNoSourceSink
-
getStationKeysRefStation
-
getFJKeys
-
getFCRegionKeys
-
getStationRegionKeysNoSourceSink
-
getStationName
-
setStationName
-
getStationType
-
setStationType
-
getStationQueueCapacity
-
setStationQueueCapacity
-
getStationQueueStrategy
-
setStationQueueStrategy
-
getStationNumberOfServers
-
setStationNumberOfServers
-
getStationMaxRunningJobs
-
setStationMaxRunningJobs
-
getStationTotalCapacity
-
setStationTotalCapacity
-
getStationPollingServerType
-
setStationPollingServerType
-
getStationPollingServerKValue
-
setStationPollingServerKValue
-
getSwitchoverTimesEnabled
-
setSwitchoverTimesEnabled
-
getDelayOffTimesEnabled
-
setDelayOffTimesEnabled
-
getForkBlock
-
setForkBlock
-
getIsSimplifiedFork
-
setIsSimplifiedFork
-
addStation
Adds a new station to the model, given the station name and type.- Parameters:
name- name of the new station.type- type of the new station.- Returns:
- search key for the new new station.
-
deleteStation
Deletes a station from the model, given the search key. -
getClassStationSoftDeadline
-
setClassStationSoftDeadline
-
getQueueCapacity
Returns queue capacity for a station and a class, given their search keys. If specified station cannot accept this kind of parameter, null value is returned.- Parameters:
stationKey- : search key for station.classKey- : search key for class.- Returns:
- integer for queue capacity.
-
setQueueCapacity
Sets queue capacity for a station and a class, given their search keys. If specified station cannot accept this kind of parameter, no value will be set.- Parameters:
stationKey- : search key for station.classKey- : search key for class.queueCapacity- integer for queue capacity.
-
getQueueStrategy
Returns queue strategy for a station and a class, given their search keys. If specified station cannot accept this kind of parameter, null value is returned.- Parameters:
stationKey- : search key for station.classKey- : search key for class.- Returns:
- string name for queue strategy.
-
setQueueStrategy
Sets queue strategy for a station and a class, given their search keys. If specified station cannot accept this kind of parameter, no value will be set.- Parameters:
stationKey- : search key for station.classKey- : search key for class.queueStrategy- : string name for queue strategy.
-
getDropRule
-
setDropRule
Sets drop rule associated with given station queue section if capacity is finite.- Parameters:
stationKey- : search key for station.classKey- : search key for class.dropRule- : FINITE_DROP || FINITE_BLOCK || FINITE_WAITING || FINITE_RETRIAL
-
getImpatienceType
Returns impatience type associated with given station queue section.- Parameters:
stationKey- : search key for station.classKey- : search key for class.- Returns:
- NONE || BALKING || RENEGING
-
setImpatienceType
Sets impatience type associated with given station queue section.- Parameters:
stationKey- : search key for station.classKey- : search key for class.impatienceType- NONE || BALKING || RENEGING
-
getImpatienceParameter
Returns impatience parameter associated with given station queue section.- Parameters:
stationKey- : search key for station.classKey- : search key for class.- Returns:
- impatience parameter for station and class.
-
setImpatienceParameter
void setImpatienceParameter(Object stationKey, Object classKey, ImpatienceParameter impatienceParameter) Sets impatience parameter associated with given station queue section.- Parameters:
stationKey- : search key for station.classKey- : search key for class.impatienceParameter- parameter for station and class.
-
resetImpatience
-
updateBalkingParameter
Updates balking parameter associated with given station queue section.- Parameters:
stationKey- : search key for station.classKey- : search key for class.serverStationQueuePolicy- : queue policy for station.
-
getRetrialDistribution
Returns retrial rate distribution for class and station, given their search keys. If specified station cannot accept this kind of parameter, null value is returned.- Parameters:
stationKey- : search key for station.classKey- : search key for class.- Returns:
- distribution for specified class and station.
-
setRetrialDistribution
Sets retrial rate distribution for class and station, given their search keys. If specified station cannot accept this kind of parameter, no value will be set.- Parameters:
stationKey- : search key for station.classKey- : search key for class.distribution- : distribution to be set for specified class and station.
-
getServiceWeight
Returns service weight for class and station, given their search keys. If specified station cannot accept this kind of parameter, null value is returned.- Parameters:
stationKey- : search key for station.classKey- : search key for class.- Returns:
- weight for specified class and station.
-
setServiceWeight
Sets service weight for class and station, given their search keys. If specified station cannot accept this kind of parameter, no value will be set.- Parameters:
stationKey- : search key for station.classKey- : search key for class.weight- : weight to be set for specified class and station.
-
getServiceTimeDistribution
Returns service time distribution for class and station, given their search keys. If specified station cannot accept this kind of parameter, null value is returned.- Parameters:
stationKey- : search key for station.classKey- : search key for class.- Returns:
- distribution for specified class and station.
-
getServiceTimeDistribution
Returns service time distribution for class, station and server type, given their search keys. If specified station cannot accept this kind of parameter, null value is returned.- Parameters:
stationKey- : search key for station.classKey- : search key for class.serverTypeKey- : search key for server type.- Returns:
- distribution for specified class and station.
-
setServiceTimeDistribution
Sets service time distribution for class and station, given their search keys. If specified station cannot accept this kind of parameter, no value will be set.- Parameters:
stationKey- : search key for station.classKey- : search key for class.distribution- : distribution to be set for specified class and station.
-
setServiceTimeDistribution
void setServiceTimeDistribution(Object stationKey, Object classKey, Object serverTypeKey, Object distribution) Sets service time distribution for class, station and server type, given their search keys. If specified station cannot accept this kind of parameter, no value will be set.- Parameters:
stationKey- : search key for station.classKey- : search key for class.serverTypeKey- : search key for server type.distribution- : distribution to be set for specified class and station.
-
getServerNumRequired
Returns service time distribution for class and station, given their search keys. If specified station cannot accept this kind of parameter, null value is returned.- Parameters:
stationKey- : search key for station.classKey- : search key for class.- Returns:
- server number required for specified class and station.
-
setServerNumRequired
Sets service time distribution for class and station, given their search keys. If specified station cannot accept this kind of parameter, no value will be set.- Parameters:
stationKey- : search key for station.classKey- : search key for class.serverNumRequired- : server number required to be set for specified class and station.
-
getPollingSwitchoverDistribution
Returns switchover period distribution for class and station, given their search keys. If specified station cannot accept this kind of parameter, null value is returned.- Parameters:
stationKey- : search key for station.classKey- : search key for class.- Returns:
- distribution for specified class and station.
-
setPollingSwitchoverDistribution
Sets switchover period distribution for class and station, given their search keys. If specified station cannot accept this kind of parameter, no value will be set.- Parameters:
stationKey- : search key for station.classKey- : search key for class.distribution- : distribution to be set for specified class and station.
-
getSwitchoverTimeDistribution
Returns setup time distribution for class and station, given their search keys. If specified station cannot accept this kind of parameter, null value is returned.- Parameters:
stationKey- : search key for station.fromClassKey- : search key for current class.toClassKey- : search key for next class.- Returns:
- distribution for the specified class and station.
-
setSwitchoverTimeDistribution
void setSwitchoverTimeDistribution(Object stationKey, Object fromClassKey, Object toClassKey, Object distribution) Sets setup time distribution for class and station, given their search keys. If specified station cannot accept this kind of parameter, no value will be set.- Parameters:
stationKey- : search key for station.fromClassKey- : search key for current class from.toClassKey- : search key for next class.distribution- : distribution to be set for specified class and station.
-
getDelayOffTimeDistribution
-
setDelayOffTimeDistribution
-
getSetupTimeDistribution
-
setSetupTimeDistribution
-
getRoutingStrategy
Returns routing strategy for class and station, given their search keys. If specified station cannot accept this kind of parameter, null value is returned.- Parameters:
stationKey- : search key for station.classKey- : search key for class.- Returns:
- routing strategy for specified class and station.
-
setRoutingStrategy
Sets routing strategy for class and station, given their search keys. If specified station cannot accept this kind of parameter, no value will be set.- Parameters:
stationKey- : search key for station.classKey- : search key for class.routingStrategy- : routing strategy to be set for specified class and station.
-
getForkStrategy
Returns fork strategy for class and station, given their search keys. If specified station cannot accept this kind of parameter, null value is returned.- Parameters:
stationKey- : search key for station.classKey- : search key for class.- Returns:
- fork strategy for specified class and station.
-
setForkStrategy
Sets fork strategy for class and station, given their search keys. If specified station cannot accept this kind of parameter, no value will be set.- Parameters:
stationKey- : search key for station.classKey- : search key for class.forkStrategy- : fork strategy to be set for specified class and station.
-
getJoinStrategy
Returns join strategy for class and station, given their search keys. If specified station cannot accept this kind of parameter, null value is returned.- Parameters:
stationKey- : search key for station.classKey- : search key for class.- Returns:
- join strategy for specified class and station.
-
setJoinStrategy
Sets join strategy for class and station, given their search keys. If specified station cannot accept this kind of parameter, no value will be set.- Parameters:
stationKey- : search key for station.classKey- : search key for class.joinStrategy- : join strategy to be set for specified class and station.
-
getSemaphoreStrategy
Returns semaphore strategy for class and station, given their search keys. If specified station cannot accept this kind of parameter, null value is returned.- Parameters:
stationKey- : search key for station.classKey- : search key for class.- Returns:
- semaphore strategy for specified class and station.
-
setSemaphoreStrategy
Sets semaphore strategy for class and station, given their search keys. If specified station cannot accept this kind of parameter, no value will be set.- Parameters:
stationKey- : search key for station.classKey- : search key for class.semaphoreStrategy- : semaphore strategy to be set for specified class and station.
-
getLoggingParameters
Returns logging parameters for the logger. MF'08 0.7.4- Parameters:
stationKey- : search key for station.
-
setLoggingParameters
Sets logging parameters for the logger. MF'08 0.7.4- Parameters:
stationKey- : search key for station.loggerParameters- : local LoggerParameters.
-
getLoggingGlbParameter
-
setLoggingGlbParameter
-
manageProbabilities
void manageProbabilities()Manages the routing and fork probabilities. -
normalizeRoutingProbabilities
-
normalizeClassSwitchProbabilities
-
normalizeForkProbabilities
-
setConnected
Adds a connection between two stations in this model, given search keys of source and target stations. If connection could not be created (if, for example, target station's type is "Source")false value is returned.- Parameters:
sourceKey- : search key for source stationtargetKey- : search key for target stationareConnected- : true if stations must be connected, false otherwise.- Returns:
- : true if connection was created, false otherwise.
-
areConnected
-
areConnectable
-
getForwardConnections
-
getBackwardConnections
-
getBackwardConnectedPlaces
-
getStationByName
-
getClassSwitchMatrix
-
setClassSwitchMatrix
-
getSemaphoreThreshold
-
setSemaphoreThreshold
-
getTransitionModeListSize
Returns the size of the mode list for transitionstationKey. -
addTransitionMode
-
deleteTransitionMode
Deletes a mode for transitionstationKey. -
getTransitionModeName
-
getAllTransitionModeNames
-
setTransitionModeName
-
getEnablingCondition
-
setEnablingCondition
-
getInhibitingCondition
-
setInhibitingCondition
-
getResourceCondition
-
setResourceCondition
-
getNumberOfServers
-
setNumberOfServers
-
getFiringTimeDistribution
-
setFiringTimeDistribution
-
getFiringPriority
-
setFiringPriority
-
getFiringWeight
-
setFiringWeight
-
getFiringOutcome
-
setFiringOutcome
-
setQuantumSize
-
getQuantumSize
-
setQuantumSwitchoverTime
-
getQuantumSwitchoverTime
-