@@ -793,7 +793,7 @@ get_k_shortest_paths_impl <- function(graph, from, to, ..., k, weights=NULL, mod
793
793
res
794
794
}
795
795
796
- get_widest_path_impl <- function (graph , from , to , weights , mode = c(" out" , " in" , " all" , " total" )) {
796
+ get_widest_path_impl <- function (graph , from , to , weights = NULL , mode = c(" out" , " in" , " all" , " total" )) {
797
797
# Argument checks
798
798
ensure_igraph(graph )
799
799
from <- as_igraph_vs(graph , from )
@@ -826,7 +826,7 @@ get_widest_path_impl <- function(graph, from, to, weights, mode=c("out", "in", "
826
826
res
827
827
}
828
828
829
- get_widest_paths_impl <- function (graph , from , to = V(graph ), weights , mode = c(" out" , " in" , " all" , " total" )) {
829
+ get_widest_paths_impl <- function (graph , from , to = V(graph ), weights = NULL , mode = c(" out" , " in" , " all" , " total" )) {
830
830
# Argument checks
831
831
ensure_igraph(graph )
832
832
from <- as_igraph_vs(graph , from )
@@ -856,7 +856,7 @@ get_widest_paths_impl <- function(graph, from, to=V(graph), weights, mode=c("out
856
856
res
857
857
}
858
858
859
- widest_path_widths_dijkstra_impl <- function (graph , from = V(graph ), to = V(graph ), weights , mode = c(" out" , " in" , " all" , " total" )) {
859
+ widest_path_widths_dijkstra_impl <- function (graph , from = V(graph ), to = V(graph ), weights = NULL , mode = c(" out" , " in" , " all" , " total" )) {
860
860
# Argument checks
861
861
ensure_igraph(graph )
862
862
from <- as_igraph_vs(graph , from )
@@ -878,7 +878,7 @@ widest_path_widths_dijkstra_impl <- function(graph, from=V(graph), to=V(graph),
878
878
res
879
879
}
880
880
881
- widest_path_widths_floyd_warshall_impl <- function (graph , from = V(graph ), to = V(graph ), weights , mode = c(" out" , " in" , " all" , " total" )) {
881
+ widest_path_widths_floyd_warshall_impl <- function (graph , from = V(graph ), to = V(graph ), weights = NULL , mode = c(" out" , " in" , " all" , " total" )) {
882
882
# Argument checks
883
883
ensure_igraph(graph )
884
884
from <- as_igraph_vs(graph , from )
0 commit comments