BE_Graphe_alejeune_rlacroix/README.md
2022-05-28 13:58:20 +02:00

1.3 KiB

Graph & Algorithm project — INSA Toulouse

[ LEJEUNE Aurelia & R.LACROIX ]

Part 2

  • First UML diagram

  • Path class implementation

    • createFastestPathFromNodes
    • createShortestPathFromNodes
    • isValid
    • getLength
    • getTravelTime
    • getMinimumTravelTime

Part 3

  • Second UML diagram

  • BinaryHeap implementation

    • implemented the remove() method
    • improved the method by using a hashmap
  • Created Label

    • Attributes
      • currNode
      • marked
      • cost
      • father
    • Methods
      • getCost
      • compareTo
  • implemented Dijkstra

    • handling special types of paths (pedestrians, car roads etc)
    • added notifyNodeReached to show reached nodes on map
    • Testings (lots of)

Part 4

  • Modified Label

    • included getTotalCost
  • Created LabelStar (inherits from Label)

    • (new) Attributes
      • crowCost
    • Methods
      • getTotalCost
  • Modified Dijkstra (modularity)

  • implemented A-Star

    • built upon Dijkstra with another Label type
  • More and More testing (see the video).