SlideShare a Scribd company logo
1 of 14
Graph & it’s
Algorithms
What is Graph?
• Graph is a non-linear data structure used to
represent the connection between entities.
• consists of vertices and edges.
Types of graph
1) Directed Graph
In a directed graph, edges
have a specific direction.
They represent relationship
where one node points to
another i.e., edges go from
one vertex to another.
2) Undirected Graph
Undirected graphs have
bidirectional edges. They
represent symmetric
relationships, like friendships
on a social networks
Weighted graph
A weight graph is a graph whose edges have
a “weight” or “cost”. The weight of an edge
can represent distance, time, or anything
that models the “connection” between the
pair of nodes it connects.
For example, in the weighted graph below you
can see a blue number next to each edge.
This number is used to represent the weight
of the corresponding edge.
Depth-first Search
Depth-first search is an algorithm for traversing or
searching tree or graph data structures. The algorithm
starts at the root node (selecting some arbitrary node
as the root node in the case of a graph) and explores
as far as possible along each branch before
backtracking.
• Stack data structure is used in DFS.
• Null Stack(after popping values while backtracking) is
the indication to stop traversing.
Breadth-first Search
Also known as level-order traversal.
Starting from the root, all the nodes at a particular level
are visited first and then the nodes of the next level are
traversed till all the nodes are visited.
To do this a queue is used. All the adjacent unvisited
nodes of the current level are pushed into the queue and
the nodes of the current level are marked visited and
popped from the queue.
Dijkstra’s Algorithm:
( Single source shortest path )
● Usage : telephone networks , Google
maps etc
● heart of algorithm : ( Relaxation)
if d(u) + c( u,v) < d(u)
set d(u) = d(u) + c (u,v)
Problem? Loop creation
Solution? Spanning tree
Spanning tree :
A collected sub graph (‘S’) of graph G( v,e) is said to be
spanning if
1. ‘S’ contains all vertices of G
2. ‘S’ contains v -1 number of edges
Kruskal’s algorithm:
To find minimal cost spanning tree.
MST :
it is used to design efficient network with minimal cost.
Procedure :
1. Take one by one edge with lowest cost.
2. Add in spanning tree.
3. Cycle shouldn’t be created.
note : output is connected tree but in between processing
vertices could be isolated.
Prims algorithm:
● To construct MST.
● Number of edges= number of vertices -1.
Procedure
1. Start from a vertex.
2. Check how many vertices are connected to it.
3. Select the one with minimal cost.
NOTE :
Output will be a connected spanning tree at any point of
procedure.
Real life applications of graph

More Related Content

Similar to Graph in data structures

NON-LINEAR DATA STRUCTURE-Graphs.pptx
NON-LINEAR DATA STRUCTURE-Graphs.pptxNON-LINEAR DATA STRUCTURE-Graphs.pptx
NON-LINEAR DATA STRUCTURE-Graphs.pptxRajitha Reddy Alugati
 
Minimum spanning tree (mst)
Minimum spanning tree (mst)Minimum spanning tree (mst)
Minimum spanning tree (mst)Pradeep Behera
 
Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjte
Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjteUnit II_Graph.pptxkgjrekjgiojtoiejhgnltegjte
Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjtepournima055
 
Graph Analyses with Python and NetworkX
Graph Analyses with Python and NetworkXGraph Analyses with Python and NetworkX
Graph Analyses with Python and NetworkXBenjamin Bengfort
 
Graph Data Structure
Graph Data StructureGraph Data Structure
Graph Data StructureKeno benti
 
Lecture 2.3.1 Graph.pptx
Lecture 2.3.1 Graph.pptxLecture 2.3.1 Graph.pptx
Lecture 2.3.1 Graph.pptxking779879
 
Node Path Visualizer Using Shortest Path Algorithms
Node Path Visualizer Using Shortest Path AlgorithmsNode Path Visualizer Using Shortest Path Algorithms
Node Path Visualizer Using Shortest Path AlgorithmsIRJET Journal
 
Lecture 5b graphs and hashing
Lecture 5b graphs and hashingLecture 5b graphs and hashing
Lecture 5b graphs and hashingVictor Palmar
 
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)Mohanlal Sukhadia University (MLSU)
 
Graph terminology and algorithm and tree.pptx
Graph terminology and algorithm and tree.pptxGraph terminology and algorithm and tree.pptx
Graph terminology and algorithm and tree.pptxasimshahzad8611
 
VANU no sql ppt.pptx
VANU no sql ppt.pptxVANU no sql ppt.pptx
VANU no sql ppt.pptxMJeyavarthini
 
Graph and Density Based Clustering
Graph and Density Based ClusteringGraph and Density Based Clustering
Graph and Density Based ClusteringAyushAnand105
 
Lecture 14 data structures and algorithms
Lecture 14 data structures and algorithmsLecture 14 data structures and algorithms
Lecture 14 data structures and algorithmsAakash deep Singhal
 

Similar to Graph in data structures (20)

NON-LINEAR DATA STRUCTURE-Graphs.pptx
NON-LINEAR DATA STRUCTURE-Graphs.pptxNON-LINEAR DATA STRUCTURE-Graphs.pptx
NON-LINEAR DATA STRUCTURE-Graphs.pptx
 
Minimum spanning tree (mst)
Minimum spanning tree (mst)Minimum spanning tree (mst)
Minimum spanning tree (mst)
 
Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjte
Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjteUnit II_Graph.pptxkgjrekjgiojtoiejhgnltegjte
Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjte
 
1 sollins algorithm
1 sollins algorithm1 sollins algorithm
1 sollins algorithm
 
Spanningtreesppt
SpanningtreespptSpanningtreesppt
Spanningtreesppt
 
Graph Analyses with Python and NetworkX
Graph Analyses with Python and NetworkXGraph Analyses with Python and NetworkX
Graph Analyses with Python and NetworkX
 
Graph Data Structure
Graph Data StructureGraph Data Structure
Graph Data Structure
 
Lecture 2.3.1 Graph.pptx
Lecture 2.3.1 Graph.pptxLecture 2.3.1 Graph.pptx
Lecture 2.3.1 Graph.pptx
 
Node Path Visualizer Using Shortest Path Algorithms
Node Path Visualizer Using Shortest Path AlgorithmsNode Path Visualizer Using Shortest Path Algorithms
Node Path Visualizer Using Shortest Path Algorithms
 
Lecture 5b graphs and hashing
Lecture 5b graphs and hashingLecture 5b graphs and hashing
Lecture 5b graphs and hashing
 
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
 
Graph terminology and algorithm and tree.pptx
Graph terminology and algorithm and tree.pptxGraph terminology and algorithm and tree.pptx
Graph terminology and algorithm and tree.pptx
 
logic.pptx
logic.pptxlogic.pptx
logic.pptx
 
Data structure note
Data structure noteData structure note
Data structure note
 
Data structure
Data structureData structure
Data structure
 
26 spanning
26 spanning26 spanning
26 spanning
 
Vanmathy no sql
Vanmathy no sql Vanmathy no sql
Vanmathy no sql
 
VANU no sql ppt.pptx
VANU no sql ppt.pptxVANU no sql ppt.pptx
VANU no sql ppt.pptx
 
Graph and Density Based Clustering
Graph and Density Based ClusteringGraph and Density Based Clustering
Graph and Density Based Clustering
 
Lecture 14 data structures and algorithms
Lecture 14 data structures and algorithmsLecture 14 data structures and algorithms
Lecture 14 data structures and algorithms
 

More from AhsanRazaKolachi

Evolution in military technology by ahsan raza
Evolution in military technology by ahsan razaEvolution in military technology by ahsan raza
Evolution in military technology by ahsan razaAhsanRazaKolachi
 
Flags register in central processing unit
Flags register in central processing unitFlags register in central processing unit
Flags register in central processing unitAhsanRazaKolachi
 
what is System Analyst in Software Development
what is System Analyst in Software Developmentwhat is System Analyst in Software Development
what is System Analyst in Software DevelopmentAhsanRazaKolachi
 
Process , Process states , Process Control Block in Operating Systems
Process , Process states , Process Control Block in Operating SystemsProcess , Process states , Process Control Block in Operating Systems
Process , Process states , Process Control Block in Operating SystemsAhsanRazaKolachi
 
Rapid Application Development in Software Engineering
Rapid Application Development in Software EngineeringRapid Application Development in Software Engineering
Rapid Application Development in Software EngineeringAhsanRazaKolachi
 
Index registers in Central Processing Unit
Index registers in Central Processing UnitIndex registers in Central Processing Unit
Index registers in Central Processing UnitAhsanRazaKolachi
 
Data transmission Services in Data Warehouse
Data transmission Services in Data WarehouseData transmission Services in Data Warehouse
Data transmission Services in Data WarehouseAhsanRazaKolachi
 
What is Palindrome in Compiler Design and Tafl
What is Palindrome in Compiler Design and TaflWhat is Palindrome in Compiler Design and Tafl
What is Palindrome in Compiler Design and TaflAhsanRazaKolachi
 
Dynamic Programming Intro in Algorithm Design
Dynamic Programming Intro in Algorithm DesignDynamic Programming Intro in Algorithm Design
Dynamic Programming Intro in Algorithm DesignAhsanRazaKolachi
 
Statistics and Role of statistics in Computer Science
Statistics and Role of statistics in Computer Science Statistics and Role of statistics in Computer Science
Statistics and Role of statistics in Computer Science AhsanRazaKolachi
 
Radio Waves In Computer Communication
Radio Waves In Computer Communication Radio Waves In Computer Communication
Radio Waves In Computer Communication AhsanRazaKolachi
 

More from AhsanRazaKolachi (15)

Evolution in military technology by ahsan raza
Evolution in military technology by ahsan razaEvolution in military technology by ahsan raza
Evolution in military technology by ahsan raza
 
Flags register in central processing unit
Flags register in central processing unitFlags register in central processing unit
Flags register in central processing unit
 
what is System Analyst in Software Development
what is System Analyst in Software Developmentwhat is System Analyst in Software Development
what is System Analyst in Software Development
 
Process , Process states , Process Control Block in Operating Systems
Process , Process states , Process Control Block in Operating SystemsProcess , Process states , Process Control Block in Operating Systems
Process , Process states , Process Control Block in Operating Systems
 
Rapid Application Development in Software Engineering
Rapid Application Development in Software EngineeringRapid Application Development in Software Engineering
Rapid Application Development in Software Engineering
 
Index registers in Central Processing Unit
Index registers in Central Processing UnitIndex registers in Central Processing Unit
Index registers in Central Processing Unit
 
Data transmission Services in Data Warehouse
Data transmission Services in Data WarehouseData transmission Services in Data Warehouse
Data transmission Services in Data Warehouse
 
What is Palindrome in Compiler Design and Tafl
What is Palindrome in Compiler Design and TaflWhat is Palindrome in Compiler Design and Tafl
What is Palindrome in Compiler Design and Tafl
 
Information Technology
Information Technology Information Technology
Information Technology
 
MongoDB
MongoDB MongoDB
MongoDB
 
Nelsen ten Heuristics
Nelsen ten HeuristicsNelsen ten Heuristics
Nelsen ten Heuristics
 
two wordpress plugins
two wordpress pluginstwo wordpress plugins
two wordpress plugins
 
Dynamic Programming Intro in Algorithm Design
Dynamic Programming Intro in Algorithm DesignDynamic Programming Intro in Algorithm Design
Dynamic Programming Intro in Algorithm Design
 
Statistics and Role of statistics in Computer Science
Statistics and Role of statistics in Computer Science Statistics and Role of statistics in Computer Science
Statistics and Role of statistics in Computer Science
 
Radio Waves In Computer Communication
Radio Waves In Computer Communication Radio Waves In Computer Communication
Radio Waves In Computer Communication
 

Recently uploaded

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
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
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
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
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 

Graph in data structures

  • 2. What is Graph? • Graph is a non-linear data structure used to represent the connection between entities. • consists of vertices and edges.
  • 3. Types of graph 1) Directed Graph In a directed graph, edges have a specific direction. They represent relationship where one node points to another i.e., edges go from one vertex to another. 2) Undirected Graph Undirected graphs have bidirectional edges. They represent symmetric relationships, like friendships on a social networks
  • 4.
  • 5. Weighted graph A weight graph is a graph whose edges have a “weight” or “cost”. The weight of an edge can represent distance, time, or anything that models the “connection” between the pair of nodes it connects. For example, in the weighted graph below you can see a blue number next to each edge. This number is used to represent the weight of the corresponding edge.
  • 6. Depth-first Search Depth-first search is an algorithm for traversing or searching tree or graph data structures. The algorithm starts at the root node (selecting some arbitrary node as the root node in the case of a graph) and explores as far as possible along each branch before backtracking. • Stack data structure is used in DFS. • Null Stack(after popping values while backtracking) is the indication to stop traversing.
  • 7.
  • 8. Breadth-first Search Also known as level-order traversal. Starting from the root, all the nodes at a particular level are visited first and then the nodes of the next level are traversed till all the nodes are visited. To do this a queue is used. All the adjacent unvisited nodes of the current level are pushed into the queue and the nodes of the current level are marked visited and popped from the queue.
  • 9.
  • 10. Dijkstra’s Algorithm: ( Single source shortest path ) ● Usage : telephone networks , Google maps etc ● heart of algorithm : ( Relaxation) if d(u) + c( u,v) < d(u) set d(u) = d(u) + c (u,v)
  • 11. Problem? Loop creation Solution? Spanning tree Spanning tree : A collected sub graph (‘S’) of graph G( v,e) is said to be spanning if 1. ‘S’ contains all vertices of G 2. ‘S’ contains v -1 number of edges
  • 12. Kruskal’s algorithm: To find minimal cost spanning tree. MST : it is used to design efficient network with minimal cost. Procedure : 1. Take one by one edge with lowest cost. 2. Add in spanning tree. 3. Cycle shouldn’t be created. note : output is connected tree but in between processing vertices could be isolated.
  • 13. Prims algorithm: ● To construct MST. ● Number of edges= number of vertices -1. Procedure 1. Start from a vertex. 2. Check how many vertices are connected to it. 3. Select the one with minimal cost. NOTE : Output will be a connected spanning tree at any point of procedure.