Boost logo

Boost-Commit :

From: asutton_at_[hidden]
Date: 2007-07-23 10:48:00


Author: asutton
Date: 2007-07-23 10:47:58 EDT (Mon, 23 Jul 2007)
New Revision: 7512
URL: http://svn.boost.org/trac/boost/changeset/7512

Log:
Re-added reference directory to images witn several dot files and
a makefile for automated building.
Added an eq subdirectory for equations.

Added:
   sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/eq/
   sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/eq/Makefile
   sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/eq/closeness.tex
   sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/eq/mean_geodesic.tex
   sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/
   sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/Makefile
   sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/connected_components_after.dot
   sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/connected_components_before.dot
   sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/distribution_directed.circo
   sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/distribution_undirected.circo
   sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/geodesic.dot

Added: sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/eq/Makefile
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/eq/Makefile 2007-07-23 10:47:58 EDT (Mon, 23 Jul 2007)
@@ -0,0 +1,23 @@
+
+src = \
+ closeness.tex \
+ mean_geodesic.tex
+dvi = $(src:%.tex=%.dvi)
+ps = $(src:%.tex=%.ps)
+png = $(src:%.tex=%.png)
+aux = $(src:%.tex=%.aux)
+log = $(src:%.tex=%.log)
+
+%.png: %.ps
+ convert -density 120 $< $@
+
+%.ps: %.dvi
+ dvips -E $< -o $@
+
+%.dvi: %.tex
+ latex --interaction=nonstopmode $<
+
+all: $(png)
+
+clean:
+ rm -f $(png) $(ps) $(dvi) $(aux) $(log)
\ No newline at end of file

Added: sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/eq/closeness.tex
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/eq/closeness.tex 2007-07-23 10:47:58 EDT (Mon, 23 Jul 2007)
@@ -0,0 +1,12 @@
+\documentclass[12pt]{article}
+
+\usepackage{amsmath}
+\usepackage{amsfonts}
+\usepackage{amssymb}
+\usepackage{pst-plot}
+\usepackage{color}
+\pagestyle{empty}
+
+\begin{document}
+$C(u) = \frac{1}{\sum_{u \in V}{d_G\left(u,v\right)}} $
+\end{document}
\ No newline at end of file

Added: sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/eq/mean_geodesic.tex
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/eq/mean_geodesic.tex 2007-07-23 10:47:58 EDT (Mon, 23 Jul 2007)
@@ -0,0 +1,12 @@
+\documentclass[12pt]{article}
+
+\usepackage{amsmath}
+\usepackage{amsfonts}
+\usepackage{amssymb}
+\usepackage{pst-plot}
+\usepackage{color}
+\pagestyle{empty}
+
+\begin{document}
+$D(u) = \frac{\sum_{u \in V}{d_G\left(u,v\right)}}{\left|V\right|} $
+\end{document}
\ No newline at end of file

Added: sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/Makefile
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/Makefile 2007-07-23 10:47:58 EDT (Mon, 23 Jul 2007)
@@ -0,0 +1,25 @@
+
+dot_src = \
+ connected_components_before.dot \
+ connected_components_after.dot \
+ geodesic.dot
+circo_src = \
+ distribution_undirected.circo \
+ distribution_directed.circo
+
+dot_png = $(dot_src:%.dot=%.png)
+circo_png = $(circo_src:%.circo=%.png)
+
+%.png: %.dot
+ dot -Tpng $< > $@
+ convert $@ -resize 80% $@
+
+%.png: %.circo
+ circo -Tpng $< > $@
+ convert $@ -resize 80% $@
+
+all: $(dot_png) $(circo_png)
+
+clean:
+ rm -rf $(dot_png)
+ rm -rf $(circo_png)

Added: sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/connected_components_after.dot
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/connected_components_after.dot 2007-07-23 10:47:58 EDT (Mon, 23 Jul 2007)
@@ -0,0 +1,12 @@
+
+
+graph G {
+ subgraph cluster_0 {
+ 0 -- 1 -- 2 -- 0;
+ label = "Component 0";
+ }
+ subgraph cluster_1 {
+ 3 -- 4;
+ label = "Component 1";
+ }
+}
\ No newline at end of file

Added: sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/connected_components_before.dot
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/connected_components_before.dot 2007-07-23 10:47:58 EDT (Mon, 23 Jul 2007)
@@ -0,0 +1,5 @@
+
+graph G {
+ 0 -- 1 -- 2 -- 0;
+ 3 -- 4;
+}

Added: sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/distribution_directed.circo
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/distribution_directed.circo 2007-07-23 10:47:58 EDT (Mon, 23 Jul 2007)
@@ -0,0 +1,11 @@
+
+digraph G {
+ 0 -> 1;
+ 1 -> 2;
+ 2 -> 3;
+ 3 -> 5;
+ 5 -> 4;
+ 4 -> 1;
+ 4 -> 3;
+ 5 -> 2;
+}
\ No newline at end of file

Added: sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/distribution_undirected.circo
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/distribution_undirected.circo 2007-07-23 10:47:58 EDT (Mon, 23 Jul 2007)
@@ -0,0 +1,11 @@
+
+graph G {
+ 0 -- 1;
+ 1 -- 2;
+ 2 -- 3;
+ 3 -- 5;
+ 5 -- 4;
+ 4 -- 1;
+ 4 -- 3;
+ 2 -- 5
+}
\ No newline at end of file

Added: sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/geodesic.dot
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/graphs/libs/graph/old_docs/quickbook/images/reference/geodesic.dot 2007-07-23 10:47:58 EDT (Mon, 23 Jul 2007)
@@ -0,0 +1,15 @@
+
+graph G {
+ 0 -- 1;
+ 1 -- 2;
+ 1 -- 3;
+ 2 -- 4;
+ 3 -- 5;
+ 4 -- 6;
+ 4 -- 7;
+ 4 -- 8;
+ 5 -- 8;
+ 6 -- 9;
+ 7 -- 9;
+ 8 -- 9;
+}
\ No newline at end of file


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk