<?xml version="1.0" encoding="UTF-8"?>

<record version="6" id="4210">
 <title>Fleury's algorithm</title>
 <name>FleurysAlgorithm</name>
 <created>2003-04-24 10:33:38</created>
 <modified>2005-04-14 19:33:57</modified>
 <type>Algorithm</type>
 <creator id="2727" name="mathcam"/>
 <author id="2727" name="mathcam"/>
 <author id="1032" name="Johan"/>
 <classification>
	<category scheme="msc" code="05C45"/>
 </classification>
 <related>
	<object name="EulerCircuit"/>
 </related>
 <preamble>% this is the default PlanetMath preamble.  as your knowledge
% of TeX increases, you will probably want to edit this, but
% it should be fine as is for beginners.

% almost certainly you want these
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}

% used for TeXing text within eps files
%\usepackage{psfrag}
% need this for including graphics (\includegraphics)
%\usepackage{graphicx}
% for neatly defining theorems and propositions
%\usepackage{amsthm}
% making logically defined graphics
%\usepackage{xypic}

% there are many more packages, add them here as you need them

% define commands here</preamble>
 <content>Fleury's algorithm constructs an Euler circuit in a graph (if it's possible). \\
\begin{enumerate}
\item Pick any vertex to start
\item From that vertex pick an edge to traverse, considering following rule: never cross a bridge of the reduced graph unless there is no other choice 
\item Darken that edge, as a reminder that you can't traverse it again 
\item Travel that edge, coming to the next vertex 
\item Repeat 2-4 until all edges have been traversed, and you are back at the starting vertex
\end{enumerate}
By ``reduced graph'' we mean the original graph minus the darkened (already used) edges.</content>
</record>
