From 6421e2ce5265f896509a311624e39ebaf674c1af Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 27 Aug 2003 04:05:45 +0000 Subject: [PATCH] Se agregan las corridas y un Doxyfile para el informe para imprimir. --- Doxyfile | 2 +- Doxyfile.imprimible | 208 ++++++++++++++++++++++++++++++++++++++++++++ Makefile | 28 +++++- documentacion.h | 18 +++- 4 files changed, 253 insertions(+), 3 deletions(-) create mode 100644 Doxyfile.imprimible diff --git a/Doxyfile b/Doxyfile index 6f6f8bd..79c96dd 100644 --- a/Doxyfile +++ b/Doxyfile @@ -64,7 +64,7 @@ RECURSIVE = NO EXCLUDE = EXCLUDE_SYMLINKS = NO EXCLUDE_PATTERNS = -EXAMPLE_PATH = +EXAMPLE_PATH = . EXAMPLE_PATTERNS = EXAMPLE_RECURSIVE = NO IMAGE_PATH = diff --git a/Doxyfile.imprimible b/Doxyfile.imprimible new file mode 100644 index 0000000..3706b24 --- /dev/null +++ b/Doxyfile.imprimible @@ -0,0 +1,208 @@ +# Doxyfile 1.3.2 + +#--------------------------------------------------------------------------- +# General configuration options +#--------------------------------------------------------------------------- +PROJECT_NAME = "Trabajo Práctico I" +PROJECT_NUMBER = "Taller de Programación I (75.42)" +OUTPUT_DIRECTORY = +OUTPUT_LANGUAGE = Spanish +USE_WINDOWS_ENCODING = NO +EXTRACT_ALL = YES +EXTRACT_PRIVATE = YES +EXTRACT_STATIC = YES +EXTRACT_LOCAL_CLASSES = YES +HIDE_UNDOC_MEMBERS = NO +HIDE_UNDOC_CLASSES = NO +HIDE_FRIEND_COMPOUNDS = NO +HIDE_IN_BODY_DOCS = NO +BRIEF_MEMBER_DESC = YES +REPEAT_BRIEF = YES +ALWAYS_DETAILED_SEC = NO +INLINE_INHERITED_MEMB = NO +FULL_PATH_NAMES = NO +STRIP_FROM_PATH = +INTERNAL_DOCS = YES +CASE_SENSE_NAMES = YES +SHORT_NAMES = NO +HIDE_SCOPE_NAMES = NO +SHOW_INCLUDE_FILES = YES +JAVADOC_AUTOBRIEF = YES +MULTILINE_CPP_IS_BRIEF = YES +DETAILS_AT_TOP = NO +INHERIT_DOCS = YES +INLINE_INFO = YES +SORT_MEMBER_DOCS = YES +DISTRIBUTE_GROUP_DOC = NO +TAB_SIZE = 8 +GENERATE_TODOLIST = YES +GENERATE_TESTLIST = YES +GENERATE_BUGLIST = YES +GENERATE_DEPRECATEDLIST= YES +ALIASES = +ENABLED_SECTIONS = +MAX_INITIALIZER_LINES = 30 +OPTIMIZE_OUTPUT_FOR_C = YES +OPTIMIZE_OUTPUT_JAVA = NO +SHOW_USED_FILES = YES +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- +QUIET = NO +WARNINGS = YES +WARN_IF_UNDOCUMENTED = YES +WARN_IF_DOC_ERROR = YES +WARN_FORMAT = "$file:$line: $text" +WARN_LOGFILE = +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- +INPUT = +FILE_PATTERNS = *.h \ + *.c +RECURSIVE = NO +EXCLUDE = +EXCLUDE_SYMLINKS = NO +EXCLUDE_PATTERNS = +EXAMPLE_PATH = . +EXAMPLE_PATTERNS = +EXAMPLE_RECURSIVE = NO +IMAGE_PATH = +INPUT_FILTER = +FILTER_SOURCE_FILES = NO +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- +SOURCE_BROWSER = YES +INLINE_SOURCES = NO +STRIP_CODE_COMMENTS = YES +REFERENCED_BY_RELATION = YES +REFERENCES_RELATION = YES +VERBATIM_HEADERS = YES +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- +ALPHABETICAL_INDEX = YES +COLS_IN_ALPHA_INDEX = 2 +IGNORE_PREFIX = +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- +GENERATE_HTML = NO +HTML_OUTPUT = html +HTML_FILE_EXTENSION = .html +HTML_HEADER = +HTML_FOOTER = +HTML_STYLESHEET = +HTML_ALIGN_MEMBERS = YES +GENERATE_HTMLHELP = NO +CHM_FILE = +HHC_LOCATION = +GENERATE_CHI = NO +BINARY_TOC = NO +TOC_EXPAND = NO +DISABLE_INDEX = NO +ENUM_VALUES_PER_LINE = 4 +GENERATE_TREEVIEW = YES +TREEVIEW_WIDTH = 250 +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- +GENERATE_LATEX = YES +LATEX_OUTPUT = latex_impresion +LATEX_CMD_NAME = latex +MAKEINDEX_CMD_NAME = makeindex +COMPACT_LATEX = NO +PAPER_TYPE = a4wide +EXTRA_PACKAGES = +LATEX_HEADER = +PDF_HYPERLINKS = NO +USE_PDFLATEX = YES +LATEX_BATCHMODE = YES +LATEX_HIDE_INDICES = YES +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- +GENERATE_RTF = NO +RTF_OUTPUT = rtf +COMPACT_RTF = NO +RTF_HYPERLINKS = YES +RTF_STYLESHEET_FILE = +RTF_EXTENSIONS_FILE = +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- +GENERATE_MAN = NO +MAN_OUTPUT = man +MAN_EXTENSION = .3 +MAN_LINKS = YES +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- +GENERATE_XML = NO +XML_OUTPUT = xml +XML_SCHEMA = +XML_DTD = +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- +GENERATE_AUTOGEN_DEF = NO +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- +GENERATE_PERLMOD = NO +PERLMOD_LATEX = NO +PERLMOD_PRETTY = YES +PERLMOD_MAKEVAR_PREFIX = +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- +ENABLE_PREPROCESSING = YES +MACRO_EXPANSION = YES +EXPAND_ONLY_PREDEF = NO +SEARCH_INCLUDES = YES +INCLUDE_PATH = +INCLUDE_FILE_PATTERNS = +PREDEFINED = +EXPAND_AS_DEFINED = +SKIP_FUNCTION_MACROS = YES +#--------------------------------------------------------------------------- +# Configuration::addtions related to external references +#--------------------------------------------------------------------------- +TAGFILES = +GENERATE_TAGFILE = +ALLEXTERNALS = NO +EXTERNAL_GROUPS = YES +PERL_PATH = /usr/bin/perl +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- +CLASS_DIAGRAMS = YES +HIDE_UNDOC_RELATIONS = NO +HAVE_DOT = YES +CLASS_GRAPH = NO +COLLABORATION_GRAPH = NO +UML_LOOK = NO +TEMPLATE_RELATIONS = NO +INCLUDE_GRAPH = YES +INCLUDED_BY_GRAPH = YES +CALL_GRAPH = YES +GRAPHICAL_HIERARCHY = NO +DOT_IMAGE_FORMAT = png +DOT_PATH = +DOTFILE_DIRS = +MAX_DOT_GRAPH_WIDTH = 1024 +MAX_DOT_GRAPH_HEIGHT = 1024 +MAX_DOT_GRAPH_DEPTH = 0 +GENERATE_LEGEND = YES +DOT_CLEANUP = YES +#--------------------------------------------------------------------------- +# Configuration::addtions related to the search engine +#--------------------------------------------------------------------------- +SEARCHENGINE = NO +CGI_NAME = search.cgi +CGI_URL = +DOC_URL = +DOC_ABSPATH = +BIN_ABSPATH = /usr/local/bin/ +EXT_DOC_PATHS = diff --git a/Makefile b/Makefile index e7ef152..7b3ae04 100644 --- a/Makefile +++ b/Makefile @@ -28,4 +28,30 @@ tp1: $(TARGETS) # Regla para borrar. clean: @echo "Limpiando..." - @rm -fv $(TARGETS) *.o core tp1 + @rm -fR $(TARGETS) *.o core tp1 corrida_*.txt html latex + +# Corridas. +corrida_2.txt: tp1 + @./tp1 2 > corrida_2.txt + +corrida_2_200__150.txt: tp1 + @./tp1 2 200 -150 > corrida_2_200__150.txt + +corrida_50_5000.txt: tp1 + @./tp1 50 5000 > corrida_50_5000.txt + +# Corridas con error. +corrida_2__200__150.txt: tp1 + @(./tp1 2 -200 -150 2> corrida_2__200__150.txt) || true + +corrida_0_10.txt: tp1 + @(./tp1 0 10 2> corrida_0_10.txt) || true + +# Crea todas las corridas. +corridas: corrida_2.txt corrida_2_200__150.txt corrida_50_5000.txt \ + corrida_2__200__150.txt corrida_0_10.txt + +# Informe. +informe: corridas + @doxygen + @cd latex && make refman.pdf && cd .. diff --git a/documentacion.h b/documentacion.h index f98ba2c..23615ce 100644 --- a/documentacion.h +++ b/documentacion.h @@ -125,6 +125,21 @@ Tambi debería poder compilarse bajo cualquier plataforma y compilador que soporte este estándar. + \subsection corridas Corridas de ejemplo. + A continuación se presentan corridas del programa junto a los parámetros + con los cuales ha sido llamado. + + \$ ./tp1 2 + \verbinclude corrida_2.txt + \$ ./tp1 2 -200 -150 + \verbinclude corrida_2__200__150.txt + \$ ./tp1 0 10 + \verbinclude corrida_0_10.txt + \$ ./tp1 2 200 -150 + \verbinclude corrida_2_200__150.txt + \anchor inestable \$ ./tp1 50 5000 + \verbinclude corrida_50_5000.txt + \section conclusiones Conclusiones. Realmente no se me presentaron muchos problemas para resolver el TP. El único problema que tuve fue realizando el \ref impresion "gráfico", en @@ -143,7 +158,8 @@ Tambi terminar de implementar estas características extra. Otro detalle que cabe ser mencionado es que para valores altos del - \ref variables "step" (mayores a 30), la solución se vuelve inestable. + \ref variables "step" (mayores a 30), la solución se vuelve + \ref inestable "inestable". */ -- 2.43.0