Você está na página 1de 5

Intelligent Systems

Fourth homework

URUKH-AI

1 Soccer Game
1.1 Scenario description
Soccer game is a team game, each team is composed by 11 players. A team is
made up of one goalkeeper and ten outfield players who fill various defensive,
midfield, and attacking positions depending on the formation deployed.

The environment in which the game take place is a rectangular-shaped field


where are deployed two doors on short sides of the rectangle. In this field
there is a ball with which the players interact.

A soccer team aims to score a goal, a goal is made when the ball passes goal
line of the opposing team.

A soccer team has to score one more goal than other team. When the num-
bers of goals is equal, there is a draw.

Agents are players, beside these there are other agents like referees that have
as their purpose of enforcing the rules of soccer.
Each player can move freely in the soccer field and can interact with the ball
through every part of his body except the upper limbs.

1
1.2 Performance measures
To measure the team’s performance, the goals scored are counted.

The measures used for define outfield players’ performance are different from
the ones used for goalkeeper.

To measuring outfield players’ performance are used different parameteres:

• Goals scored;

• Shots on goal;

• Won contrasts;

• Successfull passes;

To measuring goalkeeper’s performance are used other parameteres:

• Goals conceded;

• Saves;

2
Intelligent Systems
Fifth homework

URUKH-AI

1 Street Lights Scenario


This scenario is composed of a set of streets and street lights.
The street lights are smart aims to save electricity.
Another purpose is to guarantee good visibility of the street.
Each street light can illuminate a limited portion of the street.

Percept: presence of vehicles or people in the range of the street light and
detect light conditions.
Actions: TurnOn, TurnOff.

1
1.1 P. E. A. S.
• Performance Measures: Save electricity, guarantee good visibility;

• Environment: Set of streets, set of vehicles, set of people;

• Actuators: Light bulb;

• Sensors: Optical sensors, brightness sensor;

1.2 Performance measures


• Save electricity: + X points for X minutes when the light is off;

• Guarantee good visibility: - N points for each people or vehicle


that passes with poor visibility within 10 meters.

Where

• N = numbers of vehicles or people;

• X = minutes;

2
2 Router Scenario
Network router aims to routing packets of input and output.

2.1 Performance measures


• Optimize routing: + N/T points per N packets routed in time T;

Where

• N = numbers of packets;

• T = waiting time of a packet in router’s buffer i/o;

3 Autometed Pizza Delivery Service Scenario


This scenario is composed of an automated pizza delivery service operating
over Cosenza and Rende.
This service works thanks to an automatic calculation of the best route based
on the orders received according to city map and current traffic conditions.

Percept: order list, city map and traffic conditions.

3.1 P. E. A. S.
• Performance Measures: Minimize delivery time;

• Environment: City map, order list;

• Actuators: Delivery men;

• Sensors: GPS, traffic info;

3.2 Performance measures


• Minimize client’s waiting time: + T1 /T2 points per delivery;

Where

• N = T1 estimated time for delivery;

• T = T2 time used for delivery;

Você também pode gostar