• Aucun résultat trouvé

IA51: Artificial intelligence for serious game Intermediate Exam P2018

N/A
N/A
Protected

Academic year: 2022

Partager "IA51: Artificial intelligence for serious game Intermediate Exam P2018"

Copied!
2
0
0

Texte intégral

(1)

IA51: Artificial intelligence for serious game Intermediate Exam P2018

Duration: 2h00.

Paper documents are allowed. No electronic device allowed.

English recommended, French accepted.

Part 1: Questions (5 points)

Question 1.1:

In the definition of the concept of “Agent”, four major characteristics are defined.Provide at least two of these characteristics, and briefly explain them.

Question 1.2:

Consider an agent-based simulator with a situated environment.Draw a figure that describes the general software architecture of the simulator.On this figure, you must draw:

• the agents;

• the avatars;

• the environment;

• the graphical user interface.

Question 1.3:

Explain briefly the ‘influence-reaction” model. In your explanation, your must use the words “influence“,

“reaction” and “action”.

1

(2)

Part 2: Environment Model

The goal of this part is to define an environment that could be used for road traffic simulation. It may contain urban objects and vehicles.

Question 2.1: Environment Model (5 points)

Write the UML class diagram for the environment and its internal data structure. You should se- lect the best data structure for supporting the continuous space of the environment. You must detail the following elements in the class diagram:

• the different types of environment objects;

• the data structure that contains the environment objects;

• the relationship with the agents.

Question 2.2: Perception Function Prototype (1 points)

Let the functioncomputePerception, which computes the collection of perceived objects for each agent.

What is the prototype of this function?

Question 2.3: Perception Algorithm (6 points)

Write the perception algorithmthat corresponds to the content of the functioncomputePerception, and following the UML class diagram that is proposed in the first question of this part. You could write it with pseudo-code, or the SARL language.

Part 3: Force-based Algorithm (3 points)

Let the agentA. The goal of this part of the exam is to provide the algorithm for the “force-based” algorithm related toA. This behavior permits toAto seek to a position in the environment, as fast as possible, and avoiding collisions. The inputs of the algorithm are:

• pAis the current position ofA(positionxA,yA);

• ~vAis the current velocity vector ofA(not a unit vector, vector with its length inm/s);

• SAis the maximal speed capability of the agentA(inm/s);

• AAis the maximal linear acceleration capability of the agentA(inm/s2);

• T is the point to reach (positionxT,yT).

• Ois set of the positions of the objects aroundA(positionxoi,yoiwhereoiis an object around).

The output of the algorithm is the linear motion vectorm~ =(mx,my) that has its length inm/s2. m/smeans “speed in meters per second”, andm/s2means “acceleration in meters per square second.”

Provide the “force-based” algorithm.You could write it with pseudo-code, or the SARL language.

2

Références

Documents relatifs

Once this constraint is lifted by the deployment of IPv6, and in the absence of a scalable routing strategy, the rapid DFZ RIB size growth problem today can potentially

While the IPv6 protocols are well-known for years, not every host uses IPv6 (at least in March 2009), and most network users are not aware of what IPv6 is or are even afraid

Keywords: Behavioural Science, Behavioural Economics, Health Promotion, Public Health, Nudge.. David McDaid is Senior Research Fellow at LSE Health and Social Care and at

Upgrade the UML class diagram that you have provided for the previous question in order to define the data structure (list, set, tree, graph) that permits to store the

normative influence to reduce the consumption of hot drinks sold in to-go cups.. To that end, we

S everal years ago, at the urging of some nonmedical friends, a small group of physicians and our spouses created a new board game called “Diagnosis.” Each player was a

Devant de telles absurdités, la tentation est grande de retomber sur la solide distinction entre substance et attributs, ou dans celle entre noms propres et noms communs,

Answer the question.. Answer