[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scheduling in java
From: |
Marcus G. Daniels |
Subject: |
Re: Scheduling in java |
Date: |
27 Apr 2001 09:24:42 -0600 |
User-agent: |
Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.7 |
>>>>> "TB" == thomas buehrmann <address@hidden> writes:
TB> is there a difference (e.g. in performance) between different
TB> agents subclassing from one base class and different agents
TB> implementing a common interface?
Message accessed via interfaces or inheritance should have the same
performance.
TB> Also, as long as every agent
TB> class has got the stepAgent method, I can use the
TB> 'createActionForEach$message' and the
TB> 'createFActionForEachHeterogeneous$call'.
Yep.
TB> what's the most efficient combination of these methods
TB> (inheritance, interface <-> message, call)?
createFActionForEachHomogeneous with a Java FCall argument will be the fastest,
provided you only have one type of agent in the set.
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.