Shortest path algorithms in a heatmap.

5 vues (au cours des 30 derniers jours)
agrim agarwal
agrim agarwal le 3 Avr 2020
Commenté : agrim agarwal le 12 Avr 2020
I have created a heatmap that shows a map or structure of my apartment. I have created it by using 24X24 grids for that i have created a dataset myself for simulations in which each grid value represents the probability of human presence in that node. For visualization consider a node represents a square of 0.5 square meters. Now i have a situation in which i will have a starting node and a destination node. I want an algorithm that can create or tell me shortest path for the 2 nodes. That algorithm has to consider the facts that some nodes will have 0 probablilty for the areas of the heatmap representing furnitures. Any suggestions regd the algorithm with some details too.
  4 commentaires
Matt J
Matt J le 4 Avr 2020
So distance can be represented or measured by number of nodes we have to travel.
In that case, the straight line between the two nodes is the shortest path. If the problem is to be non-trivial, there need to be some constraints on the selection of the path. You haven't mentioned wthat those constraints are.
agrim agarwal
agrim agarwal le 12 Avr 2020
those constrains are the nodes representing furnitures and other inaacessible parts of the taraget apartment.

Connectez-vous pour commenter.

Réponse acceptée

Image Analyst
Image Analyst le 3 Avr 2020

Plus de réponses (0)

Catégories

En savoir plus sur Graph and Network Algorithms dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by