alice.luce
Class Agent

java.lang.Object
  |
  +--alice.luce.User
        |
        +--alice.luce.Agent
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
Automaton

public abstract class Agent
extends User
implements java.lang.Runnable

Defines a very naive TuCSoN agent base class, as a Runnable object with the ability to access TuCSoN infrastructure

See Also:
LogicTuple, User

Constructor Summary
protected Agent(AgentId id)
          Constructs the agent specifying its identifier
protected Agent(java.lang.String name)
          Constructs the agent specifying its name
 
Methods inherited from class alice.luce.User
getId, getSpec, in, inp, out, outAsync, rd, rdp, setSpec, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Runnable
run
 

Constructor Detail

Agent

protected Agent(AgentId id)
Constructs the agent specifying its identifier
Parameters:
id - the agent identifier

Agent

protected Agent(java.lang.String name)
Constructs the agent specifying its name
Parameters:
name - the agent name