Skip to content

start_tartarus

Tushar Semwal edited this page Oct 15, 2017 · 2 revisions

Syntax:

start_tartarus(IP, Port).   % Starts a Tartarus platform or instance. %
IP: <atom + >,
Port: <integer +>

Description:

This predicate is used for starting a Tartarus platform. It initializes all global variables and stack and starts the platform on the given IP address and Port number. The IP address is the address of the system on the network. This predicate must be executed before creating any static or mobile agents. One can start multiple platforms on the same IP provided the Port numbers are different.

Example:

?- start_tartarus (localhost,6000). 	% Creates a Tartarus platform on the localhost running on port 6000.
?- start_tartarus (localhost,7000).  	% Creates a Tartarus platform on the same localhost running on port 7000.
?- start_tartarus (‘localhost’,6000). 	% Creates a Tartarus platform on the localhost running on port 6000.
?- start_tartarus (‘10.9.23.28’,6000).  % Creates a Tartarus platform on the machine with IP  
   10.9.23.28 at port 6000.

If the first predicate above is successful, the SWI-Prolog terminal will display the following message:

************************************************
Welcome to Tartarus Multi-Agent Platform ..
(Ver.1.1, 30th January 2017).

Copyrights 2017: Robotics Lab.,
Dept. of Computer Science & Engg.,
Indian Institute of Technology Guwahati,

For any query contact:
[email protected]
[email protected]
Note: Relevant manuals are available inside the User Manuals folder.
           of the installation directory of Tartarus..
************************************************

===========================================
        Tartarus Platform launched!
                                @             
        Running on IP = localhost, Port = 12211
===========================================

Clone this wiki locally