SlideShare a Scribd company logo
1 of 19
VSR and Polygraph
Agenda
- Why we need polygraph
- What is polygraph
- compatible
- Schedule convert to Polygraph
Why we need polygraph
• Indicate complexity of VSR
• Schedule Validation for VSR is NP complete
• VSR validation >p cycle detection of Polygraph
• Cycle detection of Polygraph >p 2,3 CNF SAT
• 2,3CNF SAT is NP complete
Note: >p is polynomial reduction
What is polygraph
A polygraph is a triple P = (V,A,C), where
V is a finite set of vertices
A ⊂ V * V is a set of arcs
C ⊂ V * V * V is a set of choices
Note:If(u,v,w)∈C, then the three vertices are necessarily
distinct, and in fact (w,u)∈A
What is polygraph : example
A polygraph is a triple P = (V,A,C), where
V is a finite set of vertices
A ⊂ V * V is a set of arcs
C ⊂ V * V * V is a set of choices
Example:
V={A,B,C}
A={<A,C>}
C={<C,B,A>} (broken arrow) A
B
C
Compatible
- Suppose
- P = (V,A,C) is a polygraph
- D = (V,B) be a directed graph
- We say that D is compatible with P
- if
- A ⊂ B and,
- Each choice(u,v,w)∈C either (u,v)∈B or (v,w) ∈ B
Compatible : example 1
A
B
C
P1
V={A,B,C}
A={<A,C>}
C={<C,B,A>}
A
B
C
D1
V={A,B,C}
B={<C,B>}
A
B
C
D2
V={A,B,C}
B={<B,A>}
P1 is compatible with D1 and D2.
Compatible : example 2
(a) is compatible with (b),(c)
(c)(a) (b)
Compatible : acyclic
• Polygraph P is called acyclic
• if there is an acyclic directed graph D
• that is compatible with P
↓ summarize
• If compatible DAG exists, Polygraph is acyclic.
Schedule convert to Polygraph
P(s): Polygraph of s
Vertices V: all transactions in s^= s+ A0, A∞
Arcs A: R2(x)∈A2, W1(x)∈A1,
W1(x) < R2(x),
arc(A1,A2)
Choices C: W1(s) < R2(x) ∧ ∃(W3(x)∈A3)
choise(A2,A3,A1)
Schedule convert to Polygraph : example
s=r1(x)w2(y)w1(y)r3(x)w2(x)
A1: R(x) W(y)
A2: W(y) W(x)
A3: R(y)
P(s)
Schedule convert to Polygraph : example
s=r1(x)w2(y)w1(y)r3(x)w2(x)
A0:W(x)W(y)
A1: R(x) W(y)
A2: W(y) W(x)
A3: R(y)
A∞: R(x)R(y)
P(s)
V={A0,A1,A2,A3,A∞}
Vertices V: all transactions in s^= s+ A0, A∞
Schedule convert to Polygraph : example
s=r1(x)w2(y)w1(y)r3(x)w2(x)
A0:W(x)W(y)
A1: R(x) W(y)
A2: W(y) W(x)
A3: R(y)
A∞: R(x)R(y)
P(s)
V={A0,A1,A2,A3,A∞}
A={ (A0, A1), (A1, A3), (A1, A∞), (A2, A∞)}
Arcs A: R2(x)∈A2, W1(x)∈A1, W1(x) < R2(x), arc(A1,A2)
Schedule convert to Polygraph : example
s=r1(x)w2(y)w1(y)r3(x)w2(x)
A0:W(x)W(y)
A1: R(x) W(y)
A2: W(y) W(x)
A3: R(y)
A∞: R(x)R(y)
P(s)
V={A0,A1,A2,A3,A∞}
A={ (A0, A1), (A1, A3), (A1, A∞), (A2, A∞)}
C={(A1, A2, A0)}
Choices C: W1(s) < R2(x) ∧ W3(x), choise(A2,A3,A1)
Schedule convert to Polygraph : example
s=r1(x)w2(y)w1(y)r3(x)w2(x)
A0:W(x)W(y)
A1: R(x) W(y)
A2: W(y) W(x)
A3: R(y)
A∞: R(x)R(y)
P(s)
V={A0,A1,A2,A3,A∞}
A={ (A0, A1), (A1, A3), (A1, A∞), (A2, A∞)}
C={(A1, A2, A0), (A3, A2, A1)}
Choices C: W1(s) < R2(x) ∧ W3(x), choise(A2,A3,A1)
Schedule convert to Polygraph : example
s=r1(x)w2(y)w1(y)r3(x)w2(x)
A0:W(x)W(y)
A1: R(x) W(y)
A2: W(y) W(x)
A3: R(y)
A∞: R(x)R(y)
P(s)
V={A0,A1,A2,A3,A∞}
A={ (A0, A1), (A1, A3), (A1, A∞), (A2, A∞)}
C={(A1, A2, A0), (A3, A2, A1), (A∞, A2, A1)}
Choices C: W1(s) < R2(x) ∧ W3(x), choise(A2,A3,A1)
Schedule convert to Polygraph : example
s=r1(x)w2(y)w1(y)r3(x)w2(x)
P(s)
V={A0,A1,A2,A3,A∞}
A={ (A0, A1), (A1, A3), (A1, A∞), (A2, A∞)}
C={(A1, A2, A0), (A3, A2, A1), (A∞, A2, A1)}
Schedule convert to Polygraph : example
s=r1(x)w2(y)w1(y)r3(x)w2(x)
P(s)
V={A0,A1,A2,A3,A∞}
A={ (A0, A1), (A1, A3), (A1, A∞), (A2, A∞)}
C={(A1, A2, A0), (A3, A2, A1), (A∞, A2, A1)}
0
1
2
3
∞
Schedule convert to Polygraph : example
s=r1(x)w2(y)w1(y)r3(x)w2(x)
P(s)
V={A0,A1,A2,A3,A∞}
A={ (A0, A1), (A1, A3), (A1, A∞), (A2, A∞)}
C={(A1, A2, A0), (A3, A2, A1), (A∞, A2, A1)}
0
1
2
3
∞
Any compatible D contains cycle (A1,A2,A1) → not Serializable!

More Related Content

What's hot

a brief introduction to Arima
a brief introduction to Arimaa brief introduction to Arima
a brief introduction to ArimaYue Xiangnan
 
S curve hydrograph
S curve hydrographS curve hydrograph
S curve hydrographSatish Taji
 
B field conducting sphere
B field conducting sphereB field conducting sphere
B field conducting sphereFFMdeMul
 
Algorithm to count number of disjoint paths
Algorithm to count number of disjoint pathsAlgorithm to count number of disjoint paths
Algorithm to count number of disjoint pathsSujith Jay Nair
 
Math(F5) Gradient And Area Under A Graph
Math(F5)  Gradient And Area Under A GraphMath(F5)  Gradient And Area Under A Graph
Math(F5) Gradient And Area Under A Graphroszelan
 
Lecture Notes For Section 4.5
Lecture  Notes For  Section 4.5Lecture  Notes For  Section 4.5
Lecture Notes For Section 4.5Daniel Fernandez
 
Class lectures on hydrology by Rabindra Ranjan Saha, Lecture 8
Class lectures on hydrology by Rabindra Ranjan Saha, Lecture 8Class lectures on hydrology by Rabindra Ranjan Saha, Lecture 8
Class lectures on hydrology by Rabindra Ranjan Saha, Lecture 8World University of Bangladesh
 
Kinematic Equations for Uniformly Accelerated Motion
Kinematic Equations for Uniformly Accelerated MotionKinematic Equations for Uniformly Accelerated Motion
Kinematic Equations for Uniformly Accelerated MotionPavishma Suresh
 
Class lectures on Hydrology by Rabindra Ranjan Saha Lecture 9
Class lectures on Hydrology by Rabindra Ranjan Saha Lecture 9Class lectures on Hydrology by Rabindra Ranjan Saha Lecture 9
Class lectures on Hydrology by Rabindra Ranjan Saha Lecture 9World University of Bangladesh
 
Ford Fulkerson Algorithm
Ford Fulkerson AlgorithmFord Fulkerson Algorithm
Ford Fulkerson AlgorithmAdarsh Rotte
 
Class lecture on Hydrology by Rabindra Ranjan saha Lecture 13
Class lecture on Hydrology by Rabindra Ranjan saha Lecture 13Class lecture on Hydrology by Rabindra Ranjan saha Lecture 13
Class lecture on Hydrology by Rabindra Ranjan saha Lecture 13World University of Bangladesh
 
Timefitting curve
Timefitting curveTimefitting curve
Timefitting curveRiya2001998
 
Presentation 4 ce 904 on Hydrology by Rabindra Ranjan Saha,PEng, Associate Pr...
Presentation 4 ce 904 on Hydrology by Rabindra Ranjan Saha,PEng, Associate Pr...Presentation 4 ce 904 on Hydrology by Rabindra Ranjan Saha,PEng, Associate Pr...
Presentation 4 ce 904 on Hydrology by Rabindra Ranjan Saha,PEng, Associate Pr...World University of Bangladesh
 
Ejercicio, ecuaciones diferenciales-flujo
Ejercicio, ecuaciones diferenciales-flujoEjercicio, ecuaciones diferenciales-flujo
Ejercicio, ecuaciones diferenciales-flujoyeisyynojos
 
Class lectures on Hydrology by Rabindra Ranjan Saha Lecture 12
Class lectures on Hydrology by Rabindra Ranjan Saha Lecture 12Class lectures on Hydrology by Rabindra Ranjan Saha Lecture 12
Class lectures on Hydrology by Rabindra Ranjan Saha Lecture 12World University of Bangladesh
 
Tachymetry lesson 4 normal staff
Tachymetry lesson 4   normal staffTachymetry lesson 4   normal staff
Tachymetry lesson 4 normal staffkmasz kamal
 

What's hot (20)

Curl
CurlCurl
Curl
 
a brief introduction to Arima
a brief introduction to Arimaa brief introduction to Arima
a brief introduction to Arima
 
S curve hydrograph
S curve hydrographS curve hydrograph
S curve hydrograph
 
B field conducting sphere
B field conducting sphereB field conducting sphere
B field conducting sphere
 
Algorithm to count number of disjoint paths
Algorithm to count number of disjoint pathsAlgorithm to count number of disjoint paths
Algorithm to count number of disjoint paths
 
Math(F5) Gradient And Area Under A Graph
Math(F5)  Gradient And Area Under A GraphMath(F5)  Gradient And Area Under A Graph
Math(F5) Gradient And Area Under A Graph
 
Lecture Notes For Section 4.5
Lecture  Notes For  Section 4.5Lecture  Notes For  Section 4.5
Lecture Notes For Section 4.5
 
Class lectures on hydrology by Rabindra Ranjan Saha, Lecture 8
Class lectures on hydrology by Rabindra Ranjan Saha, Lecture 8Class lectures on hydrology by Rabindra Ranjan Saha, Lecture 8
Class lectures on hydrology by Rabindra Ranjan Saha, Lecture 8
 
Kinematic Equations for Uniformly Accelerated Motion
Kinematic Equations for Uniformly Accelerated MotionKinematic Equations for Uniformly Accelerated Motion
Kinematic Equations for Uniformly Accelerated Motion
 
Class lectures on Hydrology by Rabindra Ranjan Saha Lecture 9
Class lectures on Hydrology by Rabindra Ranjan Saha Lecture 9Class lectures on Hydrology by Rabindra Ranjan Saha Lecture 9
Class lectures on Hydrology by Rabindra Ranjan Saha Lecture 9
 
Ford Fulkerson Algorithm
Ford Fulkerson AlgorithmFord Fulkerson Algorithm
Ford Fulkerson Algorithm
 
Class lecture on Hydrology by Rabindra Ranjan saha Lecture 13
Class lecture on Hydrology by Rabindra Ranjan saha Lecture 13Class lecture on Hydrology by Rabindra Ranjan saha Lecture 13
Class lecture on Hydrology by Rabindra Ranjan saha Lecture 13
 
Timefitting curve
Timefitting curveTimefitting curve
Timefitting curve
 
Presentation 4 ce 904 on Hydrology by Rabindra Ranjan Saha,PEng, Associate Pr...
Presentation 4 ce 904 on Hydrology by Rabindra Ranjan Saha,PEng, Associate Pr...Presentation 4 ce 904 on Hydrology by Rabindra Ranjan Saha,PEng, Associate Pr...
Presentation 4 ce 904 on Hydrology by Rabindra Ranjan Saha,PEng, Associate Pr...
 
AINL 2016: Goncharov
AINL 2016: GoncharovAINL 2016: Goncharov
AINL 2016: Goncharov
 
Ejercicio, ecuaciones diferenciales-flujo
Ejercicio, ecuaciones diferenciales-flujoEjercicio, ecuaciones diferenciales-flujo
Ejercicio, ecuaciones diferenciales-flujo
 
Class lectures on Hydrology by Rabindra Ranjan Saha Lecture 12
Class lectures on Hydrology by Rabindra Ranjan Saha Lecture 12Class lectures on Hydrology by Rabindra Ranjan Saha Lecture 12
Class lectures on Hydrology by Rabindra Ranjan Saha Lecture 12
 
Data structure
Data structureData structure
Data structure
 
Unit 9 graph
Unit   9 graphUnit   9 graph
Unit 9 graph
 
Tachymetry lesson 4 normal staff
Tachymetry lesson 4   normal staffTachymetry lesson 4   normal staff
Tachymetry lesson 4 normal staff
 

Similar to Polygraph

Electromagnetic theory Chapter 1
Electromagnetic theory Chapter 1Electromagnetic theory Chapter 1
Electromagnetic theory Chapter 1Ali Farooq
 
E field dipole
E field dipoleE field dipole
E field dipoleFFMdeMul
 
Bch and reed solomon codes generation in frequency domain
Bch and reed solomon codes generation in frequency domainBch and reed solomon codes generation in frequency domain
Bch and reed solomon codes generation in frequency domainMadhumita Tamhane
 
2-Vector.pptx
2-Vector.pptx2-Vector.pptx
2-Vector.pptxssfasf
 
Arima model (time series)
Arima model (time series)Arima model (time series)
Arima model (time series)Kumar P
 
Lecture02_Part02.pptx
Lecture02_Part02.pptxLecture02_Part02.pptx
Lecture02_Part02.pptxMahdiAbbasi31
 
Resonant circuits
Resonant circuitsResonant circuits
Resonant circuitsarjav patel
 
UNIT-1EMFT_KEE301 by anuj sharma.pptx
UNIT-1EMFT_KEE301  by anuj sharma.pptxUNIT-1EMFT_KEE301  by anuj sharma.pptx
UNIT-1EMFT_KEE301 by anuj sharma.pptxOPTIMUMGAMING
 
Ejercicios resueltos-vectores-2016
Ejercicios resueltos-vectores-2016Ejercicios resueltos-vectores-2016
Ejercicios resueltos-vectores-2016RodrigoSalgueiroLlan
 
Non-negative Matrix Factorization
Non-negative Matrix FactorizationNon-negative Matrix Factorization
Non-negative Matrix FactorizationAkankshaAgrawal55
 
Directed Acyclic Graph
Directed Acyclic Graph Directed Acyclic Graph
Directed Acyclic Graph AJAL A J
 
Application Of vector Integration and all
Application Of vector Integration and allApplication Of vector Integration and all
Application Of vector Integration and allMalikUmarKhakh
 
QR Factorizations and SVDs for Tall-and-skinny Matrices in MapReduce Architec...
QR Factorizations and SVDs for Tall-and-skinny Matrices in MapReduce Architec...QR Factorizations and SVDs for Tall-and-skinny Matrices in MapReduce Architec...
QR Factorizations and SVDs for Tall-and-skinny Matrices in MapReduce Architec...Austin Benson
 
Coordinate systems (and transformations) and vector calculus
Coordinate systems (and transformations) and vector calculus Coordinate systems (and transformations) and vector calculus
Coordinate systems (and transformations) and vector calculus garghanish
 
GTU LAVC Line Integral,Green Theorem in the Plane, Surface And Volume Integra...
GTU LAVC Line Integral,Green Theorem in the Plane, Surface And Volume Integra...GTU LAVC Line Integral,Green Theorem in the Plane, Surface And Volume Integra...
GTU LAVC Line Integral,Green Theorem in the Plane, Surface And Volume Integra...Panchal Anand
 

Similar to Polygraph (20)

Electromagnetic theory Chapter 1
Electromagnetic theory Chapter 1Electromagnetic theory Chapter 1
Electromagnetic theory Chapter 1
 
E field dipole
E field dipoleE field dipole
E field dipole
 
Bch and reed solomon codes generation in frequency domain
Bch and reed solomon codes generation in frequency domainBch and reed solomon codes generation in frequency domain
Bch and reed solomon codes generation in frequency domain
 
2-Vector.pptx
2-Vector.pptx2-Vector.pptx
2-Vector.pptx
 
lec6.pptx
lec6.pptxlec6.pptx
lec6.pptx
 
Arima model (time series)
Arima model (time series)Arima model (time series)
Arima model (time series)
 
Lecture02_Part02.pptx
Lecture02_Part02.pptxLecture02_Part02.pptx
Lecture02_Part02.pptx
 
Resonant circuits
Resonant circuitsResonant circuits
Resonant circuits
 
UNIT-1EMFT_KEE301 by anuj sharma.pptx
UNIT-1EMFT_KEE301  by anuj sharma.pptxUNIT-1EMFT_KEE301  by anuj sharma.pptx
UNIT-1EMFT_KEE301 by anuj sharma.pptx
 
transformer
transformertransformer
transformer
 
Resonant circuits
Resonant circuitsResonant circuits
Resonant circuits
 
Ejercicios resueltos-vectores-2016
Ejercicios resueltos-vectores-2016Ejercicios resueltos-vectores-2016
Ejercicios resueltos-vectores-2016
 
Non-negative Matrix Factorization
Non-negative Matrix FactorizationNon-negative Matrix Factorization
Non-negative Matrix Factorization
 
Directed Acyclic Graph
Directed Acyclic Graph Directed Acyclic Graph
Directed Acyclic Graph
 
Application Of vector Integration and all
Application Of vector Integration and allApplication Of vector Integration and all
Application Of vector Integration and all
 
Vector space
Vector spaceVector space
Vector space
 
QR Factorizations and SVDs for Tall-and-skinny Matrices in MapReduce Architec...
QR Factorizations and SVDs for Tall-and-skinny Matrices in MapReduce Architec...QR Factorizations and SVDs for Tall-and-skinny Matrices in MapReduce Architec...
QR Factorizations and SVDs for Tall-and-skinny Matrices in MapReduce Architec...
 
Tutorial no. 1.doc
Tutorial no. 1.docTutorial no. 1.doc
Tutorial no. 1.doc
 
Coordinate systems (and transformations) and vector calculus
Coordinate systems (and transformations) and vector calculus Coordinate systems (and transformations) and vector calculus
Coordinate systems (and transformations) and vector calculus
 
GTU LAVC Line Integral,Green Theorem in the Plane, Surface And Volume Integra...
GTU LAVC Line Integral,Green Theorem in the Plane, Surface And Volume Integra...GTU LAVC Line Integral,Green Theorem in the Plane, Surface And Volume Integra...
GTU LAVC Line Integral,Green Theorem in the Plane, Surface And Volume Integra...
 

Recently uploaded

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

Recently uploaded (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

Polygraph

  • 2. Agenda - Why we need polygraph - What is polygraph - compatible - Schedule convert to Polygraph
  • 3. Why we need polygraph • Indicate complexity of VSR • Schedule Validation for VSR is NP complete • VSR validation >p cycle detection of Polygraph • Cycle detection of Polygraph >p 2,3 CNF SAT • 2,3CNF SAT is NP complete Note: >p is polynomial reduction
  • 4. What is polygraph A polygraph is a triple P = (V,A,C), where V is a finite set of vertices A ⊂ V * V is a set of arcs C ⊂ V * V * V is a set of choices Note:If(u,v,w)∈C, then the three vertices are necessarily distinct, and in fact (w,u)∈A
  • 5. What is polygraph : example A polygraph is a triple P = (V,A,C), where V is a finite set of vertices A ⊂ V * V is a set of arcs C ⊂ V * V * V is a set of choices Example: V={A,B,C} A={<A,C>} C={<C,B,A>} (broken arrow) A B C
  • 6. Compatible - Suppose - P = (V,A,C) is a polygraph - D = (V,B) be a directed graph - We say that D is compatible with P - if - A ⊂ B and, - Each choice(u,v,w)∈C either (u,v)∈B or (v,w) ∈ B
  • 7. Compatible : example 1 A B C P1 V={A,B,C} A={<A,C>} C={<C,B,A>} A B C D1 V={A,B,C} B={<C,B>} A B C D2 V={A,B,C} B={<B,A>} P1 is compatible with D1 and D2.
  • 8. Compatible : example 2 (a) is compatible with (b),(c) (c)(a) (b)
  • 9. Compatible : acyclic • Polygraph P is called acyclic • if there is an acyclic directed graph D • that is compatible with P ↓ summarize • If compatible DAG exists, Polygraph is acyclic.
  • 10. Schedule convert to Polygraph P(s): Polygraph of s Vertices V: all transactions in s^= s+ A0, A∞ Arcs A: R2(x)∈A2, W1(x)∈A1, W1(x) < R2(x), arc(A1,A2) Choices C: W1(s) < R2(x) ∧ ∃(W3(x)∈A3) choise(A2,A3,A1)
  • 11. Schedule convert to Polygraph : example s=r1(x)w2(y)w1(y)r3(x)w2(x) A1: R(x) W(y) A2: W(y) W(x) A3: R(y) P(s)
  • 12. Schedule convert to Polygraph : example s=r1(x)w2(y)w1(y)r3(x)w2(x) A0:W(x)W(y) A1: R(x) W(y) A2: W(y) W(x) A3: R(y) A∞: R(x)R(y) P(s) V={A0,A1,A2,A3,A∞} Vertices V: all transactions in s^= s+ A0, A∞
  • 13. Schedule convert to Polygraph : example s=r1(x)w2(y)w1(y)r3(x)w2(x) A0:W(x)W(y) A1: R(x) W(y) A2: W(y) W(x) A3: R(y) A∞: R(x)R(y) P(s) V={A0,A1,A2,A3,A∞} A={ (A0, A1), (A1, A3), (A1, A∞), (A2, A∞)} Arcs A: R2(x)∈A2, W1(x)∈A1, W1(x) < R2(x), arc(A1,A2)
  • 14. Schedule convert to Polygraph : example s=r1(x)w2(y)w1(y)r3(x)w2(x) A0:W(x)W(y) A1: R(x) W(y) A2: W(y) W(x) A3: R(y) A∞: R(x)R(y) P(s) V={A0,A1,A2,A3,A∞} A={ (A0, A1), (A1, A3), (A1, A∞), (A2, A∞)} C={(A1, A2, A0)} Choices C: W1(s) < R2(x) ∧ W3(x), choise(A2,A3,A1)
  • 15. Schedule convert to Polygraph : example s=r1(x)w2(y)w1(y)r3(x)w2(x) A0:W(x)W(y) A1: R(x) W(y) A2: W(y) W(x) A3: R(y) A∞: R(x)R(y) P(s) V={A0,A1,A2,A3,A∞} A={ (A0, A1), (A1, A3), (A1, A∞), (A2, A∞)} C={(A1, A2, A0), (A3, A2, A1)} Choices C: W1(s) < R2(x) ∧ W3(x), choise(A2,A3,A1)
  • 16. Schedule convert to Polygraph : example s=r1(x)w2(y)w1(y)r3(x)w2(x) A0:W(x)W(y) A1: R(x) W(y) A2: W(y) W(x) A3: R(y) A∞: R(x)R(y) P(s) V={A0,A1,A2,A3,A∞} A={ (A0, A1), (A1, A3), (A1, A∞), (A2, A∞)} C={(A1, A2, A0), (A3, A2, A1), (A∞, A2, A1)} Choices C: W1(s) < R2(x) ∧ W3(x), choise(A2,A3,A1)
  • 17. Schedule convert to Polygraph : example s=r1(x)w2(y)w1(y)r3(x)w2(x) P(s) V={A0,A1,A2,A3,A∞} A={ (A0, A1), (A1, A3), (A1, A∞), (A2, A∞)} C={(A1, A2, A0), (A3, A2, A1), (A∞, A2, A1)}
  • 18. Schedule convert to Polygraph : example s=r1(x)w2(y)w1(y)r3(x)w2(x) P(s) V={A0,A1,A2,A3,A∞} A={ (A0, A1), (A1, A3), (A1, A∞), (A2, A∞)} C={(A1, A2, A0), (A3, A2, A1), (A∞, A2, A1)} 0 1 2 3 ∞
  • 19. Schedule convert to Polygraph : example s=r1(x)w2(y)w1(y)r3(x)w2(x) P(s) V={A0,A1,A2,A3,A∞} A={ (A0, A1), (A1, A3), (A1, A∞), (A2, A∞)} C={(A1, A2, A0), (A3, A2, A1), (A∞, A2, A1)} 0 1 2 3 ∞ Any compatible D contains cycle (A1,A2,A1) → not Serializable!