<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vladimir Byko-Ianko on Medium]]></title>
        <description><![CDATA[Stories by Vladimir Byko-Ianko on Medium]]></description>
        <link>https://medium.com/@bykoianko?source=rss-16241933f4d9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Doz38BVIKU29Qsbj55UrAA.jpeg</url>
            <title>Stories by Vladimir Byko-Ianko on Medium</title>
            <link>https://medium.com/@bykoianko?source=rss-16241933f4d9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 22:03:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bykoianko/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Implementing Bidirectional A* Algorithm on Two Threads]]></title>
            <link>https://medium.com/@bykoianko/implementing-bidirectional-a-algorithm-on-two-threads-9e5479e07eed?source=rss-16241933f4d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e5479e07eed</guid>
            <dc:creator><![CDATA[Vladimir Byko-Ianko]]></dc:creator>
            <pubDate>Sun, 07 Jul 2024 14:25:17 GMT</pubDate>
            <atom:updated>2024-07-07T14:25:17.867Z</atom:updated>
            <content:encoded><![CDATA[<p><em>By: </em><a href="https://www.linkedin.com/in/bykoianko/"><em>Vladimir Byko-Ianko</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y7JbT8bj0qYcYPAHHGmYcw.jpeg" /></figure><p><em>Optimization of bidirectional A* algorithm; accelerating creation of the shortest path by parallelization of the algorithm and utilizing two CPU cores.</em></p><p><strong>Abstract</strong>:</p><p>Varied programmer’s sources present a number of articles on optimization methods for finding the shortest path on a graph. Indeed, the problem of finding the shortest path swiftly and accurately is nontrivial for a large mass of graph data. Resolving this problem becomes critical for navigation applications on mobile devices where data are disk-resident.</p><p>The following article describes an efficient solution for this problem; parallelization of bidirectional A* algorithm and executing it in two threads led to significant reduction of the shortest path calculation time. The test results demonstrating the efficacy of the approach are provided at the end of the article. The article also elaborates on challenges faced in implementation, and the ways they were dealt with.</p><p><strong>Some background</strong></p><p>Let’s step aside for a brief overview; the readers well-versed with the subject may wish to skip this part.</p><p>Looking at relevant existing algorithms we could summarize a few points:</p><p>Two contrasting approaches could be observed:</p><p>- the algorithms that do not require an index to be generated (Dijkstra’s, A*, and alike).</p><p>- the algorithms requiring a sizable index to be generated from the graph before the route computing commences. Here — the ‘index’ is a graph-generated dataset later utilized by a shortest path algorithm.</p><p>The most extreme approach from the second group would be to compute and store (as a hash table — for example) the vast multitude of the shortest paths connecting every edge of a graph to all other edges of the same graph. Such an approach requires a very large index. In this case, routes are computed in constant time on average, more specifically, time period required for the search through a vast hash table. The keys for this search are all possible pairs of edges compiled for the entire graph.</p><p>Contraction Hierarchies is a good example of an algorithm that successfully married the two contrasting approaches, notably:</p><p>- it has index that computed on the basis of a graph</p><p>- index is much smaller than all the shortest paths possible, but is nevertheless of a substantial size</p><p>- routes are computed using both the road graph and the index.</p><p>All in all, Contraction Hierarchies has a relatively small index and high computing speed.</p><p><strong>Reasons for this development</strong></p><p>At the end of 2016 working for Maps.me vehicle-navigation project we faced a series of additional requirements. The major requirement was to support navigation routing while taking into consideration random traffic jams, bypassing ferries, hi-ways or unpaved roads as per user’s preferences. A shortest-path algorithm on a directed graph with dynamically changing edge weights appeared to be the optimal choice that enabled us to satisfy these requirements.</p><p>Before these requirements emerged and our navigation applications didn’t have such functionality, for mobile platforms we had been adopting Contraction Hierarchies from OSRM library. The index occupied 15–25% of the total data size stored in the map<em>.</em> For all maps of the world the index was taking a few gigabytes.</p><p>At the beginning of our development, we came to four important realizations and hence established four guiding principles which we followed throughout the project, namely:</p><p>1. It is advantageous to use a directed graph without negative edge weights as the major tool.</p><p>2. To satisfy additional requirements like traffic jams, the weight of edges should change very frequently which would result in continuous re-indexing. That is why we have no possibility to use an index-based shortest path algorithm like Contraction Hierarchies whereas an algorithm without index is more suitable.</p><p>3. The main focus is to minimize computing time for the shortest path.</p><p>4. We are allowed to dedicate two CPU cores for shortest path computing.</p><p>For the Maps.me project we have decided to use the A* algorithm and yet, optimize it to fulfill the specific needs of the development. In the following chapters, we will be discussing how A* algorithm evolving towards its robust and effective modification.</p><p><strong>Classic A* algorithm — advantages over Dijkstra’s algorithm</strong></p><p>A* is an algorithm for finding the shortest path. It works with a directed-weight-graph with edges which have non-negative weight. Essentially, it is a further development of the well-known Dijkstra’s algorithm. Here are the main differences:</p><p>- Dijkstra’s algorithm searches for all the nearest non-visited vertices in the vicinity of the start. Once the nearest vertices get visited, the algorithm proceeds further away from the start. Eventually the wave of visited vertices is spreading in all directions until it reaches the finish.</p><p>- A* algorithm firstly considers the location of the finish and then scans predominantly the vertices of the graph laying in the general direction towards the finish. This method plainly allows visiting fewer vertices while searching for the shortest path to the finish.</p><p>For example, on a 53 km-long route laid in France the multitude of vertices which had to be visited with Dijkstra’s was 341,177 and this was almost four times the number of vertices visited with A* — 90,803:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TFSIeuPtaegBC1a0k0uUOQ.png" /><figcaption>Figure 1. Dijkstra’s algorithm.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FOGNI0kZ4kRreNafrY4F6A.png" /><figcaption>Figure 2. Classic A* algorithm.</figcaption></figure><p><strong>Bidirectional A* algorithm</strong></p><p>With classic A*, the wave of visited vertices goes only one way, namely from the starting vertex to the goal vertex. Yet, a similar wave can be run from the goal vertex back to the starting vertex. Hence, we get bidirectional A* where the two waves are moving in opposite directions. Bidirectional A* works much faster because it should visit significantly fewer vertices (on average) than Classic A* in order to find the shortest route. However, this progressive version of the algorithm requires four additional arrangements, namely: two branches for two waves, testing procedure, calls to data outside the graph, and stopping criterion. Let’s discuss these requirements in details:</p><p><strong><em>1. Two branches for two waves</em></strong></p><p>To roll the forward wave (from start to finish), the algorithm should be conducting a step-by-step search for outgoing edges with the aim to open every successive vertex. Within the backward wave the algorithm should look for the edges connecting back to the vertices; search for so-called ‘incoming’ edges. Hence, the algorithm should have two symmetrical branches facilitating the two opposite waves respectively.</p><p><strong><em>2. Testing Procedure</em></strong></p><p>It is necessary to arrange continual testing for the functions aimed at returning incoming and outgoing edges since reliability of these operations is imperative. To illustrate how such a test would work, let us consider an intentionally-simplified directed graph with three vertices and four edges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9wk8sa259IjOt3TM3h4CEw.png" /><figcaption>Figure 3. Simplified directed graph.</figcaption></figure><p>In this case the test should work in the following order:</p><p>2.1. Get outgoing edges for vertex A: AC and AB.</p><p>2.2. Get edges coming into vertices C and B.</p><p>2.3. AC and BC are incoming edges for vertex C. Make sure that among edges coming into C there is an edge going out of A which is AC.</p><p>2.4. AB is the incoming edge for vertex B. In our particular example only AB comes into B, which is the edge sought. However, if vertex B has multiple incoming edges, it should be ensured that there is an edge going out of A among those coming into B.</p><p>The testing becomes especially important when the certainty of returning incoming and outgoing edges could be threatened by numerous additional factors. In every real case of a road-network graph one could observe these additional factors: turn restrictions, construction barriers, and temporary obstacles alike.</p><p><strong><em>3. Resource-consuming calls</em></strong></p><p>At this stage we were running the bidirectional version of A* algorithm; although implementing it in one CPU thread. Because of such limitation, the vertices must be visited in a succession within the forward wave and then in another succession within the backward wave. Switching from one wave to another takes substantial time and computer resources. The issue of consumed resources will persist when we progress to a two-thread version of bidirectional A*, and hence, it deserves a more detailed discussion.</p><p>The major time consumers within each wave cycle are the calls to different data structures kept either on a hard drive or on a mobile device; such calls could be of two kinds:</p><p>- Calls to the massive road graph containing all vertices and edges,</p><p>- Calls to the additional data structures augmenting the graph. One structure stores elevation of every engaged vertex above the sea level that may affect weights of edges connecting the vertices (for bikers and walkers), second — keeps anchors for prompt downloading the regions and countries through which the waves are moving and so on. Also, in the case of Maps.Me project we also have some other explicit and implicit calls.</p><p>With A* running, there is a high probability that we will access the properties of each vertex more than once. If so, it makes sense to cache them. Moreover, since the data for the same vertex have to be of a different nature, several caches may be needed to store each type separately. Also, it is highly desirable to arrange at least the main caches separately for each wave. Such an arrangement is especially important, if you need to calculate the route on a mobile device and hence there is no way to substantially increase the size of caches.</p><p>If we choose to make not very large caches which will be used by two waves, we should assume that any wave will be clearing these caches from the elements that have been just utilized by the previous and opposite wave, and vice versa. If the caches are common to two consecutive waves, then each time the waves are switched, they will be updated.</p><p>The problem arises while implementing bidirectional A* in one thread. In this case implementation of two caches may be unreasonably resource-consuming. Yet, in the case of a two-threaded implementation of bidirectional A*, each wave has to have its own caches to avoid synchronization of the cache access.</p><p><strong><em>4. Stopping criterion</em></strong></p><p>The criterion for stopping the algorithm is somewhat more complicated than that in the case of one-way A*. The first contact vertex between the forward and backward waves may not necessarily be at the point where the two sections of the optimal route connect; in this case calculations need to be continued further to achieve the optimal route. On the other hand, if the waves have already crossed, finding the optimal route is a relatively easy task. If we average the outcomes of these two scenarios, the number of visited vertices in bidirectional A* will be significantly less than that of a classic A*. As an example — here is the route we are already familiar with; first case — built by classic A* and second — by bidirectional A*:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FOGNI0kZ4kRreNafrY4F6A.png" /><figcaption>Figure 4. Classic A* algorithm. Visited 90,803 graph vertices.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zlch97rYGPc4DUW8YPvhJg.png" /><figcaption>Figure 5. Bidirectional A* algorithm. Visited 32,589 graph vertices.</figcaption></figure><p><strong>Bidirectional A* algorithm on two threads</strong></p><p>After this rather lengthy introduction we finally came to the most interesting part of our discussion.</p><p>Forward and backward waves may be calculated almost independently until they converge. Thus, if we have a CPU with two or more cores, we can significantly speed up the optimal route building.</p><p>I believe, at this point it would be appropriate to make a few explanatory notes:</p><p><strong><em>Note 1 — Synchronization</em></strong><em> </em><strong><em>for a mobile device</em></strong></p><p>A graph could be loaded entirely into the memory only if it is relatively small. Let’s consider this ‘small graph’ scenario for a start. Then data needed for routing (incoming and outgoing edges and items alike) would be read without modification of the supporting structures that were aimed for processing the graph. Therefore, we could load the graph into the memory, and immediately start both waves of the bidirectional algorithm on two threads, while continually requesting data from the graph without any synchronization i.e., just direct reading.</p><p>Unfortunately, this effective and relatively simple method cannot be realized successfully if we use a mobile device to create a long route stretching across multiple countries — such a graph simply would not fit the device’s memory. To resolve this debacle we should load map data portion by portion while the routing is progressing; notably when the waves are about to reach the next portion to be loaded<em> </em>— its loading should be commenced. Obviously for such frequent and timely loading we need synchronization and fortunately it is feasible to arrange without demanding much resources.</p><p><strong><em>Note 2 — Two threads require two caches</em></strong></p><p>As it was noted above, it would be desirable to arrange separate caches for the forward and backward waves for smooth implementation of the bidirectional A* on one thread. However, for the similar implementation on two threads such arrangement of caches becomes strictly mandatory. These caches store data that are required quite frequently and, as a likely result, their synchronization would impede the progress significantly. Moreover, elements of one wave would be displacing the elements of another wave hence increasing the risk of a cache miss. That is why we always need to run two separate caches for two consecutive waves — one for the forward wave and another — for the backward wave. I was describing these cache arrangements in more detail in the above chapter for one thread implementation of bidirectional A*.</p><p><strong><em>Note 3 — Intersection of two opposing waves</em></strong></p><p>When two waves are spreading towards each other in the same graph, there must be a location where the waves intersect. Bidirectional A* algorithm should include a checking procedure aimed at finding the vertex where the intersection has occurred. While any vertex is being visited by the current wave, the procedure compares this vertex with all the vertices visited by the opposite wave. When a couple of coincident vertices is found, the spreading of the waves is stopped and the next part of the algorithm commences (as described further). Since each wave is working on its own thread, the algorithm should include a synchronization object for this procedure. It is evident from experiences that a mutex is sufficient to facilitate this synchronization.</p><p>On the first glance this checking procedure might undermine the efficacy of the algorithm since in a realistic graph the vertices are counted in millions. Yet, conducted tests have shown that in actuality the introduction of such a synchronization object does not affect the efficacy in a critical way.</p><p><strong>Final procedure of the algorithm</strong></p><p>Trying to keep this article relatively short, I was refraining from a detailed description of the algorithms’ work. Yet I should stop on one important aspect of bidirectional A* implementation. As I noted above, the location where forward and backward consecutive waves have intersected may not necessarily be a point lying on the shortest route. It is true that, following the algorithm, the shortest routes are determined from the start to the point of intersection and from the last to the finish. However, the shortest route from start to finish may bypass the point of intersection. Let’s consider the following oriented graph as a simplified example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xdk8GjbSWo-w7taM24AjJQ.png" /><figcaption>Figure 6. Oriented graph to demonstrate the final procedure of the bidirectional A* algorithm.</figcaption></figure><p>The route search from point S to point F is being done by a bidirectional A*. Numbers here designate the weights of edges and letters — the vertices. After the first step of the forward wave (from the start) and the backward wave (from the finish) the graph looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BYOXQiIC6G7x_2-jRCs8NQ.png" /><figcaption>Figure 7. Bidirectional A* algorithm. First step.</figcaption></figure><p>The darker color designates visited vertices, namely the vertices for which the algorithm has found the shortest route. We can detect two multitudes of edges: one — the edges used to get by the shortest route from the start to the given vertex, and another — for the shortest route from the given vertex to the finish. The total weight of edges for each multitude is denoted under a vertex in the picture. After both forward and backward waves pass one more step the picture looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KQT8EtxqgBjym3jp75nj5A.png" /><figcaption>Figure 8. Bidirectional A* algorithm. Second step.</figcaption></figure><p>And after the third step we see the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PPeAzrJ1oOllfDGHeOpY8g.png" /><figcaption>Figure 9. Bidirectional A* algorithm. Third step and wave intersection.</figcaption></figure><p>At this moment forward and backward waves intersect in vertex L, i.e. this vertex is visited by both waves. This is the moment when the spreading of two waves toward each other should be stopped. However, the shortest route from S to F is not composed of S-L and L-F, hence route S-K-L-M-F is not the shortest and its weight is equal to 8. It is easy to visualize here that the shortest route would be S-K-M-F with the weight of 7 (bypassing vertex L).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Se9HVlieNWCPUUFsw7TnDg.png" /><figcaption>Figure 10. Bidirectional A* algorithm. The shortest route would be S-K-M-F (bypassing vertex L).</figcaption></figure><p>This simplified example has demonstrated that the criterion for stopping bidirectional A* is more complex than that for the classic A* algorithm. Added at the end of the algorithm this complexity is aimed at stopping waves in the right moment and obtaining the shortest route. Let’s discuss it in details:</p><p>1. The forward wave is passing from start <em>(S)</em> to toward the finish <em>(F)</em> while the backward wave — from finish toward the start until the forward wave opens a vertex which has been visited already by the backward wave (or vice versa). In a nutshell, two waves are spreading toward each other till they intersect.</p><p>2. When such a vertex is found by the algorithm <em>(vertex L in our example)</em>, and hence the intersection event is detected for the first time, the algorithm stops further spreading of the waves. At the same moment the algorithm initiates the shortest route procedure described and illustrated in the next paragraph <em>(3)</em>.</p><p>3. At the moment of intersection we can observe two sets of vertices:</p><p>first set — vertices visited by the forward wave <em>(A)</em>,<br>second set — vertices visited by the backward wave <em>(B)</em>.</p><p>The vertices have been visited by either wave, therefore we should have available the shortest routes to each vertex and the corresponding weights. For simplicity let’s call ‘optimal’ those routes whose total weight (i.e. the time periods required) is minimal.</p><p>Let’s consider two sets of these optimal routes:</p><p>- routes from the start S to every vertex of the set A<em> (vertices K and L in the example)</em>,</p><p>- routes from the every vertex of the set B to the finish F <em>(vertices L and M in the example)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XHUFzxHwoXbvCd8Lrxqvmg.png" /><figcaption>Figure 11. Bidirectional A* algorithm. Wave intersection and final procedure.</figcaption></figure><p>3.1 Among vertices of set A we can observe some vertices that are connected by one<em> (and only one)</em> edge with vertices of set B. Routes from start to finish passing through such vertices and through the single edge are the subject of interest (potentially optimal routes)</p><p>3.2 For every route described in (3.1) let’s summate the weights of three items noted as <em>Wa</em>, <em>We</em>, and <em>Wb</em>:</p><p><em>Wa</em> — the path (chain of edges)<em> </em>from start S to vertices visited by forward wave (vertices K and L in our example),</p><p><em>We</em> — the single edge noted in <em>3.1</em>. <em>(either KL, or KM, or LM in our example)</em></p><p><em>Wb</em> — the path<em> </em>(chain of edges)<em> </em>from vertices visited by backward wave (<em>L and M in our example) </em>to finish F<em>,</em></p><p>Lastly, compare the resulting values aiming to find the minimum.</p><p>It has been proven that the Wa+We+Wb triplet with the minimal weight value is the most optimal route sought by the algorithm. A formal proof is going to be provided in details with the next article.</p><p>To illustrate this principle let’s return to our example depicted with figures 6 to 10. The route passing via vertex L, will be processed among all other possible routes. After forward and backward waves intersect the algorithm should consider the following routes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*13ai5-B5REPxjDJL0yUEpg.png" /><figcaption>Figure 12. Bidirectional A* algorithm. The shortest route candidates.</figcaption></figure><p>After steps 3.1 and 3.2 the route selected will be the shortest (lightest) one — SKMF.</p><p><strong>Correctness of bidirectional A* on two threads</strong></p><p>The implemented optimization significantly modifies the classic A* algorithm. This new approach differs from the known version of a bidirectional A* where vertices are visited one at a time from each side.</p><p>To validate such modifications it is imperative to prove that performance correctness is not undermined in any way. Otherwise, one should accept that the proposed algorithm may not be perfectly accurate and hence follow a heuristic approach.</p><p>It could be proven formally that after the implemented modifications the algorithm retains its correctness. The proof of correctness should consider the entire spectrum of possible algorithm branches and outcomes. For example, all necessary work could be done by either a forward or a backward wave. Another, more probable scenario to be considered — the opposing waves may cross somewhere in the middle. Number of vertices visited by either a forward or a backward wave depends on the CPU time dedicated for each thread.</p><p>A Coursera course “Algorithms on Graphs” contains a good correctness proof for bidirectional A* using the “method of potentials”. This material served as a basis for proving correctness of the two-thread version. The next article will be dedicated to the detailed description of the modified algorithm and its correctness proof.</p><p><strong>Test results</strong></p><p>To test the effectiveness of the new algorithm I was comparing the source code from Maps.me with my new version where I have paralleled the bidirectional A*. The test was conducted on two smartphones: iPhone SE 2016 (2-core processor) и Samsung Galaxy S10e (8-core processor). Below you can see the results for creating a pedestrian route Moscow (Tushino) — Tarusa. The length of the route is 163 kilometers. The time noted in the table (in milliseconds) is the average of 4 attempts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iUcDI3vNL80RaFoTQuA4fg.png" /><figcaption>Figure 13. Comparison tests of bidirectional A* launched on one and two threads.</figcaption></figure><p>Running the test on Samsung Galaxy S10 gave more dramatic acceleration, than that utilizing iPhone SE. Samsung Galaxy S10, having 8 cores, could dedicate two of them entirely for finding the optimal route. On the other hand, the iPhone SE with only two cores was using them presumably for some other tasks at the same time.</p><p><strong>Bidirectional A* on two threads — pros and cons</strong></p><p>A developer may encounter a hardware specification or requirements for which the proposed optimization is not beneficial. As you can see from the tests and from the logic of implementation, the synchronization on two threads needed for the shortest route creation is resource demanding. If we need to increase the number of responses per second (PRS), while sacrificing the shortest time for a response, then it makes sense to use bidirectional A* in one thread. Such an algorithm would not require synchronization and hence would not be so resource-consuming.</p><p>Nowadays software developers are empowered with hardware that allows them to spend resources more generously in order to achieve greater overall speed and performance. On top of that, the end user often is concerned with the overall speed of route creation. To satisfy these increasing needs, it is advantageous to modify the bidirectional A* algorithm as described so it runs on two parallel threads. The conducted tests prove that, if the synchronization is thoughtfully arranged, we can achieve a substantial increase of speed (an increase measured in tens of percents) by dedicating two processor cores for route creation. Parallelizing the bidirectional A* algorithm and executing it in two threads create a significant reduction in the shortest path calculation time, thus effectively resolved the critical resource problem for navigation applications on contemporary mobile devices where data is disk-resident.</p><p>There is room for further improvement of the algorithm and I will probably work on it in the future. Namely, it is possible to replace mutex with a more effective way of checking the intersection of waves to reduce resource consumption. Several alternatives could be considered for developing a more efficient mechanism for checking wave intersection.</p><p>In conclusion, the described solution is proven, workable, and should be considered when the overall speed of route creation is critical. With the utilization of two CPU cores, the bidirectional A* algorithm surpasses the one directional version with significantly faster performance.</p><p>References:</p><ul><li>Maps.me source code: <a href="https://github.com/mapsme/omim/">https://github.com/mapsme/omim/</a></li><li>OSRM: <a href="https://github.com/Project-OSRM">https://github.com/Project-OSRM</a></li><li>Coursera. Algorithms on Graphs:<a href="https://www.coursera.org/learn/algorithms-on-graphs"> https://www.coursera.org/learn/algorithms-on-graphs</a></li><li>When I was finishing the article I found the paper presented PNBA* (Parallel New Bidirectional A*). This paper is about an optimization close to one I described in this article: <a href="https://homepages.dcc.ufmg.br/~chaimo/public/ENIA11.pdf">https://homepages.dcc.ufmg.br/~chaimo/public/ENIA11.pdf</a></li></ul><p>I would also like to thank for valuable comments and editing this article to</p><p>Olga Khlopkova: <a href="https://www.linkedin.com/in/olga-khlopkova-3a920b204/">https://www.linkedin.com/in/olga-khlopkova-3a920b204/</a></p><p><em>To the wonderful team with whom I worked on the Maps.me project from 2014 to 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e5479e07eed" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>