14 views

Uploaded by yuvashree

save

- 171207_whatworksseries_civicscape
- 33382_TQM-jurnal internasional.pdf
- L1.AI Introduction(Lecture 1-5) (1)
- CS093
- Data Analytics AI
- Systems.fellows06
- Artificial Intelligence
- New Overview of Artificial Intelligence
- The Cambridge Handbook of Artificial Intelligence - Keith Frankish
- Autonomous Exploration and Motion Planning for an Unmanned Aerial Vehicle Navigating Rivers
- _dea138dd95831712afcfb9d36eff6986_GraphBasedMethods
- Tayangan M4
- 102731194-Algorithm
- SCAI 2014
- Artificial Intelligence Basics and Terminology
- wybrow-gd-2005
- Manscie
- TEKNIK PRESENTASI.docx
- Cvpat Langley
- 586-Article Text-586-1-10-20080128 (1)
- BBVA OpenMind Robin Hanson Human Legacies When Robots Rule the Earth
- IJET13-05-03-087
- CPSB
- AnnotatedBibliography Final
- Chronicles of Education_Peter Diamandis
- Lecture#1-Introduction to AI
- Artificial Intelligence Technologies in Business
- Management Science
- Achieving Goals Quickly Using Real-time Search Experimental Results in Video Games
- Topostruct Help
- Sapiens: A Brief History of Humankind
- Yes Please
- The Unwinding: An Inner History of the New America
- Elon Musk: Tesla, SpaceX, and the Quest for a Fantastic Future
- Dispatches from Pluto: Lost and Found in the Mississippi Delta
- The Innovators: How a Group of Hackers, Geniuses, and Geeks Created the Digital Revolution
- John Adams
- Devil in the Grove: Thurgood Marshall, the Groveland Boys, and the Dawn of a New America
- This Changes Everything: Capitalism vs. The Climate
- Grand Pursuit: The Story of Economic Genius
- A Heartbreaking Work Of Staggering Genius: A Memoir Based on a True Story
- The Emperor of All Maladies: A Biography of Cancer
- The Prize: The Epic Quest for Oil, Money & Power
- Team of Rivals: The Political Genius of Abraham Lincoln
- The New Confessions of an Economic Hit Man
- The World Is Flat 3.0: A Brief History of the Twenty-first Century
- Rise of ISIS: A Threat We Can't Ignore
- The Hard Thing About Hard Things: Building a Business When There Are No Easy Answers
- Smart People Should Build Things: How to Restore Our Culture of Achievement, Build a Path for Entrepreneurs, and Create New Jobs in America
- How To Win Friends and Influence People
- Steve Jobs
- Angela's Ashes: A Memoir
- Bad Feminist: Essays
- The Light Between Oceans: A Novel
- The Silver Linings Playbook: A Novel
- Leaving Berlin: A Novel
- Extremely Loud and Incredibly Close: A Novel
- The Sympathizer: A Novel (Pulitzer Prize for Fiction)
- You Too Can Have a Body Like Mine: A Novel
- The Incarnations: A Novel
- Life of Pi
- The Love Affairs of Nathaniel P.: A Novel
- A Man Called Ove: A Novel
- The Master
- Bel Canto
- The Blazing World: A Novel
- The Rosie Project: A Novel
- The First Bad Man: A Novel
- We Are Not Ourselves: A Novel
- The Flamethrowers: A Novel
- Brooklyn: A Novel
- Wolf Hall: A Novel
- The Art of Racing in the Rain: A Novel
- The Wallcreeper
- Interpreter of Maladies
- The Kitchen House: A Novel
- Beautiful Ruins: A Novel
- Lovers at the Chameleon Club, Paris 1932: A Novel
- The Bonfire of the Vanities: A Novel
- The Perks of Being a Wallflower
- A Prayer for Owen Meany: A Novel
- The Cider House Rules
- Ordinary Grace: A Novel

You are on page 1of 4

Volume 2, Issue 11, July-2015

ISSN (Online): 2347 - 4718

**SHORTEST PATH TO OBJECT FOR REAL TIME SYSTEM USING
**

ARTIFICIAL INTELLIGENCE & FUZZY LOGIC

Anjeev Kumar Singh1, Dr. Pawan Kr. Choudhary2

Research Scholar, Dr. B.R.A, Bihar University, Muzaffarpur

2

Guide, Dept. Of Mathematics, Dr. J.M. College, Muzaffarpur

1

**ABSTRACT: To find the shortest distance always suffers
**

struggle and more complexity rather than simple and easy

path. Here we are finding the position & shortest path to an

object from image taken from camera or any visual sensing

device by making use of fuzzy logic & Artificial

Intelligence. First we take image of the desired area then

take out the desired place where we want to reach as quick

and by proper way. By Artificial Intelligence we can find

the best way out of all possible good ways to reach. Shortest

path not always depends upon the shortest path it may lead

the rush, large number of traffic signals, worst condition of

road which may cause for delay . So we take all into

account to make our modify model for shortest path. Here

our model provides the user with more than one way/path to

go to the destination.

Key Word: Shortest Path, AI, Fuzzy Logic, Grid Algorithm

I. INTRODUCTION

Position tracking system is to find the shortest path by means

to save time. Earlier model give the shortest path on the basis

of shortest distance, it does not include the time factor where

our model include the factors that affect the time to reach the

destination earlier than the previous shortest path. Here, we

are making use of AI & Fuzzy-Logic to track the position to

the object & then finding the shortest path from source to

destination. Shortest path is the best path to reach from

source to destination & it will make use of AI that helps in

decision making power.

A. FUZZY LOGIC:

Fuzzy logic expert systems often improve performance by

allowing knowledge to generalize without requiring the

knowledge engineer to anticipate all possible situations.

Thus, for many types of applications, “soft computing” such

as Fuzzy logic can incur lower overhead in terms of

representing and engineering task knowledge. My project

uses the application of fuzzy expert systems to position

tracking.

B. ARTIFICIAL INTELLIGENCE:

Artificial intelligence (AI) is the intelligence exhibited by

machines or software, and the branch of computer science

that develops machines and software with human-like

intelligence. The use of AI research includes reasoning,

knowledge, planning, learning, communication, perception

and the ability to move and manipulate objects. General

intelligence is still among the field's long term goals. There

are an enormous number of tools used in AI, including

www.ijtre.com

**versions of search and mathematical optimization, logic,
**

methods based on probability and economics, and many

others.

II. BACKGROUND

Previous research showed that there are various other

algorithms being used to find the shortest distance such as

Bellman Ford in 1957 gave the Bellman Ford algorithm that

solves the single source problem if edges weights may be

negative. Dijkstra’s in 1959 gave the Dijkstra’s algorithm

that solves the single source shortest path problems. Roy–

Warshall and Robert Floyd in 1962 gave the Floyd-Warshall

algorithms that solves all pair shortest path. Andrew Viterbi

in 1967 gave the Viterbi algorithm that solves the shortest

stochastic problem with an additional probabilistic weight on

each node. Peter Hart , Nils Nilssons and Bertram Raphael in

1968 gave the A* search algorithm that solves for single

pair shortest path using heuristic to try to speed up the

search. Donald B. Johnson in 1977 gave the Johnson’s

algorithm that solves all pair shortest path and may be faster

than Floyd-Warshall on sparse graphs. Dijkstra’s algorithm

is one of the best algorithms that is being used. All the above

previous researches discussed on the shortest path algorithms

are purely based on the distance factor. Previous research

showed that Fuzzy Logic can be used to track the motion of a

brightly colored object against a dark background, with

relatively low development and run-time costs.

III. CORE CONCEPT

Position Tracking System to find shortest path to object

focuses to track the position to object and then find the

shortest path to objects from source to destination where,

the shortest path problem is the problem of finding the best

path between two objects.

We are using grid value algorithms which is as follow:

Inputs: (#) Size of the NxN Grid. (N); (#) No. of Paths:

Z; (#) Source and Destination Coordinates of each of the

individual Z paths.

Given: (#) Each path comprises of the cells which are

ADJACENT to each other and NOT diagonal. (#) Time

taken to cross each cell is EQUAL and is an unit

time. (#) Travelling starts from the respective source

coordinates

of

each

path

in

the

grid

SIMULTANEOUSLY. (#) Paths may intersect, BUT after

say 'x'th unit time no two paths must intersect in one

particular cell at a time. If such case arises, then one of the

Copyright 2015.All rights reserved.

2534

tolerance for difference in successive function values MaxIter . So we take all into account to make our modify model for shortest path. And this has to be implemented for Z no.no.array of number of divisions for each range MinDeltaX .array of higher values NumDiv . The multi-dimensional grid has a centroid which locates the optimum point. going to their respective destinations Y and Z such that they should take the SHORTEST possible path. rush which affects the shortest path in time domain B. AND after 'x'th unit time. say X to Y and W to Z. shortest possible path. where N = number of lines and M = number of columns.] For position tracking we provide Grid value of both source and destination and finding it coordinate and match its referential points. no. I think this is the easiest algorithm to implement on grids. one of the path needs to be bypassed towards its destination keeping in mind without clash. A. Issue 11. The grid is defined by a multiple dimensions. worst condition of road which may cause for delay [7]. and you start from S and must go to D. July-2015 paths need to bypass into a new path taking alternate adjacent cell just before the clashing cell. in the end you'll get: S 1 2 3 * * 3 * * 5 4 * 7 6 * * * 7 8 9 So the distance from S to D is 9. REAL TIME INFORMATION MODEL FOR SHORTEST PATH Real Time information model with grid algorithm is the proposed Algorithm for shortest path problem. of traffic signals and highway dimension in real time to enhance our above algorithm so that the user can find the destination in the short time.com ISSN (Online): 2347 . where a * = obstacle and you can move up. Here our model provides the user with more than one way/path to go to the destination.maximum number of iterations myFx .. the method local a node (point of intersection) with the least function value. In each pass. large number of traffic signals.ijtre.name of the optimized function The function generates the following output: X . both X and W start simultaneously from their respective source coordinates. This node becomes the new centroid and builds a smaller grid around it. [Say there are two paths (Z=2). In this we include various factors like jamming. of paths which are SHORTEST possible without clash. We are adding various factors such as jamming.array of lower values XHi . By Artificial Intelligence we can find the best way out of all possible good ways to reach. Shortest path not always depends upon the shortest path it may lead the rush. Each dimension has a range of values. left and right. PROPOSED WORK To find the shortest distance always suffers struggle and more complexity rather than simple and easy path.array of optimized variables Copyright 2015. It should be faster than a classical dijkstra. A* Algorithm for Real time system Construct grid. While travelling. damage of road . and 0 = free position: S 0 0 0 * * 0 * * 0 0 * 0 0 * * * 0 0 D www. and it's also very efficient in practice. they must not CLASH (when both the paths have traveled exactly (x-1) no.array of minimum ranges Eps_Fx . Each range is divided into a set of equal-value intervals. then "expand" it: S 1 0 0 * * 0 * * 0 0 * 0 0 * * * 0 0 D Then expand all of its neighbours: S 1 2 0 * * 0 * * 0 0 * 0 0 * * * 0 0 D And all of those neighbours' neighbours: S 1 2 3 * * 3 * * 0 0 * 0 0 * * * 0 0 D And so on. This method performs a multi-dimensional grid search. 2535 . The following program calculates the minimum point of a multi-variable function using the grid search method.All rights reserved.4718 You put S in your queue. Output: Z no.Number of variables XLo . Successive passes end up shrinking the multidimensional grid around the optimum. The running time is O(NM).International Journal For Technological Research In Engineering Volume 2. damage of roads. we provide real time information to shortest path algorithm. of cells and clashing into the 'x'th cell) into one single cell. of traffic signals. Here we are finding the position & shortest path to an object from image taken from camera or any visual sensing device by making use of fuzzy logic & Artificial Intelligence [8]. The function parameters: Grid_Search has the following input N . The search involves multiple passes. IV. down. In this algorithm. First we take image of the desired area then take out the desired place where we want to reach as quick and by proper way [6]. If that happens. of lines starting simultaneously in the grid.

XBest = X. The search for the optimum 2 variables has the search range of [-10 -10] and [10 10] with a divisions vector of [4 5] and a minimum range vector of [1e-5 1e-5]. 1e-7. Time taken to cross each cell is EQUAL and is an unit time. if BestF >= 0 LastBestF = BestF + 100. myFx) % Function performs multivariate optimization using the % grid search. BestF = F.Iters]=Grid_Search(N.0000 Iters = 200 Notice how close the located optimum is to the actual one [-2 5]. [1e-5 1e-5]./ NumDiv. N). end X = XLo./ NumDiv.LastBestF) > Eps_Fx) && (Iters <= MaxIter) bGoOn2 = 1. Issue 11. XBest = Xcenter.4718 while (bGoOn > 0) && (abs(BestF .* NumDiv / 2. N) y = 10 + (X(1) . [4 4]. The above function resides in file fx1.0001 -5. XHi.array of minimum search values for each variable % Eps_Fx .ijtre. DeltaX = (XHi .array of number of divisions along each dimension % MinDeltaX . X.number of iterations Here is a sample session to find the optimum for the following function: ISSN (Online): 2347 .2)^2 + (X(2) + 5)^2 Iters = Iters + 1. MinDeltaX.name of the optimized function % Output % XBest . The search employs a maximum of 10000 iterations and a function tolerance of 1e->> [XBest. for i=1:N if DeltaX(i) > MinDeltaX(i) bGoOn = 1.All rights reserved.maximum number of iterations % myFx . break end end end while bGoOn2 > 0 XCenter = XBest.. % Input % N . [10 10].com F = feval(myFx.Function value at optimum Iters . X = XLo.tolerance for difference in successive function values % MaxIter . 10000. % set initial X bGoOn = 0.number of variables % XLo . July-2015 BestF .BestF.BestF.XLo) .* NumDiv / 2. DeltaX = DeltaX . while bGoOn2 > 0 y = 10 + (X(1) . else bGoOn2 = 0. NumDiv. bGoOn = 1. XBest.array of lower values % XHi .Iters]= Grid_Search(2. End The next For loop implements a programming trick that simulated nested loops using just one For loop search next grid node for i = 1:N if X(i) >= XHi(i) if i < N X(i) = XLo(i). MaxIter. 2536 .function value at optimum % Iters . MATHEMATICAL ANALYSIS OF PROPOSED ALGORITHM Integrate the real time model to the Grid algorithm Inputs: Size of the Grid (N).array of optimized variables % BestF . end function [XBest.0000 BestF =10. XLo = XCenter . of Paths: Z. of paths which are SHORTEST possible Copyright 2015. Source and Destination Coordinates of each of the individual Z paths Given: Each path comprises of the cells which are ADJACENT to each other and NOT diagonal. break end else X(i) = X(i) + DeltaX(i). BestF = feval(myFx.DeltaX . end end end while bGoOn > 0 && () && () C.m. [-10 -10]. if F < BestF LastBestF = BestF. XHi = XCenter + DeltaX . % initial search value Iters = 0. N).2)^2 + (X(2) + 5)^2. 'fx1') XBest =2.number of iterations Xcenter = (XHi + XLo) / 2.array of higher values % NumDiv . else LastBestF = 100 . Eps_Fx. XLo. Output: Z no. No. www. Here is the MATLAB listing: Function y=fx1(X.BestF.International Journal For Technological Research In Engineering Volume 2.

This enhancement brings us more closer to real situations. and Provably Efficient Algorithms by Ittai Abraham . [5] Interpretation of Complex Situations in a SemanticBased Surveillance Framework. REFERENCES [1] Fuzzy Air-Fuel Ratio Control by S. Carles Fern´andez a. D Zalfidar and R Rojas in 2004 [3] Using Fuzzy-Logic with radio frequency. CONCLUSION This inclusion give us more dynamic model and these real time situation provides it a best model for future. 2004 [8] Image Acquisition Toolbox Product Description 2014 [9] Learning and Application for Time-Series Prediction Peter Y.International Journal For Technological Research In Engineering Volume 2. [14] Highway Dimension.Howlett & S. Patrick Rodjito [19] Probabilistic Path Queries in Road Networks .Walters 2004 [2] Fuzzy condensed algorithm applied to control a robotic head for visual tracking by E V Cuevas. Amos Fiat [15] Shortest Path Algorithm lecturer notes of mit. Issue 11. July-2015 without clash. Fuzzy Logic.ijtre. and Uwe Franke Daimler Research. We get the shortest path in real time information model that is more suitable for user. Shruthi Reddy Sarikonda . and Fuzzy Control Systems . Ming Hua. So real life implication of this model give us more real parameter to the world and real time scenario for path travelling. 2008 [7] Fuzzy Logic Based-Map Matching Algorithm S Syed and M E Cannon . Jordi Gonz`alez in 2008 [6] Artificial Intelligence Approach of Optimal Route Selection in Telematics.4718 K. August 2010 [4] Dense. Sindelfingen 2012.J. 2006 [11] “Shortest paths in a weighted digraph” Edger Dijkstra [12] “Shortest paths on planner network in time from www. Z(t) is time domain for AI Ź(t) = Mean( z) . Vijaya Ramachandran and Srinath Sridhar [17] Introduction to Fuzzy Sets.Trung Tat [18] Position tracking and motion prediction using Fuzzy Logic . 2002 [10] Fuzzy interpolation reasoning via scale And move transformations Z H Huang & Q. Gaurong chen. Qun Song & Nikola Kasabov. ADVANTAGES OF NEW ALGORITHM: New algorithm including every factor that we face in our daily life. V. 2537 .com Copyright 2015. Andreas Wedel.Clemens Rabe . and Accurate Motion Field Estimation.Mahlhorn.All rights reserved.edu/opensource [16] Experimental Evaluation of a new Shortest Path Algorithm Seth Pettie.C Hwang . HOW SHORTEST PATH CALCULATION PROCESSED BY REAL TIME INFORMATION MODEL Shortest path is being calculated by Grid Algorithm. Pau Baiget a.D. ISSN (Online): 2347 . Xavier Roca a.Lee. Ź(t+δt)= Ź(t)+R-1(Z)*▼z* z(t+ δt) D. Robust. [13] Dijkstra’s Shortest Path Algorithm. Jian Pei VI. This save tim e for travelers.Shen . It also give the position of origin and destination. Thomas M¨uller. R. Shortest Paths.H. It give user more ways to choose and provide shortest path in term of very less time as compare to previous model. After that we include the factors that affects the shortest path.

- 171207_whatworksseries_civicscapeUploaded byCourtney Camp
- 33382_TQM-jurnal internasional.pdfUploaded byAwsa'ul Mufid
- L1.AI Introduction(Lecture 1-5) (1)Uploaded byYash Dixit
- CS093Uploaded byMiguel Angel Mamani Chahuara
- Data Analytics AIUploaded byvikalp shri
- Systems.fellows06Uploaded byWahyu Wiratama
- Artificial IntelligenceUploaded byArun Vs
- New Overview of Artificial IntelligenceUploaded bys73a1th
- The Cambridge Handbook of Artificial Intelligence - Keith FrankishUploaded byRastate
- Autonomous Exploration and Motion Planning for an Unmanned Aerial Vehicle Navigating RiversUploaded byPaul Diaz
- _dea138dd95831712afcfb9d36eff6986_GraphBasedMethodsUploaded bydrla4
- Tayangan M4Uploaded byDonny Az
- 102731194-AlgorithmUploaded byZakaria Sutomo
- SCAI 2014Uploaded byCS & IT
- Artificial Intelligence Basics and TerminologyUploaded byEditor IJTSRD
- wybrow-gd-2005Uploaded bynfkb001
- ManscieUploaded byTrixie Garcia
- TEKNIK PRESENTASI.docxUploaded byJason Jeremy
- Cvpat LangleyUploaded byVinayak Kumar
- 586-Article Text-586-1-10-20080128 (1)Uploaded byjoker smile
- BBVA OpenMind Robin Hanson Human Legacies When Robots Rule the EarthUploaded byAdedimita Simanjuntak
- IJET13-05-03-087Uploaded byRio Noval
- CPSBUploaded byNishanth Mehanathan
- AnnotatedBibliography FinalUploaded byaileen b
- Chronicles of Education_Peter DiamandisUploaded bygambito2000
- Lecture#1-Introduction to AIUploaded byDana Howell
- Artificial Intelligence Technologies in BusinessUploaded byBhim Clyde Bacud
- Management ScienceUploaded byHaseeb Ahmed
- Achieving Goals Quickly Using Real-time Search Experimental Results in Video GamesUploaded byMuhammad Aldi Perdana Putra
- Topostruct HelpUploaded byGabi Celani