currentVote, eliminated, mole, nameString, ponderings, secondOrderBelief, suspicions, typeString
Constructor and Description |
---|
SmartMole(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
doAssignment(Assignment ass)
Asks the agent to decide whether to try or to fail in the current
assignment.
|
void |
listenConversation(Agent speaker,
Agent suspicion)
ConversationEvent tells Agent who is the mole.
|
informAssResult, informElimination, informGameEnd
addCompetitor, addCompetitors, avgSuspicion, clearSecondOrderBelief, decideVote, eliminate, getMaxSuspiciousAgents, getName, getNumberOfCompetitors, getPonderings, getSuspicions, getTypeString, isEliminated, isMole, normalizeSuspicions, ponder, setName, setTypeString, summedSuspicion, tellConversation, toString, updateSuspicion, updateView, vote
public void listenConversation(Agent speaker, Agent suspicion)
Agent
listenConversation
in interface Agent
listenConversation
in class AgentImplementation
speaker
- the agent who gives the informationsuspicion
- the suspicion which speaker tells listenerpublic boolean doAssignment(Assignment ass)
Agent
doAssignment
in interface Agent
doAssignment
in class Mole