Skip to content

Commit 9e5b3d9

Browse files
committed
(#2) Add documentation about to heuristics used in determining the start and finish nodes
1 parent 9ac5a4e commit 9e5b3d9

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/maximumflow.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ end
5555
5656
solve(problem)
5757
58+
# Description
59+
60+
Solves a maximum flow problem given by an object of in type `MaximumFlowProblem`.
61+
5862
# Arguments
5963
6064
- `problem::MaximumFlowProblem`: The problem in type of MaximumFlowProblem

src/mst.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Defines the minimum spanning tree problem.
2020
# Fields
2121
- `connections::Vector{Connection}`: The connections (edges) in the network.
2222
23-
# Note
23+
!!! info "Interpreting the Connection object"
2424
2525
The Connection object defines a directed edge, but for the minimum spanning tree problem,
2626
the edges are considered undirected.

src/shortestpath.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ julia> result.cost
9090
8.0
9191
```
9292
93-
# NOTE
93+
!!! info "Determining start and finish nodes"
9494
9595
In this function it's assumed that the problem has a unique start and finish node.
9696
A heuristic approach is used to find the start and finish nodes. If a node has only

0 commit comments

Comments
 (0)