1 / 9

Rollerslam – Actions and Percepts

Rollerslam – Actions and Percepts. Antonio Jose de Vasconcelos Costa - ajvc Breno Batista Machado - bbm Cleyton Mario de Oliveira Rodrigues - cmor Marcos Aurelio Almeida da Silva - maas Pablo Santana Barbosa - psb Weslei Alvim de Tarso Marinho - watm. Class Diagram - Agents.

lorie
Download Presentation

Rollerslam – Actions and Percepts

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Rollerslam – Actions and Percepts Antonio Jose de Vasconcelos Costa - ajvc Breno Batista Machado - bbm Cleyton Mario de Oliveira Rodrigues - cmor Marcos Aurelio Almeida da Silva - maas Pablo Santana Barbosa - psb Weslei Alvim de Tarso Marinho - watm

  2. Class Diagram - Agents <<Agent>> Agent <<GoalAgent>> Player <<AutomataAgent>> Environment <<AutomataAgent>> Referee

  3. <<Interface>> IGetActions + receiveActionRelease (p : Player) + receiveActionCatch (p : Player) + receiveActionThrow (acceleration : Vector, p : Player) + receiveActionTackle (p : Player) + receiveActionHitArm (p : Player) + receiveActionHitLegs (p : Player) + receiveActionDash (acceleration : Vector, p : Player) + receiveActionKick (acceleration : Vector, p : Player) + receiveActionSendMessage (subject : Fact, p : Agent) <<Interface>> IBody +feel(hasball: Boolean, position: Vector, velocity: Vector, acceleration: Vector) <<Interface>> IEyes +see (env : EnvironmentModel) <<Interface>> IEar +recvMessage (subject : Fact) Interfaces

  4. Class Diagram – Agents Effectors <<Effector>> SendPercepts <<Action>> + sendPerceptSee (env : EnvironmentModel) <<Action>> + sendPerceptRecvMessage (subject : Fact) <<Action>> + sendPerceptFeel (hasball: Boolean, position: Vector, velocity: Vector, acceleration: Vector) <<Agent>> Agent <<Effector>> Mouth <<Action>> +sendMessage (subject : Fact) O antitackle será automático, isto é, sempre que um player receber um tackle, o ambiente irá analisar se o tackle será bem sucedido ou não, de acordo com os players. 1 - effector <<Interface>> IArms <<GoalAgent>> Player <<AutomataAgent>> Referee <<AutomataAgent>> Environment 1 1 1 - arm - leg <<Effector>> Legs <<Action>> +dash (acceleration : Vector) <<Action>> +kick (acceleration : Vector) +<<Action>> hit () 1 - mouth 1 - mouth 1 1 <<Effector>> Arms <<Action>> +release () <<Action>> +catch () <<Action>> +throw (acceleration : Vector) <<Action>> +tackle () <<Action>> +hit() <<Interface>> IArms <<Interface>> ILegs

  5. <<Sensor>> GetActions <<Percept>> + receiveActionRelease (p : Player) <<Percept>> + receiveActionCatch (p : Player) <<Percept>> + receiveActionThrow (acceleration : Vector, p : Player) <<Percept>> + receiveActionTackle (p : Player) <<Percept>> + receiveActionHitArm (p : Player) <<Percept>> + receiveActionHitLegs (p : Player) <<Percept>> + receiveActionDash (acceleration : Vector, p : Player) <<Percept>> + receiveActionKick (acceleration : Vector, p : Player) <<Percept>> + receiveActionSendMessage (subject : Fact, p : Agent) <<Sensor>> Body <<Percept>> +feel(hasball: Boolean, position: Vector, velocity: Vector, acceleration: Vector) <<Sensor>> Eyes <<Percept>> +see (env : EnvironmentModel) <<Sensor>> Ear <<Percept>> +recvMessage (subject : Fact) Class Diagram – Agents Sensors <<Interface>> IGetActions <<Agent>> Agent 1 - sensor <<GoalAgent>> Player <<AutomataAgent>> Referee <<AutomataAgent>> Environment 1 1 1 - eyes - eyes - body 1 1 - ear 1 1

  6. <<Sensor>> GetActions <<Percept>> + receiveActionRelease (p : Player) <<Percept>> + receiveActionCatch (p : Player) <<Percept>> + receiveActionThrow (acceleration : Vector, p : Player) <<Percept>> + receiveActionTackle (p : Player) <<Percept>> + receiveActionHitArm (p : Player) <<Percept>> + receiveActionHitLegs (p : Player) <<Percept>> + receiveActionDash (acceleration : Vector, p : Player) <<Percept>> + receiveActionKick (acceleration : Vector, p : Player) <<Percept>> + receiveActionSendMessage (subject : Fact, p : Agent) <<Effector>> Mouth <<Action>> +sendMessage (subject : Fact) Class Diagram – Agent X Environment PGetArmAction PGetLegAction IGetAction IGetAction PGetMouthAction PLegAction PArmAction <<Effector>> Legs <<Action>> +dash (acceleration : Vector) <<Action>> +kick (acceleration : Vector) +<<Action>> hit () IGetAction PMouthAction <<Effector>> Arms <<Action>> +release () <<Action>> +catch () <<Action>> +throw (acceleration : Vector) <<Action>> +tackle () <<Action>> +hit()

  7. <<Effector>> SendPercepts <<Action>> + sendPerceptSee(env : EnvironmentModel) <<Action>> + sendPerceptRecvMessage (subject : Fact) <<Action>> + sendPerceptFeel (hasball: Boolean, position: Vector, velocity: Vector, acceleration: Vector) <<Sensor>> Eyes <<signal>> +see( ):SeePercept <<Sensor>> Ear <<signal>> +recMessage( ): HearPercept <<Sensor>> Body <<signal>> +feel( ): FeelPercept Class Diagram – Environment X Agent PSendBodyPercept PSendEyesPercept ISendPercepts ISendPercepts PSendEarPercept PEyesPercept PBodyPercept ISendPercepts PEarPercept

  8. <<GoalAgent>> Player <<AutomataAgent>> Environment Class Diagram – Environment X Player IEar PErP PSErP <<Sensor>> Ear IEyes <<Sensor>> Eyes <<Effector>> SendPercepts PEsP PSEsP <<Sensor>> Body IBody PBdP PSBdP

  9. <<GoalAgent>> Player <<AutomataAgent>> Environment Class Diagram – Player X Environment IGetActions PArA PGArA <<Effector>> Arms <<Effector>> Mouth IGetActions <<Sensor>> GetActions PMtA PGMtA <<Effector>> Legs IGetActions PLgA PGLgA

More Related