Skip to content

Commit

Permalink
Merge pull request #42 from benthestatistician/patch-1
Browse files Browse the repository at this point in the history
Update MaxFlow roxy block
  • Loading branch information
josherrickson authored Oct 3, 2024
2 parents f281509 + 86d56d8 commit 9be913c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions R/maxflow.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
##' @param algorithm Choices of algorithm include "Preflow" and "EdmondsKarp".
##' "Preflow" is the default.
##' @return A named list containing three entries: 1) "flows": a vector
##' corresponding to the flows of arcs in the graph, 2) "cut_values": a vector
##' of cut-values of the graph's nodes, and 3) "cost": the total cost of the
##' flows in the graph, i.e. the maxflow value.
##' corresponding to the flows of arcs in the graph, 2) "cut_values": 0/1 vector
##' in which 1s identify nodes belonging to a minimum-capacity cut separating the
##' source from the destination node, and 3) "cost": the total flow from source to
##' destination, i.e. the maxflow value.
##' @export
MaxFlow <- function(arcSources,
arcTargets,
Expand Down
7 changes: 4 additions & 3 deletions man/MaxFlow.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9be913c

Please sign in to comment.