Questions tagged [agents]
113 questions
29
votes
1 answer
How Clojure's agents compare to Scala's actors?
I wrote a simulation of the Ring network topology in Scala (source here) (Scala 2.8 RC7) and Clojure (source here) (Clojure 1.1) for a comparison of Actors and Agents.
While the Scala version shows almost constant message exchange rate as I…

Abhinav Sarkar
- 23,534
- 11
- 81
- 97
27
votes
1 answer
What is the difference between Clojure's "send" and "send-off" functions with respect to dispatching an action to an agent?
The Clojure API describes these two functions as:
(send a f & args) - Dispatch an action to an agent. Returns the agent immediately. Subsequently, in a thread from a thread pool, the state of the agent will be set to the value of: (apply action-fn…

Robert Campbell
- 6,848
- 12
- 63
- 93
20
votes
1 answer
Robots.txt - What is the proper format for a Crawl Delay for multiple user agents?
Below is a sample robots.txt file to Allow multiple user agents with multiple crawl delays for each user agent. The Crawl-delay values are for illustration purposes and will be different in a real robots.txt file.
I have searched all over the web…

Sammy
- 877
- 1
- 10
- 23
14
votes
1 answer
How can I associate a project to an agent pool on TeamCity?
For my automated tests I have a project added to TeamCity server and 2 Agent Pool, one is a Windows Server and the other one is a MAC. The default agent pool is WIN but I wanted to run my tests on the MAC server. To change the agent pool to MAC, I…

Mahsa Mortazavi
- 755
- 3
- 7
- 23
13
votes
1 answer
Map Reduce with F# agents
After playing with F# agents I tried to do a map reduce using them.
The basic structure I use is:
map supervisor which queues up all the work to do in its state and receives work request from map workers
reduce supervisor does the same thing as…

jlezard
- 1,417
- 2
- 15
- 32
12
votes
1 answer
MailboxProcessor.PostAndReply design choice
Looking at:
member this.PostAndReply : (AsyncReplyChannel<'Reply> -> 'Msg) * ?int -> 'Reply
I can't figure out why the signature looks so counter-intuitive to me. What we want to do is posting a message to an agent, and wait for a reply.
Why do we…

Okay
- 224
- 1
- 9
9
votes
2 answers
Test URLs for SNMP Agents
I am trying to find a list of URLs for SNMP agents which I could make use of for testing purposes.
Up till now I have made use of the NET-SNMP test url - > test.net-snmp.org. I've also made use of Verax Simulator to simulate a particular agent.…

John Smith
- 130
- 1
- 2
- 8
9
votes
1 answer
Is it reasonable to view highly autonomous actors as agents?
Coming from an academic background in mutli-agent systems (developed in Java using JADE) I have only been peripherally aware of the Actor concurrency paradigm. Now that I've started exploring Scala I couldn't help but be struck by the similarities…

DuncanACoulter
- 2,095
- 2
- 25
- 38
6
votes
4 answers
Multithreaded bouncing balls program using agents in Clojure
I have written a multithreaded bouncing balls program in clojure. After starting the animation thread, I do-
(send-balls)
to start the bouncing balls threads. The balls dont move and this is displayed on the console -
(#

Pranav
- 3,340
- 8
- 35
- 48
6
votes
1 answer
How can I stop a specific agent in Clojure? When are their states garbage-collected?
If an agent is working through its queue in the background in Clojure, how can I stop it without stopping all agents?
When I am finished with an agent and I let it fall out of scope AND it finishes working on its queue, is it garbage collected along…

Ben Englert
- 583
- 5
- 17
6
votes
3 answers
How to create containers and add agents into it in JADE?
I'm just a beginner at JADE. I would like to know how to create containers other than the main container and add multiple agents into it. A full code of creation would be appreciated.
Thanks!

user3382935
- 61
- 1
- 3
5
votes
1 answer
How do intelligent agents accept an organizational structure and shape their whole paradigm?
I want to change the whole structure of a multi agent system an introduction to multi agent organizational paradigms- by Mr. Horling, I mean I want to measure a multi agent system's performance and under some circumstances I need to ask the multi…

Mehregan Rahmani
- 51
- 9
5
votes
1 answer
NetLogo: Finding the average value of a set of turtles
I'm trying to implement a monitor in the user interface that displays the average value of a variable shared by a breed of turtles (turtles own). Does anyone know of a method of collecting all the values, adding them together and dividing by the…

algorhythm
- 3,304
- 6
- 36
- 56
5
votes
3 answers
publishing artifacts is to slow
At the end of my build log i have the following:
[15:16:22]: Publishing artifacts (25m:29s)
[15:16:22]: [Publishing artifacts] Paths to publish: [automation/artifacts]
[15:16:23]: [Publishing artifacts] Sending files
i tried reading the agents log…

Yosefki
- 383
- 7
- 22
4
votes
1 answer
Which errors to handle in clojure REST+disk-I/O app?
I have a server application which, somewhat simplified, periodically takes measurements via a rest-api from a not beefy-enough-server. The values should be cached locally (and are timestamped/immutable), maybe stored as a FloatBuffer where every…

claj
- 5,172
- 2
- 27
- 30