Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CSMOn
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Frank Perroni
CSMOn
Wiki
Home
Changes
Page history
New page
Templates
Clone repository
Update home
authored
8 years ago
by
Peter Frank Perroni
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
home.md
+2
-2
2 additions, 2 deletions
home.md
with
2 additions
and
2 deletions
home.md
View page @
e206648c
...
@@ -17,13 +17,13 @@ Compile the package:
...
@@ -17,13 +17,13 @@ Compile the package:
The standard PSO implementation is provided with the code.
The standard PSO implementation is provided with the code.
To run the Python example code:
To run the Python example code
(update pso_example.py as necessary)
:
cd python
cd python
python pso_example.py
python pso_example.py
And to run the C++ example code:
And to run the C++ example code
(update the parameters as necessary)
:
cpp/pso_example pso -s1 -5.12 -s2 5.12 -w -0.5 -c1 -0.2 -c2 0.35 -n 100 -p 30 -M 50000 -R -0.08
cpp/pso_example pso -s1 -5.12 -s2 5.12 -w -0.5 -c1 -0.2 -c2 0.35 -n 100 -p 30 -M 50000 -R -0.08
\ No newline at end of file
This diff is collapsed.
Click to expand it.