tarea 07
TRANSCRIPT
![Page 1: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/1.jpg)
Tarea 07
Implementa el caso "Cruzar Calle" en XFuzzy
![Page 2: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/2.jpg)
![Page 3: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/3.jpg)
![Page 4: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/4.jpg)
![Page 5: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/5.jpg)
![Page 6: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/6.jpg)
![Page 7: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/7.jpg)
![Page 8: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/8.jpg)
![Page 9: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/9.jpg)
![Page 10: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/10.jpg)
![Page 11: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/11.jpg)
![Page 12: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/12.jpg)
Al código mostrado agregamos el que corresponde a los operadores difusos que son utilizados en nuestro caso
operatorset oper {
and xfl.min();
defuz xfl.CenterOfArea ();
}
Unimos todo el código en orden:
Operadores Tipos Reglas Sistema
Finalmente lo copiamos al ambiente
Xfuzzy
Ejecutar el programa Xfuzzy
Creando el sistema fuzzy
![Page 13: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/13.jpg)
Secuencia de acciones:
File
New Sistem
Guardando el sistema fuzzy calle.xfl
Secuencia de acciones:
Hacemos clic en nomame_000
File
Save System As... Seleccionamos la carpeta en la que guardamos
El sistema fuzzy
Archivo: calle.xfl
Save
![Page 14: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/14.jpg)
![Page 15: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/15.jpg)
Diseñamos el sistema fuzzy
Secuencia de acciones:
Design
Edit System
![Page 16: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/16.jpg)
Secuencia de acciones:
File
Edit XFL3 file
![Page 17: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/17.jpg)
Digitamos los operadores fuzzy:
operatorset oper {
and xfl.min();
defuz xfl.CenterOfArea();
}
![Page 18: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/18.jpg)
Guardamos el archivo
OK Verificamos los cambios
![Page 19: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/19.jpg)
Regresamos al editor del sistema y escribimos el resto de código para los tipos, variables y base de reglas del sistema que tratamos en las diapositivas anteriores
![Page 20: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/20.jpg)
Guardamos el archivo
OK Verificamos los cambios
(Verificar en la pantalla principal del programa la existencia de errores)
![Page 21: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/21.jpg)
Haciendo doble clic sobre cada uno de los elementos que hemos creado visualizamos sus atributos
![Page 22: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/22.jpg)
![Page 23: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/23.jpg)
![Page 24: Tarea 07](https://reader033.vdocumento.com/reader033/viewer/2022052620/557210cd497959fc0b8db2f3/html5/thumbnails/24.jpg)
Monitoreamos el Sistema creado
Secuencia de acciones
Verification
Monitorization