pydcop.infrastructure.agents

Base ‘Agent’ classes.

An Agent instance is a stand-alone autonomous object. It hosts computations, which send messages to each other. Each agent has its own thread, which is used to handle messages as they are dispatched to computations hosted on this agent.

Functions

notify_wrap(f, cb)

Classes

Agent(name, comm[, agent_def, ui_port, …])

Object representing an agent.

RepairComputation(agent)

RepairComputationRegistration(computation, …)

ResilientAgent(name, comm, agent_def, …[, …])

An agent that supports resiliency by replicating it’s computations.

Exceptions

AgentException