| Package | Description |
|---|---|
| net.sf.tweety.agents | |
| net.sf.tweety.agents.sim |
| Modifier and Type | Class and Description |
|---|---|
class |
MultiAgentSystem<T extends Agent>
A multi-agent system is a collection of agents with some environment.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DummyAgent
A dummy agent is an agent that cannot act.
|
| Modifier and Type | Method and Description |
|---|---|
Agent |
ActionEvent.getAgent() |
| Modifier and Type | Method and Description |
|---|---|
MultiAgentSystem<? extends Agent> |
ActionEvent.getMultiAgentSystem() |
protected MultiAgentSystem<? extends Agent> |
AbstractProtocol.getMultiAgentSystem()
Returns the multi-agent system this protocol operates on.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Perceivable> |
Environment.getPercepts(Agent agent)
Retrieves the current percepts for the given agent.
|
protected boolean |
RigidProtocol.hasPerformedNoOperation(Agent a)
Checks whether the given agent has already performed
a NO_OPERATION.
|
protected void |
RigidProtocol.setHasPerformedNoOperation(Agent a)
Sets that the given agent has performed a NO_OPERATION.
|
| Constructor and Description |
|---|
ActionEvent(Agent agent,
MultiAgentSystem<? extends Agent> multiAgentSystem,
Executable action)
Creates a new ActionEvent.
|
| Constructor and Description |
|---|
AbstractProtocol(MultiAgentSystem<? extends Agent> multiAgentSystem)
Creates a new protocol for the given multi-agent system.
|
ActionEvent(Agent agent,
MultiAgentSystem<? extends Agent> multiAgentSystem,
Executable action)
Creates a new ActionEvent.
|
RigidProtocol(MultiAgentSystem<? extends Agent> multiAgentSystem)
Creates a new rigid protocol for the given multi-agent system.
|
RoundRobinProtocol(MultiAgentSystem<? extends Agent> multiAgentSystem)
Creates a new (non-rigid) round robin protocol for the given multi-agent system.
|
RoundRobinProtocol(MultiAgentSystem<? extends Agent> multiAgentSystem,
boolean isRigid)
Creates a new (non-rigid) round robin protocol for the given multi-agent system.
|
SynchronousProtocol(MultiAgentSystem<? extends Agent> multiAgentSystem)
Creates a new (non-rigid) synchronous protocol for the given multi-agent system
and unlimited number of steps.
|
SynchronousProtocol(MultiAgentSystem<? extends Agent> multiAgentSystem,
boolean isRigid)
Creates a new synchronous protocol for the given multi-agent system and unlimited number of steps.
|
SynchronousProtocol(MultiAgentSystem<? extends Agent> multiAgentSystem,
int numberOfSteps)
Creates a new (non-rigid) synchronous protocol for the given multi-agent system and the
given number of steps.
|
SynchronousProtocol(MultiAgentSystem<? extends Agent> multiAgentSystem,
int numberOfSteps,
boolean isRigid)
Creates a new synchronous protocol for the given multi-agent system.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
AgentGenerator<T extends Agent,S extends MultiAgentSystem<T>>
This interface defines an agent template that is used to generate
agents following some common characteristics.
|
class |
GameSimulator<S extends AbstractProtocol & GameProtocol,T extends Agent,R extends MultiAgentSystem<T>>
This class implements a game simulator.
|
interface |
MultiAgentSystemGenerator<T extends Agent,S extends MultiAgentSystem<T>> |
interface |
ProtocolGenerator<T extends Protocol,S extends Agent,R extends MultiAgentSystem<S>>
Generates protocols for simulation.
|
class |
SimulationResult<S extends AbstractProtocol & GameProtocol,T extends Agent,R extends MultiAgentSystem<T>>
Instances of this class summarize information
on a performed simulation.
|
| Modifier and Type | Method and Description |
|---|---|
Agent |
GameProtocol.getWinner()
If the game has a winner, this methods returns it.
|
| Modifier and Type | Method and Description |
|---|---|
Double |
GameProtocol.getUtility(Agent agent)
Returns the utility of the given agent for
the final situation.
|
Copyright © 2018. All rights reserved.