From 5a327cc6692a58d77907553bfba1ade9d4a98c65 Mon Sep 17 00:00:00 2001
From: Liuxi Mei <liume102@student.liu.se>
Date: Mon, 23 Sep 2024 22:18:00 +0000
Subject: [PATCH] Update lab_3_submission.R

---
 R/lab_3_submission.R | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/R/lab_3_submission.R b/R/lab_3_submission.R
index b2803fc..a22ac25 100644
--- a/R/lab_3_submission.R
+++ b/R/lab_3_submission.R
@@ -57,6 +57,8 @@ init_node_distance_list <- function (init_node, graph) {
 #' @param init_node the start node in the algorithm
 #' @param checked_nodes the nodes that having found the shortest path
 #' @param unchecked_nodes the nodes that having not found the shortest path
+#' @param detail_frame to store the shorest path , if it is the best node and the related distance
+#' @param graph the graph indicates the relationship of different nodes
 
 update_detail_path <- function(node,init_node,detail_frame,graph,checked_nodes,unchecked_nodes) {
   #get connected nodes to node
-- 
GitLab