Computer Intelligence Coursework
Go needs to be installed.
- Navigate to the project directory
- Run the command:
go build
This will output an executable for your opperating system.
There are two ways of running the program
- In the command promt, navigate to the executable
- Run the command:
./CICW.exe
- By default it will run a demo, with seed 0.
- In the command promt, navigate to the project
- Run the command:
go run algorithms.go main.go particle.go price.go pricingProblem.go
- By default it will run a demo, with seed 0.
If you add the flag -h
when running the program will display the help text
Usage of CICW.exe:
-alg string
Sets algorithm to run: 'PSO', 'AIS' (default "PSO")
-c Collects data over a selection of seeds for a certain algorithm
-ext string
Sets the file extention to the csv file (default "final")
-seed int
Set the default seed