Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Kye committed Sep 30, 2023
1 parent ce01ffe commit 3c7b7a4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "swarms-torch"
version = "0.0.1"
version = "0.0.2"
description = "swarms-torch - Pytorch"
license = "MIT"
authors = ["Kye Gomez <kye@apac.ai>"]
Expand Down
10 changes: 10 additions & 0 deletions swarms_torch/ant_colony_swarm.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ class AntColonyOptimization:
Number of ants
evaporation_rate: float
Evaporation rate
Usage
-----
from swarms_torch import AntColonyOptimization
goal_string = "Hello ACO"
aco = AntColonyOptimization(goal_string, num_iterations=1000)
best_solution = aco.optimize()
print("Best Matched String:", best_solution)
Features to implement
--------
Expand Down

0 comments on commit 3c7b7a4

Please sign in to comment.