Presentation is loading. Please wait.

Presentation is loading. Please wait.

Rollerslam – Actions and Percepts Antonio Jose de Vasconcelos Costa - ajvc Breno Batista Machado - bbm Cleyton Mario de Oliveira Rodrigues - cmor Marcos.

Similar presentations


Presentation on theme: "Rollerslam – Actions and Percepts Antonio Jose de Vasconcelos Costa - ajvc Breno Batista Machado - bbm Cleyton Mario de Oliveira Rodrigues - cmor Marcos."— 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 > Environment > Referee > Player

3 Interfaces > 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) > IEyes +see (env : EnvironmentModel) > IEar +recvMessage (subject : Fact) > IBody +feel(hasball: Boolean, position: Vector, velocity: Vector, acceleration: Vector)

4 Class Diagram – Agents Effectors > SendPercepts > + sendPerceptSee (env : EnvironmentModel) > + sendPerceptRecvMessage (subject : Fact) > + sendPerceptFeel (hasball: Boolean, position: Vector, velocity: Vector, acceleration: Vector) > Environment > Referee > Player > Agent - arm > Arms > +release () > +catch () > +throw (acceleration : Vector) > +tackle () > +hit() > Legs > +dash (acceleration : Vector) > +kick (acceleration : Vector) + > hit () - leg - mouth > Mouth > +sendMessage (subject : Fact) - effector 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. > IArms > IArms > ILegs

5 Class Diagram – Agents Sensors > Eyes > +see (env : EnvironmentModel) > Ear > +recvMessage (subject : Fact) > Body > +feel(hasball: Boolean, position: Vector, velocity: Vector, acceleration: Vector) > Agent > Environment > Referee > Player - body - ear - eyes sensor 1 1 > IGetActions > GetActions > + 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)

6 > GetActions > + 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) Class Diagram – Agent X Environment > Arms > +release () > +catch () > +throw (acceleration : Vector) > +tackle () > +hit() > Mouth > +sendMessage (subject : Fact) > Legs > +dash (acceleration : Vector) > +kick (acceleration : Vector) + > hit () IGetAction PArmAction PMouthAction PLegAction PGetArmAction PGetMouthAction PGetLegAction

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

8 Class Diagram – Environment X Player > Player > Environment > SendPercepts > Eyes > Ear > Body IEar IEyes IBody PBdP PErP PEsP PSBdP PSEsP PSErP

9 Class Diagram – Player X Environment > Player > Environment > GetActions > Mouth > Arms > Legs IGetActions PLgA PArA PMtA PGLgA PGMtA PGArA IGetActions


Download ppt "Rollerslam – Actions and Percepts Antonio Jose de Vasconcelos Costa - ajvc Breno Batista Machado - bbm Cleyton Mario de Oliveira Rodrigues - cmor Marcos."

Similar presentations


Ads by Google