Skip to content
Snippets Groups Projects
Commit 412b1a63 authored by Peter Frank Perroni's avatar Peter Frank Perroni
Browse files

Update README.md

parent ae823606
No related branches found
No related tags found
No related merge requests found
...@@ -10,10 +10,22 @@ Unpack it: ...@@ -10,10 +10,22 @@ Unpack it:
Compile the package: Compile the package:
cd CSMOn-*/python cd CSMOn-*
make make
Then finally, run the example code (provided with a standard PSO implementation): make clean
The standard PSO implementation is provided with the code.
To run the Python example code:
cd python
python pso_example.py python pso_example.py
And to run the C++ example code:
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment