Numerical_Data_Processing_by_The_Implementation_of
Numerical_Data_Processing_by_The_Implementation_of
Volume: 02
and Management Issue: 11 November 2024
https://goldncloudpublications.com Page No: 3256-3260
https://doi.org/10.47392/IRJAEM.2024.0479
Abstract
Trees and Graphs play a vital role in transport and logistics. In tree, decision tree is one of the important, not
only implemented for data processing, but also considered for Numerical data analysis. The decision tree is a
flow chart-like structure, in which each internal node represents a ‘test’ on an attribute, which has a node
known as root being at the top, which further divides the given data into branches depending upon the
conditions. Every branch consists of a rule, and each leaf node is its outcome. A support tool with a tree-like
structure that models probable outcomes, cost of resources, utilities, and possible consequences. Decision
trees are also used in operations research along with planning logistics. They can help in determining
appropriate plans that will help a company achieve its target. In Graph, Dijkstra's algorithm is an admired
algorithm used to find the shortest paths between nodes in a graph, which may represent road networks for
example. Dijkstra's algorithm finds the shortest path from a given source node to every other node. It can also
be used to find the shortest path to a specific destination node, by concluding the algorithm once the shortest
path to the destination node is found. It is also commonly used on graphs where the edge weights are in real
numbers. A common application of shortest path algorithms is network routing protocols and also support in
route optimization for delivery services, ensuring timely and cost-effective deliveries by finding the best paths
for transportation.
Keywords: Data Processing; Dijkstra's Algorithm; Graph; Shortest Path; Tree
1. Introduction
This paper aims to explore the theoretical foundations in nature than qualitative. Both Decision tree and
and practical applications of shortest path algorithms, Dijkstra's algorithm, are one of the perfect algorithms
particularly Dijkstra's algorithm, while examining for quantitative analysis.
how decision trees can enhance decision-making in 2. Decision Tree
this context. Through a comprehensive analysis of Decision tree is the process that helps to collect data
these topics, one can highlight their significance in which gather relevant data related to the incident
contemporary computational problems and identify based on the type which extract the relevant features
potential areas for future research and application. from the data for that time of day and location. With
The ability to quickly determine the shortest path not the help of the decision tree, one can model the data
only saves resources but also enhances overall using the labelled incident and then evaluate and
efficiency in transportation and communication. As deploy with a real time environment, to detect the
global networks continue to expand, the need for incident with the help of predictive maintenance and
effective pathfinding solutions becomes increasingly safety monitoring which will identify the potential
vital. Numerical Data Processing is more quantitative safety risks or hazards.
IRJAEM 3256
International Research Journal on Advanced Engineering e ISSN: 2584-2854
Volume: 02
and Management Issue: 11 November 2024
https://goldncloudpublications.com Page No: 3256-3260
https://doi.org/10.47392/IRJAEM.2024.0479
2.1. Diagram of Decision Tree of PMPML (Pune 2.2. C Language Implementation of a Simple
Mahanagar Parivahan Mahamandal Ltd): Decision Tree
2.1.1.Data Analysis on the Basis of Time Here’s an illustrative implementation of a decision
Form Saswad to Swargate [1] tree that decides the best bus route based on
Route 1: Saswad - Dive Ghat- Hadapsar- Fatima hypothetical data [2].
Nagar- Swargate.
Route 2: Saswad- Bop Dev Ghat- Khadi Machine #include <stdio.h>
Chowk- Swargate. #include <stdlib.h>
#include <string.h>
// Define a structure for the decision tree node
typedef struct Node {
char *question;
struct Node *yes;
struct Node *no;
char *result;
} Node;
IRJAEM 3257
International Research Journal on Advanced Engineering e ISSN: 2584-2854
Volume: 02
and Management Issue: 11 November 2024
https://goldncloudpublications.com Page No: 3256-3260
https://doi.org/10.47392/IRJAEM.2024.0479
// Main function
int main () {
// Build the decision tree
Node *decisionTree = buildTree();
printf("Decision Tree for Pune PMT Bus
Routes:\n");
makeDecision(decisionTree); Figure 4 Pune Metro Map [4]
return 0;
} In the context of the Pune Metro, the graph can be
represented as follows:
• Nodes: Metro stations (e.g., PCMC,
Swargate, Shivajinagar).
• Edges: Tracks between the stations, with
Figure 2 Result weights representing travel time or distance.
3.1.1. Assuming Some Stations and
Travel Times
PCMC: [(Sant Tukaram Nagar, 5), (Kasarwadi, 10)]
Sant Tukaram Nagar: [(PCMC, 5), (Pune Junction,
Figure 3 Result 15)] Kasarwadi: [(PCMC, 10), (Pune Junction, 8)]
Pune Junction: [(Sant Tukaram Nagar, 15),
(Swargate, 20)] Swargate: [(Pune Junction, 20)]
3.2. Dijkstra’s Algorithm Implementation
Here’s a simplified implementation in C Language to
Figure 4 Result find the shortest path in the Pune Metro network [2].
IRJAEM 3258
International Research Journal on Advanced Engineering e ISSN: 2584-2854
Volume: 02
and Management Issue: 11 November 2024
https://goldncloudpublications.com Page No: 3256-3260
https://doi.org/10.47392/IRJAEM.2024.0479
IRJAEM 3259
International Research Journal on Advanced Engineering e ISSN: 2584-2854
Volume: 02
and Management Issue: 11 November 2024
https://goldncloudpublications.com Page No: 3256-3260
https://doi.org/10.47392/IRJAEM.2024.0479
IRJAEM 3260