Shortest path algorithms in a heatmap.

조회 수: 7 (최근 30일)
agrim agarwal
agrim agarwal 2020년 4월 3일
댓글: agrim agarwal 2020년 4월 12일
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
Matt J
Matt J 2020년 4월 4일
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 2020년 4월 12일
those constrains are the nodes representing furnitures and other inaacessible parts of the taraget apartment.

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2020년 4월 3일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by