SlideShare a Scribd company logo
UNIT II 
Title 
Marcov Chains And Simple Queue 
Part I 
Discrete-Time Marcov Chains 
Presented By 
K.GURUNATHAN ME.,
1.1 DTMC Vs CTMC 
DTMC 
 The arrival or departure of 
an event can only occur at 
the end of a time step. 
 This property makes 
DTMCs a little odd for 
modeling computer system. 
CTMC 
 The arrival of an event can 
happen at any moment in 
time. 
 This makes CTMCs 
convenient for modeling 
system.
1.2 Definition of a DTMC 
 A DTMC is a stochastic process with discrete 
state space and discrete time {Xn, n>0} is a 
discrete time marcov chain if 
{Xn+1 | Xn = in, Xn-1 = in+1,… X0 = i0} 
= P {Xn+1 = j | Xn = i} 
= Pij(n)
1.2 Definition of a DTMC (cont…) 
 The past history impacts on the future 
evolution of the system via the current state of 
the system. 
 Where, Pij(n) is called transaction probability 
from state “i” to state “j” at time “n”.
1.2 Definition of a DTMC (cont…) 
Stochastic Process: SP 
 It is simply a sequence of random variables. 
 Suppose we observe some characteristics of a 
system at discrete points in time.
1.2 Definition of a DTMC (cont…) 
Stochastic Process: SP 
 Discrete time SP: 
 A description of the relation between the random 
variables (X0, X1, X2…) 
Example, Observing the price of a share of intel, at 
the beginning of each day.
1.2 Definition of a DTMC (cont…) 
Stochastic Process: SP 
 Continuous time SP: 
 A state of the system can be viewed at any time, 
not just at discrete instants in time. 
Example, the number of people in a supermarket t 
minutes after the store opens for business.
1.2 Definition of a DTMC (cont…) 
Homogeneous DTMC: 
 A DTMC is said to be homogeneous iff its transitions 
probabilities do not depend on the time n (i.e..,) 
P [Xn+1 | Xn = i] = P[ X1 = j | X0 = i] Put n = 0 
Pij
1.2 Definition of a DTMC (cont…) 
Markovian Property: 
 It states the conditional distribution of any 
future state Xn+1, given past states X0, X1,.. Xn-1 and 
given present state Xn. 
It is independent of past states and depends only on 
the present state Xn.
1.2 Definition of a DTMC (cont…) 
Transition Probability Matrix: 
 Pij is the transition probability from state i to j. 
 It is displayed as SxS transition probability matrix P. 
 Each row in the P matrix most b e non-negative. 
 The en tries in each row must sum to 1.
1.3 Examples of finite state DTMCs 
Repair facility problem: 
 A machine is either working or in repair center. 
 If it is working today then there is a 95% chance that 
it will be working tomorrow. 
 If it is in the repair centre today, then there is a 40% 
chance that will be working tomorrow.
1.3 Examples of finite state DTMCs 
Umbrella problem: 
 An absent minded professor has two umbrellas that 
he uses when commuting from home to office and 
back. 
 If it rains, and an umbrella is available in his location, 
he take it. If it is not raining, he always forgets to take 
an umbrella.
1.3 Examples of finite state DTMCs 
Program analysis problem: 
 A program has 3 types of instructions 
 CPU instructions-C 
 Memory instructions-M 
 User instructions-U
1.4 Powers of P: n-step Transition probability 
Let Pn = P.P…P (i.e.) multiplied by n times. 
We will use the notation Pn 
ij to denote (Pn)ij 
Examples: 
Umbrella Problem 
Repair facility problem
1.5 Stationary Equations 
 A Probability distribution is said to be 
stationary for the marcov chain if
1.6 Limiting Probability 
 Consider the (i,j)th entry of the power matrix Pn for 
large n. 
Where
1.6 Steady State 
 If the initial state is chosen according to the 
stationary probabilities then the state is said to be 
steady state. 
Examples, 
 Repair facility problem with cost 
Umbrella Problem
1.6 Infinite state DTMCs 
 For a marcov chain with an infinite number of states 
one can still imagine a transition probability matrix P. 
Infinite state DTMCs are common in modeling 
system where the number of customers or jobs is 
unbounded and thus the state space is unbounded.
THE END

More Related Content

What's hot

Structured Knowledge Representation
Structured Knowledge RepresentationStructured Knowledge Representation
Structured Knowledge Representation
Sagacious IT Solution
 
Script
ScriptScript
Elements of dynamic programming
Elements of dynamic programmingElements of dynamic programming
Elements of dynamic programming
Tafhim Islam
 
Markov chain
Markov chainMarkov chain
Markov chain
Namita Joseph
 
T9. Trust and reputation in multi-agent systems
T9. Trust and reputation in multi-agent systemsT9. Trust and reputation in multi-agent systems
T9. Trust and reputation in multi-agent systems
EASSS 2012
 
Lesson 11: Markov Chains
Lesson 11: Markov ChainsLesson 11: Markov Chains
Lesson 11: Markov Chains
Matthew Leingang
 
I. Mini-Max Algorithm in AI
I. Mini-Max Algorithm in AII. Mini-Max Algorithm in AI
I. Mini-Max Algorithm in AI
vikas dhakane
 
Forward Backward Chaining
Forward Backward ChainingForward Backward Chaining
Forward Backward Chaining
QAU ISLAMABAD,PAKISTAN
 
Propositional logic
Propositional logicPropositional logic
Propositional logicRushdi Shams
 
Big data unit i
Big data unit iBig data unit i
Big data unit i
Navjot Kaur
 
Markor chain presentation
Markor chain presentationMarkor chain presentation
Markor chain presentation
TahsinAhmedNasim
 
Classification and Regression
Classification and RegressionClassification and Regression
Classification and Regression
Megha Sharma
 
Introduction to Machine Learning Classifiers
Introduction to Machine Learning ClassifiersIntroduction to Machine Learning Classifiers
Introduction to Machine Learning Classifiers
Functional Imperative
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
Babu Appat
 
Popular search algorithms
Popular search algorithmsPopular search algorithms
Popular search algorithms
Minakshi Atre
 
State Space Search(2)
State Space Search(2)State Space Search(2)
State Space Search(2)
luzenith_g
 
Markov chain
Markov chainMarkov chain
Markov chain
Yogesh Khandelwal
 
Performance Metrics for Machine Learning Algorithms
Performance Metrics for Machine Learning AlgorithmsPerformance Metrics for Machine Learning Algorithms
Performance Metrics for Machine Learning Algorithms
Kush Kulshrestha
 
MARKOV CHAIN ANALYSIS IN AN ORGANISATION
MARKOV CHAIN ANALYSIS IN AN ORGANISATIONMARKOV CHAIN ANALYSIS IN AN ORGANISATION
MARKOV CHAIN ANALYSIS IN AN ORGANISATION
Vivek Tyagi
 

What's hot (20)

Structured Knowledge Representation
Structured Knowledge RepresentationStructured Knowledge Representation
Structured Knowledge Representation
 
Script
ScriptScript
Script
 
Elements of dynamic programming
Elements of dynamic programmingElements of dynamic programming
Elements of dynamic programming
 
Markov chain
Markov chainMarkov chain
Markov chain
 
T9. Trust and reputation in multi-agent systems
T9. Trust and reputation in multi-agent systemsT9. Trust and reputation in multi-agent systems
T9. Trust and reputation in multi-agent systems
 
Lesson 11: Markov Chains
Lesson 11: Markov ChainsLesson 11: Markov Chains
Lesson 11: Markov Chains
 
I. Mini-Max Algorithm in AI
I. Mini-Max Algorithm in AII. Mini-Max Algorithm in AI
I. Mini-Max Algorithm in AI
 
Forward Backward Chaining
Forward Backward ChainingForward Backward Chaining
Forward Backward Chaining
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Big data unit i
Big data unit iBig data unit i
Big data unit i
 
Markor chain presentation
Markor chain presentationMarkor chain presentation
Markor chain presentation
 
Classification and Regression
Classification and RegressionClassification and Regression
Classification and Regression
 
Introduction to Machine Learning Classifiers
Introduction to Machine Learning ClassifiersIntroduction to Machine Learning Classifiers
Introduction to Machine Learning Classifiers
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Popular search algorithms
Popular search algorithmsPopular search algorithms
Popular search algorithms
 
State Space Search(2)
State Space Search(2)State Space Search(2)
State Space Search(2)
 
Markov chain
Markov chainMarkov chain
Markov chain
 
Performance Metrics for Machine Learning Algorithms
Performance Metrics for Machine Learning AlgorithmsPerformance Metrics for Machine Learning Algorithms
Performance Metrics for Machine Learning Algorithms
 
Markov Chains
Markov ChainsMarkov Chains
Markov Chains
 
MARKOV CHAIN ANALYSIS IN AN ORGANISATION
MARKOV CHAIN ANALYSIS IN AN ORGANISATIONMARKOV CHAIN ANALYSIS IN AN ORGANISATION
MARKOV CHAIN ANALYSIS IN AN ORGANISATION
 

Viewers also liked

2 discrete markov chain
2 discrete markov chain2 discrete markov chain
2 discrete markov chain
Windie Chan
 
Chapter 02 simulation examples
Chapter 02   simulation examplesChapter 02   simulation examples
Chapter 02 simulation examples
Imran Ali Chaudhry
 
Dominance method
Dominance methodDominance method
Dominance methodpooja rani
 
Markov chain intro
Markov chain introMarkov chain intro
Markov chain intro
2vikasdubey
 
Game theory
Game theoryGame theory
Markov analysis
Markov analysisMarkov analysis
Markov analysisganith2k13
 
Queueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS ApplicationsQueueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS Applications
Biswajit Bhattacharjee
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
Shinki Jalhotra
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
Amit Sinha
 
Queuing Theory - Operation Research
Queuing Theory - Operation ResearchQueuing Theory - Operation Research
Queuing Theory - Operation Research
Manmohan Anand
 
QUEUING THEORY
QUEUING THEORYQUEUING THEORY
QUEUING THEORYavtarsingh
 
Regression analysis
Regression analysisRegression analysis
Regression analysisRavi shankar
 
Inventory Management
Inventory ManagementInventory Management
Inventory Management
anoos
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionKhalid Aziz
 

Viewers also liked (18)

2 discrete markov chain
2 discrete markov chain2 discrete markov chain
2 discrete markov chain
 
Chapter 02 simulation examples
Chapter 02   simulation examplesChapter 02   simulation examples
Chapter 02 simulation examples
 
Dominance method
Dominance methodDominance method
Dominance method
 
Markov chain intro
Markov chain introMarkov chain intro
Markov chain intro
 
Game theory
Game theoryGame theory
Game theory
 
Markov analysis
Markov analysisMarkov analysis
Markov analysis
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
QUEUING THEORY
QUEUING THEORY QUEUING THEORY
QUEUING THEORY
 
Queueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS ApplicationsQueueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS Applications
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Game theory
Game theoryGame theory
Game theory
 
Queuing Theory - Operation Research
Queuing Theory - Operation ResearchQueuing Theory - Operation Research
Queuing Theory - Operation Research
 
QUEUING THEORY
QUEUING THEORYQUEUING THEORY
QUEUING THEORY
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Inventory Management
Inventory ManagementInventory Management
Inventory Management
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 

Similar to Marcov chains and simple queue ch 1

2012 mdsp pr06  hmm
2012 mdsp pr06  hmm2012 mdsp pr06  hmm
2012 mdsp pr06  hmmnozomuhamada
 
Stochastic matrices
Stochastic matricesStochastic matrices
Stochastic matrices
ManitejaBhumaraju
 
slides.06.pptx
slides.06.pptxslides.06.pptx
slides.06.pptx
balewayalew
 
lecture1 (5).ppt
lecture1 (5).pptlecture1 (5).ppt
lecture1 (5).ppt
HebaEng
 
Signals & systems
Signals & systems Signals & systems
Signals & systems
SathyaVigneshR
 
Lecture 3 image sampling and quantization
Lecture 3 image sampling and quantizationLecture 3 image sampling and quantization
Lecture 3 image sampling and quantization
VARUN KUMAR
 
01 - DAA - PPT.pptx
01 - DAA - PPT.pptx01 - DAA - PPT.pptx
01 - DAA - PPT.pptx
KokilaK25
 
markov chain.ppt
markov chain.pptmarkov chain.ppt
markov chain.ppt
DWin Myo
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
The Statistical and Applied Mathematical Sciences Institute
 
Turing machine
Turing machineTuring machine
Turing machine
Neelamani Samal
 
Digital Signal Processing[ECEG-3171]-Ch1_L03
Digital Signal Processing[ECEG-3171]-Ch1_L03Digital Signal Processing[ECEG-3171]-Ch1_L03
Digital Signal Processing[ECEG-3171]-Ch1_L03
Rediet Moges
 
intro
introintro
IE 423 page 1 of 1 •••••••••••••••••••••••••••••••••••••••.docx
IE 423 page 1 of 1 •••••••••••••••••••••••••••••••••••••••.docxIE 423 page 1 of 1 •••••••••••••••••••••••••••••••••••••••.docx
IE 423 page 1 of 1 •••••••••••••••••••••••••••••••••••••••.docx
sheronlewthwaite
 
STEP RESPONSE OF FIRST ORDER SYSTEM PART 1.pptx
STEP RESPONSE OF FIRST ORDER SYSTEM PART 1.pptxSTEP RESPONSE OF FIRST ORDER SYSTEM PART 1.pptx
STEP RESPONSE OF FIRST ORDER SYSTEM PART 1.pptx
Anikendu Maitra
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical Methods
Teja Ande
 
Optimized Network-coded Scalable Video Multicasting over eMBMS Networks
Optimized Network-coded Scalable Video Multicasting over eMBMS NetworksOptimized Network-coded Scalable Video Multicasting over eMBMS Networks
Optimized Network-coded Scalable Video Multicasting over eMBMS Networks
Andrea Tassi
 
P-NP-and-the-Polynomial-Space.ppt
P-NP-and-the-Polynomial-Space.pptP-NP-and-the-Polynomial-Space.ppt
P-NP-and-the-Polynomial-Space.ppt
HetansheeShah2
 
dynamic programming complete by Mumtaz Ali (03154103173)
dynamic programming complete by Mumtaz Ali (03154103173)dynamic programming complete by Mumtaz Ali (03154103173)
dynamic programming complete by Mumtaz Ali (03154103173)
Mumtaz Ali
 
Order of instruments.ppt
Order of instruments.pptOrder of instruments.ppt
Order of instruments.ppt
ANURUPAa
 

Similar to Marcov chains and simple queue ch 1 (20)

2012 mdsp pr06  hmm
2012 mdsp pr06  hmm2012 mdsp pr06  hmm
2012 mdsp pr06  hmm
 
Stochastic matrices
Stochastic matricesStochastic matrices
Stochastic matrices
 
Markov chains1
Markov chains1Markov chains1
Markov chains1
 
slides.06.pptx
slides.06.pptxslides.06.pptx
slides.06.pptx
 
lecture1 (5).ppt
lecture1 (5).pptlecture1 (5).ppt
lecture1 (5).ppt
 
Signals & systems
Signals & systems Signals & systems
Signals & systems
 
Lecture 3 image sampling and quantization
Lecture 3 image sampling and quantizationLecture 3 image sampling and quantization
Lecture 3 image sampling and quantization
 
01 - DAA - PPT.pptx
01 - DAA - PPT.pptx01 - DAA - PPT.pptx
01 - DAA - PPT.pptx
 
markov chain.ppt
markov chain.pptmarkov chain.ppt
markov chain.ppt
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
 
Turing machine
Turing machineTuring machine
Turing machine
 
Digital Signal Processing[ECEG-3171]-Ch1_L03
Digital Signal Processing[ECEG-3171]-Ch1_L03Digital Signal Processing[ECEG-3171]-Ch1_L03
Digital Signal Processing[ECEG-3171]-Ch1_L03
 
intro
introintro
intro
 
IE 423 page 1 of 1 •••••••••••••••••••••••••••••••••••••••.docx
IE 423 page 1 of 1 •••••••••••••••••••••••••••••••••••••••.docxIE 423 page 1 of 1 •••••••••••••••••••••••••••••••••••••••.docx
IE 423 page 1 of 1 •••••••••••••••••••••••••••••••••••••••.docx
 
STEP RESPONSE OF FIRST ORDER SYSTEM PART 1.pptx
STEP RESPONSE OF FIRST ORDER SYSTEM PART 1.pptxSTEP RESPONSE OF FIRST ORDER SYSTEM PART 1.pptx
STEP RESPONSE OF FIRST ORDER SYSTEM PART 1.pptx
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical Methods
 
Optimized Network-coded Scalable Video Multicasting over eMBMS Networks
Optimized Network-coded Scalable Video Multicasting over eMBMS NetworksOptimized Network-coded Scalable Video Multicasting over eMBMS Networks
Optimized Network-coded Scalable Video Multicasting over eMBMS Networks
 
P-NP-and-the-Polynomial-Space.ppt
P-NP-and-the-Polynomial-Space.pptP-NP-and-the-Polynomial-Space.ppt
P-NP-and-the-Polynomial-Space.ppt
 
dynamic programming complete by Mumtaz Ali (03154103173)
dynamic programming complete by Mumtaz Ali (03154103173)dynamic programming complete by Mumtaz Ali (03154103173)
dynamic programming complete by Mumtaz Ali (03154103173)
 
Order of instruments.ppt
Order of instruments.pptOrder of instruments.ppt
Order of instruments.ppt
 

Recently uploaded

DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 

Recently uploaded (20)

DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 

Marcov chains and simple queue ch 1

  • 1. UNIT II Title Marcov Chains And Simple Queue Part I Discrete-Time Marcov Chains Presented By K.GURUNATHAN ME.,
  • 2. 1.1 DTMC Vs CTMC DTMC  The arrival or departure of an event can only occur at the end of a time step.  This property makes DTMCs a little odd for modeling computer system. CTMC  The arrival of an event can happen at any moment in time.  This makes CTMCs convenient for modeling system.
  • 3. 1.2 Definition of a DTMC  A DTMC is a stochastic process with discrete state space and discrete time {Xn, n>0} is a discrete time marcov chain if {Xn+1 | Xn = in, Xn-1 = in+1,… X0 = i0} = P {Xn+1 = j | Xn = i} = Pij(n)
  • 4. 1.2 Definition of a DTMC (cont…)  The past history impacts on the future evolution of the system via the current state of the system.  Where, Pij(n) is called transaction probability from state “i” to state “j” at time “n”.
  • 5. 1.2 Definition of a DTMC (cont…) Stochastic Process: SP  It is simply a sequence of random variables.  Suppose we observe some characteristics of a system at discrete points in time.
  • 6. 1.2 Definition of a DTMC (cont…) Stochastic Process: SP  Discrete time SP:  A description of the relation between the random variables (X0, X1, X2…) Example, Observing the price of a share of intel, at the beginning of each day.
  • 7. 1.2 Definition of a DTMC (cont…) Stochastic Process: SP  Continuous time SP:  A state of the system can be viewed at any time, not just at discrete instants in time. Example, the number of people in a supermarket t minutes after the store opens for business.
  • 8. 1.2 Definition of a DTMC (cont…) Homogeneous DTMC:  A DTMC is said to be homogeneous iff its transitions probabilities do not depend on the time n (i.e..,) P [Xn+1 | Xn = i] = P[ X1 = j | X0 = i] Put n = 0 Pij
  • 9. 1.2 Definition of a DTMC (cont…) Markovian Property:  It states the conditional distribution of any future state Xn+1, given past states X0, X1,.. Xn-1 and given present state Xn. It is independent of past states and depends only on the present state Xn.
  • 10. 1.2 Definition of a DTMC (cont…) Transition Probability Matrix:  Pij is the transition probability from state i to j.  It is displayed as SxS transition probability matrix P.  Each row in the P matrix most b e non-negative.  The en tries in each row must sum to 1.
  • 11. 1.3 Examples of finite state DTMCs Repair facility problem:  A machine is either working or in repair center.  If it is working today then there is a 95% chance that it will be working tomorrow.  If it is in the repair centre today, then there is a 40% chance that will be working tomorrow.
  • 12. 1.3 Examples of finite state DTMCs Umbrella problem:  An absent minded professor has two umbrellas that he uses when commuting from home to office and back.  If it rains, and an umbrella is available in his location, he take it. If it is not raining, he always forgets to take an umbrella.
  • 13. 1.3 Examples of finite state DTMCs Program analysis problem:  A program has 3 types of instructions  CPU instructions-C  Memory instructions-M  User instructions-U
  • 14. 1.4 Powers of P: n-step Transition probability Let Pn = P.P…P (i.e.) multiplied by n times. We will use the notation Pn ij to denote (Pn)ij Examples: Umbrella Problem Repair facility problem
  • 15. 1.5 Stationary Equations  A Probability distribution is said to be stationary for the marcov chain if
  • 16. 1.6 Limiting Probability  Consider the (i,j)th entry of the power matrix Pn for large n. Where
  • 17. 1.6 Steady State  If the initial state is chosen according to the stationary probabilities then the state is said to be steady state. Examples,  Repair facility problem with cost Umbrella Problem
  • 18. 1.6 Infinite state DTMCs  For a marcov chain with an infinite number of states one can still imagine a transition probability matrix P. Infinite state DTMCs are common in modeling system where the number of customers or jobs is unbounded and thus the state space is unbounded.