Skip to main content
Copyright (c) 2017 Jerzy Pawlikowski

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Description: =================
Ant Colony System
=================

.. image:: https://travis-ci.org/jurekpawlikowski/ant-colony.svg?branch=master
:target: https://travis-ci.org/jurekpawlikowski/ant-colony

Python implementation of the Ant Colony system

Development
-----------

Install the requirements:

pip install -r requirements.txt

Run tests:

pytest --pep8

Usage
-----

from ant_colony.graph import Node, Graph

nodes = [Node(0, 0), Node(0, 1), Node(1, 1), Node(1, 0)]

graph = Graph(nodes)

path, distance = graph.find_shortest_path()

Platform: UNKNOWN

Metadata

Release files for ant-colony 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ant-colony 0.1.2
File Size Uploaded
ant_colony-0.1.2.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ant-colony 0.1.2
File Interpreter ABI Platform
ant_colony-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 kB

Release files / ant_colony-0.1.2.tar.gz

Download URL ant_colony-0.1.2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
223c311a05bda53d8abe16fc1cf9d77193f1c18ca35a7eef824558ece8ddee2a
BLAKE2b-256 checksum
How to use checksums
ca473ff87167bdc70c940911646c83f3978bd71f6f85651d51e2071190cc3685
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ant_colony-0.1.2-py3-none-any.whl

Download URL ant_colony-0.1.2-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33222e25e7ddbfc27d25bf654eab6c71ef00d6f57f677ec8995f37e731804503
BLAKE2b-256 checksum
How to use checksums
96abc53a4e4755d7eae0f31fcb83451227d3b54695ce2f7179f7cf32b865df38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page