Skip to content

About

Ant colony optimization (ACO) with Erlang processes (ants) and message communication (ant master)

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

29 Commits

Folders and files

Repository files navigation

Ant colony optimization concurrent model with Erlang

The objective of this project is to create a concurrent system to simulate a population of ants walking between nodes in a graph. Aiming for a realistic approach, where each edge has a cost of passing through it and this is translated into a sleeping time for every ant which chooses to pass by to any of them.

Useful shell history Erlang/OTP 20

In order to active the obviously useful command history for erl, simply by defining the following environment variable enables this feature.

$ export ERL_AFLAGS="-kernel shell_history enabled"

How to try this project

$ make

erl> c(main).
{ok,main}
erl> M = main:init(<test_case_file>).
erl> M ! {createAnts, <n>, <start_node_pid>}.
erl> M ! {init}.

About

Ant colony optimization (ACO) with Erlang processes (ants) and message communication (ant master)

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages