662
amountofsuchoptionsaretoolargetobetestedone
after another. A traveling salesman problem is a
routing problem associated with preferably strong
restrictions.Differentroutingproblememergeswhen
itcantogofromonepointtoanotherpointorafew
points, and choose the best track
with the at the
lowestestimatelength,periodorcostofmanyoptions
toreachthedesiredpoint.Suchacyclicroutenetwork
problem easily can be solved by job sequencing. A
networkisdefinedasaseriesofpointsornodesthat
areinterconnectedbylinks.Onewaytogo
fromone
node to another is called a path. The problem of
sequencingmayhaveputsomerestrictionsonit,such
astimeforeachjoboneachmachine,theavailability
ofresources(people,equipment,materialsandspace),
etc.insequencingproblem,theefficiencywithrespect
to a minimumbe measured
costs, maximize profits,
andtheelapsedtimeisminimized.Thegraphimage
andtheexampleofcostsofbordersaregiven inthe
figure1.Inthishypotheticalideathetractnetworkis
illustratedbyagraph.Presentedgraphisgivenwith
an ordered pair G: = (V, E) comprising
a set V of
vertices or nodes together with a set E of edges
(paths),whichconnecttwonodes.Thetaskistoreach
the N1node fromN3 node inthe graphat smallest
cost.(Neumann,2016)
2 PATHFINDINGALGORITHMS
A path finding algorithm for transit network is
proposed to
handle the special characteristics of
transitnetworkssuchascityemergencyhandlingand
drive guiding system, in where the optimal paths
have to be found. As the traffic condition among a
citychangesfromtimetotimeandthereareusuallya
huge amounts of requests occur at any moment,
it
needs to quickly find the best path. Therefore, the
efficiency of the algorithm is very important . The
algorithm takes into account the overall level of
servicesandservicescheduleonaroutetodetermine
the shortest path and transfer points. There are
several methods for pathfinding: In Dijkstraʹs
algorithm the input of the algorithm consists of a
weighted directedgraphG and asource vertexes in
Graph.Let‘sdenotethesetofallverticesinthegraph
GasV.Eachedgeofthegraphisanorderedpairof
vertices(u,v)representingaconnectionfromvertex
u
tovertexv.ThesetofalledgesisdenotedE.Weights
ofedges aregiven bya weightfunction w:E → [0,
∞]; therefore w (u, v) is the non‐negative cost of
movingfromvertexutovertexv.Thecostofanedge
canbe
thoughtofasthedistancebetweenthosetwo
vertices.Thecostofapathbetweentwoverticesisthe
sumofcostsoftheedges inthatpath.Foragivenpair
ofverticessandtinV,thealgorithmfindsthepath
fromstotwithlowestcost
(i.e.theshortestpath).It
can also be used for finding costs of shortest paths
fromasinglevertexstoallotherverticesinthegraph
(BoominathanandKanchan,2014).
An ordered pair of sets G = (V, E) where V is a
nonempty finite set and E consisting
of 2‐element
subsets of elements of V is called a graph. It is
denotedbyG=(V,E).Viscalledvertexandedgeset
respectively. The elements in V and E are called
vertices and edgesrespectively. If elements of E are
ordered pairs, then G is called
a directed graph or
digraph. The vertices between which an edge exists
are called endpoints of the edge. An edge whose
endpoints are the same is called a loop. A graph
withoutloopsiscalledasimplegraph.
2.1 Dijkstraʹsalgorithm
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.Itcanalsobeusedforfindingtheshortestcost
path from one vertex to a destination vertex by
stoppingthealgorithmisdeterminedbytheshortest
path to the destination
node. For example, if the
vertices of the graph represent the city and are the
costs ofrunning pathsedge distances betweenpairs
of cities connected directly to the road, Dijkstraʹs
algorithm can be used to find the shortest route
betweenonecityandallothercities.Asa
result,the
shortest path algorithm is widely used routing
protocols in a network, in particular the IS‐IS and
OpenShortestPathFirst.(Neumann,2014)
ShortcharacteristicofDijsktraalgorithm[2].
Theinputofthealgorithmconsistsofaweighted
directedgraphGandasourcevertexsinG
DenoteVasthesetofallverticesinthegraphG.
Each edge of the graph is an ordered pair of
vertices(u,v)
This representing a connection from vertex u to
vertexv
ThesetofalledgesisdenotedE
Weights of edges aregiven by a weight function
w:E → [0,∞)
Therefore w(u,v) is the cost of moving directly
fromvertexutovertexv
The cost of an edge can be thought of as (a
generalizationof)thedistancebetweenthosetwo
vertices
Thecostofapathbetweentwoverticesisthesum
ofcostsoftheedgesinthatpath
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.theshortestpath)
It can also be used for finding costs of shortest
pathsfromasinglevertexstoallotherverticesin
thegraph.
Figure1.Dijkstrasalgorithmontreegraph
3 FUZZYNUMBERSANDPOSSIBILITYTHEORY
Incasewhenthereisneedtomodeluncertaintythat
originatesinindistinguishability,vaguesetc.itisnot
suitable to use statistical approaches and alternative
approachesisnecessary(GhateeandHashemi,2009).