From 412b1a63480a34c562f37380ca1b779f1897897f Mon Sep 17 00:00:00 2001 From: Peter Frank Perroni <pfperroni@inf.ufpr.br> Date: Mon, 3 Jul 2017 16:15:06 -0300 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 05feff0..a326cbe 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,22 @@ Unpack it: Compile the package: - cd CSMOn-*/python + cd CSMOn-* make + + make clean -Then finally, run the example code (provided with a standard PSO implementation): - python pso_example.py \ No newline at end of file +The standard PSO implementation is provided with the code. + +To run the Python example code: + + cd python + + 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 -- GitLab