Skip to content

Commit 9166920

Browse files
committed
fix typos
1 parent 47f3bdd commit 9166920

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ julia> Pkg.add("OperationsResearchModels")
3030
- [Minimum Spanning Tree](https://jbytecode.github.io/OperationsResearchModels.jl/dev/algorithms/#Minimum-Spanning-Tree)
3131
- [p-median for Location Selection](https://jbytecode.github.io/OperationsResearchModels.jl/dev/algorithms/#pmedian)
3232
- [CPM - Critical Path Method](https://jbytecode.github.io/OperationsResearchModels.jl/dev/algorithms/#CPM-(Critical-Path-Method))
33-
- [PERT - Project Evaluation and Review Technique](https://jbytecode.github.io/OperationsResearchModels.jl/dev/algorithms/#PERT-(Project-Evalutation-and-Review-Technique))
33+
- [PERT - Project Evaluation and Review Technique](https://jbytecode.github.io/OperationsResearchModels.jl/dev/algorithms/#PERT-(Project-Evaluation-and-Review-Technique))
3434
- [The Knapsack Problem](https://jbytecode.github.io/OperationsResearchModels.jl/dev/algorithms/#Knapsack)
3535
- [Johnson's Rule for Flow-Shop Scheduling](https://jbytecode.github.io/OperationsResearchModels.jl/dev/algorithms/#Johnson's-Rule)
3636
- [Flow-shop Scheduling using Permutation Encoded Genetic Algorithms (using a Random Key Genetic Algorithm)](https://jbytecode.github.io/OperationsResearchModels.jl/dev/algorithms/#Genetic-Algorithm-for-the-problems-that-cannot-be-solved-with-using-Johnson's-Rule)

docs/src/algorithms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ OperationsResearchModels.CpmActivity
4646
```
4747

4848

49-
## PERT (Project Evalutation and Review Technique)
49+
## PERT (Project Evaluation and Review Technique)
5050
```@docs
5151
OperationsResearchModels.solve(problem::PertProblem)
5252
```

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
The OperationsResearchModels package includes basic Operations Research subjects such as Transportation Problem, Assignment Problem, Minimum Spanning Tree, Shortest Path, Maximum Flow,
55
and p-medians method for selecting location of facilities.
66

7-
Package content is incrementaly updated.
7+
Package content is incrementally updated.
88

99
Please refer the Algorithms section for the detailed documentation.

src/cpm.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,11 @@ function earliestfinishtime(activity::CpmActivity)
116116
return maximum(v) + activity.time
117117
end
118118

119-
function longestactivity(activies::Vector{CpmActivity})::CpmActivity
119+
function longestactivity(activities::Vector{CpmActivity})::CpmActivity
120120
activity = CpmActivity("", -1, CpmActivity[])
121121
maxval = typemin(Float64)
122122

123-
for a in activies
123+
for a in activities
124124
ea = earliestfinishtime(a)
125125
if ea > maxval
126126
maxval = ea

test/testassignment.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@testset "Assignment Problem" verbose = true begin
22

3-
@testset "Simple Assigment Problem" begin
3+
@testset "Simple Assignment Problem" begin
44
mat = [
55
4 8 1
66
3 1 9

0 commit comments

Comments
 (0)