Skip to content

Commit

Permalink
actualizacion del readme de hill climbing
Browse files Browse the repository at this point in the history
  • Loading branch information
camilolaiton committed Jan 29, 2020
1 parent 9690879 commit b2d0330
Show file tree
Hide file tree
Showing 3 changed files with 10,046 additions and 8 deletions.
38 changes: 38 additions & 0 deletions Bio-inspired-Algorithms/ant_colony/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Hill Climbing Algorithm

## Made with Python
[![Python](https://s3-us-west-2.amazonaws.com/devcodepro/media/blog/por-que-aprender-python.png "Python")](http://https://s3-us-west-2.amazonaws.com/devcodepro/media/blog/por-que-aprender-python.png "Python")

These algorithms solve **The Knapsack Problem** but the objects are **sheeps** and they are organized in two archives .txt:
- sheep_list_range2_500_arc5b.txt (**500 sheeps**)
- sheep_list_range2_1000_arc5b.txt (**1000 sheeps**)

### How to use
This algorithm counts with two parameters and they are:
* The path where the information is located. [--doc]
* The limit weight for the problem. [--peso]
* The number of restarts the algorithm will have. (The algorithm will give the best found solution in all the runs) [--runs]
* A boolean which will indicate if more information in the process should be done. [--verb]
> If you don't give the parameters in the line command, the algorithm will work with default values.
### Example
```sh
$ python3 ovejas_hill_climbing.py --peso 1000 --doc ../sheep_list_range2_1000_arc5b.txt --runs 5
```

## Author
- **Camilo Laiton** [[camilolaiton]](https://github.com/camilolaiton)

------------
If you want to communicate with me then go to my **Github Account** and there is my **Instagram's profile**. You can send me a message.

**Spoken Languages** :blush:
1. **Spanish** :es:
2. **English** :us:
3. **French** :fr:

------------

## Note
> If you want to help with some exercises or if I have any mistake or you want to improve an algorithm, please contact me!
See also the list of [contributors](https://github.com/camilolaiton/Artificial_Intelligence/graphs/contributors) who participated in this project.
Loading

0 comments on commit b2d0330

Please sign in to comment.