From: Martin Mares Date: Mon, 14 Jan 2008 20:05:13 +0000 (+0100) Subject: More bits. X-Git-Tag: printed~306 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=0b098a51d29ed446bf39c0b784ab3898257f6d34;p=saga.git More bits. --- diff --git a/Makefile b/Makefile index a098e21..7d9d0a3 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ all: saga.ps -CHAPTERS=cover +CHAPTERS=cover mst %.dvi: %.tex macros.tex tex $< && if grep -q citation $*.aux ; then bibtex $* && tex $< && tex $< ; fi diff --git a/PLAN b/PLAN new file mode 100644 index 0000000..6ef6e4f --- /dev/null +++ b/PLAN @@ -0,0 +1,36 @@ +* Minimum spanning trees + + o Basic properties + o Red/Blue meta-algorithm + o Classical algorithms + o Fredman-Tarjan algorithm + o ?? Chazelle ?? + o ?? Pettie ?? + o Minor-closed classes + o MST verification + o Randomized algorithms + +* Integer data structures + + o Models of computation + o Bit tricks + o Ranking sets + o Bitwise B-trees + o Q-Heaps + +* Ranking combinatorial objects + + o Ranking of permutations: history + o Linear-time algorithm + o k-permutations + o Permutations with no fixed point + o ?? other objects ?? + +* Dynamic MST algorithms + + o (Semi-)dynamic algorithms + o Sleator-Tarjan trees + o ET-trees + o Fully dynamic connectivity + o Semi-dynamic MST + o Fully dynamic MST diff --git a/cover.tex b/cover.tex index cece437..dbf78ac 100644 --- a/cover.tex +++ b/cover.tex @@ -2,49 +2,6 @@ \input macros.tex \fi -\chapter{The Beginning} - -{\narrower\font\sc=cmcsc10 -\noindent {\sc Abstract.} Preparation of alchemical potions is an ancient craft -and its deep secrets are carefully guarded by the masters of alchemist guilds. -It usually takes several years for a novice alchemist to learn to prepare at -least the most basic potions properly. In this scroll we will present a novel -way of extracting the magical substance of various ingredients based on -a mighty catalyst, metasulphur~[3]. This substantially simplifies the traditional recipes -and also avoids some of their frequent side-effects. The only drawback is the -rarity of metasulphur. - -} - -\bigskip - -\section{Introduction} - -We will demonstrate our approach on several examples of potions which are -usually considered very volatile and dangerous to prepare~\cite{bender00lca}. - -There are two basic kinds of ingredients in our recipes (except for the metasulphur, -which fits neither category, as expected): herbs and parts of bodies of living -creatures. According to the well known rule of herbal immanence, the magical -essence of herbs can be released only in boiling water, while the other -ingredients can be used at any temperature. - -We follow the tradition by calling all herbal ingredients by their Latin names. -While this can be hard to handle for laymen and novice alchemists, we consider -it of utmost necessity in order to avoid confusion which often leads to fatal -consequences. - -In the following, we assume that the recipe is prepared on the \em{northern -hemisphere.} Otherwise, you need to replace all clockwise stirs by -counter-clockwise ones and vice versa, and also optionally use opposum instead of -hares. - -\theorem It is well known that the following equation holds: -\thmid{loop} -$$ -\sum_{i\in\bb N}^\infty {1\over i^2} = {\pi^2\over 6}. -$$ -\proof Follows from Theorem \thmref{loop}. -\qed +% So far, we do not have any title page \endpart diff --git a/macros.tex b/macros.tex index 206c037..2f88cf8 100644 --- a/macros.tex +++ b/macros.tex @@ -299,13 +299,13 @@ \newwrite\ids \def\writeid#1#2{\immediate\write\ids{\string\def\expandafter\string\csname id#1\endcsname{#2}}} -\immediate\openin\ids=ids.aux +\immediate\openin\ids=\jobname.aux \ifeof\ids \else -\input ids.aux +\input \jobname.aux \fi \immediate\closein\ids -\immediate\openout\ids=ids.aux +\immediate\openout\ids=\jobname.aux \def\ref#1{\expandafter\ifx\csname id#1\endcsname\relax {\bo ??}% diff --git a/mst.tex b/mst.tex new file mode 100644 index 0000000..33852d1 --- /dev/null +++ b/mst.tex @@ -0,0 +1,13 @@ +\ifx\endpart\undefined +\input macros.tex +\fi + +\chapter{Minimum Spanning Trees} + +\section{The Problem} + +\cite{boruvka:ojistem} + +% mention Steiner trees + +\endpart diff --git a/saga.tex b/saga.tex index 46e5bc1..4ea789c 100644 --- a/saga.tex +++ b/saga.tex @@ -2,9 +2,9 @@ \let\endpart=\relax \input cover.tex +\input mst.tex \chapter{Bibliography} - \dumpbib \bye