SlideShare a Scribd company logo
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
_______________________________________________________________________________________
Volume: 03 Issue: 10 | Oct-2014, Available @ http://www.ijret.org 322
THE SHORTEST NOT NECESSARILY THE BEST OTHER PATH ON
THE BASIS OF THE OPTIMAL PATH
Tomasz Neumann1
1
Gdynia Maritime University, Gdynia, Poland
Abstract
This paper presents a different perspective on the Dijkstra algorithm. In paper this algorithm is used to the further analyses to
find another paths between nodes in maritime traffic. In many cases, the best solution for a single criterion is not sufficient.
Finding more effective solutions can be the starting point to use for subsequent analysis or making decision by the captain of the
vessel. Using advanced reasoning mechanisms it is possible to create a decision support system based on well-known Dijkstra
algorithm.
Keywords: Sea Transport, Networks and Graphs, Intelligent Transportation System
--------------------------------------------------------------------***----------------------------------------------------------------------
1. INTRODUCTION
Rapid and accurate calculation of the estimated time of
arrival at the port of destination of the ship at sea, is of great
importance in many areas of the ocean shipping industry.
For example, the route and schedule of ships on a day to
day, it is important to know when the ship reached the port
of destination and to be available for new loads. Estimated
time of arrival can also be important in the planning of port
operations. Give a reliable estimated time of arrival for ships
entering the port, planning port operations, such as work
assignments, loading/unloading equipment and harbours for
ships can be more efficiently done.
The traditional way is to base the estimate of estimated time
of arrival on ships. However, the new technology of satellite
position reporting combined with electronic map allows
users to land to check weather or update the master's
estimated time of arrival at regular intervals, not interfering
with the crew of the ship at all hours.
The paper presents an efficient algorithm for determining
the estimated time of arrival in port the ship is at sea. The
algorithm is implemented in a decision support system in
planning the operation of ships, one of which is installed and
used by several owners. By calculating the distance of the
route between the ship and the port of destination, estimated
time of arrival can be estimated by dividing the distance by
the speed sailing. Calculating the distance between the ship
and the port of destination may be considered to determine
the shortest path between two points in the presence of
polygonal obstacles, where one point corresponds to the
vessel and the other end to the port of destination. Sections
defining polygons are obstacles coast. Estimated time of
arrival accuracy can be improved by defining special
network structures in areas with limited speed, or are
waiting for the pilots [3].
The vehicle routing problem lies in the design of optimal
routes for a fleet of vehicles, usually in order to minimize
operating costs or the number of vehicles used. Several
variations of this problem has been extensively studied in
the literature optimization as efficient routing of vehicles
have a great impact on logistics costs [7].
2. THE PROBLEM
Given that the total linear programming model of a
simplified version of the problem of routing the vessel
presents an unacceptable solution times for a typical daily
planning process, taken a heuristic approach, deciding on
your hand. Author decided on this approach for its
implementation relatively simple calculation, as well as its
record of good results with similar problems to the present.
There are several algorithms such as Dijkstra's algorithm,
which is a single source-single destination shortest path
algorithm, the Bellman-Ford algorithm to solve the shortest
path algorithm with a free hand, A* algorithm solves the
single pair shortest path problems using a heuristic
algorithm and Floyd Warshall algorithm to find all pairs of
Johnson-perturbation and the shortest path algorithm to find
the shortest path locally. Genetic algorithms are also used to
finding shortest path [1]. In this paper to calculation will be
used Dijkstra algorithm.
2.1 Dijkstra's Algorithm
For a given source vertex (node) in the graph, the algorithm
finds the path with lowest cost (ie the shortest path) between
that vertex and every other vertex. It can also be used for
finding the shortest cost path from one vertex to a
destination vertex by stopping the algorithm is determined
by the shortest path to the destination node. For example, if
the vertices of the graph represent the city and are the costs
of running paths edge distances between pairs of cities
connected directly to the road, Dijkstra's algorithm can be
used to find the shortest route between one city and all other
cities. As a result, the shortest path algorithm is widely used
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
_______________________________________________________________________________________
Volume: 03 Issue: 10 | Oct-2014, Available @ http://www.ijret.org 323
routing protocols in a network, in particular the IS-IS and
Open Shortest Path First.
Short characteristic of Dijsktra algorithm [2].
 The input of the algorithm consists of a weighted
directed graph G and a source vertex s in G
 Denote V as the set of all vertices in the graph G.
 Each edge of the graph is an ordered pair of vertices
(u,v)
 This representing a connection from vertex u to
vertex v
 The set of all edges is denoted E
 Weights of edges are given by a weight function w:
E → [0, ∞)
 Therefore w(u,v) is the cost of moving directly from
vertex u to vertex v
 The cost of an edge can be thought of as (a
generalization of) the distance between those two
vertices
 The cost of a path between two vertices is the sum
of costs of the edges in that path
 For a given pair of vertices s and t in V, the
algorithm finds the path from s to t with lowest cost
(i.e. the shortest path)
 It can also be used for finding costs of shortest paths
from a single vertex s to all other vertices in the
graph.
2.2 Proposed to Use
As indicated above, the algorithm is well known and widely
used. Finding the shortest path between two vertices in
graphs is not difficult. But not always the shortest path is the
best. It is proposed to fast search method inferior
alternatives. In such situation, decision maker can choose
one of the alternatives and take all the consequences.
After finding the shortest path is proposed to remove from
the graph piece belonging to the founded path. Disposal
should be carried out as long as there is a lot of segments in
the founded path. For each new graph is necessary to find
the shortest path. Founded new path should be saved to an
array of solutions.
Fig 1: Scheme of traffic among islands
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
_______________________________________________________________________________________
Volume: 03 Issue: 10 | Oct-2014, Available @ http://www.ijret.org 324
First edge of optimal path
Next edge of
optimal path?
Remove edge from array of edges
Find new shortest path
Remove duplicate paths
Y
N
Fig 2: Diagram of searching new paths
The proposed scheme is shown in figure 2. Provides an
overview of the optimal path, the removal of all further
edges.
Resulting array can contain many of the same tracks. It is
therefore removed from the same tracks. Of course, such
removal is not a problem.
3. NUMERICAL EXAMPLE
The figure 1 shows an example of the unreal maritime
restricted area. It consists of eight obstacles (in the form of
islands), 21 turning points and 29 edges. Each edge is
described by value of the distance between two vertices.
All connections are shown in the Table 1. Number of edge
corresponds to the edge shown in Figure 1. Each connection
is between initial node and final node. The distance between
nodes describes a dimensionless measurement of the
distance between the nodes.
Table 1: Table of all edges
Number
of edges
Initial
vertex
Final
vertex
Distance between
the vertices
0 0 1 295
1 0 4 257
2 4 5 415
3 5 6 215
4 4 9 207
5 9 10 98
6 10 7 73
7 7 6 183
8 7 8 160
9 10 8 187
10 8 16 203
11 16 17 181
12 17 18 139
13 18 3 130
14 17 15 107
15 15 19 148
16 19 20 183
17 9 11 168
18 9 12 137
19 1 11 210
20 11 12 102
21 12 13 212
22 1 14 176
23 14 13 225
24 13 19 216
25 13 15 293
26 14 2 452
27 2 20 343
28 20 3 362
Result of the algorithm is a path with a length equal 1365.
The algorithm indicated that the shortest distance between
the vertex labelled 0 and 3 leading by edges: 0, 22, 23, 25,
14, 12, 13. The shortest path is presented in Table 2 and in
Figure 3.
Table 2: Description of shortest path
Number
of edges
Initial
vertex
Final
vertex
Distance between the
vertices
0 0 1 295
22 1 14 176
23 14 13 225
25 13 15 293
14 17 15 107
12 17 18 139
13 18 3 130
Total 1365
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
_______________________________________________________________________________________
Volume: 03 Issue: 10 | Oct-2014, Available @ http://www.ijret.org 325
Fig 3: Shortest path
An easy way to find another quick way from the source to
the target is to modify the optimal path, found a particular
method. The article proposes to remove one edge. The cycle
was repeated for each edge of the optimal path. In this way
calculated two other paths 1,4,5,9,10,11,12,13 and
0,22,23,24,16,28:. Detailed data are shown in the Figures
and tables.
Fig 4: Second path
Table 3: Description of second path
Number
of edges
Initial
vertex
Final
vertex
Distance between the
vertices
1 0 4 257
4 4 9 207
5 9 10 98
9 10 8 187
10 8 16 203
11 16 17 181
12 17 18 139
13 18 3 130
Total 1402
Fig 5: Third path
Table 4: Description of third path
Number
of edges
Initial
vertex
Final
vertex
Distance between the
vertices
0 0 1 295
22 1 14 176
23 14 13 225
24 13 19 216
16 19 20 183
28 20 3 362
Total 1457
For the purposes of demonstration and calculations
developed computer application [6] which graphically
created schema presented in the article. For middle-class
computer all the calculations were done in less than 150ms.
Such a short calculation time can be a prerequisite for
further research into the search for alternative paths.
The results require further calculations. According to the
author to be in the discussion to consider not only the
dimensionless values describing the edges, but also values
such as time, cost, security etc. It is necessary to use the
mechanism of multiple-choice decision or data fusion [4,5].
4. CONCLUSIONS
The Dijkstra algorithm is well known. It was first published
half a century ago. To this day, finding connections between
vertices is used. But not always the shortest path is the best.
It is to consider various criteria. This paper is an
introduction to further research.
It has been shown that with the use of today's computers to
find paths can be easy and quick.
REFERENCES
[1]. Bagheri H., Ghassemi H., Dehghanian A., 2014:
Optimizing the Seakeeping Performance of Ship Hull Forms
Using Genetic Algorithm. TransNav, the International
Journal on Marine Navigation and Safety of Sea
Transportation, Vol. 8, No. 1, pp. 49-57
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
_______________________________________________________________________________________
Volume: 03 Issue: 10 | Oct-2014, Available @ http://www.ijret.org 326
[2]. Dijkstra, E.W., 1959: A note on two problems in
connexion with graphs. Numerische Mathematik. 1, 269–
271.
[3]. Fagerholt, K., Heimdal, S., Loktu, A., 2000. Shortest
path in the presence of obstacles: an application to ocean
shipping. Journal of the Operational Research Society 51,
683–688.
[4]. Gopika, N.A., Deeoa, S. 2013. A survey on optimal
route queries for road networks, International Journal of
Research in Engineering and Technology, 02, 12, 447-450
[5]. Neumann T., 2008: Multisensor Data Fusion in the
Decision Process on the Bridge of the Vessel. TransNav, the
International Journal on Marine Navigation and Safety of
Sea Transportation, Vol. 2, No. 1, pp. 85-89
[6]. Neumann T., 2011: A Simulation Environment for
Modelling and Analysis of the Distribution of Shore
Observatory Stations - Preliminary Results. TransNav, the
International Journal on Marine Navigation and Safety of
Sea Transportation, Vol. 5, No. 4, pp. 555-560
[7]. Romeroa, G., Duran, G., Marenco, J. Weintraub, A.
2013. An approach for efficient ship routing. International
Transactions in Operational Research 00, 1-28

More Related Content

PPTX
Shortest path analysis
PDF
Trajectory clustering using adaptive Euclidean distances
PDF
Closed-Form Performance Analysis of Dual Polarization Based MIMO System in Sh...
PDF
Simulation and Experiment Study of Flow Field of Flow channel for Rectangular...
PPTX
Dijkstra & flooding ppt(Routing algorithm)
PPTX
Dijkstra’S Algorithm
PDF
Path Planning for Mobile Robots
PPTX
Discrete Mathematics Presentation
Shortest path analysis
Trajectory clustering using adaptive Euclidean distances
Closed-Form Performance Analysis of Dual Polarization Based MIMO System in Sh...
Simulation and Experiment Study of Flow Field of Flow channel for Rectangular...
Dijkstra & flooding ppt(Routing algorithm)
Dijkstra’S Algorithm
Path Planning for Mobile Robots
Discrete Mathematics Presentation

What's hot (20)

PDF
Vehicle Headway Distribution Models on Two-Lane Two-Way Undivided Roads
PDF
Three-dimensional Streamline Design of the Pump Flow Passage of Hydrodynamic...
PPTX
Networks dijkstra's algorithm- pgsr
PDF
15 0544
PPTX
Cab travel time prediction using ensemble models
PDF
14 4506 a
PPT
Unit26 shortest pathalgorithm
PPTX
Dijkstra’s algorithm
PDF
Chap10 slides
PDF
Jgrass-NewAge: Kriging component
PPTX
Presentation escc 2016
PPTX
Presentation of GreenYourMove's hybrid approach in 3rd International Conferen...
PPTX
Mar 8 single_map_analysis_1
PDF
Robotics for Path Planning
PDF
CFD and Artificial Neural Networks Analysis of Plane Sudden Expansion Flows
PDF
A Minimum Spanning Tree Approach of Solving a Transportation Problem
PDF
Method of Fracture Surface Matching Based on Mathematical Statistics
PDF
Report on Efficient Estimation for High Similarities using Odd Sketches
PDF
Day 5 application of graph ,biconnectivity fdp on ds
PDF
Dijkstra algorithm
Vehicle Headway Distribution Models on Two-Lane Two-Way Undivided Roads
Three-dimensional Streamline Design of the Pump Flow Passage of Hydrodynamic...
Networks dijkstra's algorithm- pgsr
15 0544
Cab travel time prediction using ensemble models
14 4506 a
Unit26 shortest pathalgorithm
Dijkstra’s algorithm
Chap10 slides
Jgrass-NewAge: Kriging component
Presentation escc 2016
Presentation of GreenYourMove's hybrid approach in 3rd International Conferen...
Mar 8 single_map_analysis_1
Robotics for Path Planning
CFD and Artificial Neural Networks Analysis of Plane Sudden Expansion Flows
A Minimum Spanning Tree Approach of Solving a Transportation Problem
Method of Fracture Surface Matching Based on Mathematical Statistics
Report on Efficient Estimation for High Similarities using Odd Sketches
Day 5 application of graph ,biconnectivity fdp on ds
Dijkstra algorithm
Ad

Viewers also liked (19)

PDF
Assessing web site usability measurement
PDF
Triumph tridentt160workshopmanual
PDF
Helios: Cross-Platform Framework
 
PPTX
Ev ent-anglement with photos india
PDF
Martin
PPTX
Ensayo alejooooooooooooo
PDF
50 2015-tt-bct
PPT
DOCX
Film Logo Tutorial
PPTX
La recopilación de obras y autores como estrategia
PPTX
Profiler‘s quality assessment
PDF
Angelina Fong Resume_2014
PPTX
Organizational Behaviour Chapter One
PDF
Local Food Launchpad 2016 Concept Development Workshop
PPTX
Factores de riesgo, efectos de salud y como controlarlos
PPT
Sumit_KalaCORE_PP_June
PDF
Effect of flow coefficient and loading coefficient on
PDF
Time dependent behaviour of a class f fly ash-based geopolymer concrete
PDF
Atkinson et al 2015 Length-weight Emerald shiner
Assessing web site usability measurement
Triumph tridentt160workshopmanual
Helios: Cross-Platform Framework
 
Ev ent-anglement with photos india
Martin
Ensayo alejooooooooooooo
50 2015-tt-bct
Film Logo Tutorial
La recopilación de obras y autores como estrategia
Profiler‘s quality assessment
Angelina Fong Resume_2014
Organizational Behaviour Chapter One
Local Food Launchpad 2016 Concept Development Workshop
Factores de riesgo, efectos de salud y como controlarlos
Sumit_KalaCORE_PP_June
Effect of flow coefficient and loading coefficient on
Time dependent behaviour of a class f fly ash-based geopolymer concrete
Atkinson et al 2015 Length-weight Emerald shiner
Ad

Similar to The shortest not necessarily the best other path on the basis of the optimal path (20)

PDF
Flight-schedule using Dijkstra's algorithm with comparison of routes findings
PDF
Dijkstra Shortest Path Visualization
PPTX
DIJKSTRA_123.pptx
PDF
IRJET- Survey on Adaptive Routing Algorithms
PDF
Djikstra’s Algorithm. Approach to shortest path algorithm with greedy method
PDF
Comparative Analysis of Algorithms for Single Source Shortest Path Problem
PPTX
dms slide discrete mathematics sem 2 engineering
PPTX
Dijkstra's algorithm presentation
PDF
A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...
PDF
All pairs shortest path algorithm
PDF
Using A* algorithm to find shortest path in Indoor positioning system
PPT
Data Communications and Networks Network Layer
PPT
Shortest path
PPT
bellman-ford Theorem.ppt
PDF
Design and Implementation of Mobile Map Application for Finding Shortest Dire...
PPTX
Dijkstra's algorithm
PPTX
Fakhre alam
PDF
Node Path Visualizer Using Shortest Path Algorithms
DOCX
Shortest Path Problem.docx
PDF
Lecture 16 - Dijkstra's Algorithm.pdf
Flight-schedule using Dijkstra's algorithm with comparison of routes findings
Dijkstra Shortest Path Visualization
DIJKSTRA_123.pptx
IRJET- Survey on Adaptive Routing Algorithms
Djikstra’s Algorithm. Approach to shortest path algorithm with greedy method
Comparative Analysis of Algorithms for Single Source Shortest Path Problem
dms slide discrete mathematics sem 2 engineering
Dijkstra's algorithm presentation
A study on_contrast_and_comparison_between_bellman-ford_algorithm_and_dijkstr...
All pairs shortest path algorithm
Using A* algorithm to find shortest path in Indoor positioning system
Data Communications and Networks Network Layer
Shortest path
bellman-ford Theorem.ppt
Design and Implementation of Mobile Map Application for Finding Shortest Dire...
Dijkstra's algorithm
Fakhre alam
Node Path Visualizer Using Shortest Path Algorithms
Shortest Path Problem.docx
Lecture 16 - Dijkstra's Algorithm.pdf

More from eSAT Publishing House (20)

PDF
Likely impacts of hudhud on the environment of visakhapatnam
PDF
Impact of flood disaster in a drought prone area – case study of alampur vill...
PDF
Hudhud cyclone – a severe disaster in visakhapatnam
PDF
Groundwater investigation using geophysical methods a case study of pydibhim...
PDF
Flood related disasters concerned to urban flooding in bangalore, india
PDF
Enhancing post disaster recovery by optimal infrastructure capacity building
PDF
Effect of lintel and lintel band on the global performance of reinforced conc...
PDF
Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...
PDF
Wind damage to buildings, infrastrucuture and landscape elements along the be...
PDF
Shear strength of rc deep beam panels – a review
PDF
Role of voluntary teams of professional engineers in dissater management – ex...
PDF
Risk analysis and environmental hazard management
PDF
Review study on performance of seismically tested repaired shear walls
PDF
Monitoring and assessment of air quality with reference to dust particles (pm...
PDF
Low cost wireless sensor networks and smartphone applications for disaster ma...
PDF
Coastal zones – seismic vulnerability an analysis from east coast of india
PDF
Can fracture mechanics predict damage due disaster of structures
PDF
Assessment of seismic susceptibility of rc buildings
PDF
A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...
PDF
Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...
Likely impacts of hudhud on the environment of visakhapatnam
Impact of flood disaster in a drought prone area – case study of alampur vill...
Hudhud cyclone – a severe disaster in visakhapatnam
Groundwater investigation using geophysical methods a case study of pydibhim...
Flood related disasters concerned to urban flooding in bangalore, india
Enhancing post disaster recovery by optimal infrastructure capacity building
Effect of lintel and lintel band on the global performance of reinforced conc...
Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...
Wind damage to buildings, infrastrucuture and landscape elements along the be...
Shear strength of rc deep beam panels – a review
Role of voluntary teams of professional engineers in dissater management – ex...
Risk analysis and environmental hazard management
Review study on performance of seismically tested repaired shear walls
Monitoring and assessment of air quality with reference to dust particles (pm...
Low cost wireless sensor networks and smartphone applications for disaster ma...
Coastal zones – seismic vulnerability an analysis from east coast of india
Can fracture mechanics predict damage due disaster of structures
Assessment of seismic susceptibility of rc buildings
A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...
Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...

Recently uploaded (20)

PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
Welding lecture in detail for understanding
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPT
Mechanical Engineering MATERIALS Selection
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Digital Logic Computer Design lecture notes
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
web development for engineering and engineering
PPTX
additive manufacturing of ss316l using mig welding
PPTX
UNIT 4 Total Quality Management .pptx
PDF
PPT on Performance Review to get promotions
PPTX
Lecture Notes Electrical Wiring System Components
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
CH1 Production IntroductoryConcepts.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Welding lecture in detail for understanding
Strings in CPP - Strings in C++ are sequences of characters used to store and...
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Mechanical Engineering MATERIALS Selection
bas. eng. economics group 4 presentation 1.pptx
Digital Logic Computer Design lecture notes
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Operating System & Kernel Study Guide-1 - converted.pdf
web development for engineering and engineering
additive manufacturing of ss316l using mig welding
UNIT 4 Total Quality Management .pptx
PPT on Performance Review to get promotions
Lecture Notes Electrical Wiring System Components
Model Code of Practice - Construction Work - 21102022 .pdf

The shortest not necessarily the best other path on the basis of the optimal path

  • 1. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 03 Issue: 10 | Oct-2014, Available @ http://www.ijret.org 322 THE SHORTEST NOT NECESSARILY THE BEST OTHER PATH ON THE BASIS OF THE OPTIMAL PATH Tomasz Neumann1 1 Gdynia Maritime University, Gdynia, Poland Abstract This paper presents a different perspective on the Dijkstra algorithm. In paper this algorithm is used to the further analyses to find another paths between nodes in maritime traffic. In many cases, the best solution for a single criterion is not sufficient. Finding more effective solutions can be the starting point to use for subsequent analysis or making decision by the captain of the vessel. Using advanced reasoning mechanisms it is possible to create a decision support system based on well-known Dijkstra algorithm. Keywords: Sea Transport, Networks and Graphs, Intelligent Transportation System --------------------------------------------------------------------***---------------------------------------------------------------------- 1. INTRODUCTION Rapid and accurate calculation of the estimated time of arrival at the port of destination of the ship at sea, is of great importance in many areas of the ocean shipping industry. For example, the route and schedule of ships on a day to day, it is important to know when the ship reached the port of destination and to be available for new loads. Estimated time of arrival can also be important in the planning of port operations. Give a reliable estimated time of arrival for ships entering the port, planning port operations, such as work assignments, loading/unloading equipment and harbours for ships can be more efficiently done. The traditional way is to base the estimate of estimated time of arrival on ships. However, the new technology of satellite position reporting combined with electronic map allows users to land to check weather or update the master's estimated time of arrival at regular intervals, not interfering with the crew of the ship at all hours. The paper presents an efficient algorithm for determining the estimated time of arrival in port the ship is at sea. The algorithm is implemented in a decision support system in planning the operation of ships, one of which is installed and used by several owners. By calculating the distance of the route between the ship and the port of destination, estimated time of arrival can be estimated by dividing the distance by the speed sailing. Calculating the distance between the ship and the port of destination may be considered to determine the shortest path between two points in the presence of polygonal obstacles, where one point corresponds to the vessel and the other end to the port of destination. Sections defining polygons are obstacles coast. Estimated time of arrival accuracy can be improved by defining special network structures in areas with limited speed, or are waiting for the pilots [3]. The vehicle routing problem lies in the design of optimal routes for a fleet of vehicles, usually in order to minimize operating costs or the number of vehicles used. Several variations of this problem has been extensively studied in the literature optimization as efficient routing of vehicles have a great impact on logistics costs [7]. 2. THE PROBLEM Given that the total linear programming model of a simplified version of the problem of routing the vessel presents an unacceptable solution times for a typical daily planning process, taken a heuristic approach, deciding on your hand. Author decided on this approach for its implementation relatively simple calculation, as well as its record of good results with similar problems to the present. There are several algorithms such as Dijkstra's algorithm, which is a single source-single destination shortest path algorithm, the Bellman-Ford algorithm to solve the shortest path algorithm with a free hand, A* algorithm solves the single pair shortest path problems using a heuristic algorithm and Floyd Warshall algorithm to find all pairs of Johnson-perturbation and the shortest path algorithm to find the shortest path locally. Genetic algorithms are also used to finding shortest path [1]. In this paper to calculation will be used Dijkstra algorithm. 2.1 Dijkstra's Algorithm For a given source vertex (node) in the graph, the algorithm finds the path with lowest cost (ie the shortest path) between that vertex and every other vertex. It can also be used for finding the shortest cost path from one vertex to a destination vertex by stopping the algorithm is determined by the shortest path to the destination node. For example, if the vertices of the graph represent the city and are the costs of running paths edge distances between pairs of cities connected directly to the road, Dijkstra's algorithm can be used to find the shortest route between one city and all other cities. As a result, the shortest path algorithm is widely used
  • 2. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 03 Issue: 10 | Oct-2014, Available @ http://www.ijret.org 323 routing protocols in a network, in particular the IS-IS and Open Shortest Path First. Short characteristic of Dijsktra algorithm [2].  The input of the algorithm consists of a weighted directed graph G and a source vertex s in G  Denote V as the set of all vertices in the graph G.  Each edge of the graph is an ordered pair of vertices (u,v)  This representing a connection from vertex u to vertex v  The set of all edges is denoted E  Weights of edges are given by a weight function w: E → [0, ∞)  Therefore w(u,v) is the cost of moving directly from vertex u to vertex v  The cost of an edge can be thought of as (a generalization of) the distance between those two vertices  The cost of a path between two vertices is the sum of costs of the edges in that path  For a given pair of vertices s and t in V, the algorithm finds the path from s to t with lowest cost (i.e. the shortest path)  It can also be used for finding costs of shortest paths from a single vertex s to all other vertices in the graph. 2.2 Proposed to Use As indicated above, the algorithm is well known and widely used. Finding the shortest path between two vertices in graphs is not difficult. But not always the shortest path is the best. It is proposed to fast search method inferior alternatives. In such situation, decision maker can choose one of the alternatives and take all the consequences. After finding the shortest path is proposed to remove from the graph piece belonging to the founded path. Disposal should be carried out as long as there is a lot of segments in the founded path. For each new graph is necessary to find the shortest path. Founded new path should be saved to an array of solutions. Fig 1: Scheme of traffic among islands
  • 3. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 03 Issue: 10 | Oct-2014, Available @ http://www.ijret.org 324 First edge of optimal path Next edge of optimal path? Remove edge from array of edges Find new shortest path Remove duplicate paths Y N Fig 2: Diagram of searching new paths The proposed scheme is shown in figure 2. Provides an overview of the optimal path, the removal of all further edges. Resulting array can contain many of the same tracks. It is therefore removed from the same tracks. Of course, such removal is not a problem. 3. NUMERICAL EXAMPLE The figure 1 shows an example of the unreal maritime restricted area. It consists of eight obstacles (in the form of islands), 21 turning points and 29 edges. Each edge is described by value of the distance between two vertices. All connections are shown in the Table 1. Number of edge corresponds to the edge shown in Figure 1. Each connection is between initial node and final node. The distance between nodes describes a dimensionless measurement of the distance between the nodes. Table 1: Table of all edges Number of edges Initial vertex Final vertex Distance between the vertices 0 0 1 295 1 0 4 257 2 4 5 415 3 5 6 215 4 4 9 207 5 9 10 98 6 10 7 73 7 7 6 183 8 7 8 160 9 10 8 187 10 8 16 203 11 16 17 181 12 17 18 139 13 18 3 130 14 17 15 107 15 15 19 148 16 19 20 183 17 9 11 168 18 9 12 137 19 1 11 210 20 11 12 102 21 12 13 212 22 1 14 176 23 14 13 225 24 13 19 216 25 13 15 293 26 14 2 452 27 2 20 343 28 20 3 362 Result of the algorithm is a path with a length equal 1365. The algorithm indicated that the shortest distance between the vertex labelled 0 and 3 leading by edges: 0, 22, 23, 25, 14, 12, 13. The shortest path is presented in Table 2 and in Figure 3. Table 2: Description of shortest path Number of edges Initial vertex Final vertex Distance between the vertices 0 0 1 295 22 1 14 176 23 14 13 225 25 13 15 293 14 17 15 107 12 17 18 139 13 18 3 130 Total 1365
  • 4. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 03 Issue: 10 | Oct-2014, Available @ http://www.ijret.org 325 Fig 3: Shortest path An easy way to find another quick way from the source to the target is to modify the optimal path, found a particular method. The article proposes to remove one edge. The cycle was repeated for each edge of the optimal path. In this way calculated two other paths 1,4,5,9,10,11,12,13 and 0,22,23,24,16,28:. Detailed data are shown in the Figures and tables. Fig 4: Second path Table 3: Description of second path Number of edges Initial vertex Final vertex Distance between the vertices 1 0 4 257 4 4 9 207 5 9 10 98 9 10 8 187 10 8 16 203 11 16 17 181 12 17 18 139 13 18 3 130 Total 1402 Fig 5: Third path Table 4: Description of third path Number of edges Initial vertex Final vertex Distance between the vertices 0 0 1 295 22 1 14 176 23 14 13 225 24 13 19 216 16 19 20 183 28 20 3 362 Total 1457 For the purposes of demonstration and calculations developed computer application [6] which graphically created schema presented in the article. For middle-class computer all the calculations were done in less than 150ms. Such a short calculation time can be a prerequisite for further research into the search for alternative paths. The results require further calculations. According to the author to be in the discussion to consider not only the dimensionless values describing the edges, but also values such as time, cost, security etc. It is necessary to use the mechanism of multiple-choice decision or data fusion [4,5]. 4. CONCLUSIONS The Dijkstra algorithm is well known. It was first published half a century ago. To this day, finding connections between vertices is used. But not always the shortest path is the best. It is to consider various criteria. This paper is an introduction to further research. It has been shown that with the use of today's computers to find paths can be easy and quick. REFERENCES [1]. Bagheri H., Ghassemi H., Dehghanian A., 2014: Optimizing the Seakeeping Performance of Ship Hull Forms Using Genetic Algorithm. TransNav, the International Journal on Marine Navigation and Safety of Sea Transportation, Vol. 8, No. 1, pp. 49-57
  • 5. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 03 Issue: 10 | Oct-2014, Available @ http://www.ijret.org 326 [2]. Dijkstra, E.W., 1959: A note on two problems in connexion with graphs. Numerische Mathematik. 1, 269– 271. [3]. Fagerholt, K., Heimdal, S., Loktu, A., 2000. Shortest path in the presence of obstacles: an application to ocean shipping. Journal of the Operational Research Society 51, 683–688. [4]. Gopika, N.A., Deeoa, S. 2013. A survey on optimal route queries for road networks, International Journal of Research in Engineering and Technology, 02, 12, 447-450 [5]. Neumann T., 2008: Multisensor Data Fusion in the Decision Process on the Bridge of the Vessel. TransNav, the International Journal on Marine Navigation and Safety of Sea Transportation, Vol. 2, No. 1, pp. 85-89 [6]. Neumann T., 2011: A Simulation Environment for Modelling and Analysis of the Distribution of Shore Observatory Stations - Preliminary Results. TransNav, the International Journal on Marine Navigation and Safety of Sea Transportation, Vol. 5, No. 4, pp. 555-560 [7]. Romeroa, G., Duran, G., Marenco, J. Weintraub, A. 2013. An approach for efficient ship routing. International Transactions in Operational Research 00, 1-28