-
Notifications
You must be signed in to change notification settings - Fork 7
clone_agent
Tushar Semwal edited this page Oct 15, 2017
·
2 revisions
clone_agent(Agent_name, (Destination_IP, Destination_Port), Clone_name).
Agent_name1: <atom +>, Destination_ip: <atom + >, Destination_port: <integer +> Agent_name2: <atom ->
Clones the designated agent at a specified platform and confers it a new name.
This predicate is used for cloning of agents. The agent named Agent_name is cloned at Destination_IP
and Destination_Port
address specified by the user. The clone’s name is returned in the variable Clone_name
.
?- clone_agent(myagent,(localhost,5656),Clone_name). % Clone_name = myagent.