aivika-transformers-6.1.1: Transformers for the Aivika simulation library
CopyrightCopyright (c) 2009-2017 David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Simulation.Aivika.Trans.Results.Locale

Description

Tested with: GHC 8.0.1

The module defines locales for outputting and printing the simulation results.

Synopsis

Basic Types

type ResultLocale = String Source #

A locale to output the simulation results.

Examples are: "ru", "en" etc.

data ResultLocalisation Source #

It localises the description and title of simulation results.

Constructors

ResultLocalisation 

Fields

type ResultDescription = String Source #

A description used for describing the results when generating output.

Locale Codes

Localisations

pathResultLocalisation :: (ResultId -> ResultDescription) -> [ResultId] -> ResultDescription Source #

Return the path result localisation.

localisePathResultDescription :: ResultLocalisation -> [ResultId] -> ResultDescription Source #

Localise the path result description.

lookupResultLocalisation :: ResultLocale -> Map ResultLocale ResultDescription -> ResultDescription Source #

Lookup a localisation by the specified locale.

Unique Identifiers

data ResultId Source #

The result entity identifier.

Constructors

TimeId

A time computation.

VectorId

Describes a vector.

VectorItemId String

Describes a vector item with the specified subscript.

SamplingStatsId

A SamplingStats value.

SamplingStatsCountId

Property samplingStatsCount.

SamplingStatsMinId

Property samplingStatsMin.

SamplingStatsMaxId

Property samplingStatsMax.

SamplingStatsMeanId

Property samplingStatsMean.

SamplingStatsMean2Id

Property samplingStatsMean2.

SamplingStatsVarianceId

Property samplingStatsVariance.

SamplingStatsDeviationId

Property samplingStatsDeviation.

SamplingCounterId

A SamplingCounter value.

SamplingCounterValueId

Property samplingCounterValue.

SamplingCounterStatsId

Property samplingCounterStats.

TimingStatsId

A TimingStats value.

TimingStatsCountId

Property timingStatsCount.

TimingStatsMinId

Property timingStatsMin.

TimingStatsMaxId

Property timingStatsMax.

TimingStatsMeanId

Property timingStatsMean.

TimingStatsVarianceId

Property timingStatsVariance.

TimingStatsDeviationId

Property timingStatsDeviation.

TimingStatsMinTimeId

Property timingStatsMinTime.

TimingStatsMaxTimeId

Property timingStatsMaxTime.

TimingStatsStartTimeId

Property timingStatsStartTime.

TimingStatsLastTimeId

Property timingStatsLastTime.

TimingStatsSumId

Property timingStatsSum.

TimingStatsSum2Id

Property timingStatsSum2.

TimingCounterId

A TimingCounter value.

TimingCounterValueId

Property timingCounterValue.

TimingCounterStatsId

Property timingCounterStats.

FiniteQueueId

A finite Queue.

InfiniteQueueId

An infinite Queue.

EnqueueStrategyId

Property enqueueStrategy.

EnqueueStoringStrategyId

Property enqueueStoringStrategy.

DequeueStrategyId

Property dequeueStrategy.

QueueNullId

Property queueNull.

QueueFullId

Property queueFull.

QueueMaxCountId

Property queueMaxCount.

QueueCountId

Property queueCount.

QueueCountStatsId

Property queueCountStats.

EnqueueCountId

Property enqueueCount.

EnqueueLostCountId

Property enqueueLostCount.

EnqueueStoreCountId

Property enqueueStoreCount.

DequeueCountId

Property dequeueCount.

DequeueExtractCountId

Property dequeueExtractCount.

QueueLoadFactorId

Property queueLoadFactor.

EnqueueRateId

Property enqueueRate.

EnqueueStoreRateId

Property enqueueStoreRate.

DequeueRateId

Property dequeueRate.

DequeueExtractRateId

Property dequeueExtractRate.

QueueWaitTimeId

Property queueWaitTime.

QueueTotalWaitTimeId

Property queueTotalWaitTime.

EnqueueWaitTimeId

Property enqueueWaitTime.

DequeueWaitTimeId

Property dequeueWaitTime.

QueueRateId

Property queueRate.

ArrivalTimerId

An ArrivalTimer.

ArrivalProcessingTimeId

Property arrivalProcessingTime.

ServerId

Represents a Server.

ServerInitStateId

Property serverInitState.

ServerStateId

Property serverState.

ServerTotalInputWaitTimeId

Property serverTotalInputWaitTime.

ServerTotalProcessingTimeId

Property serverTotalProcessingTime.

ServerTotalOutputWaitTimeId

Property serverTotalOutputWaitTime.

ServerTotalPreemptionTimeId

Property serverTotalPreemptionTime.

ServerInputWaitTimeId

Property serverInputWaitTime.

ServerProcessingTimeId

Property serverProcessingTime.

ServerOutputWaitTimeId

Property serverOutputWaitTime.

ServerPreemptionTimeId

Property serverPreemptionTime.

ServerInputWaitFactorId

Property serverInputWaitFactor.

ServerProcessingFactorId

Property serverProcessingFactor.

ServerOutputWaitFactorId

Property serverOutputWaitFactor.

ServerPreemptionFactorId

Property serverPreemptionFactor.

ActivityId

Represents an Activity.

ActivityInitStateId

Property activityInitState.

ActivityStateId

Property activityState.

ActivityTotalUtilisationTimeId

Property activityTotalUtilisationTime.

ActivityTotalIdleTimeId

Property activityTotalIdleTime.

ActivityTotalPreemptionTimeId

Property activityTotalPreemptionTime.

ActivityUtilisationTimeId

Property activityUtilisationTime.

ActivityIdleTimeId

Property activityIdleTime.

ActivityPreemptionTimeId

Property activityPreemptionTime.

ActivityUtilisationFactorId

Property activityUtilisationFactor.

ActivityIdleFactorId

Property activityIdleFactor.

ActivityPreemptionFactorId

Property activityPreemptionFactor.

ResourceId

Represents a Resource.

ResourceCountId

Property resourceCount.

ResourceCountStatsId

Property resourceCountStats.

ResourceUtilisationCountId

Property resourceUtilisationCount.

ResourceUtilisationCountStatsId

Property resourceUtilisationCountStats.

ResourceQueueCountId

Property resourceQueueCount.

ResourceQueueCountStatsId

Property resourceQueueCountStats.

ResourceTotalWaitTimeId

Property resourceTotalWaitTime.

ResourceWaitTimeId

Property resourceWaitTime.

OperationId

Represents an Operation.

OperationTotalUtilisationTimeId

Property operationTotalUtilisationTime.

OperationTotalPreemptionTimeId

Property operationTotalPreemptionTime.

OperationUtilisationTimeId

Property operationUtilisationTime.

OperationPreemptionTimeId

Property operationPreemptionTime.

OperationUtilisationFactorId

Property operationUtilisationFactor.

OperationPreemptionFactorId

Property operationPreemptionFactor.

UserDefinedResultId UserDefinedResult

An user defined description.

LocalisedResultId LocalisedResult

A localised property or object name.

Utilities

resultNameToTitle :: ResultName -> ResultDescription Source #

Convert the result name to title.