Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
D
F
G
I
M
O
P
R
S
T
A
actionPerformed(ActionEvent)
- Method in class
AgentBuyerNormalDist
actionPerformed(ActionEvent)
- Method in class
BaseVisual
actionPerformed(ActionEvent)
- Method in class
TrafficJamApplet
addAgent(Agent)
- Method in class
Base
Adds a new agent to the base.
Agent
- class
Agent
.
The Agent class implements the base class of a mobile agent.
Agent(Base)
- Constructor for class
Agent
Creates a new agent
Agent(Base, String)
- Constructor for class
Agent
Creates a new agent
AgentBuyer
- class
AgentBuyer
.
AgentBuyer(Base)
- Constructor for class
AgentBuyer
AgentBuyerNormalDist
- class
AgentBuyerNormalDist
.
AgentBuyerNormalDist(Base)
- Constructor for class
AgentBuyerNormalDist
AgentPing
- class
AgentPing
.
AgentPing(Base)
- Constructor for class
AgentPing
agents
- Variable in class
Base
Contains all agents of the base
AgentSeller
- class
AgentSeller
.
AgentSeller(Base)
- Constructor for class
AgentSeller
AgentVisual
- class
AgentVisual
.
AgentVisual(Base)
- Constructor for class
AgentVisual
AgentVisual(Base, String)
- Constructor for class
AgentVisual
B
Base
- class
Base
.
A base is the home of the agents.
Base()
- Constructor for class
Base
Creates a new base
Base(String)
- Constructor for class
Base
Creates a new base with a name
BaseVisual
- class
BaseVisual
.
BaseVisual()
- Constructor for class
BaseVisual
BaseVisual(String)
- Constructor for class
BaseVisual
BUY_OBJECT
- Static variable in class
MessageNegotiate
D
debug(String)
- Method in class
AgentVisual
deliver()
- Method in class
Message
Delivers the message.
destroy()
- Method in class
Agent
Destroy's the agent.
destroy()
- Method in class
AgentVisual
destroy()
- Method in class
BaseVisual
F
fExpected(int)
- Method in class
AgentSeller
fFrame
- Variable in class
BaseVisual
fPanel
- Variable in class
AgentVisual
fSold(int)
- Method in class
AgentSeller
G
getAgentFrom()
- Method in class
Message
Returns which agent has sent the message
getBase()
- Method in class
Agent
Returns the home base of the agent
getFunction()
- Method in class
MessageNegotiate
getIndex()
- Method in class
MessageNegotiate
getMessage()
- Method in class
Message
Returns the string content of the message
getName()
- Method in class
Agent
getPrices()
- Method in class
MessageNegotiate
I
INFO_NEXT_DAY
- Static variable in class
MessageNegotiate
init()
- Method in class
AgentVisual
init()
- Method in class
BaseVisual
init()
- Method in class
TrafficJamApplet
initMenu()
- Method in class
BaseVisual
M
main(String[])
- Static method in class
TrafficJamFrame
Message
- class
Message
.
Message(Agent, Agent, String)
- Constructor for class
Message
Creates a new message to a specific agent
Message(Agent, Base, String)
- Constructor for class
Message
Creates a new message to another base ( to all the agents in the other base, broadcast )
Message(Agent, String)
- Constructor for class
Message
Creates a new message to the home base of an agent ( to the neighbors of our agent, broadcast)
MessageNegotiate
- class
MessageNegotiate
.
MessageNegotiate(Agent, Agent, double[])
- Constructor for class
MessageNegotiate
MessageNegotiate(Agent, Agent, int)
- Constructor for class
MessageNegotiate
MessageNegotiate(Agent, Base)
- Constructor for class
MessageNegotiate
MessageNegotiate(Agent, int, String)
- Constructor for class
MessageNegotiate
MessageNegotiateRequest
- class
MessageNegotiateRequest
.
MessageNegotiateRequest()
- Constructor for class
MessageNegotiateRequest
messageReceived(Message)
- Method in class
Agent
messageReceived(Message)
- Method in class
AgentVisual
messageReceived(Message)
- Method in class
Base
Called on incoming messages. (internal function, do not override) The base usually doesn't receive messages directly, but spreads each incoming message to all agents in the base (broadcast).
O
onBuy()
- Method in class
AgentBuyer
onCreate()
- Method in class
AgentBuyer
onCreate()
- Method in class
AgentBuyerNormalDist
onCreate()
- Method in class
AgentPing
onCreate()
- Method in class
AgentSeller
onCreate()
- Method in class
AgentVisual
onMessage(Message)
- Method in class
Agent
This function is called on incoming messages.
onMessage(Message)
- Method in class
AgentBuyer
onMessage(Message)
- Method in class
AgentBuyerNormalDist
onMessage(Message)
- Method in class
AgentPing
onMessage(Message)
- Method in class
AgentSeller
onMessage(Message)
- Method in class
AgentVisual
onMessage(Message)
- Method in class
Base
Called on incoming message.
onMessage(Message)
- Method in class
BaseVisual
onNewDay()
- Method in class
AgentSeller
onUpdate()
- Method in class
Base
Called when agent was added or removed.
onUpdate()
- Method in class
BaseVisual
P
PRICE_ANSWER
- Static variable in class
MessageNegotiate
PRICE_QUERY
- Static variable in class
MessageNegotiate
R
removeAgent(Agent)
- Method in class
Base
Removes an agent from the base.
run()
- Method in class
AgentBuyer
S
setBase(Base)
- Method in class
Agent
Transfers agent to another base.
sleep(long)
- Static method in class
Agent
T
toString()
- Method in class
Agent
toString()
- Method in class
Base
toString()
- Method in class
Message
TrafficJamApplet
- class
TrafficJamApplet
.
TrafficJamApplet()
- Constructor for class
TrafficJamApplet
TrafficJamFrame
- class
TrafficJamFrame
.
TrafficJamFrame()
- Constructor for class
TrafficJamFrame
A
B
D
F
G
I
M
O
P
R
S
T
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES