Stochastic Timed Automaton:

A stochastic timed automaton transforms the stochastic clock structure into the pdf’s of the event and state sequences:

The basic brick to carry out this task, is the computation of probabilities of the type:

Which translate to: β€œProbability that given the () event : the next event () will be


  • So the transition function will be replace with the β€œTransition Probability” function:

Where is a conditional probability: what is the probability that the next event will be given the current state and the next event .


  • And the initial state will be replaced with a discrete random variable, described by its probability mass function (pmf):

Where is the probability that the initial state (represented by the random variable ) is


  • The lifetimes of events will be replaced with continuous random variables, described by their cumulative distribution functions (cdf):

For a fixed , is the probability that the -th lifetime of event e (represented by the random variable ) takes values less than, or equal to .


So now that both the state transitions and lifetime of events are governed by random variables, both the event and the state sequence must be described probabilistically.

These will all be random variables:

  • : -th event
  • : initial state
  • : state after the -th event
  • : -th lifetime of event

So, takes values in (a discrete set), then it is a discrete random variable, described by its pmf (probability mass function):

This will also be true for that takes value in the discrete set .

While for , it takes place in a continuous set so, it’s a continuous random variable, described by its cdf:


Multivariate random variable

Given two random variables: and , if they are independent they are described by their joint cdf:

Where e are defined as marginal probabilities


Assumptions

To simplify the description of the stochastic clock structure we make 2 assumptions:

  1. Lifetimes of the same event are identically distributed.
  2. Lifetimes of the same event, and of different events, are independent.

Consequences

As a consequence of these assumptions: ) We have to specify only one cdf for each event. ) Joint cdf’s can be obtain as the product of of marginal cdf’s.


Types of distributions to describe the lifetimes of the events:

  • Must be a distribution defined between as lifetime assume nonnegative numbers.

    • So for example the Gaussian (normal) distribution is not suitable for this application.
  • The distribution which are suitable are:


Benefits of considering variables as Independent:

Indeed, if these probabilities are known, and independent , then, using the total probability rule:

Given , we compute and . Then, given , we compute and . And so on… iterative approach Formally,

Unfortunately, the distributions of the residual lifetimes are unknown in general, if we only assume the knowledge of the current state. Hence, cannot be computed easily.

For this reason, to circumvent the problem, in the exercises we had to consider all the possible cases, starting from initialization, which results into a dramatic proliferation of cases as the event index increases.


~Example:

  • Suppose both and are Independent Variables.

Then to calculate we can calculate:

then, using the total probability rule:

That can be easily computed in MATLAB.

~Example:

Suppose we want to find the probability , then we can calculate the probability of all different cases that ends with :

Now looking at the clock structure we can compute these 4 probabilities: Let’s look at how to resolve the first one:

First Case Clock Strucutre:

Now, we do not want to calculate a triple integral, so we use MATLAB.

Second Case Clock Structure:

Third Case Clock Structure:

Fourth Case Clock Structure:

NOTE: Looking at the Second and Fourth Clock Structures we can see that the probability of , if supports the memory-less property and and are independent.


Introduction to Poisson Clock Structures

The computational complexity of calculating these probability increases the more event we take into account in the system.

The question now is whether there exist classes of stochastic timed automata for which computing is an easy task.


~Example: