Vadim Ignashov
Vadim Ignashov
  • Видео 2
  • Просмотров 3 037
Maze with Randomized Prim's algorithm
Maze with Randomized Prim's algorithm
Просмотров: 2 976

Видео

SunnyMood: Example
Просмотров 632 года назад
SunnyMood: Example

Комментарии

  • @realcoolguy123
    @realcoolguy123 18 дней назад

    Thanks for making this video. The step-by-step visual for each iteration is extremely useful, and the explanations are very helpful. Thanks again!

  • @ВадимБузанаков-к4с
    @ВадимБузанаков-к4с 9 месяцев назад

    А можно код?

  • @bsal5347
    @bsal5347 Год назад

    Thanks a lot bro.This video resource has been so much helpful to me.The visualization was more helpful for me to implement this algorithm. ruclips.net/user/shortsqF1TQ6sXjFk?feature=share3

  • @peteryu3560
    @peteryu3560 Год назад

    The most helpful resource I would ever find on the internet! Thanks.

    • @peteryu3560
      @peteryu3560 Год назад

      wait but how do you calculate step 5.2? Set the cell in between to Passage

    • @tanvir-lab
      @tanvir-lab Год назад

      @@peteryu3560, I have the same question. What I'm trying to do is look for cells that are at a distance of 2 in the passage state. If there are multiple cells, choose one randomly and mark the cells in between as passage. Please let me know if you have tried any other approach.

    • @peteryu3560
      @peteryu3560 Год назад

      Nah, don't even try this approach. Prim algo runs on a completely different framework compared to A*star, breadth first search, depth first search, etc.. I wouldn't waste my time with this guy's tutorial. Unless you love prim so much that you just can't live without it. @@tanvir-lab

    • @blindboy007
      @blindboy007 Год назад

      ​@@tanvir-labauthor make a maze with distance between cells that's equal 1 cell. We can find middle-cell using such method: We have: (x1, y1), (х3, у3) We can calculate middle coordinate(x2,y2): abs(x1+x3)/2, abs(y1+y3)/2 if each coordinate will be an unpaired number or paried number(coordinate can't be equal for example 4.5)

  • @gdriveharshal8308
    @gdriveharshal8308 Год назад

    Thanks