NestorPala / TDA-tp2

0 stars 0 forks source link

TP2 de TDA - FIUBA

Integrantes

Probar el TP2 con un archivo de pruebas de "n" batallas

Si el archivo está en la misma carpeta que tp2.py:

python tp2.py -file NUMERO_DE_BATALLAS.txt

Ejemplo: python tp2.py -file 50.txt


Si el archivo está en cualquier ruta:

python tp2.py -abs PATHTO/NUMERO_DE_BATALLAS.txt

Ejemplo: python tp2.py -abs C:\Users\Nestor\Desktop\50.txt


Ejecutar tests de la cátedra

Se corren junto con las pruebas de tiempo.

python ejecutar_tests_catedra.py


Ejecutar las pruebas de tiempo del algoritmo

Estas pruebas se pueden correr para cualquier archivo de batallas.


Si el archivo está en la misma carpeta que pruebas_tiempo_algoritmo.py:

python pruebas_tiempo_algoritmo.py -file NUMERO_DE_BATALLAS.txt

Ejemplo: python pruebas_tiempo_algoritmo.py -file 50.txt


Si el archivo está en cualquier ruta:

python pruebas_tiempo_algoritmo.py -abs PATHTO/NUMERO_DE_BATALLAS.txt

Ejemplo: python pruebas_tiempo_algoritmo.py -abs C:\Users\Nestor\Desktop\50.txt


Generar archivo de conjunto de batallas de tamaño "n"

python generator.py VALOR_N_ENTERO