Paradiseo-eo sources added

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
legrand 2006-12-12 14:49:08 +00:00
commit c3aec878e5
3609 changed files with 342772 additions and 0 deletions

View file

@ -0,0 +1,294 @@
%!PS-Adobe-2.0 EPSF-2.0
%%Title: ClassName
%%Creator: Doxygen
%%CreationDate: Time
%%For:
%Magnification: 1.00
%%Orientation: Portrait
%%BoundingBox: 0 0 500 883.534
%%Pages: 0
%%BeginSetup
%%EndSetup
%%EndComments
% ----- variables -----
/boxwidth 0 def
/boxheight 40 def
/fontheight 24 def
/marginwidth 10 def
/distx 20 def
/disty 40 def
/boundaspect 0.565909 def % aspect ratio of the BoundingBox (width/height)
/boundx 500 def
/boundy boundx boundaspect div def
/xspacing 0 def
/yspacing 0 def
/rows 22 def
/cols 2 def
/scalefactor 0 def
/boxfont /Times-Roman findfont fontheight scalefont def
% ----- procedures -----
/dotted { [1 4] 0 setdash } def
/dashed { [5] 0 setdash } def
/solid { [] 0 setdash } def
/max % result = MAX(arg1,arg2)
{
/a exch def
/b exch def
a b gt {a} {b} ifelse
} def
/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2)
{
0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max
} def
/cw % boxwidth = MAX(boxwidth, stringwidth(arg1))
{
/str exch def
/boxwidth boxwidth str stringwidth pop max def
} def
/box % draws a box with text `arg1' at grid pos (arg2,arg3)
{ gsave
2 setlinewidth
newpath
exch xspacing mul xoffset add
exch yspacing mul
moveto
boxwidth 0 rlineto
0 boxheight rlineto
boxwidth neg 0 rlineto
0 boxheight neg rlineto
closepath
dup stringwidth pop neg boxwidth add 2 div
boxheight fontheight 2 div sub 2 div
rmoveto show stroke
grestore
} def
/mark
{ newpath
exch xspacing mul xoffset add boxwidth add
exch yspacing mul
moveto
0 boxheight 4 div rlineto
boxheight neg 4 div boxheight neg 4 div rlineto
closepath
eofill
stroke
} def
/arrow
{ newpath
moveto
3 -8 rlineto
-6 0 rlineto
3 8 rlineto
closepath
eofill
stroke
} def
/out % draws an output connector for the block at (arg1,arg2)
{
newpath
exch xspacing mul xoffset add boxwidth 2 div add
exch yspacing mul boxheight add
/y exch def
/x exch def
x y moveto
0 disty 2 div rlineto
stroke
1 eq { x y disty 2 div add arrow } if
} def
/in % draws an input connector for the block at (arg1,arg2)
{
newpath
exch xspacing mul xoffset add boxwidth 2 div add
exch yspacing mul disty 2 div sub
/y exch def
/x exch def
x y moveto
0 disty 2 div rlineto
stroke
1 eq { x y disty 2 div add arrow } if
} def
/hedge
{
exch xspacing mul xoffset add boxwidth 2 div add
exch yspacing mul boxheight 2 div sub
/y exch def
/x exch def
newpath
x y moveto
boxwidth 2 div distx add 0 rlineto
stroke
1 eq
{ newpath x boxwidth 2 div distx add add y moveto
-8 3 rlineto
0 -6 rlineto
8 3 rlineto
closepath
eofill
stroke
} if
} def
/vedge
{
/ye exch def
/ys exch def
/xs exch def
newpath
xs xspacing mul xoffset add boxwidth 2 div add dup
ys yspacing mul boxheight 2 div sub
moveto
ye yspacing mul boxheight 2 div sub
lineto
stroke
} def
/conn % connections the blocks from col `arg1' to `arg2' of row `arg3'
{
/ys exch def
/xe exch def
/xs exch def
newpath
xs xspacing mul xoffset add boxwidth 2 div add
ys yspacing mul disty 2 div sub
moveto
xspacing xe xs sub mul 0
rlineto
stroke
} def
% ----- main ------
boxfont setfont
1 boundaspect scale
(eoObject) cw
(EO< F >) cw
(EO< double >) cw
(EO< EOT::Fitness >) cw
(EO< Fit >) cw
(EO< Fitness >) cw
(EO< fitness_type >) cw
(EO< fitnessT >) cw
(EO< FitT >) cw
(EO< FType >) cw
(EO< phenotype >) cw
(EO< PyFitness >) cw
(eoDistribution< EOT >) cw
(eoFactory< EOClass >) cw
(eoFactory< eoOpSelector< eoClass > >) cw
(eoFactory< eoSelect< EOT > >) cw
(eoFactory< EOT >) cw
(eoParser) cw
(eoPop< EOT >) cw
(eoPop< Dummy >) cw
(eoPop< PyEO >) cw
(eoRng) cw
/boxwidth boxwidth marginwidth 2 mul add def
/xspacing boxwidth distx add def
/yspacing boxheight disty add def
/scalefactor
boxwidth cols mul distx cols 1 sub mul add
boxheight rows mul disty rows 1 sub mul add boundaspect mul
max def
boundx scalefactor div boundy scalefactor div scale
% ----- classes -----
(eoObject) 0 21 box
(EO< F >) 1 20 box
(EO< double >) 1 19 box
1 19 mark
(EO< EOT::Fitness >) 1 18 box
1 18 mark
(EO< Fit >) 1 17 box
1 17 mark
(EO< Fitness >) 1 16 box
1 16 mark
(EO< fitness_type >) 1 15 box
1 15 mark
(EO< fitnessT >) 1 14 box
1 14 mark
(EO< FitT >) 1 13 box
1 13 mark
(EO< FType >) 1 12 box
1 12 mark
(EO< phenotype >) 1 11 box
1 11 mark
(EO< PyFitness >) 1 10 box
1 10 mark
(eoDistribution< EOT >) 1 9 box
1 9 mark
(eoFactory< EOClass >) 1 8 box
(eoFactory< eoOpSelector< eoClass > >) 1 7 box
1 7 mark
(eoFactory< eoSelect< EOT > >) 1 6 box
1 6 mark
(eoFactory< EOT >) 1 5 box
1 5 mark
(eoParser) 1 4 box
(eoPop< EOT >) 1 3 box
(eoPop< Dummy >) 1 2 box
1 2 mark
(eoPop< PyEO >) 1 1 box
(eoRng) 1 0 box
% ----- relations -----
solid
1 0 20.25 out
solid
0 0 20.5 hedge
solid
0 0 19.5 hedge
solid
0 0 18.5 hedge
solid
0 0 17.5 hedge
solid
0 0 16.5 hedge
solid
0 0 15.5 hedge
solid
0 0 14.5 hedge
solid
0 0 13.5 hedge
solid
0 0 12.5 hedge
solid
0 0 11.5 hedge
solid
0 0 10.5 hedge
solid
0 0 9.5 hedge
solid
0 0 8.5 hedge
solid
0 0 7.5 hedge
solid
0 0 6.5 hedge
solid
0 0 5.5 hedge
solid
0 0 4.5 hedge
solid
0 0 3.5 hedge
solid
0 0 2.5 hedge
solid
0 0 1.5 hedge
solid
0 0 0.5 hedge
solid
0 21 0.5 vedge