diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json
index d8d12ff..9afa365 100644
--- a/dev/.documenter-siteinfo.json
+++ b/dev/.documenter-siteinfo.json
@@ -1 +1 @@
-{"documenter":{"julia_version":"1.9.4","generation_timestamp":"2024-04-18T18:54:30","documenter_version":"1.4.0"}}
\ No newline at end of file
+{"documenter":{"julia_version":"1.9.4","generation_timestamp":"2024-04-18T19:13:13","documenter_version":"1.4.0"}}
\ No newline at end of file
diff --git a/dev/algorithms/index.html b/dev/algorithms/index.html
index 8c063cc..d534e89 100644
--- a/dev/algorithms/index.html
+++ b/dev/algorithms/index.html
@@ -18,7 +18,7 @@
julia> result.cost
-3.0source
solve(t)
Arguments
a::TransportationProblem
: The problem in type of TransportationProblem
Output
TransportationResult
: The custom data type that holds problem, solution, and optimum cost.
Description
Solves a transportation problem given by an object of in type TransportationProblem
.
Example
julia> t = TransportationProblem(
+3.0
source solve(t)
Arguments
a::TransportationProblem
: The problem in type of TransportationProblem
Output
TransportationResult
: The custom data type that holds problem, solution, and optimum cost.
Description
Solves a transportation problem given by an object of in type TransportationProblem
.
Example
julia> t = TransportationProblem(
[ 1 1 1 1;
2 2 2 2;
3 3 3 3],
@@ -49,7 +49,7 @@
Cost:
600.0
Solution:
-[-0.0 -0.0 -0.0 100.0; 100.0 -0.0 -0.0 -0.0; -0.0 -0.0 100.0 -0.0; -0.0 100.0 -0.0 -0.0]
source solve(c::Vector{Connection}; problem::Union{::ShortestPathProblem, ::MaximumFlowProblem} = ShortestPathProblem)
c::Vector{Connection}
: Vector of connections problem
: Type of problem. Either ShortestPathProblem
or MaximumFlowProblem
julia> conns = [
+[-0.0 -0.0 -0.0 100.0; 100.0 -0.0 -0.0 -0.0; -0.0 -0.0 100.0 -0.0; -0.0 100.0 -0.0 -0.0]
source solve(c::Vector{Connection}; problem::Union{::ShortestPathProblem, ::MaximumFlowProblem} = ShortestPathProblem)
c::Vector{Connection}
: Vector of connections problem
: Type of problem. Either ShortestPathProblem
or MaximumFlowProblem
julia> conns = [
Connection(1, 2, 3),
Connection(1, 3, 2),
Connection(1, 4, 4),
@@ -104,7 +104,7 @@
21
julia> result.objective
- 11.531012240599605
source pmedian_with_distances(distancematrix, ncenters)
Arguments
distancematrix::Matrix
: n x n matrix of distancesncenters::Int
: Number of centers Description
ncenters
locations are selected that minimizes the total distances to the nearest rows. Output
PMedianResult
: PMedianResult object. source mst(connections)
Arguments
connections::Vector{Connection}
: Vector of Connections Description
Obtains the minimum spanning tree.
Output
::MstResult
: A MstResult object that holds the results. Examples
julia> conns = Connection[
+ 11.531012240599605
source pmedian_with_distances(distancematrix, ncenters)
Arguments
distancematrix::Matrix
: n x n matrix of distancesncenters::Int
: Number of centers Description
ncenters
locations are selected that minimizes the total distances to the nearest rows. Output
PMedianResult
: PMedianResult object. source mst(connections)
Arguments
connections::Vector{Connection}
: Vector of Connections Description
Obtains the minimum spanning tree.
Output
::MstResult
: A MstResult object that holds the results. Examples
julia> conns = Connection[
Connection(1, 2, 10),
Connection(2, 3, 10),
Connection(3, 4, 10),
@@ -127,7 +127,7 @@
3-element Vector{Connection}:
Connection(3, 4, 10, "x34")
Connection(1, 4, 10, "x14")
- Connection(2, 3, 10, "x23")
source cpm(activities)
Arguments
activities::Vector{CpmActivity}
Output
::CpmResult
: The object holds the results Description
Calculates CPM (Critical Path Method) and reports the critical path for a given set of activities.
Example
julia> A = CpmActivity("A", 2);
+ Connection(2, 3, 10, "x23")
source cpm(activities)
Arguments
activities::Vector{CpmActivity}
Output
::CpmResult
: The object holds the results Description
Calculates CPM (Critical Path Method) and reports the critical path for a given set of activities.
Example
julia> A = CpmActivity("A", 2);
julia> B = CpmActivity("B", 3);
julia> C = CpmActivity("C", 2, [A]);
julia> D = CpmActivity("D", 3, [B]);
@@ -150,7 +150,7 @@
"I"
julia> result.path == [B, E, G, I]
-true
source pert(activities)
Arguments
activities::Vector{PertActivity}
: Vector of Pert Activities. Example
julia> A = PertActivity("A", 1, 2, 3)
+true
source pert(activities)
Arguments
activities::Vector{PertActivity}
: Vector of Pert Activities. Example
julia> A = PertActivity("A", 1, 2, 3)
PertActivity("A", 1.0, 2.0, 3.0, PertActivity[])
julia> B = PertActivity("B", 3, 3, 3)
@@ -172,4 +172,4 @@
8.0
julia> result.stddev
-0.0
source
Theme
Automatic (OS) documenter-light documenter-dark
This document was generated with Documenter.jl version 1.4.0 on Thursday 18 April 2024 . Using Julia version 1.9.4.