simuLCS
Class AgentClassifierDuck

java.lang.Object
  extended bysimuLCS.Entity
      extended bysimuLCS.Agent
          extended bysimuLCS.AgentClassifier
              extended bysimuLCS.AgentClassifierDuck

public class AgentClassifierDuck
extends AgentClassifier

An agent with a Duck Behaviour described as a set of rules (using TemplateRSP).

Author:
Benoit

Field Summary
 
Fields inherited from class simuLCS.AgentClassifier
behaviour, DETECTION_DISTANCE, isDetectionLimited, lastMovVector, template
 
Fields inherited from class simuLCS.Agent
arena, heading, oldcoord
 
Fields inherited from class simuLCS.Entity
color_ext, color_int, coord, generator, name, paintName, size
 
Constructor Summary
AgentClassifierDuck(java.util.Random gen, Arena a, java.lang.String name)
          Creates the Agent with the set of rules corresponding to the duck model
 
Methods inherited from class simuLCS.AgentClassifier
canDetect, drawVisibilityCircle, getBehaviour, getLastMovVector, getNewMovVectorAccordingTo, getTemplate, isDetectionLimited, move, paint, setBehaviour, setDetectionLimited, setLastMovVector, setTemplate
 
Methods inherited from class simuLCS.Agent
clear, clear, getArena, getBehaviour, getCoordNearTo, getRadius, isDangerous, isMoving, move, toString
 
Methods inherited from class simuLCS.Entity
collideWithMe, distanceTo, getColor_ext, getColor_int, getCoord, getId, getName, getRadiusBody, getSize, isPaintName, setColor_ext, setColor_int, setName, setPaintName, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentClassifierDuck

public AgentClassifierDuck(java.util.Random gen,
                           Arena a,
                           java.lang.String name)
Creates the Agent with the set of rules corresponding to the duck model

Parameters:
gen -
a -
name -