Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## modelling
Interface Communicating

All Known Implementing Classes:
  CommunicatingAgent

public interface Communicating

Discussion between two agents.

Nested Class Summary
`static interface` | `Communicating.Discussion` Implemented by `CommunicatingAgent.Discussion`, who extends `Agent.Action`.

Method Summary
`Communicating.Discussion` | `getCurrentDiscussion()` Current discussion of the agent (returns `null` if none).
`boolean` | `hear(java.lang.String speech, Communicating Speaker)` Receives the partner's speech.

Method Detail

### hear

    public boolean hear(java.lang.String speech,
                        Communicating Speaker)

  Receives the partner's speech. Returns whether we plan to respond.

### getCurrentDiscussion

    public Communicating.Discussion getCurrentDiscussion()

  Current discussion of the agent (returns `null` if none).

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD