parent
1ba02eae02
commit
d2f7140c1a
@ -0,0 +1,112 @@
|
||||
\documentclass[11pt]{scrartcl}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[ngerman]{babel}
|
||||
\usepackage{amsmath}
|
||||
\usepackage{amssymb}
|
||||
\usepackage{marvosym} % Lightning
|
||||
\usepackage{multicol}
|
||||
\usepackage{framed}
|
||||
\usepackage{enumerate}
|
||||
\usepackage{wrapfig}
|
||||
%\usepackage{booktabs}
|
||||
%\usepackage{pstricks}
|
||||
%\usepackage{pst-node}
|
||||
\usepackage[paper=a4paper,left=30mm,right=20mm,top=20mm,bottom =25mm]{geometry}
|
||||
\usepackage[
|
||||
pdftitle={Algorithmen},
|
||||
pdfsubject={Mitschrift der Vorlesung "Algorithmen" an der Hochschule Aalen, bei Herrn Thierauf.},
|
||||
pdfauthor={Thomas Battermann},
|
||||
pdfkeywords={Algorithmen},
|
||||
pdfborder={0 0 0}
|
||||
]{hyperref}
|
||||
\usepackage{tabularx}
|
||||
\usepackage{graphicx}
|
||||
\usepackage[usenames,dvipsnames]{color}
|
||||
\usepackage{lastpage}
|
||||
\usepackage{fancyhdr}
|
||||
\setlength{\parindent}{0ex}
|
||||
\setlength{\parskip}{2ex}
|
||||
\setcounter{secnumdepth}{4}
|
||||
\setcounter{tocdepth}{4}
|
||||
\definecolor{darkgreen}{rgb}{0,0.5,0}
|
||||
\definecolor{darkblue}{rgb}{0,0,0.5}
|
||||
\definecolor{greenblue}{rgb}{0,0.5,0.5}
|
||||
\definecolor{lightgreen}{rgb}{0.25,.75,0.25}
|
||||
\definecolor{lightblue}{rgb}{0.25,0.25,0.75}
|
||||
|
||||
\renewenvironment{leftbar}[1]{%
|
||||
\def\FrameCommand{{{\vrule width #1\relax\hspace {8pt}}}}%
|
||||
\MakeFramed {\advance \hsize -\width \FrameRestore }%
|
||||
}{%
|
||||
\endMakeFramed%
|
||||
}
|
||||
|
||||
\usepackage{listings}
|
||||
\lstdefinelanguage{pseudo}{
|
||||
morekeywords=
|
||||
{
|
||||
if, else, for, in, remove, from, case, do, forever, to,
|
||||
false, true, then, foreach, while, modulo, foreach
|
||||
},
|
||||
sensitive=true,
|
||||
morecomment=[l]\#,
|
||||
morestring=[b]',
|
||||
basicstyle=\ttfamily\footnotesize,
|
||||
literate={<=} {$\le$}{2} {!=} {$\neq$}{2} {=} {$\leftarrow$}{2} {==} {=}{2}
|
||||
{&&} {$\cap$}{2} {||} {$\cup$}{2} {lfloor} {$\lfloor$}{1}
|
||||
{rfloor} {$\rfloor$}{1} {cdot} {$\cdot$}{1}
|
||||
}
|
||||
\lstset{
|
||||
basicstyle=\ttfamily\footnotesize,
|
||||
keywordstyle=\color{red},
|
||||
commentstyle=\color{blue},
|
||||
stringstyle=\color{darkgreen},
|
||||
backgroundcolor=\color{lightgray},
|
||||
morecomment=[s][\color{blue}]{/*}{*/},
|
||||
emphstyle=\textbf,
|
||||
frame=single,
|
||||
showstringspaces=true,
|
||||
breaklines=true,
|
||||
numberstyle=\footnotesize\textcolor{grey},
|
||||
numbers=left,
|
||||
tabsize=4,
|
||||
captionpos=b
|
||||
}
|
||||
|
||||
\pagestyle{fancy}
|
||||
|
||||
%\def\footnotelayout{\color{darkgrey}}
|
||||
\renewcommand{\sectionmark}[1]{\markright{#1}{}} % to normal case
|
||||
|
||||
\fancyhf{} %alle Kopf- und Fußzeilenfelder bereinigen
|
||||
\fancyhead[L]{Algorithmen} %Kopfzeile rechts
|
||||
\fancyhead[C]{} %zentrierte Kopfzeile
|
||||
\fancyhead[R]{\rightmark} %Kopfzeile links
|
||||
\renewcommand{\headrulewidth}{0.4pt} %obere Trennlinie
|
||||
\fancyfoot[C]{Seite \thepage\ von \pageref{LastPage}}
|
||||
\renewcommand{\footrulewidth}{0.4pt} %untere Trennlinie
|
||||
|
||||
\newcommand{\spa}{\hspace*{4mm}}
|
||||
\newcommand{\defin}{\textcolor{darkgreen}{\textbf{Def.: }}}
|
||||
\newcommand{\satz}{\textcolor{darkblue}{\textbf{Satz: }}}
|
||||
\newcommand{\bew}[1][]{\textcolor{greenblue}{\textbf{Beweis}}#1:}
|
||||
\newcommand{\bsp}{\textcolor{lightgreen}{\textbf{Bsp.: }}}
|
||||
\newcommand{\beh}{\textcolor{lightblue}{\textbf{Beh.:}}}
|
||||
\newcommand{\lemma}{\textbf{Lemma:}}
|
||||
|
||||
\title{Algorithmen}
|
||||
\author{Mitschrift von Thomas Battermann\\Dozent: Prof. Thomas Thierauf}
|
||||
\date{4. Semester}
|
||||
|
||||
\begin{document}
|
||||
\pagestyle{empty}
|
||||
|
||||
\maketitle\thispagestyle{empty}
|
||||
\tableofcontents\thispagestyle{empty}
|
||||
|
||||
\newpage
|
||||
\pagestyle{fancy}
|
||||
\setcounter{page}{1}
|
||||
|
||||
\input{flussnetzwerke}
|
||||
\end{document}
|
@ -0,0 +1,32 @@
|
||||
\section{Flüsse in Netzwerken}
|
||||
|
||||
\includegraphics{img/flussnetzwerk.pdf}
|
||||
|
||||
Ein \underline{Flussnetzwerk} besteht aus einem gerichteten Graph \(G=(V,E)\) und einer \underline{Kapazitätsfunktion} \(c: V\times V \to \mathbb R\) mit \(c(u,v) \ge 0 \forall u,v \in V\) und \(c(u,v) = 0\), falls \((u,v) \not\in E\).\\
|
||||
Außerdem seien \(s\ne t \in V\) 2 ausgezeichnete Knoten. Dabei liege jeder Knoten auf einem Weg von \(s\) nach \(t\).
|
||||
|
||||
Ein \underline{Fluss (im Netzwerk)} ist eine Funktion \( f: V\times V \to \mathbb R\) mit folgenden Eigenschaften:
|
||||
|
||||
\begin{enumerate}
|
||||
\item \underline{Kapazitätsbedingung}: \(f(u,v) \le c(u,v) \forall u,v \in V\)
|
||||
\item \underline{Symmetriebedingung}: \(f(u,v) = -f(v,u) \forall u,v \in V\)\\
|
||||
Ein Fluss von z.\,B. 12 von $u$ nach $v$ ist auch ein Fluss von \(-12\) von $v$ nach $u$.
|
||||
\item \underline{Kirchhoffsches Gesetz}:\\
|
||||
\(\forall u\in V - \{s,t\}\)\\
|
||||
\(\sum\limits_{v\in V} f(u,v) = 0\)\\
|
||||
Bsp.: \(v: 12+(-11)+(-1) = 0\)
|
||||
\end{enumerate}
|
||||
|
||||
\subsection{Wert des Flusses}
|
||||
|
||||
Der Wert des Flusses $f$ ist \( \|f\| = \sum\limits_{v\in V} f(s,v) \)\\
|
||||
Kurzschreibweise sei \(X,Y \subseteq V\)\\
|
||||
dann Def. \( f(X,Y) = \sum\limits_{x\in X} \sum\limits_{y\in Y} f(x,y) \)
|
||||
|
||||
\underline{Maximaler Fluss} berechnen:
|
||||
|
||||
Gegeben: \( G=(V,E), \ s,t \in V, c \)\\
|
||||
Gesucht: Fluss $f$, so dass \(\|f\|\) maximal ist.
|
||||
|
||||
|
||||
% vim: ft=tex :
|
@ -0,0 +1,296 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE ipe SYSTEM "ipe.dtd">
|
||||
<ipe version="70005" creator="Ipe 7.1.2">
|
||||
<info created="D:20120322003520" modified="D:20120322003520"/>
|
||||
<ipestyle name="basic">
|
||||
<symbol name="arrow/arc(spx)">
|
||||
<path stroke="sym-stroke" fill="sym-stroke" pen="sym-pen">
|
||||
0 0 m
|
||||
-1 0.333 l
|
||||
-1 -0.333 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="arrow/farc(spx)">
|
||||
<path stroke="sym-stroke" fill="white" pen="sym-pen">
|
||||
0 0 m
|
||||
-1 0.333 l
|
||||
-1 -0.333 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="mark/circle(sx)" transformations="translations">
|
||||
<path fill="sym-stroke">
|
||||
0.6 0 0 0.6 0 0 e
|
||||
0.4 0 0 0.4 0 0 e
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="mark/disk(sx)" transformations="translations">
|
||||
<path fill="sym-stroke">
|
||||
0.6 0 0 0.6 0 0 e
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="mark/fdisk(sfx)" transformations="translations">
|
||||
<group>
|
||||
<path fill="sym-fill">
|
||||
0.5 0 0 0.5 0 0 e
|
||||
</path>
|
||||
<path fill="sym-stroke" fillrule="eofill">
|
||||
0.6 0 0 0.6 0 0 e
|
||||
0.4 0 0 0.4 0 0 e
|
||||
</path>
|
||||
</group>
|
||||
</symbol>
|
||||
<symbol name="mark/box(sx)" transformations="translations">
|
||||
<path fill="sym-stroke" fillrule="eofill">
|
||||
-0.6 -0.6 m
|
||||
0.6 -0.6 l
|
||||
0.6 0.6 l
|
||||
-0.6 0.6 l
|
||||
h
|
||||
-0.4 -0.4 m
|
||||
0.4 -0.4 l
|
||||
0.4 0.4 l
|
||||
-0.4 0.4 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="mark/square(sx)" transformations="translations">
|
||||
<path fill="sym-stroke">
|
||||
-0.6 -0.6 m
|
||||
0.6 -0.6 l
|
||||
0.6 0.6 l
|
||||
-0.6 0.6 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="mark/fsquare(sfx)" transformations="translations">
|
||||
<group>
|
||||
<path fill="sym-fill">
|
||||
-0.5 -0.5 m
|
||||
0.5 -0.5 l
|
||||
0.5 0.5 l
|
||||
-0.5 0.5 l
|
||||
h
|
||||
</path>
|
||||
<path fill="sym-stroke" fillrule="eofill">
|
||||
-0.6 -0.6 m
|
||||
0.6 -0.6 l
|
||||
0.6 0.6 l
|
||||
-0.6 0.6 l
|
||||
h
|
||||
-0.4 -0.4 m
|
||||
0.4 -0.4 l
|
||||
0.4 0.4 l
|
||||
-0.4 0.4 l
|
||||
h
|
||||
</path>
|
||||
</group>
|
||||
</symbol>
|
||||
<symbol name="mark/cross(sx)" transformations="translations">
|
||||
<group>
|
||||
<path fill="sym-stroke">
|
||||
-0.43 -0.57 m
|
||||
0.57 0.43 l
|
||||
0.43 0.57 l
|
||||
-0.57 -0.43 l
|
||||
h
|
||||
</path>
|
||||
<path fill="sym-stroke">
|
||||
-0.43 0.57 m
|
||||
0.57 -0.43 l
|
||||
0.43 -0.57 l
|
||||
-0.57 0.43 l
|
||||
h
|
||||
</path>
|
||||
</group>
|
||||
</symbol>
|
||||
<symbol name="arrow/fnormal(spx)">
|
||||
<path stroke="sym-stroke" fill="white" pen="sym-pen">
|
||||
0 0 m
|
||||
-1 0.333 l
|
||||
-1 -0.333 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="arrow/pointed(spx)">
|
||||
<path stroke="sym-stroke" fill="sym-stroke" pen="sym-pen">
|
||||
0 0 m
|
||||
-1 0.333 l
|
||||
-0.8 0 l
|
||||
-1 -0.333 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="arrow/fpointed(spx)">
|
||||
<path stroke="sym-stroke" fill="white" pen="sym-pen">
|
||||
0 0 m
|
||||
-1 0.333 l
|
||||
-0.8 0 l
|
||||
-1 -0.333 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="arrow/linear(spx)">
|
||||
<path stroke="sym-stroke" pen="sym-pen">
|
||||
-1 0.333 m
|
||||
0 0 l
|
||||
-1 -0.333 l
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="arrow/fdouble(spx)">
|
||||
<path stroke="sym-stroke" fill="white" pen="sym-pen">
|
||||
0 0 m
|
||||
-1 0.333 l
|
||||
-1 -0.333 l
|
||||
h
|
||||
-1 0 m
|
||||
-2 0.333 l
|
||||
-2 -0.333 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="arrow/double(spx)">
|
||||
<path stroke="sym-stroke" fill="sym-stroke" pen="sym-pen">
|
||||
0 0 m
|
||||
-1 0.333 l
|
||||
-1 -0.333 l
|
||||
h
|
||||
-1 0 m
|
||||
-2 0.333 l
|
||||
-2 -0.333 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<pen name="heavier" value="0.8"/>
|
||||
<pen name="fat" value="1.2"/>
|
||||
<pen name="ultrafat" value="2"/>
|
||||
<symbolsize name="large" value="5"/>
|
||||
<symbolsize name="small" value="2"/>
|
||||
<symbolsize name="tiny" value="1.1"/>
|
||||
<arrowsize name="large" value="10"/>
|
||||
<arrowsize name="small" value="5"/>
|
||||
<arrowsize name="tiny" value="3"/>
|
||||
<color name="red" value="1 0 0"/>
|
||||
<color name="green" value="0 1 0"/>
|
||||
<color name="blue" value="0 0 1"/>
|
||||
<color name="yellow" value="1 1 0"/>
|
||||
<color name="orange" value="1 0.647 0"/>
|
||||
<color name="gold" value="1 0.843 0"/>
|
||||
<color name="purple" value="0.627 0.125 0.941"/>
|
||||
<color name="gray" value="0.745"/>
|
||||
<color name="brown" value="0.647 0.165 0.165"/>
|
||||
<color name="navy" value="0 0 0.502"/>
|
||||
<color name="pink" value="1 0.753 0.796"/>
|
||||
<color name="seagreen" value="0.18 0.545 0.341"/>
|
||||
<color name="turquoise" value="0.251 0.878 0.816"/>
|
||||
<color name="violet" value="0.933 0.51 0.933"/>
|
||||
<color name="darkblue" value="0 0 0.545"/>
|
||||
<color name="darkcyan" value="0 0.545 0.545"/>
|
||||
<color name="darkgray" value="0.663"/>
|
||||
<color name="darkgreen" value="0 0.392 0"/>
|
||||
<color name="darkmagenta" value="0.545 0 0.545"/>
|
||||
<color name="darkorange" value="1 0.549 0"/>
|
||||
<color name="darkred" value="0.545 0 0"/>
|
||||
<color name="lightblue" value="0.678 0.847 0.902"/>
|
||||
<color name="lightcyan" value="0.878 1 1"/>
|
||||
<color name="lightgray" value="0.827"/>
|
||||
<color name="lightgreen" value="0.565 0.933 0.565"/>
|
||||
<color name="lightyellow" value="1 1 0.878"/>
|
||||
<dashstyle name="dashed" value="[4] 0"/>
|
||||
<dashstyle name="dotted" value="[1 3] 0"/>
|
||||
<dashstyle name="dash dotted" value="[4 2 1 2] 0"/>
|
||||
<dashstyle name="dash dot dotted" value="[4 2 1 2 1 2] 0"/>
|
||||
<textsize name="large" value="\large"/>
|
||||
<textsize name="Large" value="\Large"/>
|
||||
<textsize name="LARGE" value="\LARGE"/>
|
||||
<textsize name="huge" value="\huge"/>
|
||||
<textsize name="Huge" value="\Huge"/>
|
||||
<textsize name="small" value="\small"/>
|
||||
<textsize name="footnote" value="\footnotesize"/>
|
||||
<textsize name="tiny" value="\tiny"/>
|
||||
<textstyle name="center" begin="\begin{center}" end="\end{center}"/>
|
||||
<textstyle name="itemize" begin="\begin{itemize}" end="\end{itemize}"/>
|
||||
<textstyle name="item" begin="\begin{itemize}\item{}" end="\end{itemize}"/>
|
||||
<gridsize name="4 pts" value="4"/>
|
||||
<gridsize name="8 pts (~3 mm)" value="8"/>
|
||||
<gridsize name="16 pts (~6 mm)" value="16"/>
|
||||
<gridsize name="32 pts (~12 mm)" value="32"/>
|
||||
<gridsize name="10 pts (~3.5 mm)" value="10"/>
|
||||
<gridsize name="20 pts (~7 mm)" value="20"/>
|
||||
<gridsize name="14 pts (~5 mm)" value="14"/>
|
||||
<gridsize name="28 pts (~10 mm)" value="28"/>
|
||||
<gridsize name="56 pts (~20 mm)" value="56"/>
|
||||
<anglesize name="90 deg" value="90"/>
|
||||
<anglesize name="60 deg" value="60"/>
|
||||
<anglesize name="45 deg" value="45"/>
|
||||
<anglesize name="30 deg" value="30"/>
|
||||
<anglesize name="22.5 deg" value="22.5"/>
|
||||
<tiling name="falling" angle="-60" step="4" width="1"/>
|
||||
<tiling name="rising" angle="30" step="4" width="1"/>
|
||||
</ipestyle>
|
||||
<page>
|
||||
<layer name="alpha"/>
|
||||
<view layers="alpha" active="alpha"/>
|
||||
<use layer="alpha" name="mark/disk(sx)" pos="64 704" size="large" stroke="black"/>
|
||||
<use name="mark/disk(sx)" pos="128 768" size="large" stroke="black"/>
|
||||
<use name="mark/disk(sx)" pos="128 640" size="large" stroke="black"/>
|
||||
<use matrix="1 0 0 1 32 0" name="mark/disk(sx)" pos="208 768" size="large" stroke="black"/>
|
||||
<use matrix="1 0 0 1 32 0" name="mark/disk(sx)" pos="272 704" size="large" stroke="black"/>
|
||||
<use matrix="1 0 0 1 32 0" name="mark/disk(sx)" pos="208 640" size="large" stroke="black"/>
|
||||
<path matrix="1 0 0 1 32 0" stroke="black" arrow="normal/normal">
|
||||
208 648 m
|
||||
208 760 l
|
||||
</path>
|
||||
<path stroke="black" arrow="normal/normal">
|
||||
64 712 m
|
||||
54.6829 0 0 -54.6829 118.667 713.333 120 768 a
|
||||
</path>
|
||||
<path stroke="black" arrow="normal/normal">
|
||||
64 696 m
|
||||
54.6829 0 0 54.6829 118.667 694.667 120 640 a
|
||||
</path>
|
||||
<path matrix="1 0 0 1 32 0" stroke="black" arrow="normal/normal">
|
||||
216 768 m
|
||||
54.6829 0 0 -54.6829 217.333 713.333 272 712 a
|
||||
</path>
|
||||
<path matrix="1 0 0 1 32 0" stroke="black" arrow="normal/normal">
|
||||
216 640 m
|
||||
54.6829 0 0 54.6829 217.333 694.667 272 696 a
|
||||
</path>
|
||||
<text matrix="0.707107 0.707107 -0.707107 0.707107 562.489 179.001" transformations="rigid" pos="64 752" stroke="black" type="label" width="24.907" height="7.473" depth="2.49" halign="center" valign="center">${\color{orange}11/}16$</text>
|
||||
<text matrix="0.707107 -0.707107 0.707107 0.707107 -438.774 244.706" transformations="rigid" pos="76 652" stroke="black" type="label" width="19.925" height="7.473" depth="2.49" halign="center" valign="center">${\color{orange}8/}13$</text>
|
||||
<text matrix="1 0 0 1 16 0" transformations="translations" pos="168 772" stroke="black" type="label" width="24.907" height="7.473" depth="2.49" halign="center" valign="baseline">${\color{orange}12/}12$</text>
|
||||
<path transformations="rigid" stroke="black" arrow="normal/normal">
|
||||
136 768 m
|
||||
232 768 l
|
||||
</path>
|
||||
<path transformations="rigid" stroke="black" arrow="normal/normal">
|
||||
136 640 m
|
||||
232 640 l
|
||||
</path>
|
||||
<path transformations="rigid" stroke="black" arrow="normal/normal">
|
||||
232 760 m
|
||||
140 648 l
|
||||
</path>
|
||||
<text matrix="0.655573 0.755131 -0.755131 0.655573 601.483 105.503" transformations="rigid" pos="184 712" stroke="black" type="label" width="14.944" height="7.473" depth="2.49" halign="center" valign="center">${\color{orange}4/}9$</text>
|
||||
<text transformations="translations" pos="184 644" stroke="black" type="label" width="24.907" height="7.473" depth="2.49" halign="center" valign="baseline">${\color{orange}11/}14$</text>
|
||||
<text matrix="0.707107 0.707107 -0.707107 0.707107 546.558 -15.5088" transformations="rigid" pos="292 652" stroke="black" type="label" width="14.944" height="7.473" depth="2.49" halign="center" valign="center">${\color{orange}4/}4$</text>
|
||||
<text matrix="0.707107 -0.707107 0.707107 0.707107 -449.048 427.902" transformations="rigid" pos="292 756" stroke="black" type="label" width="24.907" height="7.473" depth="2.49" halign="center" valign="center">${\color{orange}15/}20$</text>
|
||||
<path transformations="rigid" stroke="black" arrow="normal/normal">
|
||||
124 760 m
|
||||
124 648 l
|
||||
</path>
|
||||
<path transformations="rigid" stroke="black" arrow="normal/normal">
|
||||
132 648 m
|
||||
132 760 l
|
||||
</path>
|
||||
<text transformations="translations" pos="244 704" stroke="black" type="label" width="14.944" height="7.473" depth="2.49" valign="center">${\color{orange}7/}7$</text>
|
||||
<text transformations="translations" pos="136 704" stroke="black" type="label" width="14.944" height="7.473" depth="2.49" valign="center">${\color{orange}1/}4$</text>
|
||||
<text transformations="translations" pos="120 704" stroke="black" type="label" width="9.963" height="6.42" depth="0" halign="right" valign="center">10</text>
|
||||
<text matrix="1 0 0 1 -4 0" transformations="translations" pos="60 704" stroke="black" type="label" width="3.93" height="4.289" depth="0" halign="right" valign="center">s</text>
|
||||
<text matrix="1 0 0 1 4 0" transformations="translations" pos="308 704" stroke="black" type="label" width="3.874" height="6.128" depth="0" valign="center">t</text>
|
||||
<text transformations="translations" pos="128 776" stroke="black" type="label" width="5.535" height="4.289" depth="0" halign="center" valign="center">u</text>
|
||||
<text transformations="translations" pos="240 776" stroke="black" type="label" width="5.258" height="4.289" depth="0" halign="center" valign="center">v</text>
|
||||
</page>
|
||||
</ipe>
|
@ -0,0 +1,306 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE ipe SYSTEM "ipe.dtd">
|
||||
<ipe version="70005" creator="Ipe 7.1.2">
|
||||
<info created="D:20120322003520" modified="D:20120322011225"/>
|
||||
<ipestyle name="basic">
|
||||
<symbol name="arrow/arc(spx)">
|
||||
<path stroke="sym-stroke" fill="sym-stroke" pen="sym-pen">
|
||||
0 0 m
|
||||
-1 0.333 l
|
||||
-1 -0.333 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="arrow/farc(spx)">
|
||||
<path stroke="sym-stroke" fill="white" pen="sym-pen">
|
||||
0 0 m
|
||||
-1 0.333 l
|
||||
-1 -0.333 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="mark/circle(sx)" transformations="translations">
|
||||
<path fill="sym-stroke">
|
||||
0.6 0 0 0.6 0 0 e
|
||||
0.4 0 0 0.4 0 0 e
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="mark/disk(sx)" transformations="translations">
|
||||
<path fill="sym-stroke">
|
||||
0.6 0 0 0.6 0 0 e
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="mark/fdisk(sfx)" transformations="translations">
|
||||
<group>
|
||||
<path fill="sym-fill">
|
||||
0.5 0 0 0.5 0 0 e
|
||||
</path>
|
||||
<path fill="sym-stroke" fillrule="eofill">
|
||||
0.6 0 0 0.6 0 0 e
|
||||
0.4 0 0 0.4 0 0 e
|
||||
</path>
|
||||
</group>
|
||||
</symbol>
|
||||
<symbol name="mark/box(sx)" transformations="translations">
|
||||
<path fill="sym-stroke" fillrule="eofill">
|
||||
-0.6 -0.6 m
|
||||
0.6 -0.6 l
|
||||
0.6 0.6 l
|
||||
-0.6 0.6 l
|
||||
h
|
||||
-0.4 -0.4 m
|
||||
0.4 -0.4 l
|
||||
0.4 0.4 l
|
||||
-0.4 0.4 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="mark/square(sx)" transformations="translations">
|
||||
<path fill="sym-stroke">
|
||||
-0.6 -0.6 m
|
||||
0.6 -0.6 l
|
||||
0.6 0.6 l
|
||||
-0.6 0.6 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="mark/fsquare(sfx)" transformations="translations">
|
||||
<group>
|
||||
<path fill="sym-fill">
|
||||
-0.5 -0.5 m
|
||||
0.5 -0.5 l
|
||||
0.5 0.5 l
|
||||
-0.5 0.5 l
|
||||
h
|
||||
</path>
|
||||
<path fill="sym-stroke" fillrule="eofill">
|
||||
-0.6 -0.6 m
|
||||
0.6 -0.6 l
|
||||
0.6 0.6 l
|
||||
-0.6 0.6 l
|
||||
h
|
||||
-0.4 -0.4 m
|
||||
0.4 -0.4 l
|
||||
0.4 0.4 l
|
||||
-0.4 0.4 l
|
||||
h
|
||||
</path>
|
||||
</group>
|
||||
</symbol>
|
||||
<symbol name="mark/cross(sx)" transformations="translations">
|
||||
<group>
|
||||
<path fill="sym-stroke">
|
||||
-0.43 -0.57 m
|
||||
0.57 0.43 l
|
||||
0.43 0.57 l
|
||||
-0.57 -0.43 l
|
||||
h
|
||||
</path>
|
||||
<path fill="sym-stroke">
|
||||
-0.43 0.57 m
|
||||
0.57 -0.43 l
|
||||
0.43 -0.57 l
|
||||
-0.57 0.43 l
|
||||
h
|
||||
</path>
|
||||
</group>
|
||||
</symbol>
|
||||
<symbol name="arrow/fnormal(spx)">
|
||||
<path stroke="sym-stroke" fill="white" pen="sym-pen">
|
||||
0 0 m
|
||||
-1 0.333 l
|
||||
-1 -0.333 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="arrow/pointed(spx)">
|
||||
<path stroke="sym-stroke" fill="sym-stroke" pen="sym-pen">
|
||||
0 0 m
|
||||
-1 0.333 l
|
||||
-0.8 0 l
|
||||
-1 -0.333 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="arrow/fpointed(spx)">
|
||||
<path stroke="sym-stroke" fill="white" pen="sym-pen">
|
||||
0 0 m
|
||||
-1 0.333 l
|
||||
-0.8 0 l
|
||||
-1 -0.333 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="arrow/linear(spx)">
|
||||
<path stroke="sym-stroke" pen="sym-pen">
|
||||
-1 0.333 m
|
||||
0 0 l
|
||||
-1 -0.333 l
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="arrow/fdouble(spx)">
|
||||
<path stroke="sym-stroke" fill="white" pen="sym-pen">
|
||||
0 0 m
|
||||
-1 0.333 l
|
||||
-1 -0.333 l
|
||||
h
|
||||
-1 0 m
|
||||
-2 0.333 l
|
||||
-2 -0.333 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<symbol name="arrow/double(spx)">
|
||||
<path stroke="sym-stroke" fill="sym-stroke" pen="sym-pen">
|
||||
0 0 m
|
||||
-1 0.333 l
|
||||
-1 -0.333 l
|
||||
h
|
||||
-1 0 m
|
||||
-2 0.333 l
|
||||
-2 -0.333 l
|
||||
h
|
||||
</path>
|
||||
</symbol>
|
||||
<pen name="heavier" value="0.8"/>
|
||||
<pen name="fat" value="1.2"/>
|
||||
<pen name="ultrafat" value="2"/>
|
||||
<symbolsize name="large" value="5"/>
|
||||
<symbolsize name="small" value="2"/>
|
||||
<symbolsize name="tiny" value="1.1"/>
|
||||
<arrowsize name="large" value="10"/>
|
||||
<arrowsize name="small" value="5"/>
|
||||
<arrowsize name="tiny" value="3"/>
|
||||
<color name="red" value="1 0 0"/>
|
||||
<color name="green" value="0 1 0"/>
|
||||
<color name="blue" value="0 0 1"/>
|
||||
<color name="yellow" value="1 1 0"/>
|
||||
<color name="orange" value="1 0.647 0"/>
|
||||
<color name="gold" value="1 0.843 0"/>
|
||||
<color name="purple" value="0.627 0.125 0.941"/>
|
||||
<color name="gray" value="0.745"/>
|
||||
<color name="brown" value="0.647 0.165 0.165"/>
|
||||
<color name="navy" value="0 0 0.502"/>
|
||||
<color name="pink" value="1 0.753 0.796"/>
|
||||
<color name="seagreen" value="0.18 0.545 0.341"/>
|
||||
<color name="turquoise" value="0.251 0.878 0.816"/>
|
||||
<color name="violet" value="0.933 0.51 0.933"/>
|
||||
<color name="darkblue" value="0 0 0.545"/>
|
||||
<color name="darkcyan" value="0 0.545 0.545"/>
|
||||
<color name="darkgray" value="0.663"/>
|
||||
<color name="darkgreen" value="0 0.392 0"/>
|
||||
<color name="darkmagenta" value="0.545 0 0.545"/>
|
||||
<color name="darkorange" value="1 0.549 0"/>
|
||||
<color name="darkred" value="0.545 0 0"/>
|
||||
<color name="lightblue" value="0.678 0.847 0.902"/>
|
||||
<color name="lightcyan" value="0.878 1 1"/>
|
||||
<color name="lightgray" value="0.827"/>
|
||||
<color name="lightgreen" value="0.565 0.933 0.565"/>
|
||||
<color name="lightyellow" value="1 1 0.878"/>
|
||||
<dashstyle name="dashed" value="[4] 0"/>
|
||||
<dashstyle name="dotted" value="[1 3] 0"/>
|
||||
<dashstyle name="dash dotted" value="[4 2 1 2] 0"/>
|
||||
<dashstyle name="dash dot dotted" value="[4 2 1 2 1 2] 0"/>
|
||||
<textsize name="large" value="\large"/>
|
||||
<textsize name="Large" value="\Large"/>
|
||||
<textsize name="LARGE" value="\LARGE"/>
|
||||
<textsize name="huge" value="\huge"/>
|
||||
<textsize name="Huge" value="\Huge"/>
|
||||
<textsize name="small" value="\small"/>
|
||||
<textsize name="footnote" value="\footnotesize"/>
|
||||
<textsize name="tiny" value="\tiny"/>
|
||||
<textstyle name="center" begin="\begin{center}" end="\end{center}"/>
|
||||
<textstyle name="itemize" begin="\begin{itemize}" end="\end{itemize}"/>
|
||||
<textstyle name="item" begin="\begin{itemize}\item{}" end="\end{itemize}"/>
|
||||
<gridsize name="4 pts" value="4"/>
|
||||
<gridsize name="8 pts (~3 mm)" value="8"/>
|
||||
<gridsize name="16 pts (~6 mm)" value="16"/>
|
||||
<gridsize name="32 pts (~12 mm)" value="32"/>
|
||||
<gridsize name="10 pts (~3.5 mm)" value="10"/>
|
||||
<gridsize name="20 pts (~7 mm)" value="20"/>
|
||||
<gridsize name="14 pts (~5 mm)" value="14"/>
|
||||
<gridsize name="28 pts (~10 mm)" value="28"/>
|
||||
<gridsize name="56 pts (~20 mm)" value="56"/>
|
||||
<anglesize name="90 deg" value="90"/>
|
||||
<anglesize name="60 deg" value="60"/>
|
||||
<anglesize name="45 deg" value="45"/>
|
||||
<anglesize name="30 deg" value="30"/>
|
||||
<anglesize name="22.5 deg" value="22.5"/>
|
||||
<tiling name="falling" angle="-60" step="4" width="1"/>
|
||||
<tiling name="rising" angle="30" step="4" width="1"/>
|
||||
</ipestyle>
|
||||
<page>
|
||||
<layer name="alpha"/>
|
||||
<view layers="alpha" active="alpha"/>
|
||||
<use layer="alpha" name="mark/disk(sx)" pos="64 704" size="large" stroke="black"/>
|
||||
<use name="mark/disk(sx)" pos="128 768" size="large" stroke="black"/>
|
||||
<use name="mark/disk(sx)" pos="128 640" size="large" stroke="black"/>
|
||||
<use matrix="1 0 0 1 32 0" name="mark/disk(sx)" pos="208 768" size="large" stroke="black"/>
|
||||
<use matrix="1 0 0 1 32 0" name="mark/disk(sx)" pos="272 704" size="large" stroke="black"/>
|
||||
<use matrix="1 0 0 1 32 0" name="mark/disk(sx)" pos="208 640" size="large" stroke="black"/>
|
||||
<path matrix="1 0 0 1 32 0" stroke="black" arrow="normal/normal">
|
||||
208 648 m
|
||||
208 760 l
|
||||
</path>
|
||||
<path stroke="black" arrow="normal/normal">
|
||||
64 712 m
|
||||
54.6829 0 0 -54.6829 118.667 713.333 120 768 a
|
||||
</path>
|
||||
<path stroke="black" arrow="normal/normal">
|
||||
64 696 m
|
||||
54.6829 0 0 54.6829 118.667 694.667 120 640 a
|
||||
</path>
|
||||
<path matrix="1 0 0 1 32 0" stroke="black" arrow="normal/normal">
|
||||
216 768 m
|
||||
54.6829 0 0 -54.6829 217.333 713.333 272 712 a
|
||||
</path>
|
||||
<path matrix="1 0 0 1 32 0" stroke="black" rarrow="normal/normal">
|
||||
216 640 m
|
||||
54.6829 0 0 54.6829 217.333 694.667 272 696 a
|
||||
</path>
|
||||
<path transformations="rigid" stroke="black" rarrow="normal/normal">
|
||||
136 768 m
|
||||
232 768 l
|
||||
</path>
|
||||
<path matrix="1 0 0 1 0 4" transformations="rigid" stroke="black" arrow="normal/normal">
|
||||
136 640 m
|
||||
232 640 l
|
||||
</path>
|
||||
<path transformations="rigid" stroke="black" arrow="normal/normal">
|
||||
124 760 m
|
||||
124 648 l
|
||||
</path>
|
||||
<path transformations="rigid" stroke="black" arrow="normal/normal">
|
||||
132 648 m
|
||||
132 760 l
|
||||
</path>
|
||||
<text matrix="1 0 0 1 -4 0" transformations="translations" pos="60 704" stroke="black" type="label" width="3.93" height="4.289" depth="0" halign="right" valign="center">s</text>
|
||||
<text matrix="1 0 0 1 4 0" transformations="translations" pos="308 704" stroke="black" type="label" width="3.874" height="6.128" depth="0" valign="center">t</text>
|
||||
<text transformations="translations" pos="128 776" stroke="black" type="label" width="5.535" height="4.289" depth="0" halign="center" valign="center">u</text>
|
||||
<text transformations="translations" pos="240 776" stroke="black" type="label" width="5.258" height="4.289" depth="0" halign="center" valign="center">v</text>
|
||||
<path stroke="black" arrow="normal/normal">
|
||||
120 760 m
|
||||
72 712 l
|
||||
</path>
|
||||
<path stroke="black" arrow="normal/normal">
|
||||
120 648 m
|
||||
72 696 l
|
||||
</path>
|
||||
<path stroke="black" arrow="normal/normal">
|
||||
228 760 m
|
||||
140 652 l
|
||||
</path>
|
||||
<path stroke="black" arrow="normal/normal">
|
||||
144 648 m
|
||||
232 756 l
|
||||
</path>
|
||||
<path stroke="black" arrow="normal/normal">
|
||||
296 712 m
|
||||
248 760 l
|
||||
</path>
|
||||
<path stroke="black" arrow="normal/normal">
|
||||
232 636 m
|
||||
136 636 l
|
||||
</path>
|
||||
</page>
|
||||
</ipe>
|
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
for FILE in $(find img/ -iname '*.xml') ; do
|
||||
if [ ! -f "${FILE%.xml}.pdf" -o "$FILE" -nt "${FILE%.xml}.pdf" ] ; then
|
||||
ipetoipe -pdf -runlatex $FILE ${FILE%.xml}.pdf
|
||||
fi
|
||||
done
|
||||
|
||||
if [ ! -f "Algorithmen.toc" ] ; then
|
||||
# Run it twice to generate TOC
|
||||
pdflatex Algorithmen.tex
|
||||
fi
|
||||
pdflatex Algorithmen.tex
|
Loading…
Reference in new issue