Starting Multi-Agent System Environment
By starting the Rinda multi-agent system environment we will start the following functionalities:
- Blackboard. Agents will be able to access a shared place for messages.
- Discovery service. Agents will be able to find the blackboard automatically.
The whole multi-agent system environment can by started from one file, let’s call it
require 'rinda/ring' require 'rinda/tuplespace' DRb.start_service ts = Rinda::TupleSpace.new Rinda::RingServer.new ts puts 'The blackboard is started...' DRb.thread.join
Of course, the name can be different :), but in the future examples we will refer to it as the rinda.rb file.
The environment can be started with following line:
After a start, the message The blackboard is started… appears and the system fully started and ready to serve. :)
Files to download: