tag:blogger.com,1999:blog-17677387805231173832024-03-13T12:36:51.458-07:00ModeladoEste es el blog de la unidad de apendizaje de programación de sistemas adaptativos y su laboratorio, impartidas por la Dra. Elisa Schaeffer en la FIME de la UANL en el semestre agosto-diciembre del 2011 para estudiantes de quinto semestre de ITS.RObertohttp://www.blogger.com/profile/11166188729582610562noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-1767738780523117383.post-17450837543136014372012-05-28T23:55:00.000-07:002012-05-31T23:34:53.576-07:00Proyecto Final Simulación<b>
Descripción del proyecto</b><br />
<div style="text-align: justify;">
Simulación del movimiento que produce la gravedad en partículas que varian en tamaño y masa.
Nuestro programa recibe parametros como la constante de gravitación y cantidad y rango de tamaño de particulas en pantalla, para poder observar los diferentes comportamientos de este fenomeno.</div>
<div style="text-align: justify;">
<br /></div>
<b>
¿Por qué simular la gravedad?</b><br />
<div style="text-align: justify;">
Instituciones gubernamentales como la NASA necesitan programas de simulación que les ayuden a seguir el trayecto o ruta de objetos en el espacio, y su comportamiento en relación con los cuerpos de gran masa como el Sol y los planetas.
Es de gran ayuda también para ver la influencia de cometas y la luna con nuestros satélites artificiales, para impedir que estos últimos salgan de orbita o se estrellen.
</div>
<div style="text-align: justify;">
<br /></div>
<b>
Fórmulas para la atracción de cuerpos<br />
Ley de la Gravitación Universal de Newton</b><br />
<div style="text-align: justify;">
Esta ley establece que los efectos de la gravedad son siempre atractivos, y la fuerza resultante se calcula respecto al centro de la gravedad de ambos objetos.
La fuerza es mayor si los objetos estan próximos y mientras se van alejando pierden esa intensidad.</div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-ytfhZlO-XB4/Tp9KRiBAdII/AAAAAAAAAKU/uD9nZ_r-5-Q/s320/gravitacion-universal.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-ytfhZlO-XB4/Tp9KRiBAdII/AAAAAAAAAKU/uD9nZ_r-5-Q/s320/gravitacion-universal.JPG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: justify;">
La G es la constante de gravitación universal, con un valor de 6.674x10^-11.
En nuestro programa este es un parametro que recibimos como entrada debido a que usamos esa constante G sería imposible ver mover las particulas.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Valores ficticios para la constante G debido a que si represetaramos una partícula del tamaño de una hormiga y otra del tamaño de la torre Eiffel aparte de ser practicamente imposible, no se podría ver el efecto de atracción, es por eso que la G debe tomar valores que podamos ver en la simulación. </div>
<div style="text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-pq5UrsRmzgs/T5M81_eP3WI/AAAAAAAAABQ/mnWgh4lrk_Y/s1600/eiffel_horizontal.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://1.bp.blogspot.com/-pq5UrsRmzgs/T5M81_eP3WI/AAAAAAAAABQ/mnWgh4lrk_Y/s320/eiffel_horizontal.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.mascosas.net.eu.org/pic00017a.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="148" src="http://www.mascosas.net.eu.org/pic00017a.jpg" width="200" /></a></div>
<br />
<br />
<br />
<br />
<b>Lenguajes y Herramientas </b><br />
<br />
El lenguaje usado fué Python con la librería Pygame.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.pygame.org/skins/main/pygame_logo_bot.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="64" src="http://www.pygame.org/skins/main/pygame_logo_bot.gif" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<b>
Código
<script src="https://gist.github.com/2823009.js">
</script>
</b><br />
<b><br /></b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-azO_1Nk4YmQ/T8RxyE7pZXI/AAAAAAAABkI/Rj63QEvZrUk/s1600/Screenshot%2Bat%2B2012-05-29%2B01%253A29%253A59.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="314" src="http://4.bp.blogspot.com/-azO_1Nk4YmQ/T8RxyE7pZXI/AAAAAAAABkI/Rj63QEvZrUk/s400/Screenshot%2Bat%2B2012-05-29%2B01%253A29%253A59.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<b>
Presentación </b><br />
<h3 style="text-align: center;">
<iframe allowfullscreen="true" frameborder="0" height="389" mozallowfullscreen="true" src="https://docs.google.com/presentation/embed?id=1CNo9IgragIiUJu7GFlAccuDoygbH_41O7bWdqR02bfI&start=false&loop=false&delayms=3000" webkitallowfullscreen="true" width="480"></iframe></h3>
<div>
<br />
<b>Video</b></div>
<div>
<div style="text-align: center;">
<br /></div>
</div>
<div style="text-align: center;">
<iframe allowfullscreen="" frameborder="0" height="315" src="http://www.youtube.com/embed/J3jkZv6jmws" width="560"></iframe></div>Cecilia Urbinahttp://www.blogger.com/profile/10619295723883333791noreply@blogger.com0tag:blogger.com,1999:blog-1767738780523117383.post-43525570698371635242011-11-25T19:19:00.000-08:002012-02-03T21:14:58.630-08:00Construyendo herramientasPara la fase 3 de laboratorio de Programación de Sistemas adaptativos, nos hemos topado con un problema de herramientas, nos fué difícil encontrar alguna que hiciera en Ubuntu la funcionalidad que hace Objectmarker(el cual no pudimos correr en Ubuntu), es poreso que nos dimos un pequeño tiempo para programar algo que lo hiciera.<br />Para quienes no saben la funcionalidad de la herramienta es tener alguna imágen en donde sale el objeto a identificar, de ahí encerrar en un cuadro y/u obtener las coordenadas de la parte superior izquierda de dicho rectángulo, y el largo y ancho del mismo.<br /><br />Lenguajes utilizados:<br /><br />Python: Para hacer el script que renombre todas las imágenes en formato *.jpg, esto se puede modificar si desean aceptar más formatos de imágenes.<br /><br />JavaScript: Utilizado para hacer en el navegador la interfaz con Canvas de Html5 y obtener las coordenadas.<br /><br />Script en python para renombrar:<br /><br /><a href="http://4.bp.blogspot.com/-20RJ3cv_qRA/TqRpIK3dMbI/AAAAAAAAAyM/FTx7p0fdvKA/s1600/renombrar.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 380px; height: 258px;" src="http://4.bp.blogspot.com/-20RJ3cv_qRA/TqRpIK3dMbI/AAAAAAAAAyM/FTx7p0fdvKA/s400/renombrar.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5666769820215751090" /></a><br /><br />El html:<br /><br /><a href="http://4.bp.blogspot.com/-Nojku9FdQHM/TqRpVQqUUEI/AAAAAAAAAyY/e0xlKEb1Huo/s1600/html.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 197px;" src="http://4.bp.blogspot.com/-Nojku9FdQHM/TqRpVQqUUEI/AAAAAAAAAyY/e0xlKEb1Huo/s400/html.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5666770045109555266" /></a><br /><br />Parte del JavaScript:<br /><br /><a href="http://2.bp.blogspot.com/-ctRVT0tVmfI/TqRpeunZPkI/AAAAAAAAAyk/xmD_3XLvygM/s1600/js.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 393px; height: 400px;" src="http://2.bp.blogspot.com/-ctRVT0tVmfI/TqRpeunZPkI/AAAAAAAAAyk/xmD_3XLvygM/s400/js.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5666770207769181762" /></a><br /><br /><br /><br />Es importante decir que el javascript empieza leyendo imágenes que van del 0.jpg a cualquier número(como lo hace el script). Si quiere por ejemplo que empieze del 300.jpg tendrá que modificar la variable "cont" global que se declara al inicio en javascript, Y para tener las imágenes nombradas del 300 en adelante o del 0 o cualquier numero en el script de Python se debe modificar la variable "empieza". <br />Los scripts, el html y el css DEBEN de estar en la misma carpeta.<br /><br /><a href="http://2.bp.blogspot.com/-mosXwxkpBDE/TqRqlFa_C1I/AAAAAAAAAyw/j2zASCzTzGI/s1600/jss.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 273px; height: 115px;" src="http://2.bp.blogspot.com/-mosXwxkpBDE/TqRqlFa_C1I/AAAAAAAAAyw/j2zASCzTzGI/s400/jss.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5666771416481991506" /></a><br /><br />Aquí muestro como se ve en el navegador:<br /><br /><a href="http://3.bp.blogspot.com/-uiXZXNZ7ask/TqR5U5pxnSI/AAAAAAAAAy8/NEASjuJwBS8/s1600/capt.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 229px;" src="http://3.bp.blogspot.com/-uiXZXNZ7ask/TqR5U5pxnSI/AAAAAAAAAy8/NEASjuJwBS8/s400/capt.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5666787631119310114" /></a><br /><br /><iframe width="560" height="315" src="http://www.youtube.com/embed/nTrXB70uTBg" frameborder="0" allowfullscreen=""></iframe><br /><br />Descargas:<br /><br /><a href="https://docs.google.com/open?id=0BzBiYAUF68vdY2EwZmViOTYtYzQ4ZC00OWFiLWExOWYtZGM1OGQwMWFhYmRm">renombrar.py</a><br /><a href="https://docs.google.com/leaf?id=0BzBiYAUF68vdMDQ2ZjYzOWYtYjY2Ni00OGE4LWIxODMtYWVjNDM2MTcxOGUz&hl=en_US">estilo.css<br /></a><br /><a href="https://docs.google.com/leaf?id=0BzBiYAUF68vdOGIxN2Q5OTQtMDY5Ni00ZDU5LThjZTctMjhmYTBkYmVmYTQy&hl=en_US">imagenes.js<br /></a><a href="https://docs.google.com/leaf?id=0BzBiYAUF68vdM2E4NDljNDItY2MwZC00N2RjLWJiN2YtNzhiOTZkMzJkN2Vl&hl=en_US">imagenes.html</a>Cecilia Urbinahttp://www.blogger.com/profile/10619295723883333791noreply@blogger.com1tag:blogger.com,1999:blog-1767738780523117383.post-89533629318801155632011-11-24T00:21:00.000-08:002011-11-25T00:21:52.519-08:00Final<iframe src="https://docs.google.com/present/embed?id=dfrdhrpp_174gktqgqgc" frameborder="0" width="410" height="342"></iframe>Cecilia Urbinahttp://www.blogger.com/profile/10619295723883333791noreply@blogger.com0tag:blogger.com,1999:blog-1767738780523117383.post-63965389371007817412011-11-15T08:15:00.001-08:002011-11-15T08:15:24.475-08:00FASE 4<iframe src="https://docs.google.com/present/embed?id=df3d4dq4_239g8mp36cm&size=m" frameborder="0" width="555" height="451"></iframe>Cecilia Urbinahttp://www.blogger.com/profile/10619295723883333791noreply@blogger.com5tag:blogger.com,1999:blog-1767738780523117383.post-69450404871137926082011-10-25T07:42:00.001-07:002011-10-25T07:42:58.012-07:00Fase 3 Clase<iframe src="https://docs.google.com/present/embed?id=df3d4dq4_193fpp575g8" frameborder="0" width="410" height="342"></iframe>RObertohttp://www.blogger.com/profile/11166188729582610562noreply@blogger.com0tag:blogger.com,1999:blog-1767738780523117383.post-63861665770394842112011-10-18T05:18:00.001-07:002011-10-18T05:18:17.589-07:00Fase 3 Laboratorio<iframe src="https://docs.google.com/present/embed?id=df3d4dq4_157g8smb2hj" frameborder="0" width="410" height="342"></iframe>Cecilia Urbinahttp://www.blogger.com/profile/10619295723883333791noreply@blogger.com0tag:blogger.com,1999:blog-1767738780523117383.post-34786149214806962222011-09-19T23:07:00.001-07:002011-09-20T06:56:33.979-07:00Fase 2<iframe src="https://docs.google.com/present/embed?id=df3d4dq4_107fgrvq5s8&size=m" frameborder="0" width="555" height="451"></iframe>Cecilia Urbinahttp://www.blogger.com/profile/10619295723883333791noreply@blogger.com0tag:blogger.com,1999:blog-1767738780523117383.post-64452357175605452822011-09-05T20:10:00.000-07:002011-09-06T07:10:15.174-07:00Fase 1<iframe src="https://docs.google.com/present/embed?id=df3d4dq4_89fm5pfkds&size=m" frameborder="0" width="555" height="451"></iframe>Cecilia Urbinahttp://www.blogger.com/profile/10619295723883333791noreply@blogger.com0tag:blogger.com,1999:blog-1767738780523117383.post-12337819356977730122011-08-16T09:48:00.000-07:002011-09-01T17:56:13.832-07:00Tarea 1: Laboratorio<div style="font-family: "Trebuchet MS",sans-serif; text-align: center;">
<b>Video demostrativo</b><br />
<iframe allowfullscreen="" frameborder="0" height="345" src="http://www.youtube.com/embed/1DxtAblzyhE" width="560"></iframe><br />
<b><br /></b><br />
<b><br /></b><br />
<b>Dibujo de la intersección</b><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-9dnxUqv2FiA/Tlzd5vhy9iI/AAAAAAAAAeE/Hris2GOnXGk/s1600/fondo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://2.bp.blogspot.com/-9dnxUqv2FiA/Tlzd5vhy9iI/AAAAAAAAAeE/Hris2GOnXGk/s320/fondo.png" width="320" /></a></div>
<br /></div>
<div style="text-align: center;">
<img border="0" height="240" src="http://2.bp.blogspot.com/-ZKsUhfWUy28/TlOnSaoQIsI/AAAAAAAAAdY/YNz6_L1RSfs/s320/imagen7.jpg" width="320" /></div>
<div style="font-family: "Trebuchet MS",sans-serif; text-align: center;">
Sentidos de las calles</div>
<div style="font-family: "Trebuchet MS",sans-serif; text-align: center;">
Posibles flujos de tránsito entre carriles.</div>
<div style="font-family: "Trebuchet MS",sans-serif; text-align: center;">
<b> <br />
</b></div>
<div style="font-family: "Trebuchet MS",sans-serif; text-align: center;">
<b>Matriz de conflictos de flujo</b></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-V0CAevMeLyI/TlrIJkx8brI/AAAAAAAAAdw/X0tUwqfipdI/s1600/PSA-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="232" src="http://4.bp.blogspot.com/-V0CAevMeLyI/TlrIJkx8brI/AAAAAAAAAdw/X0tUwqfipdI/s320/PSA-1.png" width="320" /></a></div>
<div style="text-align: center;">
<a href="http://4.bp.blogspot.com/-V0CAevMeLyI/TlrIJkx8brI/AAAAAAAAAdw/X0tUwqfipdI/s1600/PSA-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"> <br />
</a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-V0CAevMeLyI/TlrIJkx8brI/AAAAAAAAAdw/X0tUwqfipdI/s1600/PSA-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a><a href="http://1.bp.blogspot.com/-l-PRGfIWSZ4/TlrIKaBIlfI/AAAAAAAAAd0/rKKYAntS1e8/s1600/PSA-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="318" src="http://1.bp.blogspot.com/-l-PRGfIWSZ4/TlrIKaBIlfI/AAAAAAAAAd0/rKKYAntS1e8/s320/PSA-2.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="font-family: "Trebuchet MS",sans-serif; text-align: center;">
<b>Posibles asignaciones conjuntas.</b></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-JG3c4l8P5XQ/TlrNxY5-9tI/AAAAAAAAAd4/xqzpN2QOBZE/s1600/PSA-3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="231" src="http://1.bp.blogspot.com/-JG3c4l8P5XQ/TlrNxY5-9tI/AAAAAAAAAd4/xqzpN2QOBZE/s320/PSA-3.png" width="320" /></a></div>
<div style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-r0KcgYVa044/TlrNyKYugPI/AAAAAAAAAd8/YLhIhfkvgmk/s1600/PSA-4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="219" src="http://4.bp.blogspot.com/-r0KcgYVa044/TlrNyKYugPI/AAAAAAAAAd8/YLhIhfkvgmk/s320/PSA-4.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="font-family: "Trebuchet MS",sans-serif; text-align: left;">
<b>Variables</b> </div>
<div style="font-family: "Trebuchet MS",sans-serif; text-align: left;">
Largo de cola en carril.</div>
<div style="font-family: "Trebuchet MS",sans-serif; text-align: left;">
Tiempo de espera del carril, depende de cuantos autos tiene en la fila.</div>
<div style="font-family: "Trebuchet MS",sans-serif; text-align: left;">
<br /></div>
<div style="font-family: "Trebuchet MS",sans-serif; text-align: left;">
<b>Asignación de tiempo verde</b></div>
<div style="text-align: left;">
<span style="font-family: 'Trebuchet MS', sans-serif;">Ciclo fijo</span>:</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-tb3mXOlQzvE/TlOnRumvUWI/AAAAAAAAAdM/5pZ9VbfzDdU/s1600/imagen4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://2.bp.blogspot.com/-tb3mXOlQzvE/TlOnRumvUWI/AAAAAAAAAdM/5pZ9VbfzDdU/s320/imagen4.jpg" width="320" /></a></div>
<div style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-mBpDKWEhcc0/TlOnR_ak4gI/AAAAAAAAAdQ/67PvYaLB6-U/s1600/imagen5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://2.bp.blogspot.com/-mBpDKWEhcc0/TlOnR_ak4gI/AAAAAAAAAdQ/67PvYaLB6-U/s320/imagen5.jpg" width="240" /></a></div>
<div style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-7pOc_5_pUOg/TlOnSMdpibI/AAAAAAAAAdU/7dYjyvdA6jM/s1600/imagen6.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://1.bp.blogspot.com/-7pOc_5_pUOg/TlOnSMdpibI/AAAAAAAAAdU/7dYjyvdA6jM/s320/imagen6.jpg" width="240" /></a></div>
<br />
<div style="font-family: "Trebuchet MS",sans-serif;">
Ciclo con "optimización" <br />
Se agregan 15 segundos más a la combinacion de autos que contenga un carril con más de 20 coches en espera.</div>
<div style="font-family: "Trebuchet MS",sans-serif;">
<br /></div>
<div style="font-family: "Trebuchet MS",sans-serif;">
<b>Herramientas</b></div>
<div style="font-family: "Trebuchet MS",sans-serif;">
Python(lógica). <br />
Python-Tk(gráficos).</div>
<div style="font-family: "Trebuchet MS",sans-serif;">
<br /></div>
<div style="font-family: "Trebuchet MS",sans-serif;">
<b>Entradas</b></div>
<div style="font-family: "Trebuchet MS",sans-serif;">
Numeros de carros aleatorios parametrizado según carril. Es decir le hemos dado una probabilidad de 70 a los carriles de más flujo y 30 a los de menos flujo. Entendiendo por los de menos flujo los que dan vuelta a su derecha y los de más los que se siguen derecho. </div>
<div style="font-family: "Trebuchet MS",sans-serif;">
Ciclos de semaforo.</div>
<div style="font-family: "Trebuchet MS",sans-serif;">
<br /></div>
<div style="font-family: "Trebuchet MS",sans-serif;">
<b>Salidas</b></div>
<div style="font-family: "Trebuchet MS",sans-serif;">
Numero de carros en espera.</div>
<div style="font-family: "Trebuchet MS",sans-serif;">
Numero de carros que pasaron.</div>
<div style="font-family: "Trebuchet MS",sans-serif;">
<br /></div>
<div style="font-family: "Trebuchet MS",sans-serif;">
<br /></div>
<div style="font-family: "Trebuchet MS",sans-serif;">
<b>Casos de prueba</b></div>
<div style="font-family: "Trebuchet MS",sans-serif;">
<b>Horas pico.</b> Tenemos predeterminado que pase un carro cada 0.3 segundos. En esta prueba aumentamos a un carro cada 0.20. <br />
Resultado: Se congestionan más pronto el carril F, pero el tiempo de optimización compensa el tiempo cuando es el turno del F.</div>
<div style="font-family: "Trebuchet MS",sans-serif;">
<br />
<br /></div>
<div style="font-family: "Trebuchet MS",sans-serif;">
<b>Mas congestiones en un carril secundario que en principales.</b> Predeterminadamente tenemos que entren con un 60% más de probabilidad a los carriles que van derecho('b','d','f','h'), y con un 40% a los carriles que dan vuelta('a','c','e','g').</div>
<div style="font-family: "Trebuchet MS",sans-serif;">
Para esta prueba damos probabilidad 60% a los que dan vuelta y 40% a los que no dan vuelta.</div>
<div style="font-family: "Trebuchet MS",sans-serif;">
Resultado: Sigue funcionando bien ya que el algoritmo de optimización compensa el tiempo en los carriles de vuelta.</div>
<div style="font-family: "Trebuchet MS",sans-serif;">
<b> <br />
</b></div>
<div style="font-family: "Trebuchet MS",sans-serif;">
<b>Visualización</b></div>
<div style="font-family: "Trebuchet MS",sans-serif;">
Gráficos animados.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-ptHpRl73Bxw/Tlzdq1Yzk3I/AAAAAAAAAeA/1LjREXMVqxw/s1600/Screenshot-tk.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://2.bp.blogspot.com/-ptHpRl73Bxw/Tlzdq1Yzk3I/AAAAAAAAAeA/1LjREXMVqxw/s320/Screenshot-tk.png" width="313" /></a></div>
</div>
<br />
<br />Cecilia Urbinahttp://www.blogger.com/profile/10619295723883333791noreply@blogger.com1tag:blogger.com,1999:blog-1767738780523117383.post-50660594690171604742011-08-09T09:49:00.001-07:002011-08-09T09:49:43.338-07:00ProyectoSandra Cecilia Urbina Coronado 1413021 <br />
Roberto Carlos Martínez Moreno 1451473 <br />
Juan Carlos Espinosa Ceniceros 1535012RObertohttp://www.blogger.com/profile/11166188729582610562noreply@blogger.com0