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 Details

    • STATION_NAME

      static final int STATION_NAME
      Code for station name retrieval
      See Also:
    • STATION_TYPE

      static final int STATION_TYPE
      Code for station type retrieval
      See Also:
    • STATION_QUEUE_CAPACITY

      static final int STATION_QUEUE_CAPACITY
      Code for station type retrieval
      See Also:
    • STATION_NUMBER_OF_SERVERS

      static final int STATION_NUMBER_OF_SERVERS
      Code for station type retrieval
      See Also:
  • Method Details

    • getStationKeys

      Vector<Object> getStationKeys()
      This method returns the key set of all stations.
    • getServerTypeKey

      Object getServerTypeKey(Object stationKey, String name)
      This method returns server type key given name and its station
    • setStationSchedulingPolicy

      void setStationSchedulingPolicy(Object stationKey, String schedulingPolicy)
      This method sets scheduling policy of a station
    • getStationSchedulingPolicy

      String getStationSchedulingPolicy(Object stationKey)
      This method returns scheduling policy of a station
    • getNumberOfDifferentServerTypes

      int getNumberOfDifferentServerTypes(Object stationKey)
      This method returns the number of different server types
    • getServerTypes

      List<ServerType> getServerTypes(Object StationKey)
      This method returns all server types of station
    • getInfoForServerType

      ServerType getInfoForServerType(Object stationKey, int index)
      This method returns a serverType given its station key and its order amongst the server types of that station
    • getServerTypeStationName

      String getServerTypeStationName(Object serverTypeKey)
      This method returns a server type name with respect to its station given its key
    • getServerType

      ServerType getServerType(Object serverTypeKey)
      This method returns Server Type given its key
    • isServerTypeKey

      boolean isServerTypeKey(Object serverTypeKey)
      This method returns true if it is a serverTypeKey
    • addServerType

      void addServerType(Object StationKey, int change)
      This method adds a server type
    • deleteServerType

      void deleteServerType(Object StationKey, int index)
      This method deletes a server type
    • updateNumOfServers

      void updateNumOfServers(Object stationKey, int newTotal)
      This method updates number of servers of different server types in station
    • getServerTypeNames

      List<String> getServerTypeNames(Object stationKey)
      This method returns the names of different server types
    • getHeterogeneousServersEnabled

      Boolean getHeterogeneousServersEnabled(Object stationKey)
    • setHeterogeneousServersEnabled

      void setHeterogeneousServersEnabled(Object stationKey, Boolean enabled)
    • setStationVacationPolicy

      void setStationVacationPolicy(Object stationKey, String vacationPolicy)
    • getStationVacationPolicy

      String getStationVacationPolicy(Object stationKey)
    • getStationVacationParameters

      VacationParameters getStationVacationParameters(Object stationKey)
    • getServerTypeKeys

      Vector<Object> getServerTypeKeys()
      This method returns the key set of server Types.
    • getStationKeysSource

      Vector<Object> getStationKeysSource()
      This method returns the key set of sources.
    • getStationKeysSink

      Vector<Object> getStationKeysSink()
      This method returns the key set of sinks.
    • getStationKeysTerminal

      Vector<Object> getStationKeysTerminal()
      This method returns the key set of terminals.
    • getStationKeysRouter

      Vector<Object> getStationKeysRouter()
      This method returns the key set of routers.
    • getStationKeysDelay

      Vector<Object> getStationKeysDelay()
      This method returns the key set of delays.
    • getStationKeysServer

      Vector<Object> getStationKeysServer()
      This method returns the key set of servers.
    • getStationKeysFork

      Vector<Object> getStationKeysFork()
      This method returns the key set of forks.
    • getStationKeysJoin

      Vector<Object> getStationKeysJoin()
      This method returns the key set of joins.
    • getStationKeysLogger

      Vector<Object> getStationKeysLogger()
      This method returns the key set of loggers.
    • getStationKeysClassSwitch

      Vector<Object> getStationKeysClassSwitch()
      This method returns the key set of class switches.
    • getStationKeysSemaphore

      Vector<Object> getStationKeysSemaphore()
      This method returns the key set of semaphores.
    • getStationKeysScaler

      Vector<Object> getStationKeysScaler()
      This method returns the key set of scalers.
    • getStationKeysPlace

      Vector<Object> getStationKeysPlace()
      This method returns the key set of places.
    • getStationKeysTransition

      Vector<Object> getStationKeysTransition()
      This method returns the key set of transitions.
    • getStationKeysPreloadable

      Vector<Object> getStationKeysPreloadable()
      This method returns the key set of preloadable stations.
    • getStationKeysNoSourceSink

      Vector<Object> getStationKeysNoSourceSink()
      This method returns all station (except sources and sinks) keys.
    • getStationKeysRefStation

      Vector<Object> getStationKeysRefStation()
      This method returns reference station keys.
    • getFJKeys

      Vector<Object> getFJKeys()
      This method returns fork/join section keys.
    • getFCRegionKeys

      Vector<Object> getFCRegionKeys()
      This method returns the key set of blocking regions.
    • getStationRegionKeysNoSourceSink

      Vector<Object> getStationRegionKeysNoSourceSink()
      This method returns all station (except sources and sinks) and blocking region keys.
    • getStationName

      String getStationName(Object key)
      Returns name of the station, given the search key.
    • setStationName

      void setStationName(Object key, String name)
      Sets name of the station, given the search key.
    • getStationType

      String getStationType(Object key)
      Returns type of the station, given the search key.
    • setStationType

      void setStationType(Object key, String type)
      Sets type of the station, given the search key.
    • getStationQueueCapacity

      Integer getStationQueueCapacity(Object key)
      Returns queue capacity of the station, given the search key.
    • setStationQueueCapacity

      void setStationQueueCapacity(Object key, Integer queueCapacity)
      Sets queue capacity of the station, given the search key.
    • getStationQueueStrategy

      String getStationQueueStrategy(Object key)
      Returns queue strategy of the station, given the search key.
    • setStationQueueStrategy

      void setStationQueueStrategy(Object key, String queueStrategy)
      Sets queue strategy of the station, given the search key.
    • getStationNumberOfServers

      Integer getStationNumberOfServers(Object key)
      Returns number of servers of the station, given the search key.
    • setStationNumberOfServers

      void setStationNumberOfServers(Object key, Integer numberOfServers)
      Sets number of servers of the station, given the search key.
    • getStationMaxRunningJobs

      Integer getStationMaxRunningJobs(Object key)
      Returns max running jobs of the station, given the search key.
    • setStationMaxRunningJobs

      void setStationMaxRunningJobs(Object key, Integer maxRunningJobs)
      Sets max running jobs of the station, given the search key.
    • getStationTotalCapacity

      Integer getStationTotalCapacity(Object key)
      Returns total capacity of the station, given the search key.
    • setStationTotalCapacity

      void setStationTotalCapacity(Object key, Integer totalStationCapacity)
      Sets total capacity of the station, given the search key.
    • getStationPollingServerType

      String getStationPollingServerType(Object key)
      Returns type of polling server, given the search key.
    • setStationPollingServerType

      void setStationPollingServerType(Object key, String PollingType)
      Sets type of polling server, given the search key.
    • getStationPollingServerKValue

      Integer getStationPollingServerKValue(Object key)
      Returns k value for K polling servers, given the search key.
    • setStationPollingServerKValue

      void setStationPollingServerKValue(Object key, Integer k)
      Sets k value for K polling servers, given the search key.
    • getSwitchoverTimesEnabled

      Boolean getSwitchoverTimesEnabled(Object key)
      Gets whether setup times are enabled, given the search key.
    • setSwitchoverTimesEnabled

      void setSwitchoverTimesEnabled(Object key, Boolean enabled)
      Sets whether setup times are enabled, given the search key.
    • getDelayOffTimesEnabled

      Boolean getDelayOffTimesEnabled(Object key)
      Gets whether delay off times are enabled, given the search key.
    • setDelayOffTimesEnabled

      void setDelayOffTimesEnabled(Object key, Boolean enabled)
      Sets whether delay off times are enabled, given the search key.
    • getForkBlock

      Integer getForkBlock(Object key)
      Tells if a fork is blocking
      Author: Bertoli Marco
      Parameters:
      key - : search's key for fork
      Returns:
      maximum number of jobs allowed in the fork-join region (-1 is infinity)
    • setForkBlock

      void setForkBlock(Object key, Integer value)
      Sets if a fork is blocking
      Author: Bertoli Marco
      Parameters:
      key - : search's key for fork
      value - : maximum number of jobs allowed in the fork-join region (-1 is infinity)
    • getIsSimplifiedFork

      Boolean getIsSimplifiedFork(Object key)
      Tells if a fork is simplified
      Author: Bertoli Marco
      Parameters:
      key - : search's key for fork
      Returns:
      true if the fork is simplified, false otherwise
    • setIsSimplifiedFork

      void setIsSimplifiedFork(Object key, Boolean value)
      Sets if a fork is simplified
      Author: Bertoli Marco
      Parameters:
      key - : search's key for fork
      value - : true if the fork is simplified, false otherwise
    • addStation

      Object addStation(String name, String type, int nextServerNum, List<ServerType> servers)
      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

      void deleteStation(Object key)
      Deletes a station from the model, given the search key.
    • getClassStationSoftDeadline

      Double getClassStationSoftDeadline(Object stationKey, Object classKey)
    • setClassStationSoftDeadline

      void setClassStationSoftDeadline(Object stationKey, Object classKey, Double softDeadline)
    • getQueueCapacity

      Integer getQueueCapacity(Object stationKey, Object classKey)
      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

      void setQueueCapacity(Object stationKey, Object classKey, Integer queueCapacity)
      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

      String getQueueStrategy(Object stationKey, Object classKey)
      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

      void setQueueStrategy(Object stationKey, Object classKey, String queueStrategy)
      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

      String getDropRule(Object stationKey, Object classKey)
      Returns drop rule associated with given station queue section if capacity is finite.
      Parameters:
      stationKey - : search key for station.
      classKey - : search key for class.
      Returns:
      FINITE_DROP || FINITE_BLOCK || FINITE_WAITING || FINITE_RETRIAL
    • setDropRule

      void setDropRule(Object stationKey, Object classKey, String dropRule)
      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

      ImpatienceType getImpatienceType(Object stationKey, Object classKey)
      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

      void setImpatienceType(Object stationKey, Object classKey, ImpatienceType impatienceType)
      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

      ImpatienceParameter getImpatienceParameter(Object stationKey, Object classKey)
      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

      void resetImpatience(Object stationKey, Object classKey)
      Resets impatience strategy associated with given station queue section.
      Parameters:
      stationKey - : search key for station.
      classKey - : search key for class.
    • updateBalkingParameter

      void updateBalkingParameter(Object stationKey, Object classKey, String serverStationQueuePolicy)
      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

      Object getRetrialDistribution(Object stationKey, Object classKey)
      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

      void setRetrialDistribution(Object stationKey, Object classKey, Object distribution)
      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

      Double getServiceWeight(Object stationKey, Object classKey)
      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

      void setServiceWeight(Object stationKey, Object classKey, Double weight)
      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

      Object getServiceTimeDistribution(Object stationKey, Object classKey)
      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

      Object getServiceTimeDistribution(Object stationKey, Object classKey, Object serverTypeKey)
      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

      void setServiceTimeDistribution(Object stationKey, Object classKey, Object distribution)
      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

      Integer getServerNumRequired(Object stationKey, Object classKey)
      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

      void setServerNumRequired(Object stationKey, Object classKey, Integer serverNumRequired)
      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

      Object getPollingSwitchoverDistribution(Object stationKey, Object classKey)
      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

      void setPollingSwitchoverDistribution(Object stationKey, Object classKey, Object distribution)
      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

      Object getSwitchoverTimeDistribution(Object stationKey, Object fromClassKey, Object toClassKey)
      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

      Object getDelayOffTimeDistribution(Object stationKey, Object classKey)
    • setDelayOffTimeDistribution

      void setDelayOffTimeDistribution(Object stationKey, Object classKey, Object distribution)
    • getSetupTimeDistribution

      Object getSetupTimeDistribution(Object stationKey, Object classKey)
    • setSetupTimeDistribution

      void setSetupTimeDistribution(Object stationKey, Object classKey, Object distribution)
    • getRoutingStrategy

      Object getRoutingStrategy(Object stationKey, Object classKey)
      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

      void setRoutingStrategy(Object stationKey, Object classKey, Object routingStrategy)
      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

      Object getForkStrategy(Object stationKey, Object classKey)
      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

      void setForkStrategy(Object stationKey, Object classKey, Object forkStrategy)
      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

      Object getJoinStrategy(Object stationKey, Object classKey)
      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

      void setJoinStrategy(Object stationKey, Object classKey, Object joinStrategy)
      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

      Object getSemaphoreStrategy(Object stationKey, Object classKey)
      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

      void setSemaphoreStrategy(Object stationKey, Object classKey, Object semaphoreStrategy)
      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

      LoggerParameters getLoggingParameters(Object stationKey)
      Returns logging parameters for the logger. MF'08 0.7.4
      Parameters:
      stationKey - : search key for station.
    • setLoggingParameters

      void setLoggingParameters(Object stationKey, LoggerParameters loggerParameters)
      Sets logging parameters for the logger. MF'08 0.7.4
      Parameters:
      stationKey - : search key for station.
      loggerParameters - : local LoggerParameters.
    • getLoggingGlbParameter

      String getLoggingGlbParameter(String selector)
      Returns logging parameters for the Global logfile. MF'08 0.7.4
      Parameters:
      selector - : either "path", "delim", or "autoAppend"
    • setLoggingGlbParameter

      void setLoggingGlbParameter(String selector, String value)
      Sets logging parameters for the Global logfile. MF'08 0.7.4
      Parameters:
      selector - : either "path", "delim", "decimalSeparator", or "autoAppend"
      value - : String to assign to variable named by selector.
    • manageProbabilities

      void manageProbabilities()
      Manages the routing and fork probabilities.
    • normalizeRoutingProbabilities

      void normalizeRoutingProbabilities(Object stationKey, Object classKey, Map<Object,Double> values)
      Normalizes the routing probabilities.
    • normalizeClassSwitchProbabilities

      void normalizeClassSwitchProbabilities(Object classKey, Map values, Number example)
      Normalizes the class switch probabilities.
    • normalizeForkProbabilities

      void normalizeForkProbabilities(Map<Object,Double> values)
      Normalizes the fork probabilities.
    • setConnected

      boolean setConnected(Object sourceKey, Object targetKey, boolean areConnected)
      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 station
      targetKey - : search key for target station
      areConnected - : true if stations must be connected, false otherwise.
      Returns:
      : true if connection was created, false otherwise.
    • areConnected

      boolean areConnected(Object sourceKey, Object targetKey)
      Tells whether two stations are connected
      Parameters:
      sourceKey - : search key for source station
      targetKey - : search key for target station
      Returns:
      : true if stations are connected, false otherwise.
    • areConnectable

      boolean areConnectable(Object sourceKey, Object targetKey)
      Tells whether two stations can be connected
      Parameters:
      sourceKey - : search key for source station
      targetKey - : search key for target station
      Returns:
      : true if stations are connectable, false otherwise.
    • getForwardConnections

      Vector<Object> getForwardConnections(Object stationKey)
      Returns a set of station keys specified station is connected to as a source.
      Parameters:
      stationKey - : source station for which (target) connected stations must be returned.
      Returns:
      Vector containing keys for connected stations.
    • getBackwardConnections

      Vector<Object> getBackwardConnections(Object stationKey)
      Returns a set of station keys specified station is connected to as a target.
      Parameters:
      stationKey - : source station for which (source) connected stations must be returned.
      Returns:
      Vector containing keys for connected stations.
    • getBackwardConnectedPlaces

      Vector<Object> getBackwardConnectedPlaces(Object stationKey)
      Parameters:
      stationKey - : source station for which connected places must be returned
      Returns:
      Vector containing input connected places
    • getStationByName

      Object getStationByName(String stationName)
      Returns the search key for the station, given the station name.
    • getClassSwitchMatrix

      float getClassSwitchMatrix(Object stationKey, Object classInKey, Object classOutKey)
      Returns the cell (classInKey, classOutKey) of the class switch matrix for station stationKey.
    • setClassSwitchMatrix

      void setClassSwitchMatrix(Object stationKey, Object classInKey, Object classOutKey, float value)
      Sets the cell (classInKey, classOutKey) of the class switch matrix for station stationKey.
    • getSemaphoreThreshold

      Integer getSemaphoreThreshold(Object stationKey, Object classKey)
      Returns the threshold for semaphore stationKey and class classKey.
    • setSemaphoreThreshold

      void setSemaphoreThreshold(Object stationKey, Object classKey, Integer threshold)
      Sets the threshold for semaphore stationKey and class classKey.
    • getTransitionModeListSize

      int getTransitionModeListSize(Object stationKey)
      Returns the size of the mode list for transition stationKey.
    • addTransitionMode

      void addTransitionMode(Object stationKey, String name)
      Adds a new mode for transition stationKey.
    • deleteTransitionMode

      void deleteTransitionMode(Object stationKey, int modeIndex)
      Deletes a mode for transition stationKey.
    • getTransitionModeName

      String getTransitionModeName(Object stationKey, int modeIndex)
      Returns the name of mode modeIndex for transition stationKey.
    • getAllTransitionModeNames

      List<String> getAllTransitionModeNames(Object stationKey)
      Returns the names of all the modes for transition stationKey.
    • setTransitionModeName

      void setTransitionModeName(Object stationKey, int modeIndex, String name)
      Sets the name of transition mode modeIndex for station stationKey.
    • getEnablingCondition

      Integer getEnablingCondition(Object stationKey, int modeIndex, Object stationInKey, Object classKey)
      Returns the entry (stationInKey, classKey) of the enabling condition for transition stationKey and mode modeIndex.
    • setEnablingCondition

      void setEnablingCondition(Object stationKey, int modeIndex, Object stationInKey, Object classKey, Integer value)
      Sets the entry (stationInKey, classKey) of the enabling condition for transition stationKey and mode modeIndex.
    • getInhibitingCondition

      Integer getInhibitingCondition(Object stationKey, int modeIndex, Object stationInKey, Object classKey)
      Returns the entry (stationInKey, classKey) of the inhibiting condition for transition stationKey and mode modeIndex.
    • setInhibitingCondition

      void setInhibitingCondition(Object stationKey, int modeIndex, Object stationInKey, Object classKey, Integer value)
      Sets the entry (stationInKey, classKey) of the inhibiting condition for transition stationKey and mode modeIndex.
    • getResourceCondition

      Integer getResourceCondition(Object stationKey, int modeIndex, Object stationInKey, Object classKey)
      Returns the entry (stationInKey, classKey) of the resource condition for server stationKey and modemodeIndex
    • setResourceCondition

      void setResourceCondition(Object stationKey, int modeIndex, Object stationInKey, Object classKey, Integer value)
      Sets the entry (stationInKey, classKey) of the resource condition for server stationKey and mode modeIndex.
    • getNumberOfServers

      Integer getNumberOfServers(Object stationKey, int modeIndex)
      Returns the number of servers for transition stationKey and mode modeIndex.
    • setNumberOfServers

      void setNumberOfServers(Object stationKey, int modeIndex, Integer number)
      Sets the number of servers for transition stationKey and mode modeIndex.
    • getFiringTimeDistribution

      Object getFiringTimeDistribution(Object stationKey, int modeIndex)
      Returns the firing time distribution for transition stationKey and mode modeIndex.
    • setFiringTimeDistribution

      void setFiringTimeDistribution(Object stationKey, int modeIndex, Object distribution)
      Sets the firing time distribution for transition stationKey and mode modeIndex.
    • getFiringPriority

      Integer getFiringPriority(Object stationKey, int modeIndex)
      Returns the firing priority for transition stationKey and mode modeIndex.
    • setFiringPriority

      void setFiringPriority(Object stationKey, int modeIndex, Integer priority)
      Sets the firing priority for transition stationKey and mode modeIndex.
    • getFiringWeight

      Double getFiringWeight(Object stationKey, int modeIndex)
      Returns the firing weight for transition stationKey and mode modeIndex.
    • setFiringWeight

      void setFiringWeight(Object stationKey, int modeIndex, Double weight)
      Sets the firing weight for transition stationKey and mode modeIndex.
    • getFiringOutcome

      Integer getFiringOutcome(Object stationKey, int modeIndex, Object stationOutKey, Object classKey)
      Returns the entry (stationOutKey, classKey) of the firing outcome for transition stationKey and mode modeIndex.
    • setFiringOutcome

      void setFiringOutcome(Object stationKey, int modeIndex, Object stationOutKey, Object classKey, Integer value)
      Sets the entry (stationOutKey, classKey) of the firing outcome for transition stationKey and mode modeIndex.
    • setQuantumSize

      void setQuantumSize(Object stationKey, Double quantaSize)
    • getQuantumSize

      Double getQuantumSize(Object stationKey)
    • setQuantumSwitchoverTime

      void setQuantumSwitchoverTime(Object stationKey, Double switchOverTime)
    • getQuantumSwitchoverTime

      Double getQuantumSwitchoverTime(Object stationKey)