Copyright | Copyright (c) 2009-2015, David Sorokin <david.sorokin@gmail.com> |
---|---|
License | BSD3 |
Maintainer | David Sorokin <david.sorokin@gmail.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Tested with: GHC 7.8.3
The module defines locales for outputting and printing the simulation results.
- type ResultLocale = String
- type ResultLocalisation = ResultId -> ResultDescription
- type ResultDescription = String
- russianResultLocale :: ResultLocale
- englishResultLocale :: ResultLocale
- lookupResultLocalisation :: ResultLocale -> ResultLocalisation
- russianResultLocalisation :: ResultLocalisation
- englishResultLocalisation :: ResultLocalisation
- data ResultId
- = TimeId
- | VectorId
- | VectorItemId String
- | SamplingStatsId
- | SamplingStatsCountId
- | SamplingStatsMinId
- | SamplingStatsMaxId
- | SamplingStatsMeanId
- | SamplingStatsMean2Id
- | SamplingStatsVarianceId
- | SamplingStatsDeviationId
- | SamplingCounterId
- | SamplingCounterValueId
- | SamplingCounterStatsId
- | TimingStatsId
- | TimingStatsCountId
- | TimingStatsMinId
- | TimingStatsMaxId
- | TimingStatsMeanId
- | TimingStatsVarianceId
- | TimingStatsDeviationId
- | TimingStatsMinTimeId
- | TimingStatsMaxTimeId
- | TimingStatsStartTimeId
- | TimingStatsLastTimeId
- | TimingStatsSumId
- | TimingStatsSum2Id
- | TimingCounterId
- | TimingCounterValueId
- | TimingCounterStatsId
- | FiniteQueueId
- | InfiniteQueueId
- | EnqueueStrategyId
- | EnqueueStoringStrategyId
- | DequeueStrategyId
- | QueueNullId
- | QueueFullId
- | QueueMaxCountId
- | QueueCountId
- | QueueCountStatsId
- | EnqueueCountId
- | EnqueueLostCountId
- | EnqueueStoreCountId
- | DequeueCountId
- | DequeueExtractCountId
- | QueueLoadFactorId
- | EnqueueRateId
- | EnqueueStoreRateId
- | DequeueRateId
- | DequeueExtractRateId
- | QueueWaitTimeId
- | QueueTotalWaitTimeId
- | EnqueueWaitTimeId
- | DequeueWaitTimeId
- | QueueRateId
- | ArrivalTimerId
- | ArrivalProcessingTimeId
- | ServerId
- | ServerInitStateId
- | ServerStateId
- | ServerTotalInputWaitTimeId
- | ServerTotalProcessingTimeId
- | ServerTotalOutputWaitTimeId
- | ServerInputWaitTimeId
- | ServerProcessingTimeId
- | ServerOutputWaitTimeId
- | ServerInputWaitFactorId
- | ServerProcessingFactorId
- | ServerOutputWaitFactorId
- | ActivityId
- | ActivityInitStateId
- | ActivityStateId
- | ActivityTotalUtilisationTimeId
- | ActivityTotalIdleTimeId
- | ActivityUtilisationTimeId
- | ActivityIdleTimeId
- | ActivityUtilisationFactorId
- | ActivityIdleFactorId
- | UserDefinedResultId ResultDescription
- | LocalisedResultId (Map ResultLocale ResultDescription)
Basic Types
type ResultLocale = String Source
A locale to output the simulation results.
Examples are: "ru",
"en" etc.
type ResultLocalisation = ResultId -> ResultDescription Source
It localises the description of simulation results.
type ResultDescription = String Source
A description used for describing the results when generating output.
Locale Codes
russianResultLocale :: ResultLocale Source
The Russian locale.
englishResultLocale :: ResultLocale Source
The English locale.
Localisations
lookupResultLocalisation :: ResultLocale -> ResultLocalisation Source
Lookup a localisation by the specified locale.
russianResultLocalisation :: ResultLocalisation Source
The Russian localisation of the simulation results.
englishResultLocalisation :: ResultLocalisation Source
The English localisation of the simulation results.
Unique Identifiers
The result entity identifier.