Sei sulla pagina 1di 4

EXPERIMENTOS DE MTODOS DE BUSCA ATRAVS DO USO DO APLICATIVO

DEMONSTRATION.JAR
1)Considere os oito pontos indicados a seguir no diagrama dos estados.

4
6

7
2

Search Demonstration

The purpose of this demonstration is to help you develop intuition for how various search methods perform.
The particular problem solved is that of finding paths through a map of part of Cambridge, Massachusetts.
The Type menu item on the menu bar provides access to a variety of search methods. The Speed item
enables you to alter how fast the search movie plays. The Filter item allows you to eliminate from
consideration partial paths that have already been either enqueued or extended (same as expanded).
If you press the Set start button, and click near a node, that node will become the starting position; if you
press the Set goal button, then click near a node, that node becomes the goal. Search initiates search.
Other buttons have obvious purposes.

2)Os itens do menu Type tem qual finalidade?


3)O menu Filter tem trs opes: None, Enqueued, Expanded. Como cada uma delas afeta a
execuo das buscas?

4)Preencha a Tabela 02, considerando as seguintes condies:


a)A tabela 01 fornece os pontos A, B, C, D e E para cada uma das equipes;
b)Para cada um dos trechos selecionados, por exemplo, 2-5, selecione-os no aplicativo
como estado inicial e final respectivamente, e execute o mtodo de busca indicado, com as
opes Driver = Beginner e Filter como None. Anote os resultados obtidos em termos de
Ns expandidos, Tamanho da fila, Tamanho da soluo e Distncia da soluo;
c)Realize o procedimento anterior para cada um dos mtodos de busca para cada um dos
trechos indicados (anotando o trecho na tabela);
d)Preencha a tabela 03, com as mdias, desvio padro e fator de ramificao de cada um
dos mtodos testados;
e)Conclua o relatrio comparando os diversos mtodos e suas caractersticas baseados nos
ndices obtidos na etapa anterior (tabela 03). No se esquea de analisar os resultados
baseados nas mdias e desvio padro obtidos, levando em conta os testes estatsticos de
teste de hipteses para determinar se h diferena significativa entre eles.
Tabela 01 Lista dos Pontos a serem trabalhados por cada equipe
Equipe
Pontos
1
A = 1; B = 2; C = 3; D = 4; E = 5
2
A = 6; B = 7; C = 8; D = 1; E = 2
3
A = 3; B = 4; C = 5; D = 6; E = 8
4
A = 8; B = 1; C = 2; D = 3; E = 4
5
A = 5; B = 6; C = 7; D = 8; E = 1
6
A = 2; B = 3; C = 1; D = 7; E = 4
7
A = 7; B = 5; C = 4; D = 2; E = 6
8
A = 4; B = 8; C = 6; D = 5; E = 7
9
A = 3; B = 5; C = 8; D = 7; E = 4
10
A = 2; B = 7; C = 1; D = 6; E = 8
OrigemDestino
AB

AC

AD

AE

Mtodo de
Busca
Largura
Profundidade
1. Melhor
A*
Largura
Profundidade
1. Melhor
A*
Largura
Profundidade
1. Melhor
A*
Largura
Profundidade

Tabela 02 Resultados Obtidos


Ns
Tamanho da Tamanho da
expandidos
fila
soluo
5
8
3
9
12
9
3
5
3
5
5
3
54
47
6
17
16
14
9
9
6
10
9
6
8
11
4
6
9
6
4
6
4
4
6
4
27
29
5
16
15
13

Distncia da
soluo
0.2k
0.7k
0.2k
0.2k
0.4k
1.1k
0.4k
0.4k
0.4k
0.5k
0.2k
0.2k
0.4k
1.1k

BC

BD

BE

CD

CE

DE

BA

CA

DA

EA

CB

1. Melhor
A*
Largura
Profundidade
1. Melhor
A*
Largura
Profundidade
1. Melhor
A*
Largura
Profundidade
1. Melhor
A*
Largura
Profundidade
1. Melhor
A*
Largura
Profundidade
1. Melhor
A*
Largura
Profundidade
1. Melhor
A*
Largura
Profundidade
1. Melhor
A*
Largura
Profundidade
1. Melhor
A*
Largura
Profundidade
1. Melhor
A*
Largura
Profundidade
1. Melhor
A*
Largura
Profundidade
1. Melhor

6
9
14
23
3
3
7
12
3
3
5
20
2
2
34
18
6
6
5
4
3
3
39
21
5
10
8
4
5
4
35
10
6
7
14
6
4
4
33
20
7
10
5
6
3

8
8
19
18
7
6
14
11
8
6
11
16
6
5
34
16
10
8
6
7
5
4
39
15
9
11
15
9
9
8
35
14
9
10
15
10
7
7
37
20
10
14
6
8
5

5
5
3
23
3
3
3
12
3
3
2
20
2
2
6
18
6
6
3
4
3
3
5
14
5
5
3
4
3
3
6
10
6
6
4
6
4
4
5
20
5
5
3
6
3

0.4k
0.4k
0.2k
1.8k
0.2k
0.2k
0.2k
0.9k
0.2k
0.2k
0.2k
1.6k
0.2k
0.2k
0.4k
1.5k
0.4k
0.4k
0.2k
0.4k
0.2k
0.2k
0.4k
1.3k
0.4k
0.4k
0.2k
0.4k
0.2k
0.2k
0.4k
1.0k
0.4k
0.4k
0.4k
0.5k
0.2k
0.2k
0.4k
1.6k
0.4k
0.4k
0.2k
0.6k
0.2k

DB

EB

DC

EC

ED

Mtodo

A*
Largura
Profundidade
1. Melhor
A*
Largura
Profundidade
1. Melhor
A*
Largura
Profundidade
1. Melhor
A*
Largura
Profundidade
1. Melhor
A*
Largura
Profundidade
1. Melhor
A*

3
8
7
3
5
2
2
2
3
76
24
9
11
5
3
3
4
32
14
5
7

4
12
11
6
5
5
5
5
5
61
17
11
11
9
6
6
6
36
13
10
10

3
3
7
3
3
2
2
2
2
6
17
6
6
3
3
3
3
5
14
5
5

Tabela 03 Resultados comparativos entre os mtodos (*)


Ns
Tamanho da Tamanho da Distncia da
expandidos
fila
soluo
soluo

0.2k
0.2k
0.6k
0.2k
0.2k
0.2k
0.2k
0.2k
0.2k
0.4k
1.5k
0.4k
0.4k
0.2k
0.2k
0.2k
0.2k
0.4k
1.1k
0.4k
0.4k
Fator de
ramificao

Largura
Profundidade
1. Melhor
A*
(*) Represente os resultados usando a mdia e o desvio padro.
5)Concluses Gerais:
6)Pesquise os mtodos indicados abaixo, descrevendo suas caractersticas e apresentado o
algoritmo correspondente:
a)Subida da montanha (em ingls hill climbing);
b)Busca em feixe (em ingls beam search);
c)Mtodo de busca Tabu (em ingls tabu search).

Potrebbero piacerti anche