diff --git a/trunk/paradiseo-peo/docs/Makefile.am b/trunk/paradiseo-peo/docs/Makefile.am deleted file mode 100755 index a3e68d93a..000000000 --- a/trunk/paradiseo-peo/docs/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -## Makefile.am for paradiseo/docs - - -EXTRA_DIST = paradiseo-peo.doxyfile foot.html - -doc: - cd $(srcdir) && doxygen paradiseo-peo.doxyfile - -clean-local: - cd $(srcdir) && rm -rf html latex man diff --git a/trunk/paradiseo-peo/docs/Makefile.in b/trunk/paradiseo-peo/docs/Makefile.in deleted file mode 100755 index 1dd6905ce..000000000 --- a/trunk/paradiseo-peo/docs/Makefile.in +++ /dev/null @@ -1,295 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = .. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -subdir = docs -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EO_DIR = @EO_DIR@ -EXEEXT = @EXEEXT@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MOEO_DIR = @MOEO_DIR@ -MO_DIR = @MO_DIR@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -RANLIB = @RANLIB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build_alias = @build_alias@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host_alias = @host_alias@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -EXTRA_DIST = paradiseo-peo.doxyfile foot.html -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu docs/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -uninstall-info-am: -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile -installdirs: -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-local mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-info-am - -.PHONY: all all-am check check-am clean clean-generic clean-local \ - distclean distclean-generic distdir dvi dvi-am html html-am \ - info info-am install install-am install-data install-data-am \ - install-exec install-exec-am install-info install-info-am \ - install-man install-strip installcheck installcheck-am \ - installdirs maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ - uninstall-am uninstall-info-am - - -doc: - cd $(srcdir) && doxygen paradiseo-peo.doxyfile - -clean-local: - cd $(srcdir) && rm -rf html latex man -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/trunk/paradiseo-peo/docs/moeo.doxytag b/trunk/paradiseo-peo/docs/moeo.doxytag deleted file mode 100755 index d9cb2885b..000000000 --- a/trunk/paradiseo-peo/docs/moeo.doxytag +++ /dev/null @@ -1,1481 +0,0 @@ - - - - main - The ParadisEO Framework - main - parallel_local_searches - parallel_metaheuristics - paradiseo_goals - hybridization - intro - parallel_distributed - parallel_ls - architecture - local_searches - motivation - - - Communicable - classCommunicable.html - - - Communicable - classCommunicable.html - 8ae1827ecf7569b3db1ed386c7d8ad78 - () - - - virtual - ~Communicable - classCommunicable.html - 2280b0dfa0d3a515fccf62c2a9fd5f41 - () - - - COMM_ID - getKey - classCommunicable.html - db4307b69b9ccacff55fdbf84b8f50e4 - () - - - void - lock - classCommunicable.html - e1f8bd1ee810fd73d44315c95998d19d - () - - - void - unlock - classCommunicable.html - caa814847192e71f434fbf9479ede862 - () - - - void - stop - classCommunicable.html - cb53e6534b947bc889aa181d9dbbd13b - () - - - void - resume - classCommunicable.html - 3306a9adb11a0ab5af342c0db9f7bb2a - () - - - COMM_ID - key - classCommunicable.html - 605b0efeffe81326f216c9903f5bbf4c - - - - sem_t - sem_lock - classCommunicable.html - cf9639312f71a2f348bc1e7789ccbd9d - - - - sem_t - sem_stop - classCommunicable.html - 29c53b9191348e0505e3bcba6d8b82b1 - - - - static unsigned - num_comm - classCommunicable.html - 7a6acfdc781a67c9c0ec4f17893f86c3 - - - - - Communicator - classCommunicator.html - ReactiveThread - - - Communicator - classCommunicator.html - 7c9dce4ea92bd04d01d53f80c0ef08ee - (int *__argc, char ***__argv) - - - void - start - classCommunicator.html - 142fae13b16b166519315f248a513c62 - () - - - - Cooperative - classCooperative.html - Communicable - - Runner * - getOwner - classCooperative.html - 4012b4e8329e87d26ee266491e1a883e - () - - - void - setOwner - classCooperative.html - fe7b022567174c8305bc78d8c5749b12 - (Runner &__runner) - - - void - send - classCooperative.html - c609f2a1200da7d1ac96005602515fc6 - (Cooperative *__coop) - - - virtual void - notifySending - classCooperative.html - 4439ddeaa1246a2e44c003bfb781739b - () - - - Runner * - owner - classCooperative.html - 7604f094479d08154ede4996a45bf79e - - - - - peoAggEvalFunc - classpeoAggEvalFunc.html - EOT - eoBF - - - peoAsyncIslandMig - classpeoAsyncIslandMig.html - EOT - Cooperative - eoUpdater - - - peoAsyncIslandMig - classpeoAsyncIslandMig.html - e0f706cbf4148d3ca327227a5c7a9fdf - (eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) - - - void - operator() - classpeoAsyncIslandMig.html - 13581e54425727a7f785ca8a6df527b5 - () - - - void - pack - classpeoAsyncIslandMig.html - 6d790a5d0b6ac510cac4f61a1c0d8f16 - () - - - void - unpack - classpeoAsyncIslandMig.html - 455501aee5db2bbfbae15779c8429369 - () - - - void - emigrate - classpeoAsyncIslandMig.html - 87a4ef7d4bd30d349a801bf0f9e87c82 - () - - - void - immigrate - classpeoAsyncIslandMig.html - 5a9a64ba51a696e45f91b362c39c9a64 - () - - - eoContinue< EOT > & - cont - classpeoAsyncIslandMig.html - 2fc077d02ef9ea4595cfe883af0d4f83 - - - - eoSelect< EOT > & - select - classpeoAsyncIslandMig.html - b1fa045094c8a411323e75b5820c80c2 - - - - eoReplacement< EOT > & - replace - classpeoAsyncIslandMig.html - b761dbd880ee32e170741ecd78da6f48 - - - - Topology & - topology - classpeoAsyncIslandMig.html - e45e5a808a96f0853ab6ba42339fe679 - - - - eoPop< EOT > & - source - classpeoAsyncIslandMig.html - 8a502d82c773033e274dca932fc2d4ee - - - - eoPop< EOT > & - destination - classpeoAsyncIslandMig.html - e407f411d08ae7d96992603c145a7e43 - - - - std::queue< eoPop< EOT > > - imm - classpeoAsyncIslandMig.html - b8c76d98d9ae99dd930a77c12860519a - - - - std::queue< eoPop< EOT > > - em - classpeoAsyncIslandMig.html - a9cc0e2d61cac6e11647b141962adc89 - - - - std::queue< Cooperative * > - coop_em - classpeoAsyncIslandMig.html - 1a2c0004d23bc303420af137a8c8bd27 - - - - - peoEA - classpeoEA.html - EOT - Runner - - - peoEA - classpeoEA.html - dbfc4f8907bef234602149229f132371 - (eoContinue< EOT > &__cont, peoPopEval< EOT > &__pop_eval, eoSelect< EOT > &__select, peoTransform< EOT > &__trans, eoReplacement< EOT > &__replace) - - - void - run - classpeoEA.html - 6ab8c321d29350634143a2a01cf2ad24 - () - - - void - operator() - classpeoEA.html - 3c709e3b2491147d26fee36138644613 - (eoPop< EOT > &__pop) - - - eoContinue< EOT > & - cont - classpeoEA.html - 5f015eebf42f176b9fe322488c446c2a - - - - peoPopEval< EOT > & - pop_eval - classpeoEA.html - 9140259f50c9186edcb062b023624c96 - - - - eoSelect< EOT > & - select - classpeoEA.html - 2d8428d69fdd6aefefbaf543fdd46d19 - - - - peoTransform< EOT > & - trans - classpeoEA.html - 713c77935eb8aafebfb9488cfaa4a363 - - - - eoReplacement< EOT > & - replace - classpeoEA.html - 9bd2d4356cf7e69e3141dc269213aa8a - - - - eoPop< EOT > * - pop - classpeoEA.html - c0b110e410bc16283e8339f24b733772 - - - - - peoNoAggEvalFunc - classpeoNoAggEvalFunc.html - EOT - peoAggEvalFunc - - void - operator() - classpeoNoAggEvalFunc.html - 1a69ee1af8745ac75c864bf884436de5 - (EOT &__sol, const typename EOT::Fitness &__fit) - - - - peoParaPopEval - classpeoParaPopEval.html - EOT - peoPopEval - - - peoParaPopEval - classpeoParaPopEval.html - bcb540510a7038520bec41a7af332daf - (eoEvalFunc< EOT > &__eval_func) - - - - peoParaPopEval - classpeoParaPopEval.html - 1cc13a1ec366f95d219d682eccb455bc - (const std::vector< eoEvalFunc< EOT > * > &__funcs, peoAggEvalFunc< EOT > &__merge_eval) - - - void - operator() - classpeoParaPopEval.html - aeaa4fca4f8650e453e308838b4a2cb5 - (eoPop< EOT > &__pop) - - - void - packData - classpeoParaPopEval.html - fea632bd645ab11182782fd3c038d6d8 - () - - - void - unpackData - classpeoParaPopEval.html - 410bf4c173e2f36df82251cb16ce1b05 - () - - - void - execute - classpeoParaPopEval.html - 3af76378611eac5a36da9a0a00aeeb6c - () - - - void - packResult - classpeoParaPopEval.html - 24bb4ae84b0b9f64e7170e3d2b0e1223 - () - - - void - unpackResult - classpeoParaPopEval.html - fd7f0afe9cba30be39269d16097e190e - () - - - void - notifySendingData - classpeoParaPopEval.html - 1f78c3cec2940af08a059cc1aa96a9c8 - () - - - void - notifySendingAllResourceRequests - classpeoParaPopEval.html - b77031fc4807921ffaf7cf6b669a7665 - () - - - const std::vector< eoEvalFunc< EOT > * > & - funcs - classpeoParaPopEval.html - 6d69b8f73c0b5d72baf75d6e53f025b7 - - - - std::vector< eoEvalFunc< EOT > * > - one_func - classpeoParaPopEval.html - f0e8af3ee442d2b6baf0bd122226be3c - - - - peoAggEvalFunc< EOT > & - merge_eval - classpeoParaPopEval.html - b48bcd4e9f92f364118304535c089456 - - - - peoNoAggEvalFunc< EOT > - no_merge_eval - classpeoParaPopEval.html - bf255dd5861e27108c2abae7309d7690 - - - - std::queue< EOT * > - tasks - classpeoParaPopEval.html - af76cd18368a0f6185878f37f0b5f272 - - - - std::map< EOT *, std::pair< unsigned, unsigned > > - progression - classpeoParaPopEval.html - 80e7e34bb1bb2d12f1f2eed3feac6ecf - - - - unsigned - num_func - classpeoParaPopEval.html - 87abb090c0de39f0ccc36af1f07cca0c - - - - EOT - sol - classpeoParaPopEval.html - fb6941e0455515a908eb82342b995163 - - - - EOT * - ad_sol - classpeoParaPopEval.html - 60cafeab376262af675fdff43434c8d8 - - - - unsigned - total - classpeoParaPopEval.html - b528ad9dd9006c3dd57f149a3843e57d - - - - - peoParaSGATransform - classpeoParaSGATransform.html - EOT - peoTransform - - - peoParaSGATransform - classpeoParaSGATransform.html - 2052bca82fbbfe5455bf6f69246d4dbf - (eoQuadOp< EOT > &__cross, double __cross_rate, eoMonOp< EOT > &__mut, double __mut_rate) - - - void - operator() - classpeoParaSGATransform.html - 669de7f7c6316fa745a15b909efb6527 - (eoPop< EOT > &__pop) - - - void - packData - classpeoParaSGATransform.html - fd278bcde58d29c9a343d5cbead81a1e - () - - - void - unpackData - classpeoParaSGATransform.html - a43a487a6e81791c8bbf6ce30f4336ab - () - - - void - execute - classpeoParaSGATransform.html - c9de2100fb897177a401c634002f6dd9 - () - - - void - packResult - classpeoParaSGATransform.html - ba08e224ceaa4149e8e1a88694a2ccf2 - () - - - void - unpackResult - classpeoParaSGATransform.html - 257663dcdc6cc95b6183d472ffba1b2f - () - - - void - notifySendingData - classpeoParaSGATransform.html - 4e19dfc22b6f69fa8b93537226551866 - () - - - void - notifySendingAllResourceRequests - classpeoParaSGATransform.html - 8a0316e33897c395a81787f59ea7a1c8 - () - - - eoQuadOp< EOT > & - cross - classpeoParaSGATransform.html - c6f97deabe7502c84f5b6c479013f6dc - - - - double - cross_rate - classpeoParaSGATransform.html - dfcf216e2df05016db4d57a5ffb0b0e2 - - - - eoMonOp< EOT > & - mut - classpeoParaSGATransform.html - 34ff5f9d285ca4879cf8865fb425a311 - - - - double - mut_rate - classpeoParaSGATransform.html - b9d3a2094737d0bbd034aac942cc53e3 - - - - unsigned - idx - classpeoParaSGATransform.html - 03972feadc86626e58fe60bd4061b57e - - - - eoPop< EOT > * - pop - classpeoParaSGATransform.html - 94e10a1285e128aba6e71517c941f961 - - - - EOT - father - classpeoParaSGATransform.html - 9ef60190e2e3bd5961a93d1b52cb275d - - - - EOT - mother - classpeoParaSGATransform.html - e991ad2af6d116afd855de2db46e1d27 - - - - unsigned - num_term - classpeoParaSGATransform.html - 589ea7cd72d522ae51a07de4d8ffbf11 - - - - - peoPopEval - classpeoPopEval.html - EOT - Service - - virtual void - operator() - classpeoPopEval.html - 2f208067a5e39c3b26c1234050a41e8f - (eoPop< EOT > &__pop)=0 - - - - peoSeqPopEval - classpeoSeqPopEval.html - EOT - peoPopEval - - - peoSeqPopEval - classpeoSeqPopEval.html - a41f91ab4b2aeb325ff75feb66d4e003 - (eoEvalFunc< EOT > &__eval) - - - void - operator() - classpeoSeqPopEval.html - b2c88b9a3ad9091949acf741844eb02f - (eoPop< EOT > &__pop) - - - eoEvalFunc< EOT > & - eval - classpeoSeqPopEval.html - 5465f31386c6b96bc8f7fb9393a28a2f - - - - - peoSeqTransform - classpeoSeqTransform.html - EOT - peoTransform - - - peoSeqTransform - classpeoSeqTransform.html - 3b8e4ed19d9458938eb669d83a53c626 - (eoTransform< EOT > &__trans) - - - void - operator() - classpeoSeqTransform.html - 1ba63536abb6c4e1c369e0b7e066872e - (eoPop< EOT > &__pop) - - - virtual void - packData - classpeoSeqTransform.html - c4bf2724e9f6055f12bd169fad893be3 - () - - - virtual void - unpackData - classpeoSeqTransform.html - 24e6cf15ef230ed538031b522ddd4ae6 - () - - - virtual void - execute - classpeoSeqTransform.html - 0294a2f9d6b44ec74d22eaceccdffc2b - () - - - virtual void - packResult - classpeoSeqTransform.html - 4861c61f9e46d83964ea8a156a9a3ee0 - () - - - virtual void - unpackResult - classpeoSeqTransform.html - 5dd029fc011eb2a810ca1140025129b1 - () - - - eoTransform< EOT > & - trans - classpeoSeqTransform.html - ad3e16c59dd6c46dfc1baf7b88af30cf - - - - - peoSyncIslandMig - classpeoSyncIslandMig.html - EOT - Cooperative - eoUpdater - - - peoSyncIslandMig - classpeoSyncIslandMig.html - 96b7b6de20b5e318a8b1cde76842305c - (unsigned __frequency, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) - - - void - operator() - classpeoSyncIslandMig.html - 178476fd276f78b73607b33d19522c36 - () - - - void - pack - classpeoSyncIslandMig.html - e334188141eeba9f7b78bc6716f819ad - () - - - void - unpack - classpeoSyncIslandMig.html - 85777bd9f709c5d4107799e8619948d1 - () - - - void - notifySending - classpeoSyncIslandMig.html - 8c427b3f91c19ff85f86930366b96008 - () - - - void - emigrate - classpeoSyncIslandMig.html - 4c8416e3acce1a6e4c3b0a442d94b063 - () - - - void - immigrate - classpeoSyncIslandMig.html - 38dd72312a3d16808af1aa7beb9ed4a7 - () - - - eoPeriodicContinue< EOT > - cont - classpeoSyncIslandMig.html - 2d8ae9104376f3e073e0b250d9b425a2 - - - - eoSelect< EOT > & - select - classpeoSyncIslandMig.html - 5e9c9f5f65d6418ad46e647ee1804a3d - - - - eoReplacement< EOT > & - replace - classpeoSyncIslandMig.html - cb6d2d909503a86415912900d6e1d891 - - - - Topology & - topology - classpeoSyncIslandMig.html - ebfe6edb6be16d46bf6d71cb233fcace - - - - eoPop< EOT > & - source - classpeoSyncIslandMig.html - 33fde1f09faf2a3f772d8b8f6a2615c6 - - - - eoPop< EOT > & - destination - classpeoSyncIslandMig.html - a9bf4612c7c04da6cf69245c6617e6a6 - - - - std::queue< eoPop< EOT > > - imm - classpeoSyncIslandMig.html - 088c1623f32668dcd3683fceff9426c3 - - - - std::queue< eoPop< EOT > > - em - classpeoSyncIslandMig.html - 11d6dd3e4a6db710433f501af0988322 - - - - std::queue< Cooperative * > - coop_em - classpeoSyncIslandMig.html - 2f7ca18d67ab7fb47a9851ab3179eb7d - - - - sem_t - sync - classpeoSyncIslandMig.html - 91e0e1ea59c2a6a66eb496bddd60a18f - - - - - peoSyncMultiStart - classpeoSyncMultiStart.html - EOT - Service - eoUpdater - - - peoSyncMultiStart - classpeoSyncMultiStart.html - d29f94aad3c1f443bfffc8b6aee0704c - (eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, moAlgo< EOT > &__ls, eoPop< EOT > &__pop) - - - void - operator() - classpeoSyncMultiStart.html - 76385b33fe514f91cb83f0fbecbeb3c2 - () - - - void - packData - classpeoSyncMultiStart.html - 8becfab1922b64708dca5a53e2932a5a - () - - - void - unpackData - classpeoSyncMultiStart.html - 2903a441b77cded266b5fb651e17a5b5 - () - - - void - execute - classpeoSyncMultiStart.html - a4d1c2943c290de540800087b54dc49b - () - - - void - packResult - classpeoSyncMultiStart.html - 6c48eb0dae741cff7203b65e226f9616 - () - - - void - unpackResult - classpeoSyncMultiStart.html - c3cbd1f10a89d1915c5ccf82a2c34a1d - () - - - void - notifySendingData - classpeoSyncMultiStart.html - 32ec0d01d3fd8a9932abd68f4781fc94 - () - - - void - notifySendingAllResourceRequests - classpeoSyncMultiStart.html - fc90282cc4e93cdea8f82fd52dd78fb0 - () - - - eoContinue< EOT > & - cont - classpeoSyncMultiStart.html - 43f4fa9b125baef6fc8b968dfd16f437 - - - - eoSelect< EOT > & - select - classpeoSyncMultiStart.html - 8fc9a3d046023ddd077defec3c23ab3b - - - - eoReplacement< EOT > & - replace - classpeoSyncMultiStart.html - a375ccea98e9bf2a0854dac27df4522f - - - - moAlgo< EOT > & - ls - classpeoSyncMultiStart.html - 4d317966de767dcc87eee0286ea7f95d - - - - eoPop< EOT > & - pop - classpeoSyncMultiStart.html - 391178bd6b8a97a08ab4e345f070e967 - - - - eoPop< EOT > - sel - classpeoSyncMultiStart.html - dbcc1a069ec72ecd8d40c392640d84b3 - - - - eoPop< EOT > - impr_sel - classpeoSyncMultiStart.html - ca10f6d258105e3c4f0d1660db5b7679 - - - - EOT - sol - classpeoSyncMultiStart.html - 2c2ebe46470d1425f0409897deab435b - - - - unsigned - idx - classpeoSyncMultiStart.html - 64191ef79b7b589964ac9c3e23ae6718 - - - - unsigned - num_term - classpeoSyncMultiStart.html - 773eb9097550d9444f25ca8f48997a30 - - - - - peoTransform - classpeoTransform.html - EOT - Service - eoTransform - - - ReactiveThread - classReactiveThread.html - Thread - - - ReactiveThread - classReactiveThread.html - 77381649429941c99a3e3d568113d6cf - () - - - void - sleep - classReactiveThread.html - 8263c2a32d8c99a49a05f1a7717d4262 - () - - - void - wakeUp - classReactiveThread.html - a724a54575de10f09cc03ab7aa4e59ce - () - - - sem_t - sem - classReactiveThread.html - 915e5a42dc8cb1bcf6738d5fe883a4e7 - - - - - RingTopology - classRingTopology.html - Topology - - void - setNeighbors - classRingTopology.html - 292a7746993788f96042f2f628cfcbc5 - (Cooperative *__mig, std::vector< Cooperative * > &__from, std::vector< Cooperative * > &__to) - - - - Runner - classRunner.html - Communicable - Thread - - - Runner - classRunner.html - 7acb8258c21da9daa62f9a177a2e5acd - () - - - void - start - classRunner.html - 7dc4419051fcc5cc9dadd54ecc9cd47d - () - - - void - waitStarting - classRunner.html - 5bc239db2be753b77369fa9a038769fd - () - - - bool - isLocal - classRunner.html - 40adbfb7d6944189b4fff60b02e669ca - () - - - void - terminate - classRunner.html - 0f133e75c28fb8264549814f80608e68 - () - - - RUNNER_ID - getID - classRunner.html - 5026c74eec184e3a15cb3c0ec4200a57 - () - - - void - packTermination - classRunner.html - 2ad6d199d684d6f34347fc202ffe2fa3 - () - - - void - notifySendingTermination - classRunner.html - 3591be473e0fcee1105fb57319b529aa - () - - - sem_t - sem_start - classRunner.html - 4b0827d5df2df632db4ab71dd55e81b2 - - - - unsigned - id - classRunner.html - 1989c1f8e0b0b54ad2e60a341007e59d - - - - - SEND_REQUEST - structSEND__REQUEST.html - - Communicable * - comm - structSEND__REQUEST.html - 1ad8f7233fa3ff13262e783a9153920f - - - - int - to - structSEND__REQUEST.html - 93e2a6a71d2a91aa2b7bdd050ee59b4d - - - - int - tag - structSEND__REQUEST.html - 3126b3ef9d6533d3086760e413a7f23f - - - - - Service - classService.html - Communicable - - void - setOwner - classService.html - 33b149b98498c0e7e401b0f0839d7f0d - (Thread &__owner) - - - Thread * - getOwner - classService.html - 0dae00309c51a7b7069788142aed799f - () - - - void - requestResourceRequest - classService.html - 7e2ae35a9070a05dcd46488df649896d - (unsigned __how_many=1) - - - void - packResourceRequest - classService.html - c4289f98d1cd9ed53e850efbb6a947bd - () - - - virtual void - packData - classService.html - aea4b8f7f8fb88e83862ee4bfd9ab207 - () - - - virtual void - unpackData - classService.html - 3bd87b444710813d30fd754d4d0b4df3 - () - - - virtual void - execute - classService.html - e4f2894e6121e60f38d41cfbd7447ae4 - () - - - virtual void - packResult - classService.html - e5e4f90b2315e15c2a2913bd370f4cf5 - () - - - virtual void - unpackResult - classService.html - 45c06344edbfa482b91f68e2035a6099 - () - - - virtual void - notifySendingData - classService.html - 81ad4d6ebb50045b8977e2ab74826f30 - () - - - virtual void - notifySendingResourceRequest - classService.html - 94e2012e76aaae3aa8199250f558d503 - () - - - virtual void - notifySendingAllResourceRequests - classService.html - f94cc8a5c2665d4574041737e61e9ffc - () - - - Thread * - owner - classService.html - 8b615c65c876f342fe8209eb7e36d7b2 - - - - unsigned - num_sent_rr - classService.html - a5b2ad9520bb3710b54348b99acebd58 - - - - - Thread - classThread.html - - - Thread - classThread.html - 95c703fb8f2f27cb64f475a8c940864a - () - - - virtual - ~Thread - classThread.html - 37d9edd3a1a776cbc27dedff949c9726 - () - - - void - setActive - classThread.html - e197c46f8f62ecce6d2a7fe95bdc5b38 - () - - - void - setPassive - classThread.html - 20632ffe9ddfa2a478afb0c84dc1096b - () - - - bool - act - classThread.html - 1b155d63bca3096ac4a1d039aea83c7c - - - - - Topology - classTopology.html - - virtual - ~Topology - classTopology.html - 3e447669757c8311c7f6f8edc705abf2 - () - - - void - add - classTopology.html - 62bc46d8c20fdc71dad9e7c7a0d7aded - (Cooperative &__mig) - - - std::vector< Cooperative * > - mig - classTopology.html - 247a2faa8568b678f0b7b11e62c7812c - - - - - Worker - classWorker.html - Communicable - ReactiveThread - - - Worker - classWorker.html - 3754817df06ffe220f7f0d903c78ccac - () - - - void - start - classWorker.html - abcbbace05c6113f1959c494b3577291 - () - - - void - packResult - classWorker.html - 83780920118e6c2b67d9477bdf8be248 - () - - - void - unpackData - classWorker.html - bff2bdcd64fe5400156cc78704c64953 - () - - - void - packTaskDone - classWorker.html - 60d2e8eba85b9ef403d94be54c391640 - () - - - void - notifySendingResult - classWorker.html - e2f487014766a73c5788bdcfd58ad863 - () - - - void - notifySendingTaskDone - classWorker.html - 13efd6a8e275745329a4a8e23a0eb0bb - () - - - void - setSource - classWorker.html - 5dab4ea663546b5a49d9398d7a624d27 - (int __rank) - - - WORKER_ID - id - classWorker.html - b5ffcb995e12fa71b9551e91729d6972 - - - - SERVICE_ID - serv_id - classWorker.html - d7dc76e301fd2bcf5d3a2088a59f1378 - - - - Service * - serv - classWorker.html - 454e1764ed165af733cc44a73e395692 - - - - int - src - classWorker.html - 895c3ebc198018ea3391c09bc802d2f6 - - - - bool - toto - classWorker.html - 7ba5a18b2918cf9e704536b763be37f7 - - - - - peo - namespacepeo.html - - void - finalize - namespacepeo.html - f90478489cc92d1e6abb222179163a30 - () - - - void - init - namespacepeo.html - 8184c3b1f7eecc68f69bb8e8b872a7d3 - (int &__argc, char **&__argv) - - - void - loadParameters - namespacepeo.html - 2b496ee9b81d9ae322ae6edb9a93dc71 - (int &__argc, char **&__argv) - - - void - run - namespacepeo.html - 10819b2d60b37477c6a89b60c595c67c - () - - - int * - argc - namespacepeo.html - 18a3998ce8b39c4e1143914fdd07b3d2 - - - - char *** - argv - namespacepeo.html - d07043237d4d923125e38860ba9bbe20 - - - - int * - argc - namespacepeo.html - 18a3998ce8b39c4e1143914fdd07b3d2 - - - - char *** - argv - namespacepeo.html - d07043237d4d923125e38860ba9bbe20 - - - - diff --git a/trunk/paradiseo-peo/docs/output.log b/trunk/paradiseo-peo/docs/output.log deleted file mode 100755 index 8986df841..000000000 --- a/trunk/paradiseo-peo/docs/output.log +++ /dev/null @@ -1,264 +0,0 @@ -cd . && doxygen paradiseo-peo.doxyfile -Error: Tag file `~adrian/workspace/installs/eo/doc/eo.doxytag' does not exist or is not a file. Skipping it... -Error: Tag file `../../paradiseo-mo/docs/mo.doxytag' does not exist or is not a file. Skipping it... -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/communicable.h:35: Warning: Member Communicable() (function) of class Communicable is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/communicable.h:37: Warning: Member ~Communicable() (function) of class Communicable is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/communicable.h:39: Warning: Member getKey() (function) of class Communicable is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/communicable.h:41: Warning: Member lock() (function) of class Communicable is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/communicable.h:42: Warning: Member unlock() (function) of class Communicable is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/communicable.h:44: Warning: Member stop() (function) of class Communicable is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/communicable.h:45: Warning: Member resume() (function) of class Communicable is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/communicable.h:49: Warning: Member key (variable) of class Communicable is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/communicable.h:51: Warning: Member sem_lock (variable) of class Communicable is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/communicable.h:53: Warning: Member sem_stop (variable) of class Communicable is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/communicable.h:55: Warning: Member num_comm (variable) of class Communicable is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/comm.h:35: Warning: Member Communicator(int *__argc, char ***__argv) (function) of class Communicator is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/comm.h:37: Warning: Member start() (function) of class Communicator is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/cooperative.h:36: Warning: Member getOwner() (function) of class Cooperative is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/cooperative.h:38: Warning: Member setOwner(Runner &__runner) (function) of class Cooperative is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/cooperative.h:44: Warning: Member send(Cooperative *__coop) (function) of class Cooperative is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/cooperative.h:46: Warning: Member notifySending() (function) of class Cooperative is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/cooperative.h:50: Warning: Member owner (variable) of class Cooperative is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/schema.h:37: Warning: Member rk (variable) of class Node is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/schema.h:38: Warning: Member name (variable) of class Node is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/schema.h:39: Warning: Member num_workers (variable) of class Node is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/schema.h:40: Warning: Member rk_sched (variable) of class Node is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/schema.h:41: Warning: Member id_run (variable) of class Node is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:163: Warning: Member emigrate() (function) of class peoAsyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:164: Warning: Member immigrate() (function) of class peoAsyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:169: Warning: Member cont (variable) of class peoAsyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:170: Warning: Member select (variable) of class peoAsyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:171: Warning: Member replace (variable) of class peoAsyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:172: Warning: Member topology (variable) of class peoAsyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:175: Warning: Member source (variable) of class peoAsyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:176: Warning: Member destination (variable) of class peoAsyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:179: Warning: Member imm (variable) of class peoAsyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:180: Warning: Member em (variable) of class peoAsyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:182: Warning: Member coop_em (variable) of class peoAsyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:69: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:70: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:76: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:77: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:87: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:88: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:89: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:94: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:95: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:106: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:107: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:131: Warning: argument `eoContinue' of command @param is not found in the argument list of peoAsyncIslandMig< EOT >::peoAsyncIslandMig(eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:131: Warning: argument `eoSelect' of command @param is not found in the argument list of peoAsyncIslandMig< EOT >::peoAsyncIslandMig(eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:131: Warning: argument `eoReplacement' of command @param is not found in the argument list of peoAsyncIslandMig< EOT >::peoAsyncIslandMig(eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:131: Warning: argument `Topology' of command @param is not found in the argument list of peoAsyncIslandMig< EOT >::peoAsyncIslandMig(eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:131: Warning: argument `eoPop' of command @param is not found in the argument list of peoAsyncIslandMig< EOT >::peoAsyncIslandMig(eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:131: Warning: argument `eoPop' of command @param is not found in the argument list of peoAsyncIslandMig< EOT >::peoAsyncIslandMig(eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoAsyncIslandMig.h:131: Warning: The following parameters of peoAsyncIslandMig::peoAsyncIslandMig(eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) are not documented: - parameter __cont - parameter __select - parameter __replace - parameter __topology - parameter __source - parameter __destination - -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoEA.h:104: Warning: Member cont (variable) of class peoEA is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoEA.h:105: Warning: Member pop_eval (variable) of class peoEA is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoEA.h:106: Warning: Member select (variable) of class peoEA is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoEA.h:107: Warning: Member trans (variable) of class peoEA is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoEA.h:108: Warning: Member replace (variable) of class peoEA is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoEA.h:109: Warning: Member pop (variable) of class peoEA is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoEA.h:73: Warning: argument `eoContinue' of command @param is not found in the argument list of peoEA< EOT >::peoEA(eoContinue< EOT > &__cont, peoPopEval< EOT > &__pop_eval, eoSelect< EOT > &__select, peoTransform< EOT > &__trans, eoReplacement< EOT > &__replace) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoEA.h:73: Warning: argument `peoPopEval' of command @param is not found in the argument list of peoEA< EOT >::peoEA(eoContinue< EOT > &__cont, peoPopEval< EOT > &__pop_eval, eoSelect< EOT > &__select, peoTransform< EOT > &__trans, eoReplacement< EOT > &__replace) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoEA.h:73: Warning: argument `eoSelect' of command @param is not found in the argument list of peoEA< EOT >::peoEA(eoContinue< EOT > &__cont, peoPopEval< EOT > &__pop_eval, eoSelect< EOT > &__select, peoTransform< EOT > &__trans, eoReplacement< EOT > &__replace) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoEA.h:73: Warning: argument `peoTransform' of command @param is not found in the argument list of peoEA< EOT >::peoEA(eoContinue< EOT > &__cont, peoPopEval< EOT > &__pop_eval, eoSelect< EOT > &__select, peoTransform< EOT > &__trans, eoReplacement< EOT > &__replace) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoEA.h:73: Warning: argument `eoReplacement' of command @param is not found in the argument list of peoEA< EOT >::peoEA(eoContinue< EOT > &__cont, peoPopEval< EOT > &__pop_eval, eoSelect< EOT > &__select, peoTransform< EOT > &__trans, eoReplacement< EOT > &__replace) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoEA.h:73: Warning: The following parameters of peoEA::peoEA(eoContinue< EOT > &__cont, peoPopEval< EOT > &__pop_eval, eoSelect< EOT > &__select, peoTransform< EOT > &__trans, eoReplacement< EOT > &__replace) are not documented: - parameter __cont - parameter __pop_eval - parameter __select - parameter __trans - parameter __replace - -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoEA.h:96: Warning: argument `eoPop' of command @param is not found in the argument list of peoEA< EOT >::operator()(eoPop< EOT > &__pop) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoEA.h:96: Warning: The following parameters of peoEA::operator()(eoPop< EOT > &__pop) are not documented: - parameter __pop - -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaPopEval.h:97: Warning: Member funcs (variable) of class peoParaPopEval is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaPopEval.h:98: Warning: Member one_func (variable) of class peoParaPopEval is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaPopEval.h:100: Warning: Member merge_eval (variable) of class peoParaPopEval is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaPopEval.h:101: Warning: Member no_merge_eval (variable) of class peoParaPopEval is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaPopEval.h:103: Warning: Member tasks (variable) of class peoParaPopEval is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaPopEval.h:105: Warning: Member progression (variable) of class peoParaPopEval is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaPopEval.h:107: Warning: Member num_func (variable) of class peoParaPopEval is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaPopEval.h:109: Warning: Member sol (variable) of class peoParaPopEval is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaPopEval.h:111: Warning: Member ad_sol (variable) of class peoParaPopEval is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaPopEval.h:113: Warning: Member total (variable) of class peoParaPopEval is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaPopEval.h:50: Warning: argument `eoEvalFunc' of command @param is not found in the argument list of peoParaPopEval< EOT >::peoParaPopEval(eoEvalFunc< EOT > &__eval_func) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaPopEval.h:50: Warning: The following parameters of peoParaPopEval::peoParaPopEval(eoEvalFunc< EOT > &__eval_func) are not documented: - parameter __eval_func - -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaPopEval.h:56: Warning: argument `const' of command @param is not found in the argument list of peoParaPopEval< EOT >::peoParaPopEval(const std::vector< eoEvalFunc< EOT > * > &__funcs, peoAggEvalFunc< EOT > &__merge_eval) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaPopEval.h:56: Warning: argument `peoAggEvalFunc' of command @param is not found in the argument list of peoParaPopEval< EOT >::peoParaPopEval(const std::vector< eoEvalFunc< EOT > * > &__funcs, peoAggEvalFunc< EOT > &__merge_eval) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaPopEval.h:56: Warning: The following parameters of peoParaPopEval::peoParaPopEval(const std::vector< eoEvalFunc< EOT > * > &__funcs, peoAggEvalFunc< EOT > &__merge_eval) are not documented: - parameter __funcs - parameter __merge_eval - -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaPopEval.h:62: Warning: argument `eoPop' of command @param is not found in the argument list of peoParaPopEval< EOT >::operator()(eoPop< EOT > &__pop) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaPopEval.h:62: Warning: The following parameters of peoParaPopEval::operator()(eoPop< EOT > &__pop) are not documented: - parameter __pop - -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:51: Warning: Member peoParaSGATransform(eoQuadOp< EOT > &__cross, double __cross_rate, eoMonOp< EOT > &__mut, double __mut_rate) (function) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:53: Warning: Member operator()(eoPop< EOT > &__pop) (function) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:55: Warning: Member packData() (function) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:57: Warning: Member unpackData() (function) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:59: Warning: Member execute() (function) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:61: Warning: Member packResult() (function) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:63: Warning: Member unpackResult() (function) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:65: Warning: Member notifySendingData() (function) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:66: Warning: Member notifySendingAllResourceRequests() (function) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:70: Warning: Member cross (variable) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:71: Warning: Member cross_rate (variable) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:73: Warning: Member mut (variable) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:74: Warning: Member mut_rate (variable) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:76: Warning: Member idx (variable) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:78: Warning: Member pop (variable) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:80: Warning: Member father (variable) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:80: Warning: Member mother (variable) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoParaSGATransform.h:82: Warning: Member num_term (variable) of class peoParaSGATransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSeqPopEval.h:52: Warning: Member eval (variable) of class peoSeqPopEval is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSeqPopEval.h:40: Warning: argument `eoEvalFunc' of command @param is not found in the argument list of peoSeqPopEval< EOT >::peoSeqPopEval(eoEvalFunc< EOT > &__eval) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSeqPopEval.h:40: Warning: The following parameters of peoSeqPopEval::peoSeqPopEval(eoEvalFunc< EOT > &__eval) are not documented: - parameter __eval - -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSeqPopEval.h:45: Warning: argument `eoPop' of command @param is not found in the argument list of peoSeqPopEval< EOT >::operator()(eoPop< EOT > &__pop) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSeqPopEval.h:45: Warning: The following parameters of peoSeqPopEval::operator()(eoPop< EOT > &__pop) are not documented: - parameter __pop - -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSeqTransform.h:66: Warning: Member trans (variable) of class peoSeqTransform is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSeqTransform.h:39: Warning: argument `eoTransform' of command @param is not found in the argument list of peoSeqTransform< EOT >::peoSeqTransform(eoTransform< EOT > &__trans) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSeqTransform.h:39: Warning: The following parameters of peoSeqTransform::peoSeqTransform(eoTransform< EOT > &__trans) are not documented: - parameter __trans - -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSeqTransform.h:44: Warning: argument `eoPop' of command @param is not found in the argument list of peoSeqTransform< EOT >::operator()(eoPop< EOT > &__pop) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSeqTransform.h:44: Warning: The following parameters of peoSeqTransform::operator()(eoPop< EOT > &__pop) are not documented: - parameter __pop - -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:168: Warning: Member emigrate() (function) of class peoSyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:169: Warning: Member immigrate() (function) of class peoSyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:174: Warning: Member cont (variable) of class peoSyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:175: Warning: Member select (variable) of class peoSyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:176: Warning: Member replace (variable) of class peoSyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:177: Warning: Member topology (variable) of class peoSyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:180: Warning: Member source (variable) of class peoSyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:181: Warning: Member destination (variable) of class peoSyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:184: Warning: Member imm (variable) of class peoSyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:185: Warning: Member em (variable) of class peoSyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:187: Warning: Member coop_em (variable) of class peoSyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:189: Warning: Member sync (variable) of class peoSyncIslandMig is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:72: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:73: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:79: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:80: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:89: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:90: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:91: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:96: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:97: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:108: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:109: Warning: HTML tags may not use the 'empty tag' XHTML syntax. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:133: Warning: argument `unsigned' of command @param is not found in the argument list of peoSyncIslandMig< EOT >::peoSyncIslandMig(unsigned __frequency, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:133: Warning: argument `eoSelect' of command @param is not found in the argument list of peoSyncIslandMig< EOT >::peoSyncIslandMig(unsigned __frequency, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:133: Warning: argument `eoReplacement' of command @param is not found in the argument list of peoSyncIslandMig< EOT >::peoSyncIslandMig(unsigned __frequency, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:133: Warning: argument `Topology' of command @param is not found in the argument list of peoSyncIslandMig< EOT >::peoSyncIslandMig(unsigned __frequency, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:133: Warning: argument `eoPop' of command @param is not found in the argument list of peoSyncIslandMig< EOT >::peoSyncIslandMig(unsigned __frequency, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:133: Warning: argument `eoPop' of command @param is not found in the argument list of peoSyncIslandMig< EOT >::peoSyncIslandMig(unsigned __frequency, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncIslandMig.h:133: Warning: The following parameters of peoSyncIslandMig::peoSyncIslandMig(unsigned __frequency, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) are not documented: - parameter __frequency - parameter __select - parameter __replace - parameter __topology - parameter __source - parameter __destination - -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncMultiStart.h:105: Warning: Member cont (variable) of class peoSyncMultiStart is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncMultiStart.h:106: Warning: Member select (variable) of class peoSyncMultiStart is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncMultiStart.h:107: Warning: Member replace (variable) of class peoSyncMultiStart is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncMultiStart.h:109: Warning: Member ls (variable) of class peoSyncMultiStart is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncMultiStart.h:111: Warning: Member pop (variable) of class peoSyncMultiStart is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncMultiStart.h:112: Warning: Member sel (variable) of class peoSyncMultiStart is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncMultiStart.h:113: Warning: Member impr_sel (variable) of class peoSyncMultiStart is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncMultiStart.h:115: Warning: Member sol (variable) of class peoSyncMultiStart is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncMultiStart.h:116: Warning: Member idx (variable) of class peoSyncMultiStart is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncMultiStart.h:117: Warning: Member num_term (variable) of class peoSyncMultiStart is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncMultiStart.h:55: Warning: argument `eoContinue' of command @param is not found in the argument list of peoSyncMultiStart< EOT >::peoSyncMultiStart(eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, moAlgo< EOT > &__ls, eoPop< EOT > &__pop) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncMultiStart.h:55: Warning: argument `eoSelect' of command @param is not found in the argument list of peoSyncMultiStart< EOT >::peoSyncMultiStart(eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, moAlgo< EOT > &__ls, eoPop< EOT > &__pop) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncMultiStart.h:55: Warning: argument `eoReplacement' of command @param is not found in the argument list of peoSyncMultiStart< EOT >::peoSyncMultiStart(eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, moAlgo< EOT > &__ls, eoPop< EOT > &__pop) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncMultiStart.h:55: Warning: argument `moAlgo' of command @param is not found in the argument list of peoSyncMultiStart< EOT >::peoSyncMultiStart(eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, moAlgo< EOT > &__ls, eoPop< EOT > &__pop) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncMultiStart.h:55: Warning: argument `eoPop' of command @param is not found in the argument list of peoSyncMultiStart< EOT >::peoSyncMultiStart(eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, moAlgo< EOT > &__ls, eoPop< EOT > &__pop) -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/peoSyncMultiStart.h:55: Warning: The following parameters of peoSyncMultiStart::peoSyncMultiStart(eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, moAlgo< EOT > &__ls, eoPop< EOT > &__pop) are not documented: - parameter __cont - parameter __select - parameter __replace - parameter __ls - parameter __pop - -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/reac_thread.h:36: Warning: Member ReactiveThread() (function) of class ReactiveThread is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/reac_thread.h:38: Warning: Member sleep() (function) of class ReactiveThread is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/reac_thread.h:40: Warning: Member wakeUp() (function) of class ReactiveThread is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/reac_thread.h:44: Warning: Member sem (variable) of class ReactiveThread is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/ring_topo.h:35: Warning: Member setNeighbors(Cooperative *__mig, std::vector< Cooperative * > &__from, std::vector< Cooperative * > &__to) (function) of class RingTopology is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/runner.h:38: Warning: Member Runner() (function) of class Runner is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/runner.h:40: Warning: Member start() (function) of class Runner is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/runner.h:42: Warning: Member waitStarting() (function) of class Runner is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/runner.h:44: Warning: Member isLocal() (function) of class Runner is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/runner.h:46: Warning: Member terminate() (function) of class Runner is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/runner.h:50: Warning: Member getID() (function) of class Runner is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/runner.h:52: Warning: Member packTermination() (function) of class Runner is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/runner.h:54: Warning: Member notifySendingTermination() (function) of class Runner is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/runner.h:58: Warning: Member sem_start (variable) of class Runner is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/runner.h:60: Warning: Member id (variable) of class Runner is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/send.cpp:41: Warning: Member comm (variable) of class SEND_REQUEST is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/send.cpp:42: Warning: Member to (variable) of class SEND_REQUEST is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/send.cpp:43: Warning: Member tag (variable) of class SEND_REQUEST is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/service.h:36: Warning: Member setOwner(Thread &__owner) (function) of class Service is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/service.h:38: Warning: Member getOwner() (function) of class Service is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/service.h:40: Warning: Member requestResourceRequest(unsigned __how_many=1) (function) of class Service is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/service.h:41: Warning: Member packResourceRequest() (function) of class Service is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/service.h:43: Warning: Member packData() (function) of class Service is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/service.h:44: Warning: Member unpackData() (function) of class Service is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/service.h:46: Warning: Member execute() (function) of class Service is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/service.h:48: Warning: Member packResult() (function) of class Service is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/service.h:49: Warning: Member unpackResult() (function) of class Service is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/service.h:51: Warning: Member notifySendingData() (function) of class Service is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/service.h:52: Warning: Member notifySendingResourceRequest() (function) of class Service is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/service.h:53: Warning: Member notifySendingAllResourceRequests() (function) of class Service is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/service.h:57: Warning: Member owner (variable) of class Service is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/service.h:59: Warning: Member num_sent_rr (variable) of class Service is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/thread.h:36: Warning: Member Thread() (function) of class Thread is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/thread.h:39: Warning: Member ~Thread() (function) of class Thread is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/thread.h:44: Warning: Member setActive() (function) of class Thread is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/thread.h:45: Warning: Member setPassive() (function) of class Thread is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/thread.h:50: Warning: Member act (variable) of class Thread is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/topology.h:35: Warning: Member ~Topology() (function) of class Topology is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/topology.h:37: Warning: Member add(Cooperative &__mig) (function) of class Topology is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/topology.h:45: Warning: Member mig (variable) of class Topology is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/worker.h:37: Warning: Member Worker() (function) of class Worker is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/worker.h:39: Warning: Member start() (function) of class Worker is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/worker.h:41: Warning: Member packResult() (function) of class Worker is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/worker.h:43: Warning: Member unpackData() (function) of class Worker is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/worker.h:45: Warning: Member packTaskDone() (function) of class Worker is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/worker.h:47: Warning: Member notifySendingResult() (function) of class Worker is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/worker.h:49: Warning: Member notifySendingTaskDone() (function) of class Worker is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/worker.h:51: Warning: Member setSource(int __rank) (function) of class Worker is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/worker.h:55: Warning: Member id (variable) of class Worker is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/worker.h:56: Warning: Member serv_id (variable) of class Worker is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/worker.h:57: Warning: Member serv (variable) of class Worker is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/worker.h:58: Warning: Member src (variable) of class Worker is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/rmc/mpi/worker.h:60: Warning: Member toto (variable) of class Worker is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/peo_fin.cpp:29: Warning: Member finalize() (function) of namespace peo is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/peo_init.cpp:37: Warning: Member init(int &__argc, char **&__argv) (function) of namespace peo is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/peo_param.cpp:31: Warning: Member loadParameters(int &__argc, char **&__argv) (function) of namespace peo is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/peo_run.cpp:29: Warning: Member run() (function) of namespace peo is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/peo_init.cpp:33: Warning: Member argc (variable) of namespace peo is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/peo_init.cpp:35: Warning: Member argv (variable) of namespace peo is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/peo_init.h:29: Warning: Member argc (variable) of namespace peo is not documented. -/home/adrian/paradiseo-doxygen/paradiseo-peo/src/core/peo_init.h:31: Warning: Member argv (variable) of namespace peo is not documented. diff --git a/trunk/paradiseo-peo/docs/paradiseo-peo.doxyfile b/trunk/paradiseo-peo/docs/paradiseo-peo.doxyfile deleted file mode 100755 index 9f1e01d73..000000000 --- a/trunk/paradiseo-peo/docs/paradiseo-peo.doxyfile +++ /dev/null @@ -1,237 +0,0 @@ -# Doxyfile 1.5.1 - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- -PROJECT_NAME = ParadisEO-PEO -PROJECT_NUMBER = 0.1 -OUTPUT_DIRECTORY = -CREATE_SUBDIRS = NO -OUTPUT_LANGUAGE = English -USE_WINDOWS_ENCODING = NO -BRIEF_MEMBER_DESC = YES -REPEAT_BRIEF = YES -ABBREVIATE_BRIEF = "The $name class" \ - "The $name widget" \ - "The $name file" \ - is \ - provides \ - specifies \ - contains \ - represents \ - a \ - an \ - the -ALWAYS_DETAILED_SEC = NO -INLINE_INHERITED_MEMB = NO -FULL_PATH_NAMES = NO -STRIP_FROM_PATH = -STRIP_FROM_INC_PATH = -SHORT_NAMES = NO -JAVADOC_AUTOBRIEF = YES -MULTILINE_CPP_IS_BRIEF = NO -DETAILS_AT_TOP = NO -INHERIT_DOCS = YES -SEPARATE_MEMBER_PAGES = NO -TAB_SIZE = 8 -ALIASES = -OPTIMIZE_OUTPUT_FOR_C = NO -OPTIMIZE_OUTPUT_JAVA = NO -BUILTIN_STL_SUPPORT = NO -DISTRIBUTE_GROUP_DOC = NO -SUBGROUPING = YES -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- -EXTRACT_ALL = NO -EXTRACT_PRIVATE = YES -EXTRACT_STATIC = YES -EXTRACT_LOCAL_CLASSES = YES -EXTRACT_LOCAL_METHODS = NO -HIDE_UNDOC_MEMBERS = YES -HIDE_UNDOC_CLASSES = YES -HIDE_FRIEND_COMPOUNDS = NO -HIDE_IN_BODY_DOCS = NO -INTERNAL_DOCS = NO -CASE_SENSE_NAMES = YES -HIDE_SCOPE_NAMES = NO -SHOW_INCLUDE_FILES = YES -INLINE_INFO = YES -SORT_MEMBER_DOCS = NO -SORT_BRIEF_DOCS = NO -SORT_BY_SCOPE_NAME = NO -GENERATE_TODOLIST = YES -GENERATE_TESTLIST = YES -GENERATE_BUGLIST = YES -GENERATE_DEPRECATEDLIST= YES -ENABLED_SECTIONS = -MAX_INITIALIZER_LINES = 30 -SHOW_USED_FILES = YES -SHOW_DIRECTORIES = NO -FILE_VERSION_FILTER = -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- -QUIET = YES -WARNINGS = YES -WARN_IF_UNDOCUMENTED = YES -WARN_IF_DOC_ERROR = YES -WARN_NO_PARAMDOC = NO -WARN_FORMAT = "$file:$line: $text" -WARN_LOGFILE = -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- -INPUT = . ../src -FILE_PATTERNS = *.cpp \ - *.h \ - NEWS README -RECURSIVE = YES -EXCLUDE = -EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = -EXAMPLE_PATH = -EXAMPLE_PATTERNS = * -EXAMPLE_RECURSIVE = NO -IMAGE_PATH = -INPUT_FILTER = -FILTER_PATTERNS = -FILTER_SOURCE_FILES = NO -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- -SOURCE_BROWSER = YES -INLINE_SOURCES = NO -STRIP_CODE_COMMENTS = YES -REFERENCED_BY_RELATION = YES -REFERENCES_RELATION = YES -REFERENCES_LINK_SOURCE = YES -USE_HTAGS = NO -VERBATIM_HEADERS = YES -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- -ALPHABETICAL_INDEX = YES -COLS_IN_ALPHA_INDEX = 3 -IGNORE_PREFIX = moeo -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- -GENERATE_HTML = YES -HTML_OUTPUT = html -HTML_FILE_EXTENSION = .html -HTML_HEADER = -HTML_FOOTER = -HTML_STYLESHEET = -HTML_ALIGN_MEMBERS = YES -GENERATE_HTMLHELP = NO -CHM_FILE = -HHC_LOCATION = -GENERATE_CHI = NO -BINARY_TOC = NO -TOC_EXPAND = NO -DISABLE_INDEX = NO -ENUM_VALUES_PER_LINE = 4 -GENERATE_TREEVIEW = YES -TREEVIEW_WIDTH = 250 -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- -GENERATE_LATEX = YES -LATEX_OUTPUT = latex -LATEX_CMD_NAME = latex -MAKEINDEX_CMD_NAME = makeindex -COMPACT_LATEX = NO -PAPER_TYPE = a4wide -EXTRA_PACKAGES = -LATEX_HEADER = -PDF_HYPERLINKS = NO -USE_PDFLATEX = NO -LATEX_BATCHMODE = NO -LATEX_HIDE_INDICES = NO -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- -GENERATE_RTF = NO -RTF_OUTPUT = rtf -COMPACT_RTF = NO -RTF_HYPERLINKS = NO -RTF_STYLESHEET_FILE = -RTF_EXTENSIONS_FILE = -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- -GENERATE_MAN = YES -MAN_OUTPUT = man -MAN_EXTENSION = .3 -MAN_LINKS = NO -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- -GENERATE_XML = NO -XML_OUTPUT = xml -XML_SCHEMA = -XML_DTD = -XML_PROGRAMLISTING = YES -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- -GENERATE_AUTOGEN_DEF = NO -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- -GENERATE_PERLMOD = NO -PERLMOD_LATEX = NO -PERLMOD_PRETTY = YES -PERLMOD_MAKEVAR_PREFIX = -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- -ENABLE_PREPROCESSING = YES -MACRO_EXPANSION = NO -EXPAND_ONLY_PREDEF = NO -SEARCH_INCLUDES = YES -INCLUDE_PATH = -INCLUDE_FILE_PATTERNS = -PREDEFINED = -EXPAND_AS_DEFINED = -SKIP_FUNCTION_MACROS = YES -#--------------------------------------------------------------------------- -# Configuration::additions related to external references -#--------------------------------------------------------------------------- -TAGFILES = "../../../paradiseo-mo/docs/eo.doxytag=../../../paradiseo-mo/docs/html" "../../paradiseo-mo/docs/mo.doxytag=../../../paradiseo-mo/docs/html" -GENERATE_TAGFILE = moeo.doxytag -ALLEXTERNALS = NO -EXTERNAL_GROUPS = YES -PERL_PATH = /usr/bin/perl -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- -CLASS_DIAGRAMS = YES -HIDE_UNDOC_RELATIONS = YES -HAVE_DOT = NO -CLASS_GRAPH = YES -COLLABORATION_GRAPH = YES -GROUP_GRAPHS = YES -UML_LOOK = NO -TEMPLATE_RELATIONS = NO -INCLUDE_GRAPH = YES -INCLUDED_BY_GRAPH = YES -CALL_GRAPH = NO -CALLER_GRAPH = NO -GRAPHICAL_HIERARCHY = YES -DIRECTORY_GRAPH = YES -DOT_IMAGE_FORMAT = png -DOT_PATH = -DOTFILE_DIRS = -MAX_DOT_GRAPH_WIDTH = 1024 -MAX_DOT_GRAPH_HEIGHT = 1024 -MAX_DOT_GRAPH_DEPTH = 0 -DOT_TRANSPARENT = NO -DOT_MULTI_TARGETS = NO -GENERATE_LEGEND = YES -DOT_CLEANUP = YES -#--------------------------------------------------------------------------- -# Configuration::additions related to the search engine -#--------------------------------------------------------------------------- -SEARCHENGINE = YES diff --git a/trunk/paradiseo-peo/examples/.deps/main.Po b/trunk/paradiseo-peo/examples/.deps/main.Po deleted file mode 100755 index 45c757a88..000000000 --- a/trunk/paradiseo-peo/examples/.deps/main.Po +++ /dev/null @@ -1,1123 +0,0 @@ -main.o main.o: main.cpp shared/param.h shared/route_init.h \ - /home/adrian/workspace/installs/eo/src/eoInit.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/algorithm \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/c++config.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/os_defines.h \ - /usr/include/features.h /usr/include/sys/cdefs.h \ - /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ - /usr/include/gnu/stubs-32.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/cpu_defines.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cstring \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cstddef \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/include/stddef.h \ - /usr/include/string.h /usr/include/xlocale.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/climits \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h \ - /usr/include/limits.h /usr/include/bits/posix1_lim.h \ - /usr/include/bits/local_lim.h /usr/include/linux/limits.h \ - /usr/include/bits/posix2_lim.h /usr/include/bits/xopen_lim.h \ - /usr/include/bits/stdio_lim.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cstdlib \ - /usr/include/stdlib.h /usr/include/bits/waitflags.h \ - /usr/include/bits/waitstatus.h /usr/include/endian.h \ - /usr/include/bits/endian.h /usr/include/sys/types.h \ - /usr/include/bits/types.h /usr/include/bits/typesizes.h \ - /usr/include/time.h /usr/include/sys/select.h \ - /usr/include/bits/select.h /usr/include/bits/sigset.h \ - /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ - /usr/include/bits/pthreadtypes.h /usr/include/alloca.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/iosfwd \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/c++locale.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cstdio \ - /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ - /usr/include/wchar.h /usr/include/bits/wchar.h /usr/include/gconv.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/include/stdarg.h \ - /usr/include/bits/sys_errlist.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/clocale \ - /usr/include/locale.h /usr/include/bits/locale.h \ - /usr/include/langinfo.h /usr/include/nl_types.h /usr/include/iconv.h \ - /usr/include/libintl.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/c++io.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/gthr.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/gthr-default.h \ - /usr/include/pthread.h /usr/include/sched.h /usr/include/bits/sched.h \ - /usr/include/signal.h /usr/include/bits/setjmp.h /usr/include/unistd.h \ - /usr/include/bits/posix_opt.h /usr/include/bits/environments.h \ - /usr/include/bits/confname.h /usr/include/getopt.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cctype \ - /usr/include/ctype.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stringfwd.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/postypes.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cwchar \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/ctime \ - /usr/include/stdint.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/functexcept.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/exception_defines.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_pair.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/cpp_type_traits.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_iterator_base_types.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_iterator_base_funcs.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/concept_check.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_iterator.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/debug/debug.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_construct.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/new \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/exception \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_uninitialized.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_algo.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_tempbuf.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/memory \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/allocator.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/c++allocator.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/ext/new_allocator.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_raw_storage_iter.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/limits \ - /home/adrian/workspace/installs/eo/src/eoOp.h \ - /home/adrian/workspace/installs/eo/src/eoObject.h \ - /home/adrian/workspace/installs/eo/src/utils/eoData.h \ - /usr/include/math.h /usr/include/bits/huge_val.h \ - /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h \ - /usr/include/bits/inf.h /usr/include/bits/nan.h \ - /usr/include/bits/mathdef.h /usr/include/bits/mathcalls.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/iostream \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/ostream \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/ios \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/char_traits.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/localefwd.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/ios_base.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/atomicity.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/atomic_word.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/locale_classes.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/string \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_function.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/streambuf \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/streambuf.tcc \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basic_ios.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/streambuf_iterator.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/locale_facets.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cwctype \ - /usr/include/wctype.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/ctype_base.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/ctype_inline.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/codecvt.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/time_members.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/messages_members.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basic_ios.tcc \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/ostream.tcc \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/locale \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/locale_facets.tcc \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/typeinfo \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/istream \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/istream.tcc \ - /home/adrian/workspace/installs/eo/src/utils/compatibility.h \ - /home/adrian/workspace/installs/eo/src/eoPrintable.h \ - /home/adrian/workspace/installs/eo/src/eoFunctor.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/functional \ - /home/adrian/workspace/installs/eo/src/utils/eoRNG.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/vector \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_vector.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_bvector.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/vector.tcc \ - /home/adrian/workspace/installs/eo/src/eoPersistent.h \ - /home/adrian/workspace/installs/eo/src/eoPrintable.h \ - /home/adrian/workspace/installs/eo/src/eoSTLFunctor.h \ - /home/adrian/workspace/installs/eo/src/eoFunctor.h \ - /home/adrian/workspace/installs/eo/src/utils/eoRndGenerators.h \ - /home/adrian/workspace/installs/eo/src/utils/eoRNG.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/stdexcept \ - shared/route.h /home/adrian/workspace/installs/eo/src/eoVector.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/iterator \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stream_iterator.h \ - /home/adrian/workspace/installs/eo/src/EO.h \ - /home/adrian/workspace/installs/eo/src/eoPersistent.h shared/node.h \ - shared/route_eval.h /home/adrian/workspace/installs/eo/src/eoEvalFunc.h \ - shared/order_xover.h shared/edge_xover.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/set \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_tree.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_set.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_multiset.h \ - shared/partial_mapped_xover.h shared/city_swap.h \ - shared/part_route_eval.h shared/merge_route_eval.h \ - ../src/peoAggEvalFunc.h shared/two_opt_init.h \ - /home/adrian/workspace/installs/mo/src/moMoveInit.h shared/two_opt.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/utility \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_relops.h \ - /home/adrian/workspace/installs/mo/src/moMove.h shared/two_opt_next.h \ - /home/adrian/workspace/installs/mo/src/moNextMove.h \ - shared/two_opt_incr_eval.h \ - /home/adrian/workspace/installs/mo/src/moMoveIncrEval.h \ - ../src/paradiseo ../src/paradiseo.h \ - /home/adrian/workspace/installs/eo/src/eo \ - /home/adrian/workspace/installs/eo/src/eoScalarFitness.h \ - /home/adrian/workspace/installs/eo/src/utils/rnd_generators.h \ - /home/adrian/workspace/installs/eo/src/apply.h \ - /home/adrian/workspace/installs/eo/src/other/eoString.h \ - /home/adrian/workspace/installs/eo/src/utils/eoUniformInit.h \ - /home/adrian/workspace/installs/eo/src/utils/eoRealBounds.h \ - /home/adrian/workspace/installs/eo/src/eoGenOp.h \ - /home/adrian/workspace/installs/eo/src/eoPopulator.h \ - /home/adrian/workspace/installs/eo/src/eoPop.h \ - /home/adrian/workspace/installs/eo/src/eoSelectOne.h \ - /home/adrian/workspace/installs/eo/src/eoFunctorStore.h \ - /usr/include/assert.h \ - /home/adrian/workspace/installs/eo/src/eoCloneOps.h \ - /home/adrian/workspace/installs/eo/src/eoOpContainer.h \ - /home/adrian/workspace/installs/eo/src/eoProportionalCombinedOp.h \ - /home/adrian/workspace/installs/eo/src/eoSGAGenOp.h \ - /home/adrian/workspace/installs/eo/src/eoGenOp.h \ - /home/adrian/workspace/installs/eo/src/eoInvalidateOps.h \ - /home/adrian/workspace/installs/eo/src/eoPropGAGenOp.h \ - /home/adrian/workspace/installs/eo/src/eoPopEvalFunc.h \ - /home/adrian/workspace/installs/eo/src/eoEvalFuncPtr.h \ - /home/adrian/workspace/installs/eo/src/eoCombinedContinue.h \ - /home/adrian/workspace/installs/eo/src/eoContinue.h \ - /home/adrian/workspace/installs/eo/src/eoGenContinue.h \ - /home/adrian/workspace/installs/eo/src/utils/eoParam.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cmath \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/cmath.tcc \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/sstream \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/sstream.tcc \ - /home/adrian/workspace/installs/eo/src/eoSteadyFitContinue.h \ - /home/adrian/workspace/installs/eo/src/eoEvalContinue.h \ - /home/adrian/workspace/installs/eo/src/eoEvalFuncCounter.h \ - /home/adrian/workspace/installs/eo/src/eoFitContinue.h \ - /home/adrian/workspace/installs/eo/src/eoPeriodicContinue.h \ - /home/adrian/workspace/installs/eo/src/eoCtrlCContinue.h \ - /usr/include/bits/signum.h /usr/include/bits/siginfo.h \ - /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h \ - /usr/include/asm/sigcontext.h /usr/include/asm-i386/sigcontext.h \ - /usr/include/bits/sigstack.h /usr/include/sys/ucontext.h \ - /usr/include/bits/sigthread.h \ - /home/adrian/workspace/installs/eo/src/eoRandomSelect.h \ - /home/adrian/workspace/installs/eo/src/eoSequentialSelect.h \ - /home/adrian/workspace/installs/eo/src/utils/eoData.h \ - /home/adrian/workspace/installs/eo/src/utils/eoRNG.h \ - /home/adrian/workspace/installs/eo/src/eoSelectOne.h \ - /home/adrian/workspace/installs/eo/src/eoDetTournamentSelect.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/numeric \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_numeric.h \ - /home/adrian/workspace/installs/eo/src/utils/selectors.h \ - /home/adrian/workspace/installs/eo/src/eoProportionalSelect.h \ - /home/adrian/workspace/installs/eo/src/eoFitnessScalingSelect.h \ - /home/adrian/workspace/installs/eo/src/eoSelectFromWorth.h \ - /home/adrian/workspace/installs/eo/src/eoPerf2Worth.h \ - /home/adrian/workspace/installs/eo/src/eoLinearFitScaling.h \ - /home/adrian/workspace/installs/eo/src/eoRankingSelect.h \ - /home/adrian/workspace/installs/eo/src/eoRanking.h \ - /home/adrian/workspace/installs/eo/src/eoStochTournamentSelect.h \ - /home/adrian/workspace/installs/eo/src/eoSharingSelect.h \ - /home/adrian/workspace/installs/eo/src/eoSharing.h \ - /home/adrian/workspace/installs/eo/src/utils/eoDistance.h \ - /home/adrian/workspace/installs/eo/src/eoTruncatedSelectOne.h \ - /home/adrian/workspace/installs/eo/src/eoSelect.h \ - /home/adrian/workspace/installs/eo/src/utils/eoHowMany.h \ - /home/adrian/workspace/installs/eo/src/eoSelectPerc.h \ - /home/adrian/workspace/installs/eo/src/eoSelectNumber.h \ - /home/adrian/workspace/installs/eo/src/eoSelectMany.h \ - /home/adrian/workspace/installs/eo/src/eoTruncatedSelectMany.h \ - /home/adrian/workspace/installs/eo/src/eoDetSelect.h \ - /home/adrian/workspace/installs/eo/src/eoGeneralBreeder.h \ - /home/adrian/workspace/installs/eo/src/eoBreed.h \ - /home/adrian/workspace/installs/eo/src/eoTransform.h \ - /home/adrian/workspace/installs/eo/src/eoMergeReduce.h \ - /home/adrian/workspace/installs/eo/src/eoMerge.h \ - /home/adrian/workspace/installs/eo/src/eoReduce.h \ - /home/adrian/workspace/installs/eo/src/eoReplacement.h \ - /home/adrian/workspace/installs/eo/src/eoReduceMerge.h \ - /home/adrian/workspace/installs/eo/src/eoSurviveAndDie.h \ - /home/adrian/workspace/installs/eo/src/eoSGATransform.h \ - /home/adrian/workspace/installs/eo/src/eoInvalidateOps.h \ - /home/adrian/workspace/installs/eo/src/eoParetoRanking.h \ - /home/adrian/workspace/installs/eo/src/eoDominanceMap.h \ - /home/adrian/workspace/installs/eo/src/eoNDSorting.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cassert \ - /home/adrian/workspace/installs/eo/src/eoEasyEA.h \ - /home/adrian/workspace/installs/eo/src/eoAlgo.h \ - /home/adrian/workspace/installs/eo/src/eoPopAlgo.h \ - /home/adrian/workspace/installs/eo/src/eoSGA.h \ - /home/adrian/workspace/installs/eo/src/utils/checkpointing \ - /home/adrian/workspace/installs/eo/src/utils/eoParser.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/map \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_map.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_multimap.h \ - /home/adrian/workspace/installs/eo/src/utils/eoParam.h \ - /home/adrian/workspace/installs/eo/src/utils/eoState.h \ - /home/adrian/workspace/installs/eo/src/utils/eoUpdater.h \ - /home/adrian/workspace/installs/eo/src/utils/eoMonitor.h \ - /home/adrian/workspace/installs/eo/src/utils/eoFileMonitor.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/fstream \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/basic_file.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/fstream.tcc \ - /home/adrian/workspace/installs/eo/src/utils/eoStdoutMonitor.h \ - /home/adrian/workspace/installs/eo/src/utils/eoGnuplot1DMonitor.h \ - /home/adrian/workspace/installs/eo/src/utils/eoGnuplot.h \ - /home/adrian/workspace/installs/eo/src/utils/pipecom.h \ - /home/adrian/workspace/installs/eo/src/utils/pipecom.h \ - /home/adrian/workspace/installs/eo/src/utils/eoGnuplot1DSnapshot.h \ - /home/adrian/workspace/installs/eo/src/utils/eoRealVectorBounds.h \ - /home/adrian/workspace/installs/eo/src/utils/eoRealBounds.h \ - /home/adrian/workspace/installs/eo/src/utils/pipecom.h \ - /home/adrian/workspace/installs/eo/src/utils/eoFileSnapshot.h \ - /home/adrian/workspace/installs/eo/src/utils/eoGnuplot.h \ - /home/adrian/workspace/installs/eo/src/utils/eoCheckPoint.h \ - /home/adrian/workspace/installs/eo/src/utils/eoStat.h \ - /home/adrian/workspace/installs/eo/src/eoParetoFitness.h \ - /home/adrian/workspace/installs/eo/src/utils/eoScalarFitnessStat.h \ - /home/adrian/workspace/installs/eo/src/utils/eoRealVectorBounds.h \ - /home/adrian/workspace/installs/eo/src/utils/eoAssembledFitnessStat.h \ - /home/adrian/workspace/installs/eo/src/eoScalarFitnessAssembled.h \ - /home/adrian/workspace/installs/eo/src/utils/eoFDCStat.h \ - /home/adrian/workspace/installs/eo/src/utils/eoMOFitnessStat.h \ - /home/adrian/workspace/installs/eo/src/utils/eoPopStat.h \ - /home/adrian/workspace/installs/eo/src/utils/eoTimeCounter.h \ - /home/adrian/workspace/installs/eo/src/utils/eoIntBounds.h \ - /home/adrian/workspace/installs/eo/src/other/external_eo \ - /home/adrian/workspace/installs/eo/src/other/eoExternalEO.h \ - /home/adrian/workspace/installs/eo/src/other/eoExternalOpFunctions.h \ - /home/adrian/workspace/installs/eo/src/eoCounter.h \ - /home/adrian/workspace/installs/mo/src/mo \ - /home/adrian/workspace/installs/mo/src/mo.h \ - /home/adrian/workspace/installs/mo/src/moAspirCrit.h \ - /home/adrian/workspace/installs/mo/src/moAlgo.h \ - /home/adrian/workspace/installs/mo/src/moBestImprSelect.h \ - /home/adrian/workspace/installs/mo/src/moMoveSelect.h \ - /home/adrian/workspace/installs/mo/src/moCoolSched.h \ - /home/adrian/workspace/installs/mo/src/moEasyCoolSched.h \ - /home/adrian/workspace/installs/mo/src/moFirstImprSelect.h \ - /home/adrian/workspace/installs/mo/src/moGenSolContinue.h \ - /home/adrian/workspace/installs/mo/src/moSolContinue.h \ - /home/adrian/workspace/installs/mo/src/moHC.h \ - /home/adrian/workspace/installs/mo/src/moMoveExpl.h \ - /home/adrian/workspace/installs/mo/src/moHCMoveLoopExpl.h \ - /home/adrian/workspace/installs/mo/src/moMoveLoopExpl.h \ - /home/adrian/workspace/installs/mo/src/moMoveInit.h \ - /home/adrian/workspace/installs/mo/src/moNextMove.h \ - /home/adrian/workspace/installs/mo/src/moMoveIncrEval.h \ - /home/adrian/workspace/installs/mo/src/moImprBestFitAspirCrit.h \ - /home/adrian/workspace/installs/mo/src/moItRandNextMove.h \ - /home/adrian/workspace/installs/mo/src/moRandMove.h \ - /home/adrian/workspace/installs/mo/src/moLSCheckPoint.h \ - /home/adrian/workspace/installs/mo/src/moMove.h \ - /home/adrian/workspace/installs/mo/src/moNoAspirCrit.h \ - /home/adrian/workspace/installs/mo/src/moRandImprSelect.h \ - /home/adrian/workspace/installs/mo/src/moSA.h \ - /home/adrian/workspace/installs/mo/src/moTabuList.h \ - /home/adrian/workspace/installs/mo/src/moTS.h \ - /home/adrian/workspace/installs/mo/src/moTSMoveLoopExpl.h \ - ../src/core/peo_init.h ../src/core/peo_run.h ../src/core/peo_fin.h \ - ../src/core/eoVector_comm.h ../src/core/messaging.h ../src/peoEA.h \ - ../src/peoPopEval.h ../src/core/service.h ../src/core/communicable.h \ - /usr/include/semaphore.h /usr/include/bits/semaphore.h \ - ../src/core/thread.h ../src/peoTransform.h ../src/core/runner.h \ - ../src/core/peo_debug.h ../src/peoSeqTransform.h \ - ../src/peoParaSGATransform.h ../src/core/thread.h \ - ../src/core/messaging.h ../src/peoSeqPopEval.h ../src/peoParaPopEval.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/queue \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/deque \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/deque.tcc \ - /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_queue.h \ - ../src/peoAggEvalFunc.h ../src/peoNoAggEvalFunc.h \ - ../src/core/ring_topo.h ../src/core/topology.h \ - ../src/core/cooperative.h ../src/core/runner.h \ - ../src/peoAsyncIslandMig.h ../src/core/topology.h \ - ../src/core/cooperative.h ../src/core/eoPop_comm.h \ - ../src/peoSyncIslandMig.h ../src/peoSyncMultiStart.h \ - /home/adrian/workspace/installs/mo/src/moAlgo.h - -shared/param.h: - -shared/route_init.h: - -/home/adrian/workspace/installs/eo/src/eoInit.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/algorithm: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/c++config.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/os_defines.h: - -/usr/include/features.h: - -/usr/include/sys/cdefs.h: - -/usr/include/bits/wordsize.h: - -/usr/include/gnu/stubs.h: - -/usr/include/gnu/stubs-32.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/cpu_defines.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cstring: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cstddef: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/include/stddef.h: - -/usr/include/string.h: - -/usr/include/xlocale.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/climits: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h: - -/usr/include/limits.h: - -/usr/include/bits/posix1_lim.h: - -/usr/include/bits/local_lim.h: - -/usr/include/linux/limits.h: - -/usr/include/bits/posix2_lim.h: - -/usr/include/bits/xopen_lim.h: - -/usr/include/bits/stdio_lim.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cstdlib: - -/usr/include/stdlib.h: - -/usr/include/bits/waitflags.h: - -/usr/include/bits/waitstatus.h: - -/usr/include/endian.h: - -/usr/include/bits/endian.h: - -/usr/include/sys/types.h: - -/usr/include/bits/types.h: - -/usr/include/bits/typesizes.h: - -/usr/include/time.h: - -/usr/include/sys/select.h: - -/usr/include/bits/select.h: - -/usr/include/bits/sigset.h: - -/usr/include/bits/time.h: - -/usr/include/sys/sysmacros.h: - -/usr/include/bits/pthreadtypes.h: - -/usr/include/alloca.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/iosfwd: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/c++locale.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cstdio: - -/usr/include/stdio.h: - -/usr/include/libio.h: - -/usr/include/_G_config.h: - -/usr/include/wchar.h: - -/usr/include/bits/wchar.h: - -/usr/include/gconv.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/include/stdarg.h: - -/usr/include/bits/sys_errlist.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/clocale: - -/usr/include/locale.h: - -/usr/include/bits/locale.h: - -/usr/include/langinfo.h: - -/usr/include/nl_types.h: - -/usr/include/iconv.h: - -/usr/include/libintl.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/c++io.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/gthr.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/gthr-default.h: - -/usr/include/pthread.h: - -/usr/include/sched.h: - -/usr/include/bits/sched.h: - -/usr/include/signal.h: - -/usr/include/bits/setjmp.h: - -/usr/include/unistd.h: - -/usr/include/bits/posix_opt.h: - -/usr/include/bits/environments.h: - -/usr/include/bits/confname.h: - -/usr/include/getopt.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cctype: - -/usr/include/ctype.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stringfwd.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/postypes.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cwchar: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/ctime: - -/usr/include/stdint.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/functexcept.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/exception_defines.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_pair.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/cpp_type_traits.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_iterator_base_types.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_iterator_base_funcs.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/concept_check.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_iterator.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/debug/debug.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_construct.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/new: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/exception: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_uninitialized.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_algo.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_heap.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_tempbuf.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/memory: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/allocator.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/c++allocator.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/ext/new_allocator.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_raw_storage_iter.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/limits: - -/home/adrian/workspace/installs/eo/src/eoOp.h: - -/home/adrian/workspace/installs/eo/src/eoObject.h: - -/home/adrian/workspace/installs/eo/src/utils/eoData.h: - -/usr/include/math.h: - -/usr/include/bits/huge_val.h: - -/usr/include/bits/huge_valf.h: - -/usr/include/bits/huge_vall.h: - -/usr/include/bits/inf.h: - -/usr/include/bits/nan.h: - -/usr/include/bits/mathdef.h: - -/usr/include/bits/mathcalls.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/iostream: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/ostream: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/ios: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/char_traits.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/localefwd.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/ios_base.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/atomicity.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/atomic_word.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/locale_classes.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/string: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_function.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/streambuf: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/streambuf.tcc: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basic_ios.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/streambuf_iterator.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/locale_facets.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cwctype: - -/usr/include/wctype.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/ctype_base.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/ctype_inline.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/codecvt.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/time_members.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/messages_members.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basic_ios.tcc: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/ostream.tcc: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/locale: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/locale_facets.tcc: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/typeinfo: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/istream: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/istream.tcc: - -/home/adrian/workspace/installs/eo/src/utils/compatibility.h: - -/home/adrian/workspace/installs/eo/src/eoPrintable.h: - -/home/adrian/workspace/installs/eo/src/eoFunctor.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/functional: - -/home/adrian/workspace/installs/eo/src/utils/eoRNG.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/vector: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_vector.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_bvector.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/vector.tcc: - -/home/adrian/workspace/installs/eo/src/eoPersistent.h: - -/home/adrian/workspace/installs/eo/src/eoPrintable.h: - -/home/adrian/workspace/installs/eo/src/eoSTLFunctor.h: - -/home/adrian/workspace/installs/eo/src/eoFunctor.h: - -/home/adrian/workspace/installs/eo/src/utils/eoRndGenerators.h: - -/home/adrian/workspace/installs/eo/src/utils/eoRNG.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/stdexcept: - -shared/route.h: - -/home/adrian/workspace/installs/eo/src/eoVector.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/iterator: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stream_iterator.h: - -/home/adrian/workspace/installs/eo/src/EO.h: - -/home/adrian/workspace/installs/eo/src/eoPersistent.h: - -shared/node.h: - -shared/route_eval.h: - -/home/adrian/workspace/installs/eo/src/eoEvalFunc.h: - -shared/order_xover.h: - -shared/edge_xover.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/set: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_tree.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_set.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_multiset.h: - -shared/partial_mapped_xover.h: - -shared/city_swap.h: - -shared/part_route_eval.h: - -shared/merge_route_eval.h: - -../src/peoAggEvalFunc.h: - -shared/two_opt_init.h: - -/home/adrian/workspace/installs/mo/src/moMoveInit.h: - -shared/two_opt.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/utility: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_relops.h: - -/home/adrian/workspace/installs/mo/src/moMove.h: - -shared/two_opt_next.h: - -/home/adrian/workspace/installs/mo/src/moNextMove.h: - -shared/two_opt_incr_eval.h: - -/home/adrian/workspace/installs/mo/src/moMoveIncrEval.h: - -../src/paradiseo: - -../src/paradiseo.h: - -/home/adrian/workspace/installs/eo/src/eo: - -/home/adrian/workspace/installs/eo/src/eoScalarFitness.h: - -/home/adrian/workspace/installs/eo/src/utils/rnd_generators.h: - -/home/adrian/workspace/installs/eo/src/apply.h: - -/home/adrian/workspace/installs/eo/src/other/eoString.h: - -/home/adrian/workspace/installs/eo/src/utils/eoUniformInit.h: - -/home/adrian/workspace/installs/eo/src/utils/eoRealBounds.h: - -/home/adrian/workspace/installs/eo/src/eoGenOp.h: - -/home/adrian/workspace/installs/eo/src/eoPopulator.h: - -/home/adrian/workspace/installs/eo/src/eoPop.h: - -/home/adrian/workspace/installs/eo/src/eoSelectOne.h: - -/home/adrian/workspace/installs/eo/src/eoFunctorStore.h: - -/usr/include/assert.h: - -/home/adrian/workspace/installs/eo/src/eoCloneOps.h: - -/home/adrian/workspace/installs/eo/src/eoOpContainer.h: - -/home/adrian/workspace/installs/eo/src/eoProportionalCombinedOp.h: - -/home/adrian/workspace/installs/eo/src/eoSGAGenOp.h: - -/home/adrian/workspace/installs/eo/src/eoGenOp.h: - -/home/adrian/workspace/installs/eo/src/eoInvalidateOps.h: - -/home/adrian/workspace/installs/eo/src/eoPropGAGenOp.h: - -/home/adrian/workspace/installs/eo/src/eoPopEvalFunc.h: - -/home/adrian/workspace/installs/eo/src/eoEvalFuncPtr.h: - -/home/adrian/workspace/installs/eo/src/eoCombinedContinue.h: - -/home/adrian/workspace/installs/eo/src/eoContinue.h: - -/home/adrian/workspace/installs/eo/src/eoGenContinue.h: - -/home/adrian/workspace/installs/eo/src/utils/eoParam.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cmath: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/cmath.tcc: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/sstream: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/sstream.tcc: - -/home/adrian/workspace/installs/eo/src/eoSteadyFitContinue.h: - -/home/adrian/workspace/installs/eo/src/eoEvalContinue.h: - -/home/adrian/workspace/installs/eo/src/eoEvalFuncCounter.h: - -/home/adrian/workspace/installs/eo/src/eoFitContinue.h: - -/home/adrian/workspace/installs/eo/src/eoPeriodicContinue.h: - -/home/adrian/workspace/installs/eo/src/eoCtrlCContinue.h: - -/usr/include/bits/signum.h: - -/usr/include/bits/siginfo.h: - -/usr/include/bits/sigaction.h: - -/usr/include/bits/sigcontext.h: - -/usr/include/asm/sigcontext.h: - -/usr/include/asm-i386/sigcontext.h: - -/usr/include/bits/sigstack.h: - -/usr/include/sys/ucontext.h: - -/usr/include/bits/sigthread.h: - -/home/adrian/workspace/installs/eo/src/eoRandomSelect.h: - -/home/adrian/workspace/installs/eo/src/eoSequentialSelect.h: - -/home/adrian/workspace/installs/eo/src/utils/eoData.h: - -/home/adrian/workspace/installs/eo/src/utils/eoRNG.h: - -/home/adrian/workspace/installs/eo/src/eoSelectOne.h: - -/home/adrian/workspace/installs/eo/src/eoDetTournamentSelect.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/numeric: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_numeric.h: - -/home/adrian/workspace/installs/eo/src/utils/selectors.h: - -/home/adrian/workspace/installs/eo/src/eoProportionalSelect.h: - -/home/adrian/workspace/installs/eo/src/eoFitnessScalingSelect.h: - -/home/adrian/workspace/installs/eo/src/eoSelectFromWorth.h: - -/home/adrian/workspace/installs/eo/src/eoPerf2Worth.h: - -/home/adrian/workspace/installs/eo/src/eoLinearFitScaling.h: - -/home/adrian/workspace/installs/eo/src/eoRankingSelect.h: - -/home/adrian/workspace/installs/eo/src/eoRanking.h: - -/home/adrian/workspace/installs/eo/src/eoStochTournamentSelect.h: - -/home/adrian/workspace/installs/eo/src/eoSharingSelect.h: - -/home/adrian/workspace/installs/eo/src/eoSharing.h: - -/home/adrian/workspace/installs/eo/src/utils/eoDistance.h: - -/home/adrian/workspace/installs/eo/src/eoTruncatedSelectOne.h: - -/home/adrian/workspace/installs/eo/src/eoSelect.h: - -/home/adrian/workspace/installs/eo/src/utils/eoHowMany.h: - -/home/adrian/workspace/installs/eo/src/eoSelectPerc.h: - -/home/adrian/workspace/installs/eo/src/eoSelectNumber.h: - -/home/adrian/workspace/installs/eo/src/eoSelectMany.h: - -/home/adrian/workspace/installs/eo/src/eoTruncatedSelectMany.h: - -/home/adrian/workspace/installs/eo/src/eoDetSelect.h: - -/home/adrian/workspace/installs/eo/src/eoGeneralBreeder.h: - -/home/adrian/workspace/installs/eo/src/eoBreed.h: - -/home/adrian/workspace/installs/eo/src/eoTransform.h: - -/home/adrian/workspace/installs/eo/src/eoMergeReduce.h: - -/home/adrian/workspace/installs/eo/src/eoMerge.h: - -/home/adrian/workspace/installs/eo/src/eoReduce.h: - -/home/adrian/workspace/installs/eo/src/eoReplacement.h: - -/home/adrian/workspace/installs/eo/src/eoReduceMerge.h: - -/home/adrian/workspace/installs/eo/src/eoSurviveAndDie.h: - -/home/adrian/workspace/installs/eo/src/eoSGATransform.h: - -/home/adrian/workspace/installs/eo/src/eoInvalidateOps.h: - -/home/adrian/workspace/installs/eo/src/eoParetoRanking.h: - -/home/adrian/workspace/installs/eo/src/eoDominanceMap.h: - -/home/adrian/workspace/installs/eo/src/eoNDSorting.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cassert: - -/home/adrian/workspace/installs/eo/src/eoEasyEA.h: - -/home/adrian/workspace/installs/eo/src/eoAlgo.h: - -/home/adrian/workspace/installs/eo/src/eoPopAlgo.h: - -/home/adrian/workspace/installs/eo/src/eoSGA.h: - -/home/adrian/workspace/installs/eo/src/utils/checkpointing: - -/home/adrian/workspace/installs/eo/src/utils/eoParser.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/map: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_map.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_multimap.h: - -/home/adrian/workspace/installs/eo/src/utils/eoParam.h: - -/home/adrian/workspace/installs/eo/src/utils/eoState.h: - -/home/adrian/workspace/installs/eo/src/utils/eoUpdater.h: - -/home/adrian/workspace/installs/eo/src/utils/eoMonitor.h: - -/home/adrian/workspace/installs/eo/src/utils/eoFileMonitor.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/fstream: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/i486-linux-gnu/bits/basic_file.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/fstream.tcc: - -/home/adrian/workspace/installs/eo/src/utils/eoStdoutMonitor.h: - -/home/adrian/workspace/installs/eo/src/utils/eoGnuplot1DMonitor.h: - -/home/adrian/workspace/installs/eo/src/utils/eoGnuplot.h: - -/home/adrian/workspace/installs/eo/src/utils/pipecom.h: - -/home/adrian/workspace/installs/eo/src/utils/pipecom.h: - -/home/adrian/workspace/installs/eo/src/utils/eoGnuplot1DSnapshot.h: - -/home/adrian/workspace/installs/eo/src/utils/eoRealVectorBounds.h: - -/home/adrian/workspace/installs/eo/src/utils/eoRealBounds.h: - -/home/adrian/workspace/installs/eo/src/utils/pipecom.h: - -/home/adrian/workspace/installs/eo/src/utils/eoFileSnapshot.h: - -/home/adrian/workspace/installs/eo/src/utils/eoGnuplot.h: - -/home/adrian/workspace/installs/eo/src/utils/eoCheckPoint.h: - -/home/adrian/workspace/installs/eo/src/utils/eoStat.h: - -/home/adrian/workspace/installs/eo/src/eoParetoFitness.h: - -/home/adrian/workspace/installs/eo/src/utils/eoScalarFitnessStat.h: - -/home/adrian/workspace/installs/eo/src/utils/eoRealVectorBounds.h: - -/home/adrian/workspace/installs/eo/src/utils/eoAssembledFitnessStat.h: - -/home/adrian/workspace/installs/eo/src/eoScalarFitnessAssembled.h: - -/home/adrian/workspace/installs/eo/src/utils/eoFDCStat.h: - -/home/adrian/workspace/installs/eo/src/utils/eoMOFitnessStat.h: - -/home/adrian/workspace/installs/eo/src/utils/eoPopStat.h: - -/home/adrian/workspace/installs/eo/src/utils/eoTimeCounter.h: - -/home/adrian/workspace/installs/eo/src/utils/eoIntBounds.h: - -/home/adrian/workspace/installs/eo/src/other/external_eo: - -/home/adrian/workspace/installs/eo/src/other/eoExternalEO.h: - -/home/adrian/workspace/installs/eo/src/other/eoExternalOpFunctions.h: - -/home/adrian/workspace/installs/eo/src/eoCounter.h: - -/home/adrian/workspace/installs/mo/src/mo: - -/home/adrian/workspace/installs/mo/src/mo.h: - -/home/adrian/workspace/installs/mo/src/moAspirCrit.h: - -/home/adrian/workspace/installs/mo/src/moAlgo.h: - -/home/adrian/workspace/installs/mo/src/moBestImprSelect.h: - -/home/adrian/workspace/installs/mo/src/moMoveSelect.h: - -/home/adrian/workspace/installs/mo/src/moCoolSched.h: - -/home/adrian/workspace/installs/mo/src/moEasyCoolSched.h: - -/home/adrian/workspace/installs/mo/src/moFirstImprSelect.h: - -/home/adrian/workspace/installs/mo/src/moGenSolContinue.h: - -/home/adrian/workspace/installs/mo/src/moSolContinue.h: - -/home/adrian/workspace/installs/mo/src/moHC.h: - -/home/adrian/workspace/installs/mo/src/moMoveExpl.h: - -/home/adrian/workspace/installs/mo/src/moHCMoveLoopExpl.h: - -/home/adrian/workspace/installs/mo/src/moMoveLoopExpl.h: - -/home/adrian/workspace/installs/mo/src/moMoveInit.h: - -/home/adrian/workspace/installs/mo/src/moNextMove.h: - -/home/adrian/workspace/installs/mo/src/moMoveIncrEval.h: - -/home/adrian/workspace/installs/mo/src/moImprBestFitAspirCrit.h: - -/home/adrian/workspace/installs/mo/src/moItRandNextMove.h: - -/home/adrian/workspace/installs/mo/src/moRandMove.h: - -/home/adrian/workspace/installs/mo/src/moLSCheckPoint.h: - -/home/adrian/workspace/installs/mo/src/moMove.h: - -/home/adrian/workspace/installs/mo/src/moNoAspirCrit.h: - -/home/adrian/workspace/installs/mo/src/moRandImprSelect.h: - -/home/adrian/workspace/installs/mo/src/moSA.h: - -/home/adrian/workspace/installs/mo/src/moTabuList.h: - -/home/adrian/workspace/installs/mo/src/moTS.h: - -/home/adrian/workspace/installs/mo/src/moTSMoveLoopExpl.h: - -../src/core/peo_init.h: - -../src/core/peo_run.h: - -../src/core/peo_fin.h: - -../src/core/eoVector_comm.h: - -../src/core/messaging.h: - -../src/peoEA.h: - -../src/peoPopEval.h: - -../src/core/service.h: - -../src/core/communicable.h: - -/usr/include/semaphore.h: - -/usr/include/bits/semaphore.h: - -../src/core/thread.h: - -../src/peoTransform.h: - -../src/core/runner.h: - -../src/core/peo_debug.h: - -../src/peoSeqTransform.h: - -../src/peoParaSGATransform.h: - -../src/core/thread.h: - -../src/core/messaging.h: - -../src/peoSeqPopEval.h: - -../src/peoParaPopEval.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/queue: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/deque: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_deque.h: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/deque.tcc: - -/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_queue.h: - -../src/peoAggEvalFunc.h: - -../src/peoNoAggEvalFunc.h: - -../src/core/ring_topo.h: - -../src/core/topology.h: - -../src/core/cooperative.h: - -../src/core/runner.h: - -../src/peoAsyncIslandMig.h: - -../src/core/topology.h: - -../src/core/cooperative.h: - -../src/core/eoPop_comm.h: - -../src/peoSyncIslandMig.h: - -../src/peoSyncMultiStart.h: - -/home/adrian/workspace/installs/mo/src/moAlgo.h: diff --git a/trunk/paradiseo-peo/examples/Makefile.am b/trunk/paradiseo-peo/examples/Makefile.am deleted file mode 100755 index 0ff5713b1..000000000 --- a/trunk/paradiseo-peo/examples/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -SUBDIRS = shared lesson1 - -## Makefile.am for paradiseo/examples - - -EXTRA_DIST = peoExamples.cfg foot.html - -doc: - for ex in `ls lesson*`; do cd $(srcdir) && doxygen peoExamples.cfg; done - -clean-local: - for ex in `ls lesson*`; do cd $(ex) && rm -rf html latex man; done diff --git a/trunk/paradiseo-peo/examples/Makefile.in b/trunk/paradiseo-peo/examples/Makefile.in deleted file mode 100755 index fcc6f8dd9..000000000 --- a/trunk/paradiseo-peo/examples/Makefile.in +++ /dev/null @@ -1,453 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = .. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -subdir = examples -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-exec-recursive install-info-recursive \ - install-recursive installcheck-recursive installdirs-recursive \ - pdf-recursive ps-recursive uninstall-info-recursive \ - uninstall-recursive -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EO_DIR = @EO_DIR@ -EXEEXT = @EXEEXT@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MOEO_DIR = @MOEO_DIR@ -MO_DIR = @MO_DIR@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -RANLIB = @RANLIB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build_alias = @build_alias@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host_alias = @host_alias@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -SUBDIRS = shared lesson1 -EXTRA_DIST = peoExamples.cfg foot.html -all: all-recursive - -.SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu examples/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -uninstall-info-am: - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(mkdir_p) "$(distdir)/$$subdir" \ - || exit 1; \ - distdir=`$(am__cd) $(distdir) && pwd`; \ - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ - (cd $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$top_distdir" \ - distdir="$$distdir/$$subdir" \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-recursive -all-am: Makefile -installdirs: installdirs-recursive -installdirs-am: -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-local mostlyclean-am - -distclean: distclean-recursive - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -info: info-recursive - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-recursive - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-generic - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-info-am - -uninstall-info: uninstall-info-recursive - -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ - clean clean-generic clean-local clean-recursive ctags \ - ctags-recursive distclean distclean-generic \ - distclean-recursive distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-exec install-exec-am install-info \ - install-info-am install-man install-strip installcheck \ - installcheck-am installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic maintainer-clean-recursive \ - mostlyclean mostlyclean-generic mostlyclean-recursive pdf \ - pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ - uninstall-info-am - - -doc: - for ex in `ls lesson*`; do cd $(srcdir) && doxygen peoExamples.cfg; done - -clean-local: - for ex in `ls lesson*`; do cd $(ex) && rm -rf html latex man; done -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/trunk/paradiseo-peo/examples/ParadisEO.doxytag b/trunk/paradiseo-peo/examples/ParadisEO.doxytag deleted file mode 100755 index 09e3e26ca..000000000 --- a/trunk/paradiseo-peo/examples/ParadisEO.doxytag +++ /dev/null @@ -1,1796 +0,0 @@ - - - - main - The ParadisEO Framework - main - parallel_local_searches - parallel_metaheuristics - paradiseo_goals - hybridization - intro - parallel_distributed - parallel_ls - architecture - local_searches - motivation - - - CitySwap - class_city_swap.html - - bool - operator() - class_city_swap.html - 7e6958b62048c89604cbf046b86bdf2d - (Route &__route) - - - - Communicable - class_communicable.html - - - Communicable - class_communicable.html - 8ae1827ecf7569b3db1ed386c7d8ad78 - () - - - virtual - ~Communicable - class_communicable.html - 2280b0dfa0d3a515fccf62c2a9fd5f41 - () - - - COMM_ID - getKey - class_communicable.html - db4307b69b9ccacff55fdbf84b8f50e4 - () - - - void - lock - class_communicable.html - e1f8bd1ee810fd73d44315c95998d19d - () - - - void - unlock - class_communicable.html - caa814847192e71f434fbf9479ede862 - () - - - void - stop - class_communicable.html - cb53e6534b947bc889aa181d9dbbd13b - () - - - void - resume - class_communicable.html - 3306a9adb11a0ab5af342c0db9f7bb2a - () - - - COMM_ID - key - class_communicable.html - 605b0efeffe81326f216c9903f5bbf4c - - - - sem_t - sem_lock - class_communicable.html - cf9639312f71a2f348bc1e7789ccbd9d - - - - sem_t - sem_stop - class_communicable.html - 29c53b9191348e0505e3bcba6d8b82b1 - - - - static unsigned - num_comm - class_communicable.html - 7a6acfdc781a67c9c0ec4f17893f86c3 - - - - - Communicator - class_communicator.html - ReactiveThread - - - Communicator - class_communicator.html - 7c9dce4ea92bd04d01d53f80c0ef08ee - (int *__argc, char ***__argv) - - - void - start - class_communicator.html - 142fae13b16b166519315f248a513c62 - () - - - - Cooperative - class_cooperative.html - Communicable - - Runner * - getOwner - class_cooperative.html - 4012b4e8329e87d26ee266491e1a883e - () - - - void - setOwner - class_cooperative.html - fe7b022567174c8305bc78d8c5749b12 - (Runner &__runner) - - - virtual void - pack - class_cooperative.html - 6a4848c94031289df281a571ea427d46 - ()=0 - - - virtual void - unpack - class_cooperative.html - 7c31a68fb29e0a9cbe1da8019e4cdafa - ()=0 - - - void - send - class_cooperative.html - c609f2a1200da7d1ac96005602515fc6 - (Cooperative *__coop) - - - virtual void - notifySending - class_cooperative.html - 4439ddeaa1246a2e44c003bfb781739b - () - - - Runner * - owner - class_cooperative.html - 7604f094479d08154ede4996a45bf79e - - - - - DisplayBestRoute - class_display_best_route.html - - - DisplayBestRoute - class_display_best_route.html - db263e38f1e82174f811bf62f323f87f - (eoPop< Route > &__pop) - - - void - operator() - class_display_best_route.html - ee879344a6d8b81a04d4eabbed2c7a04 - () - - - eoPop< Route > & - pop - class_display_best_route.html - 5270aabbf294d2deca9878934216eb89 - - - - - EdgeXover - class_edge_xover.html - - bool - operator() - class_edge_xover.html - cb1c0a103106a4d3319540cb23163a79 - (Route &__route1, Route &__route2) - - - void - cross - class_edge_xover.html - 88c2d4c9a878454a32d56010f3dddc27 - (const Route &__par1, const Route &__par2, Route &__child) - - - void - remove_entry - class_edge_xover.html - 1b3a4c75dd9a034c81af6d89d85d30f5 - (unsigned __vertex, std::vector< std::set< unsigned > > &__map) - - - void - build_map - class_edge_xover.html - 04de96aa1016836e0ba5f4b952a5fa16 - (const Route &__par1, const Route &__par2) - - - void - add_vertex - class_edge_xover.html - 2d3045ef503d8b16a27e11fdc23ca11c - (unsigned __vertex, Route &__child) - - - std::vector< std::set< unsigned > > - _map - class_edge_xover.html - d41399c6effb54ee48c722f1e19cb3c3 - - - - std::vector< bool > - visited - class_edge_xover.html - 46d4d4724cf6d660b1a7ab4a346573d4 - - - - - MergeRouteEval - class_merge_route_eval.html - peoAggEvalFunc - - void - operator() - class_merge_route_eval.html - 29cb0028ac0df4b2cee3a809c8f35dea - (Route &__route, const int &__part_fit) - - - - Node - struct_node.html - - RANK_ID - rk - struct_node.html - 7de6f254b6b8c3f9f8287af0bb742e9b - - - - std::string - name - struct_node.html - 3c4318d71ca9a44fe33edcf8b7f26863 - - - - unsigned - num_workers - struct_node.html - 01fec86d75332858b158c810d57caee3 - - - - int - rk_sched - struct_node.html - 98deed2036c3dd8fc0f4fe8dacf56a92 - - - - std::vector< RUNNER_ID > - id_run - struct_node.html - a90013b890888d3d252a71cb4fe48934 - - - - - OrderXover - class_order_xover.html - - bool - operator() - class_order_xover.html - 0ff6aada669eb8173322ed68cda1ac61 - (Route &__route1, Route &__route2) - - - void - cross - class_order_xover.html - d2bf90b5f46ac4a344777e17bc5f364d - (const Route &__par1, const Route &__par2, Route &__child) - - - - PartialMappedXover - class_partial_mapped_xover.html - - bool - operator() - class_partial_mapped_xover.html - 1cda6ea86ca36e5de0125f4ba5cfc695 - (Route &__route1, Route &__route2) - - - void - repair - class_partial_mapped_xover.html - b6d4035544aff3b2b3fe4b0eeea185a2 - (Route &__route, unsigned __cut1, unsigned __cut2) - - - - PartRouteEval - class_part_route_eval.html - - - PartRouteEval - class_part_route_eval.html - a331566b29bc3227f377004232f05491 - (float __from, float __to) - - - void - operator() - class_part_route_eval.html - 965fab875fb601f17934a6ece761beae - (Route &__route) - - - float - from - class_part_route_eval.html - 5bde722e66378b2570ae6c4b4f8df58e - - - - float - to - class_part_route_eval.html - de53cc919faa498663f327b72c357da3 - - - - - peoAggEvalFunc - classpeo_agg_eval_func.html - EOT - - - peoAsyncIslandMig - classpeo_async_island_mig.html - EOT - Cooperative - - - peoAsyncIslandMig - classpeo_async_island_mig.html - e0f706cbf4148d3ca327227a5c7a9fdf - (eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) - - - void - operator() - classpeo_async_island_mig.html - 13581e54425727a7f785ca8a6df527b5 - () - - - void - pack - classpeo_async_island_mig.html - 6d790a5d0b6ac510cac4f61a1c0d8f16 - () - - - void - unpack - classpeo_async_island_mig.html - 455501aee5db2bbfbae15779c8429369 - () - - - void - emigrate - classpeo_async_island_mig.html - 87a4ef7d4bd30d349a801bf0f9e87c82 - () - - - void - immigrate - classpeo_async_island_mig.html - 5a9a64ba51a696e45f91b362c39c9a64 - () - - - eoContinue< EOT > & - cont - classpeo_async_island_mig.html - 2fc077d02ef9ea4595cfe883af0d4f83 - - - - eoSelect< EOT > & - select - classpeo_async_island_mig.html - b1fa045094c8a411323e75b5820c80c2 - - - - eoReplacement< EOT > & - replace - classpeo_async_island_mig.html - b761dbd880ee32e170741ecd78da6f48 - - - - Topology & - topology - classpeo_async_island_mig.html - e45e5a808a96f0853ab6ba42339fe679 - - - - eoPop< EOT > & - source - classpeo_async_island_mig.html - 8a502d82c773033e274dca932fc2d4ee - - - - eoPop< EOT > & - destination - classpeo_async_island_mig.html - e407f411d08ae7d96992603c145a7e43 - - - - std::queue< eoPop< EOT > > - imm - classpeo_async_island_mig.html - b8c76d98d9ae99dd930a77c12860519a - - - - std::queue< eoPop< EOT > > - em - classpeo_async_island_mig.html - a9cc0e2d61cac6e11647b141962adc89 - - - - std::queue< Cooperative * > - coop_em - classpeo_async_island_mig.html - 1a2c0004d23bc303420af137a8c8bd27 - - - - - peoEA - classpeo_e_a.html - EOT - Runner - - - peoEA - classpeo_e_a.html - dbfc4f8907bef234602149229f132371 - (eoContinue< EOT > &__cont, peoPopEval< EOT > &__pop_eval, eoSelect< EOT > &__select, peoTransform< EOT > &__trans, eoReplacement< EOT > &__replace) - - - void - run - classpeo_e_a.html - 6ab8c321d29350634143a2a01cf2ad24 - () - - - void - operator() - classpeo_e_a.html - 3c709e3b2491147d26fee36138644613 - (eoPop< EOT > &__pop) - - - eoContinue< EOT > & - cont - classpeo_e_a.html - 5f015eebf42f176b9fe322488c446c2a - - - - peoPopEval< EOT > & - pop_eval - classpeo_e_a.html - 9140259f50c9186edcb062b023624c96 - - - - eoSelect< EOT > & - select - classpeo_e_a.html - 2d8428d69fdd6aefefbaf543fdd46d19 - - - - peoTransform< EOT > & - trans - classpeo_e_a.html - 713c77935eb8aafebfb9488cfaa4a363 - - - - eoReplacement< EOT > & - replace - classpeo_e_a.html - 9bd2d4356cf7e69e3141dc269213aa8a - - - - eoPop< EOT > * - pop - classpeo_e_a.html - c0b110e410bc16283e8339f24b733772 - - - - - peoNoAggEvalFunc - classpeo_no_agg_eval_func.html - EOT - peoAggEvalFunc - - void - operator() - classpeo_no_agg_eval_func.html - 1a69ee1af8745ac75c864bf884436de5 - (EOT &__sol, const typename EOT::Fitness &__fit) - - - - peoParaPopEval - classpeo_para_pop_eval.html - EOT - peoPopEval - - - peoParaPopEval - classpeo_para_pop_eval.html - bcb540510a7038520bec41a7af332daf - (eoEvalFunc< EOT > &__eval_func) - - - - peoParaPopEval - classpeo_para_pop_eval.html - 1cc13a1ec366f95d219d682eccb455bc - (const std::vector< eoEvalFunc< EOT > * > &__funcs, peoAggEvalFunc< EOT > &__merge_eval) - - - void - operator() - classpeo_para_pop_eval.html - aeaa4fca4f8650e453e308838b4a2cb5 - (eoPop< EOT > &__pop) - - - void - packData - classpeo_para_pop_eval.html - fea632bd645ab11182782fd3c038d6d8 - () - - - void - unpackData - classpeo_para_pop_eval.html - 410bf4c173e2f36df82251cb16ce1b05 - () - - - void - execute - classpeo_para_pop_eval.html - 3af76378611eac5a36da9a0a00aeeb6c - () - - - void - packResult - classpeo_para_pop_eval.html - 24bb4ae84b0b9f64e7170e3d2b0e1223 - () - - - void - unpackResult - classpeo_para_pop_eval.html - fd7f0afe9cba30be39269d16097e190e - () - - - void - notifySendingData - classpeo_para_pop_eval.html - 1f78c3cec2940af08a059cc1aa96a9c8 - () - - - void - notifySendingAllResourceRequests - classpeo_para_pop_eval.html - b77031fc4807921ffaf7cf6b669a7665 - () - - - const std::vector< eoEvalFunc< EOT > * > & - funcs - classpeo_para_pop_eval.html - 6d69b8f73c0b5d72baf75d6e53f025b7 - - - - std::vector< eoEvalFunc< EOT > * > - one_func - classpeo_para_pop_eval.html - f0e8af3ee442d2b6baf0bd122226be3c - - - - peoAggEvalFunc< EOT > & - merge_eval - classpeo_para_pop_eval.html - b48bcd4e9f92f364118304535c089456 - - - - peoNoAggEvalFunc< EOT > - no_merge_eval - classpeo_para_pop_eval.html - bf255dd5861e27108c2abae7309d7690 - - - - std::queue< EOT * > - tasks - classpeo_para_pop_eval.html - af76cd18368a0f6185878f37f0b5f272 - - - - std::map< EOT *, std::pair< unsigned, unsigned > > - progression - classpeo_para_pop_eval.html - 80e7e34bb1bb2d12f1f2eed3feac6ecf - - - - unsigned - num_func - classpeo_para_pop_eval.html - 87abb090c0de39f0ccc36af1f07cca0c - - - - EOT - sol - classpeo_para_pop_eval.html - fb6941e0455515a908eb82342b995163 - - - - EOT * - ad_sol - classpeo_para_pop_eval.html - 60cafeab376262af675fdff43434c8d8 - - - - unsigned - total - classpeo_para_pop_eval.html - b528ad9dd9006c3dd57f149a3843e57d - - - - - peoParaSGATransform - classpeo_para_s_g_a_transform.html - EOT - peoTransform - - - peoParaSGATransform - classpeo_para_s_g_a_transform.html - 2052bca82fbbfe5455bf6f69246d4dbf - (eoQuadOp< EOT > &__cross, double __cross_rate, eoMonOp< EOT > &__mut, double __mut_rate) - - - void - operator() - classpeo_para_s_g_a_transform.html - 669de7f7c6316fa745a15b909efb6527 - (eoPop< EOT > &__pop) - - - void - packData - classpeo_para_s_g_a_transform.html - fd278bcde58d29c9a343d5cbead81a1e - () - - - void - unpackData - classpeo_para_s_g_a_transform.html - a43a487a6e81791c8bbf6ce30f4336ab - () - - - void - execute - classpeo_para_s_g_a_transform.html - c9de2100fb897177a401c634002f6dd9 - () - - - void - packResult - classpeo_para_s_g_a_transform.html - ba08e224ceaa4149e8e1a88694a2ccf2 - () - - - void - unpackResult - classpeo_para_s_g_a_transform.html - 257663dcdc6cc95b6183d472ffba1b2f - () - - - void - notifySendingData - classpeo_para_s_g_a_transform.html - 4e19dfc22b6f69fa8b93537226551866 - () - - - void - notifySendingAllResourceRequests - classpeo_para_s_g_a_transform.html - 8a0316e33897c395a81787f59ea7a1c8 - () - - - eoQuadOp< EOT > & - cross - classpeo_para_s_g_a_transform.html - c6f97deabe7502c84f5b6c479013f6dc - - - - double - cross_rate - classpeo_para_s_g_a_transform.html - dfcf216e2df05016db4d57a5ffb0b0e2 - - - - eoMonOp< EOT > & - mut - classpeo_para_s_g_a_transform.html - 34ff5f9d285ca4879cf8865fb425a311 - - - - double - mut_rate - classpeo_para_s_g_a_transform.html - b9d3a2094737d0bbd034aac942cc53e3 - - - - unsigned - idx - classpeo_para_s_g_a_transform.html - 03972feadc86626e58fe60bd4061b57e - - - - eoPop< EOT > * - pop - classpeo_para_s_g_a_transform.html - 94e10a1285e128aba6e71517c941f961 - - - - EOT - father - classpeo_para_s_g_a_transform.html - 9ef60190e2e3bd5961a93d1b52cb275d - - - - EOT - mother - classpeo_para_s_g_a_transform.html - e991ad2af6d116afd855de2db46e1d27 - - - - unsigned - num_term - classpeo_para_s_g_a_transform.html - 589ea7cd72d522ae51a07de4d8ffbf11 - - - - - peoPopEval - classpeo_pop_eval.html - EOT - Service - - virtual void - operator() - classpeo_pop_eval.html - 2f208067a5e39c3b26c1234050a41e8f - (eoPop< EOT > &__pop)=0 - - - - peoSeqPopEval - classpeo_seq_pop_eval.html - EOT - peoPopEval - - - peoSeqPopEval - classpeo_seq_pop_eval.html - a41f91ab4b2aeb325ff75feb66d4e003 - (eoEvalFunc< EOT > &__eval) - - - void - operator() - classpeo_seq_pop_eval.html - b2c88b9a3ad9091949acf741844eb02f - (eoPop< EOT > &__pop) - - - eoEvalFunc< EOT > & - eval - classpeo_seq_pop_eval.html - 5465f31386c6b96bc8f7fb9393a28a2f - - - - - peoSeqTransform - classpeo_seq_transform.html - EOT - peoTransform - - - peoSeqTransform - classpeo_seq_transform.html - 3b8e4ed19d9458938eb669d83a53c626 - (eoTransform< EOT > &__trans) - - - void - operator() - classpeo_seq_transform.html - 1ba63536abb6c4e1c369e0b7e066872e - (eoPop< EOT > &__pop) - - - virtual void - packData - classpeo_seq_transform.html - c4bf2724e9f6055f12bd169fad893be3 - () - - - virtual void - unpackData - classpeo_seq_transform.html - 24e6cf15ef230ed538031b522ddd4ae6 - () - - - virtual void - execute - classpeo_seq_transform.html - 0294a2f9d6b44ec74d22eaceccdffc2b - () - - - virtual void - packResult - classpeo_seq_transform.html - 4861c61f9e46d83964ea8a156a9a3ee0 - () - - - virtual void - unpackResult - classpeo_seq_transform.html - 5dd029fc011eb2a810ca1140025129b1 - () - - - eoTransform< EOT > & - trans - classpeo_seq_transform.html - ad3e16c59dd6c46dfc1baf7b88af30cf - - - - - peoSyncIslandMig - classpeo_sync_island_mig.html - EOT - Cooperative - - - peoSyncIslandMig - classpeo_sync_island_mig.html - 96b7b6de20b5e318a8b1cde76842305c - (unsigned __frequency, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination) - - - void - operator() - classpeo_sync_island_mig.html - 178476fd276f78b73607b33d19522c36 - () - - - void - pack - classpeo_sync_island_mig.html - e334188141eeba9f7b78bc6716f819ad - () - - - void - unpack - classpeo_sync_island_mig.html - 85777bd9f709c5d4107799e8619948d1 - () - - - void - notifySending - classpeo_sync_island_mig.html - 8c427b3f91c19ff85f86930366b96008 - () - - - void - emigrate - classpeo_sync_island_mig.html - 4c8416e3acce1a6e4c3b0a442d94b063 - () - - - void - immigrate - classpeo_sync_island_mig.html - 38dd72312a3d16808af1aa7beb9ed4a7 - () - - - eoPeriodicContinue< EOT > - cont - classpeo_sync_island_mig.html - 2d8ae9104376f3e073e0b250d9b425a2 - - - - eoSelect< EOT > & - select - classpeo_sync_island_mig.html - 5e9c9f5f65d6418ad46e647ee1804a3d - - - - eoReplacement< EOT > & - replace - classpeo_sync_island_mig.html - cb6d2d909503a86415912900d6e1d891 - - - - Topology & - topology - classpeo_sync_island_mig.html - ebfe6edb6be16d46bf6d71cb233fcace - - - - eoPop< EOT > & - source - classpeo_sync_island_mig.html - 33fde1f09faf2a3f772d8b8f6a2615c6 - - - - eoPop< EOT > & - destination - classpeo_sync_island_mig.html - a9bf4612c7c04da6cf69245c6617e6a6 - - - - std::queue< eoPop< EOT > > - imm - classpeo_sync_island_mig.html - 088c1623f32668dcd3683fceff9426c3 - - - - std::queue< eoPop< EOT > > - em - classpeo_sync_island_mig.html - 11d6dd3e4a6db710433f501af0988322 - - - - std::queue< Cooperative * > - coop_em - classpeo_sync_island_mig.html - 2f7ca18d67ab7fb47a9851ab3179eb7d - - - - sem_t - sync - classpeo_sync_island_mig.html - 91e0e1ea59c2a6a66eb496bddd60a18f - - - - - peoSyncMultiStart - classpeo_sync_multi_start.html - EOT - Service - - - peoSyncMultiStart - classpeo_sync_multi_start.html - d29f94aad3c1f443bfffc8b6aee0704c - (eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, moAlgo< EOT > &__ls, eoPop< EOT > &__pop) - - - void - operator() - classpeo_sync_multi_start.html - 76385b33fe514f91cb83f0fbecbeb3c2 - () - - - void - packData - classpeo_sync_multi_start.html - 8becfab1922b64708dca5a53e2932a5a - () - - - void - unpackData - classpeo_sync_multi_start.html - 2903a441b77cded266b5fb651e17a5b5 - () - - - void - execute - classpeo_sync_multi_start.html - a4d1c2943c290de540800087b54dc49b - () - - - void - packResult - classpeo_sync_multi_start.html - 6c48eb0dae741cff7203b65e226f9616 - () - - - void - unpackResult - classpeo_sync_multi_start.html - c3cbd1f10a89d1915c5ccf82a2c34a1d - () - - - void - notifySendingData - classpeo_sync_multi_start.html - 32ec0d01d3fd8a9932abd68f4781fc94 - () - - - void - notifySendingAllResourceRequests - classpeo_sync_multi_start.html - fc90282cc4e93cdea8f82fd52dd78fb0 - () - - - eoContinue< EOT > & - cont - classpeo_sync_multi_start.html - 43f4fa9b125baef6fc8b968dfd16f437 - - - - eoSelect< EOT > & - select - classpeo_sync_multi_start.html - 8fc9a3d046023ddd077defec3c23ab3b - - - - eoReplacement< EOT > & - replace - classpeo_sync_multi_start.html - a375ccea98e9bf2a0854dac27df4522f - - - - moAlgo< EOT > & - ls - classpeo_sync_multi_start.html - 4d317966de767dcc87eee0286ea7f95d - - - - eoPop< EOT > & - pop - classpeo_sync_multi_start.html - 391178bd6b8a97a08ab4e345f070e967 - - - - eoPop< EOT > - sel - classpeo_sync_multi_start.html - dbcc1a069ec72ecd8d40c392640d84b3 - - - - eoPop< EOT > - impr_sel - classpeo_sync_multi_start.html - ca10f6d258105e3c4f0d1660db5b7679 - - - - EOT - sol - classpeo_sync_multi_start.html - 2c2ebe46470d1425f0409897deab435b - - - - unsigned - idx - classpeo_sync_multi_start.html - 64191ef79b7b589964ac9c3e23ae6718 - - - - unsigned - num_term - classpeo_sync_multi_start.html - 773eb9097550d9444f25ca8f48997a30 - - - - - peoTransform - classpeo_transform.html - EOT - Service - - - ReactiveThread - class_reactive_thread.html - Thread - - - ReactiveThread - class_reactive_thread.html - 77381649429941c99a3e3d568113d6cf - () - - - void - sleep - class_reactive_thread.html - 8263c2a32d8c99a49a05f1a7717d4262 - () - - - void - wakeUp - class_reactive_thread.html - a724a54575de10f09cc03ab7aa4e59ce - () - - - sem_t - sem - class_reactive_thread.html - 915e5a42dc8cb1bcf6738d5fe883a4e7 - - - - - RingTopology - class_ring_topology.html - Topology - - void - setNeighbors - class_ring_topology.html - 292a7746993788f96042f2f628cfcbc5 - (Cooperative *__mig, std::vector< Cooperative * > &__from, std::vector< Cooperative * > &__to) - - - - RouteEval - class_route_eval.html - - void - operator() - class_route_eval.html - e10bbe6f792e6f44405953de4f703901 - (Route &__route) - - - - RouteInit - class_route_init.html - - void - operator() - class_route_init.html - b65a7137e114458faadb6a5510c001f7 - (Route &__route) - - - - Runner - class_runner.html - Communicable - Thread - - - Runner - class_runner.html - 7acb8258c21da9daa62f9a177a2e5acd - () - - - void - start - class_runner.html - 7dc4419051fcc5cc9dadd54ecc9cd47d - () - - - void - waitStarting - class_runner.html - 5bc239db2be753b77369fa9a038769fd - () - - - bool - isLocal - class_runner.html - 40adbfb7d6944189b4fff60b02e669ca - () - - - void - terminate - class_runner.html - 0f133e75c28fb8264549814f80608e68 - () - - - virtual void - run - class_runner.html - 2d306c1835d8710258d2b52b8cc8312c - ()=0 - - - RUNNER_ID - getID - class_runner.html - 5026c74eec184e3a15cb3c0ec4200a57 - () - - - void - packTermination - class_runner.html - 2ad6d199d684d6f34347fc202ffe2fa3 - () - - - void - notifySendingTermination - class_runner.html - 3591be473e0fcee1105fb57319b529aa - () - - - sem_t - sem_start - class_runner.html - 4b0827d5df2df632db4ab71dd55e81b2 - - - - unsigned - id - class_runner.html - 1989c1f8e0b0b54ad2e60a341007e59d - - - - - SEND_REQUEST - struct_s_e_n_d___r_e_q_u_e_s_t.html - - Communicable * - comm - struct_s_e_n_d___r_e_q_u_e_s_t.html - 1ad8f7233fa3ff13262e783a9153920f - - - - int - to - struct_s_e_n_d___r_e_q_u_e_s_t.html - 93e2a6a71d2a91aa2b7bdd050ee59b4d - - - - int - tag - struct_s_e_n_d___r_e_q_u_e_s_t.html - 3126b3ef9d6533d3086760e413a7f23f - - - - - Service - class_service.html - Communicable - - void - setOwner - class_service.html - 33b149b98498c0e7e401b0f0839d7f0d - (Thread &__owner) - - - Thread * - getOwner - class_service.html - 0dae00309c51a7b7069788142aed799f - () - - - void - requestResourceRequest - class_service.html - 7e2ae35a9070a05dcd46488df649896d - (unsigned __how_many=1) - - - void - packResourceRequest - class_service.html - c4289f98d1cd9ed53e850efbb6a947bd - () - - - virtual void - packData - class_service.html - aea4b8f7f8fb88e83862ee4bfd9ab207 - () - - - virtual void - unpackData - class_service.html - 3bd87b444710813d30fd754d4d0b4df3 - () - - - virtual void - execute - class_service.html - e4f2894e6121e60f38d41cfbd7447ae4 - () - - - virtual void - packResult - class_service.html - e5e4f90b2315e15c2a2913bd370f4cf5 - () - - - virtual void - unpackResult - class_service.html - 45c06344edbfa482b91f68e2035a6099 - () - - - virtual void - notifySendingData - class_service.html - 81ad4d6ebb50045b8977e2ab74826f30 - () - - - virtual void - notifySendingResourceRequest - class_service.html - 94e2012e76aaae3aa8199250f558d503 - () - - - virtual void - notifySendingAllResourceRequests - class_service.html - f94cc8a5c2665d4574041737e61e9ffc - () - - - Thread * - owner - class_service.html - 8b615c65c876f342fe8209eb7e36d7b2 - - - - unsigned - num_sent_rr - class_service.html - a5b2ad9520bb3710b54348b99acebd58 - - - - - Thread - class_thread.html - - - Thread - class_thread.html - 95c703fb8f2f27cb64f475a8c940864a - () - - - virtual - ~Thread - class_thread.html - 37d9edd3a1a776cbc27dedff949c9726 - () - - - virtual void - start - class_thread.html - c667c1d8fd7243d669043e3dd762b567 - ()=0 - - - void - setActive - class_thread.html - e197c46f8f62ecce6d2a7fe95bdc5b38 - () - - - void - setPassive - class_thread.html - 20632ffe9ddfa2a478afb0c84dc1096b - () - - - bool - act - class_thread.html - 1b155d63bca3096ac4a1d039aea83c7c - - - - - Topology - class_topology.html - - virtual - ~Topology - class_topology.html - 3e447669757c8311c7f6f8edc705abf2 - () - - - void - add - class_topology.html - 62bc46d8c20fdc71dad9e7c7a0d7aded - (Cooperative &__mig) - - - virtual void - setNeighbors - class_topology.html - 86c006ad698649b2ba5016a5ddd619ce - (Cooperative *__mig, std::vector< Cooperative * > &__from, std::vector< Cooperative * > &__to)=0 - - - std::vector< Cooperative * > - mig - class_topology.html - 247a2faa8568b678f0b7b11e62c7812c - - - - - TwoOpt - class_two_opt.html - - void - operator() - class_two_opt.html - ff87d1649a33d42a6d64e8d314ed1af0 - (Route &__route) - - - - TwoOptIncrEval - class_two_opt_incr_eval.html - - int - operator() - class_two_opt_incr_eval.html - 48500077e651c4c6152daef8a396be39 - (const TwoOpt &__move, const Route &__route) - - - - TwoOptInit - class_two_opt_init.html - - void - operator() - class_two_opt_init.html - 5bf6af064d37ebd955ffb5a623e78e1b - (TwoOpt &__move, const Route &__route) - - - - TwoOptNext - class_two_opt_next.html - - bool - operator() - class_two_opt_next.html - baf229b2e056f39ab971cf2ac66a833e - (TwoOpt &__move, const Route &__route) - - - - TwoOptRand - class_two_opt_rand.html - - void - operator() - class_two_opt_rand.html - e2f362f359517c027f6f22fba0aab375 - (TwoOpt &__move, const Route &__route) - - - - Worker - class_worker.html - Communicable - ReactiveThread - - - Worker - class_worker.html - 3754817df06ffe220f7f0d903c78ccac - () - - - void - start - class_worker.html - abcbbace05c6113f1959c494b3577291 - () - - - void - packResult - class_worker.html - 83780920118e6c2b67d9477bdf8be248 - () - - - void - unpackData - class_worker.html - bff2bdcd64fe5400156cc78704c64953 - () - - - void - packTaskDone - class_worker.html - 60d2e8eba85b9ef403d94be54c391640 - () - - - void - notifySendingResult - class_worker.html - e2f487014766a73c5788bdcfd58ad863 - () - - - void - notifySendingTaskDone - class_worker.html - 13efd6a8e275745329a4a8e23a0eb0bb - () - - - void - setSource - class_worker.html - 5dab4ea663546b5a49d9398d7a624d27 - (int __rank) - - - WORKER_ID - id - class_worker.html - b5ffcb995e12fa71b9551e91729d6972 - - - - SERVICE_ID - serv_id - class_worker.html - d7dc76e301fd2bcf5d3a2088a59f1378 - - - - Service * - serv - class_worker.html - 454e1764ed165af733cc44a73e395692 - - - - int - src - class_worker.html - 895c3ebc198018ea3391c09bc802d2f6 - - - - bool - toto - class_worker.html - 7ba5a18b2918cf9e704536b763be37f7 - - - - - peo - namespacepeo.html - - void - finalize - namespacepeo.html - f90478489cc92d1e6abb222179163a30 - () - - - void - init - namespacepeo.html - 8184c3b1f7eecc68f69bb8e8b872a7d3 - (int &__argc, char **&__argv) - - - void - loadParameters - namespacepeo.html - 2b496ee9b81d9ae322ae6edb9a93dc71 - (int &__argc, char **&__argv) - - - void - run - namespacepeo.html - 10819b2d60b37477c6a89b60c595c67c - () - - - int * - argc - namespacepeo.html - 18a3998ce8b39c4e1143914fdd07b3d2 - - - - char *** - argv - namespacepeo.html - d07043237d4d923125e38860ba9bbe20 - - - - int * - argc - namespacepeo.html - 18a3998ce8b39c4e1143914fdd07b3d2 - - - - char *** - argv - namespacepeo.html - d07043237d4d923125e38860ba9bbe20 - - - - diff --git a/trunk/paradiseo-peo/examples/data/eil101.opt.tour b/trunk/paradiseo-peo/examples/data/eil101.opt.tour deleted file mode 100755 index 1d3fece5a..000000000 --- a/trunk/paradiseo-peo/examples/data/eil101.opt.tour +++ /dev/null @@ -1,108 +0,0 @@ -NAME : eil101.opt.tour -COMMENT : Optimum tour for eil101.tsp (Length 629) -TYPE : TOUR -DIMENSION : 101 -TOUR_SECTION -1 -69 -27 -101 -53 -28 -26 -12 -80 -68 -29 -24 -54 -55 -25 -4 -39 -67 -23 -56 -75 -41 -22 -74 -72 -73 -21 -40 -58 -13 -94 -95 -97 -87 -2 -57 -15 -43 -42 -14 -44 -38 -86 -16 -61 -85 -91 -100 -98 -37 -92 -59 -93 -99 -96 -6 -89 -52 -18 -83 -60 -5 -84 -17 -45 -8 -46 -47 -36 -49 -64 -63 -90 -32 -10 -62 -11 -19 -48 -82 -7 -88 -31 -70 -30 -20 -66 -71 -65 -35 -34 -78 -81 -9 -51 -33 -79 -3 -77 -76 -50 --1 -EOF diff --git a/trunk/paradiseo-peo/examples/data/eil101.tsp b/trunk/paradiseo-peo/examples/data/eil101.tsp deleted file mode 100755 index 9672f849e..000000000 --- a/trunk/paradiseo-peo/examples/data/eil101.tsp +++ /dev/null @@ -1,108 +0,0 @@ -NAME : eil101 -COMMENT : 101-city problem (Christofides/Eilon) -TYPE : TSP -DIMENSION : 101 -EDGE_WEIGHT_TYPE : EUC_2D -NODE_COORD_SECTION -1 41 49 -2 35 17 -3 55 45 -4 55 20 -5 15 30 -6 25 30 -7 20 50 -8 10 43 -9 55 60 -10 30 60 -11 20 65 -12 50 35 -13 30 25 -14 15 10 -15 30 5 -16 10 20 -17 5 30 -18 20 40 -19 15 60 -20 45 65 -21 45 20 -22 45 10 -23 55 5 -24 65 35 -25 65 20 -26 45 30 -27 35 40 -28 41 37 -29 64 42 -30 40 60 -31 31 52 -32 35 69 -33 53 52 -34 65 55 -35 63 65 -36 2 60 -37 20 20 -38 5 5 -39 60 12 -40 40 25 -41 42 7 -42 24 12 -43 23 3 -44 11 14 -45 6 38 -46 2 48 -47 8 56 -48 13 52 -49 6 68 -50 47 47 -51 49 58 -52 27 43 -53 37 31 -54 57 29 -55 63 23 -56 53 12 -57 32 12 -58 36 26 -59 21 24 -60 17 34 -61 12 24 -62 24 58 -63 27 69 -64 15 77 -65 62 77 -66 49 73 -67 67 5 -68 56 39 -69 37 47 -70 37 56 -71 57 68 -72 47 16 -73 44 17 -74 46 13 -75 49 11 -76 49 42 -77 53 43 -78 61 52 -79 57 48 -80 56 37 -81 55 54 -82 15 47 -83 14 37 -84 11 31 -85 16 22 -86 4 18 -87 28 18 -88 26 52 -89 26 35 -90 31 67 -91 15 19 -92 22 22 -93 18 24 -94 26 27 -95 25 24 -96 22 27 -97 25 21 -98 19 21 -99 20 26 -100 18 18 -101 35 35 -EOF diff --git a/trunk/paradiseo-peo/examples/html/_n_e_w_s-source.html b/trunk/paradiseo-peo/examples/html/_n_e_w_s-source.html deleted file mode 100755 index 0b37a2e64..000000000 --- a/trunk/paradiseo-peo/examples/html/_n_e_w_s-source.html +++ /dev/null @@ -1,29 +0,0 @@ - - -ParadisEO: NEWS Source File - - - - -
-
-

NEWS


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/_r_e_a_d_m_e-source.html b/trunk/paradiseo-peo/examples/html/_r_e_a_d_m_e-source.html deleted file mode 100755 index ad378b88a..000000000 --- a/trunk/paradiseo-peo/examples/html/_r_e_a_d_m_e-source.html +++ /dev/null @@ -1,29 +0,0 @@ - - -ParadisEO: README Source File - - - - -
-
-

README


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/acconfig_8h-source.html b/trunk/paradiseo-peo/examples/html/acconfig_8h-source.html deleted file mode 100755 index b020e46ee..000000000 --- a/trunk/paradiseo-peo/examples/html/acconfig_8h-source.html +++ /dev/null @@ -1,43 +0,0 @@ - - -ParadisEO: acconfig.h Source File - - - - -
-
-

acconfig.h

00001 #undef ENABLE_NLS
-00002 #undef HAVE_CATGETS
-00003 #undef HAVE_GETTEXT
-00004 #undef HAVE_LC_MESSAGES
-00005 #undef HAVE_STPCPY
-00006 #undef HAVE_LIBSM
-00007 #undef PACKAGE_LOCALE_DIR
-00008 #undef PACKAGE_DOC_DIR
-00009 #undef PACKAGE_DATA_DIR
-00010 #undef PACKAGE_PIXMAPS_DIR
-00011 #undef PACKAGE_HELP_DIR
-00012 #undef PACKAGE_MENU_DIR
-00013 #undef PACKAGE_SOURCE_DIR
-00014 #undef GETTEXT_PACKAGE
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/annotated.html b/trunk/paradiseo-peo/examples/html/annotated.html deleted file mode 100755 index 7a8e11f8c..000000000 --- a/trunk/paradiseo-peo/examples/html/annotated.html +++ /dev/null @@ -1,76 +0,0 @@ - - -ParadisEO: Class List - - - - -
-
-
-
-

ParadisEO Class List

Here are the classes, structs, unions and interfaces with brief descriptions: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CitySwapIts swaps two vertices randomly choosen
Communicable
Communicator
Cooperative
DisplayBestRoute
EdgeXoverEdge Crossover
MergeRouteEval
Node
OrderXoverOrder Crossover
PartialMappedXoverPartial Mapped Crossover
PartRouteEvalRoute Evaluator
peoAggEvalFunc< EOT >The peoAggEvalFunc class offers only the interface for creating aggregate evaluation functions - there are no direct internal functions provided
peoAsyncIslandMig< EOT >The peoAsyncIslandMig class offers the elementary basis for implementating an asynchronous island migration model - requires the specification of several basic parameters, i.e
peoEA< EOT >The peoEA class offers an elementary evolutionary algorithm implementation
peoNoAggEvalFunc< EOT >The peoNoAggEvalFunc class does nothing more than an association between a fitness value and a specified individual
peoParaPopEval< EOT >The peoParaPopEval represents a wrapper for creating a functor capable of applying in parallel an EO-derived evaluation functor
peoParaSGATransform< EOT >
peoPopEval< EOT >The peoPopEval class provides the interface for constructing ParadisEO specific evaluation functors
peoSeqPopEval< EOT >The peoSeqPopEval class acts only as a ParadisEO specific sequential evaluation functor - a wrapper for incorporating an eoEvalFunc< EOT >-derived class as evaluation functor
peoSeqTransform< EOT >The peoSeqTransform represent a wrapper for offering the possibility of using EO derived transform operators along with the ParadisEO evolutionary algorithms
peoSyncIslandMig< EOT >The peoSyncIslandMig class offers the elementary basis for implementating a synchronous island migration model - requires the specification of several basic parameters, i.e
peoSyncMultiStart< EOT >The peoSyncMultiStart class provides the basis for implementing the synchronous multi-start model, for launching several solution-based algorithms in parallel on a specified initial population
peoTransform< EOT >The peoTransform class acts only as an interface for creating transform operators - for an example please refer to the peoSeqTransform and the peoParaSGATransform classes
ReactiveThread
RingTopology
RouteEval
RouteInit
Runner
SEND_REQUEST
Service
Thread
Topology
TwoOpt
TwoOptIncrEval
TwoOptInit
TwoOptNext
TwoOptRand
Worker
-
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/city__swap_8cpp-source.html b/trunk/paradiseo-peo/examples/html/city__swap_8cpp-source.html deleted file mode 100755 index ccb5e5b99..000000000 --- a/trunk/paradiseo-peo/examples/html/city__swap_8cpp-source.html +++ /dev/null @@ -1,65 +0,0 @@ - - -ParadisEO: city_swap.cpp Source File - - - - -
-
-

city_swap.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "city_swap.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, 2002
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <utils/eoRNG.h>
-00025 
-00026 #include "city_swap.h"
-00027 
-00028 bool CitySwap :: operator () (Route & __route) {
-00029   
-00030   std :: swap (__route [rng.random (__route.size ())],
-00031                __route [rng.random (__route.size ())]) ;
-00032     
-00033   __route.invalidate () ;
-00034   
-00035   return true ;
-00036 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/city__swap_8h-source.html b/trunk/paradiseo-peo/examples/html/city__swap_8h-source.html deleted file mode 100755 index acb3ead75..000000000 --- a/trunk/paradiseo-peo/examples/html/city__swap_8h-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO: city_swap.h Source File - - - - -
-
-

city_swap.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "city_swap.h"
-00004 
-00005 // (c) OPAC Team, LIFL, 2002
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef city_swap_h
-00025 #define city_swap_h
-00026 
-00027 #include <eoOp.h>
-00028 
-00029 #include "route.h"
-00030 
-00033 class CitySwap : public eoMonOp <Route> {
-00034   
-00035 public :
-00036   
-00037   bool operator () (Route & __route) ;
-00038     
-00039 } ;
-00040 
-00041 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_city_swap-members.html b/trunk/paradiseo-peo/examples/html/class_city_swap-members.html deleted file mode 100755 index 677d758dc..000000000 --- a/trunk/paradiseo-peo/examples/html/class_city_swap-members.html +++ /dev/null @@ -1,38 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

CitySwap Member List

This is the complete list of members for CitySwap, including all inherited members.

- -
operator()(Route &__route)CitySwap


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_city_swap.html b/trunk/paradiseo-peo/examples/html/class_city_swap.html deleted file mode 100755 index ab36828f0..000000000 --- a/trunk/paradiseo-peo/examples/html/class_city_swap.html +++ /dev/null @@ -1,55 +0,0 @@ - - -ParadisEO: CitySwap Class Reference - - - - -
-
-
-
-

CitySwap Class Reference

Its swaps two vertices randomly choosen. -More... -

-#include <city_swap.h> -

-List of all members. - - - - -

Public Member Functions

-bool operator() (Route &__route)
-


Detailed Description

-Its swaps two vertices randomly choosen. -

- -

-Definition at line 33 of file city_swap.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_communicable-members.html b/trunk/paradiseo-peo/examples/html/class_communicable-members.html deleted file mode 100755 index c3dd12ad9..000000000 --- a/trunk/paradiseo-peo/examples/html/class_communicable-members.html +++ /dev/null @@ -1,48 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

Communicable Member List

This is the complete list of members for Communicable, including all inherited members.

- - - - - - - - - - - -
Communicable()Communicable
getKey()Communicable
keyCommunicable [protected]
lock()Communicable
num_commCommunicable [protected, static]
resume()Communicable
sem_lockCommunicable [protected]
sem_stopCommunicable [protected]
stop()Communicable
unlock()Communicable
~Communicable()Communicable [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_communicable.html b/trunk/paradiseo-peo/examples/html/class_communicable.html deleted file mode 100755 index e7c625686..000000000 --- a/trunk/paradiseo-peo/examples/html/class_communicable.html +++ /dev/null @@ -1,100 +0,0 @@ - - -ParadisEO: Communicable Class Reference - - - - -
-
-
-
-

Communicable Class Reference

Inheritance diagram for Communicable: -

- -Cooperative -Runner -Service -Worker -peoAsyncIslandMig< EOT > -peoSyncIslandMig< EOT > -peoEA< EOT > -peoPopEval< EOT > -peoSyncMultiStart< EOT > -peoTransform< EOT > -peoParaPopEval< EOT > -peoSeqPopEval< EOT > -peoParaSGATransform< EOT > -peoSeqTransform< EOT > - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

Communicable ()
-virtual ~Communicable ()
-COMM_ID getKey ()
-void lock ()
-void unlock ()
-void stop ()
-void resume ()

Protected Attributes

-COMM_ID key
-sem_t sem_lock
-sem_t sem_stop

Static Protected Attributes

-static unsigned num_comm = 0
-

Detailed Description

- -

- -

-Definition at line 31 of file communicable.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_communicable.png b/trunk/paradiseo-peo/examples/html/class_communicable.png deleted file mode 100755 index a229e7068..000000000 Binary files a/trunk/paradiseo-peo/examples/html/class_communicable.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/class_communicator-members.html b/trunk/paradiseo-peo/examples/html/class_communicator-members.html deleted file mode 100755 index a2b2a3906..000000000 --- a/trunk/paradiseo-peo/examples/html/class_communicator-members.html +++ /dev/null @@ -1,46 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

Communicator Member List

This is the complete list of members for Communicator, including all inherited members.

- - - - - - - - - -
Communicator(int *__argc, char ***__argv)Communicator
ReactiveThread()ReactiveThread
setActive()Thread
setPassive()Thread
sleep()ReactiveThread
start()Communicator [virtual]
Thread()Thread
wakeUp()ReactiveThread
~Thread()Thread [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_communicator.html b/trunk/paradiseo-peo/examples/html/class_communicator.html deleted file mode 100755 index c7bad4806..000000000 --- a/trunk/paradiseo-peo/examples/html/class_communicator.html +++ /dev/null @@ -1,59 +0,0 @@ - - -ParadisEO: Communicator Class Reference - - - - -
-
-
-
-

Communicator Class Reference

Inheritance diagram for Communicator: -

- -ReactiveThread -Thread - -List of all members. - - - - - - -

Public Member Functions

Communicator (int *__argc, char ***__argv)
-void start ()
-

Detailed Description

- -

- -

-Definition at line 30 of file comm.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_communicator.png b/trunk/paradiseo-peo/examples/html/class_communicator.png deleted file mode 100755 index 0f0ce225b..000000000 Binary files a/trunk/paradiseo-peo/examples/html/class_communicator.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/class_cooperative-members.html b/trunk/paradiseo-peo/examples/html/class_cooperative-members.html deleted file mode 100755 index 1fd701eb5..000000000 --- a/trunk/paradiseo-peo/examples/html/class_cooperative-members.html +++ /dev/null @@ -1,55 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

Cooperative Member List

This is the complete list of members for Cooperative, including all inherited members.

- - - - - - - - - - - - - - - - - - -
Communicable()Communicable
getKey()Communicable
getOwner()Cooperative
keyCommunicable [protected]
lock()Communicable
notifySending()Cooperative [virtual]
num_commCommunicable [protected, static]
ownerCooperative [private]
pack()=0 (defined in Cooperative)Cooperative [pure virtual]
resume()Communicable
sem_lockCommunicable [protected]
sem_stopCommunicable [protected]
send(Cooperative *__coop)Cooperative
setOwner(Runner &__runner)Cooperative
stop()Communicable
unlock()Communicable
unpack()=0 (defined in Cooperative)Cooperative [pure virtual]
~Communicable()Communicable [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_cooperative.html b/trunk/paradiseo-peo/examples/html/class_cooperative.html deleted file mode 100755 index 61a6e1b7b..000000000 --- a/trunk/paradiseo-peo/examples/html/class_cooperative.html +++ /dev/null @@ -1,76 +0,0 @@ - - -ParadisEO: Cooperative Class Reference - - - - -
-
-
-
-

Cooperative Class Reference

Inheritance diagram for Cooperative: -

- -Communicable -peoAsyncIslandMig< EOT > -peoSyncIslandMig< EOT > - -List of all members. - - - - - - - - - - - - - - - - - -

Public Member Functions

-RunnergetOwner ()
-void setOwner (Runner &__runner)
-virtual void pack ()=0
-virtual void unpack ()=0
-void send (Cooperative *__coop)
-virtual void notifySending ()

Private Attributes

-Runnerowner
-

Detailed Description

- -

- -

-Definition at line 32 of file cooperative.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_cooperative.png b/trunk/paradiseo-peo/examples/html/class_cooperative.png deleted file mode 100755 index 826cbc31b..000000000 Binary files a/trunk/paradiseo-peo/examples/html/class_cooperative.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/class_display_best_route-members.html b/trunk/paradiseo-peo/examples/html/class_display_best_route-members.html deleted file mode 100755 index c79ea8e0f..000000000 --- a/trunk/paradiseo-peo/examples/html/class_display_best_route-members.html +++ /dev/null @@ -1,40 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

DisplayBestRoute Member List

This is the complete list of members for DisplayBestRoute, including all inherited members.

- - - -
DisplayBestRoute(eoPop< Route > &__pop)DisplayBestRoute
operator()()DisplayBestRoute
popDisplayBestRoute [private]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_display_best_route.html b/trunk/paradiseo-peo/examples/html/class_display_best_route.html deleted file mode 100755 index 09e4595f1..000000000 --- a/trunk/paradiseo-peo/examples/html/class_display_best_route.html +++ /dev/null @@ -1,57 +0,0 @@ - - -ParadisEO: DisplayBestRoute Class Reference - - - - -
-
-
-
-

DisplayBestRoute Class Reference

List of all members. - - - - - - - - - -

Public Member Functions

DisplayBestRoute (eoPop< Route > &__pop)
-void operator() ()

Private Attributes

-eoPop< Route > & pop
-

Detailed Description

- -

- -

-Definition at line 33 of file display_best_route.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_edge_xover-members.html b/trunk/paradiseo-peo/examples/html/class_edge_xover-members.html deleted file mode 100755 index 54116de1f..000000000 --- a/trunk/paradiseo-peo/examples/html/class_edge_xover-members.html +++ /dev/null @@ -1,44 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

EdgeXover Member List

This is the complete list of members for EdgeXover, including all inherited members.

- - - - - - - -
_mapEdgeXover [private]
add_vertex(unsigned __vertex, Route &__child)EdgeXover [private]
build_map(const Route &__par1, const Route &__par2)EdgeXover [private]
cross(const Route &__par1, const Route &__par2, Route &__child)EdgeXover [private]
operator()(Route &__route1, Route &__route2)EdgeXover
remove_entry(unsigned __vertex, std::vector< std::set< unsigned > > &__map)EdgeXover [private]
visitedEdgeXover [private]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_edge_xover.html b/trunk/paradiseo-peo/examples/html/class_edge_xover.html deleted file mode 100755 index 0012f00e0..000000000 --- a/trunk/paradiseo-peo/examples/html/class_edge_xover.html +++ /dev/null @@ -1,75 +0,0 @@ - - -ParadisEO: EdgeXover Class Reference - - - - -
-
-
-
-

EdgeXover Class Reference

Edge Crossover. -More... -

-#include <edge_xover.h> -

-List of all members. - - - - - - - - - - - - - - - - - - -

Public Member Functions

-bool operator() (Route &__route1, Route &__route2)

Private Member Functions

-void cross (const Route &__par1, const Route &__par2, Route &__child)
-void remove_entry (unsigned __vertex, std::vector< std::set< unsigned > > &__map)
-void build_map (const Route &__par1, const Route &__par2)
-void add_vertex (unsigned __vertex, Route &__child)

Private Attributes

-std::vector< std::set< unsigned > > _map
-std::vector< bool > visited
-


Detailed Description

-Edge Crossover. -

- -

-Definition at line 35 of file edge_xover.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_merge_route_eval-members.html b/trunk/paradiseo-peo/examples/html/class_merge_route_eval-members.html deleted file mode 100755 index 2a7c88754..000000000 --- a/trunk/paradiseo-peo/examples/html/class_merge_route_eval-members.html +++ /dev/null @@ -1,38 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

MergeRouteEval Member List

This is the complete list of members for MergeRouteEval, including all inherited members.

- -
operator()(Route &__route, const int &__part_fit)MergeRouteEval


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_merge_route_eval.html b/trunk/paradiseo-peo/examples/html/class_merge_route_eval.html deleted file mode 100755 index 31b157d18..000000000 --- a/trunk/paradiseo-peo/examples/html/class_merge_route_eval.html +++ /dev/null @@ -1,55 +0,0 @@ - - -ParadisEO: MergeRouteEval Class Reference - - - - -
-
-
-
-

MergeRouteEval Class Reference

Inheritance diagram for MergeRouteEval: -

- -peoAggEvalFunc< EOT > - -List of all members. - - - - -

Public Member Functions

-void operator() (Route &__route, const int &__part_fit)
-

Detailed Description

- -

- -

-Definition at line 31 of file merge_route_eval.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_merge_route_eval.png b/trunk/paradiseo-peo/examples/html/class_merge_route_eval.png deleted file mode 100755 index 7e4737d67..000000000 Binary files a/trunk/paradiseo-peo/examples/html/class_merge_route_eval.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/class_order_xover-members.html b/trunk/paradiseo-peo/examples/html/class_order_xover-members.html deleted file mode 100755 index 9cbc62a38..000000000 --- a/trunk/paradiseo-peo/examples/html/class_order_xover-members.html +++ /dev/null @@ -1,39 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

OrderXover Member List

This is the complete list of members for OrderXover, including all inherited members.

- - -
cross(const Route &__par1, const Route &__par2, Route &__child)OrderXover [private]
operator()(Route &__route1, Route &__route2)OrderXover


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_order_xover.html b/trunk/paradiseo-peo/examples/html/class_order_xover.html deleted file mode 100755 index 5c4ac4bf1..000000000 --- a/trunk/paradiseo-peo/examples/html/class_order_xover.html +++ /dev/null @@ -1,59 +0,0 @@ - - -ParadisEO: OrderXover Class Reference - - - - -
-
-
-
-

OrderXover Class Reference

Order Crossover. -More... -

-#include <order_xover.h> -

-List of all members. - - - - - - - -

Public Member Functions

-bool operator() (Route &__route1, Route &__route2)

Private Member Functions

-void cross (const Route &__par1, const Route &__par2, Route &__child)
-


Detailed Description

-Order Crossover. -

- -

-Definition at line 32 of file order_xover.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_part_route_eval-members.html b/trunk/paradiseo-peo/examples/html/class_part_route_eval-members.html deleted file mode 100755 index 7fbbdb9d3..000000000 --- a/trunk/paradiseo-peo/examples/html/class_part_route_eval-members.html +++ /dev/null @@ -1,41 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

PartRouteEval Member List

This is the complete list of members for PartRouteEval, including all inherited members.

- - - - -
fromPartRouteEval [private]
operator()(Route &__route)PartRouteEval
PartRouteEval(float __from, float __to)PartRouteEval
toPartRouteEval [private]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_part_route_eval.html b/trunk/paradiseo-peo/examples/html/class_part_route_eval.html deleted file mode 100755 index 8694a1a2f..000000000 --- a/trunk/paradiseo-peo/examples/html/class_part_route_eval.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO: PartRouteEval Class Reference - - - - -
-
-
-
-

PartRouteEval Class Reference

Route Evaluator. -More... -

-#include <part_route_eval.h> -

-List of all members. - - - - - - - - - - - - -

Public Member Functions

PartRouteEval (float __from, float __to)
 Constructor.
-void operator() (Route &__route)

Private Attributes

-float from
-float to
-


Detailed Description

-Route Evaluator. -

- -

-Definition at line 32 of file part_route_eval.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_partial_mapped_xover-members.html b/trunk/paradiseo-peo/examples/html/class_partial_mapped_xover-members.html deleted file mode 100755 index 0f7ae810f..000000000 --- a/trunk/paradiseo-peo/examples/html/class_partial_mapped_xover-members.html +++ /dev/null @@ -1,39 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

PartialMappedXover Member List

This is the complete list of members for PartialMappedXover, including all inherited members.

- - -
operator()(Route &__route1, Route &__route2)PartialMappedXover
repair(Route &__route, unsigned __cut1, unsigned __cut2)PartialMappedXover [private]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_partial_mapped_xover.html b/trunk/paradiseo-peo/examples/html/class_partial_mapped_xover.html deleted file mode 100755 index 02e29565f..000000000 --- a/trunk/paradiseo-peo/examples/html/class_partial_mapped_xover.html +++ /dev/null @@ -1,59 +0,0 @@ - - -ParadisEO: PartialMappedXover Class Reference - - - - -
-
-
-
-

PartialMappedXover Class Reference

Partial Mapped Crossover. -More... -

-#include <partial_mapped_xover.h> -

-List of all members. - - - - - - - -

Public Member Functions

-bool operator() (Route &__route1, Route &__route2)

Private Member Functions

-void repair (Route &__route, unsigned __cut1, unsigned __cut2)
-


Detailed Description

-Partial Mapped Crossover. -

- -

-Definition at line 32 of file partial_mapped_xover.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_reactive_thread-members.html b/trunk/paradiseo-peo/examples/html/class_reactive_thread-members.html deleted file mode 100755 index e5d9d1fe5..000000000 --- a/trunk/paradiseo-peo/examples/html/class_reactive_thread-members.html +++ /dev/null @@ -1,46 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

ReactiveThread Member List

This is the complete list of members for ReactiveThread, including all inherited members.

- - - - - - - - - -
ReactiveThread()ReactiveThread
semReactiveThread [private]
setActive()Thread
setPassive()Thread
sleep()ReactiveThread
start()=0 (defined in Thread)Thread [pure virtual]
Thread()Thread
wakeUp()ReactiveThread
~Thread()Thread [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_reactive_thread.html b/trunk/paradiseo-peo/examples/html/class_reactive_thread.html deleted file mode 100755 index 18513a9f9..000000000 --- a/trunk/paradiseo-peo/examples/html/class_reactive_thread.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO: ReactiveThread Class Reference - - - - -
-
-
-
-

ReactiveThread Class Reference

Inheritance diagram for ReactiveThread: -

- -Thread -Communicator -Worker - -List of all members. - - - - - - - - - - - -

Public Member Functions

ReactiveThread ()
-void sleep ()
-void wakeUp ()

Private Attributes

-sem_t sem
-

Detailed Description

- -

- -

-Definition at line 31 of file reac_thread.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_reactive_thread.png b/trunk/paradiseo-peo/examples/html/class_reactive_thread.png deleted file mode 100755 index 46b2d6d40..000000000 Binary files a/trunk/paradiseo-peo/examples/html/class_reactive_thread.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/class_ring_topology-members.html b/trunk/paradiseo-peo/examples/html/class_ring_topology-members.html deleted file mode 100755 index c8402230c..000000000 --- a/trunk/paradiseo-peo/examples/html/class_ring_topology-members.html +++ /dev/null @@ -1,41 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

RingTopology Member List

This is the complete list of members for RingTopology, including all inherited members.

- - - - -
add(Cooperative &__mig)Topology
migTopology [protected]
setNeighbors(Cooperative *__mig, std::vector< Cooperative * > &__from, std::vector< Cooperative * > &__to)RingTopology [virtual]
~Topology()Topology [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_ring_topology.html b/trunk/paradiseo-peo/examples/html/class_ring_topology.html deleted file mode 100755 index 1d3b53d17..000000000 --- a/trunk/paradiseo-peo/examples/html/class_ring_topology.html +++ /dev/null @@ -1,55 +0,0 @@ - - -ParadisEO: RingTopology Class Reference - - - - -
-
-
-
-

RingTopology Class Reference

Inheritance diagram for RingTopology: -

- -Topology - -List of all members. - - - - -

Public Member Functions

-void setNeighbors (Cooperative *__mig, std::vector< Cooperative * > &__from, std::vector< Cooperative * > &__to)
-

Detailed Description

- -

- -

-Definition at line 29 of file ring_topo.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_ring_topology.png b/trunk/paradiseo-peo/examples/html/class_ring_topology.png deleted file mode 100755 index 79e86b847..000000000 Binary files a/trunk/paradiseo-peo/examples/html/class_ring_topology.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/class_route_eval-members.html b/trunk/paradiseo-peo/examples/html/class_route_eval-members.html deleted file mode 100755 index e9fda7422..000000000 --- a/trunk/paradiseo-peo/examples/html/class_route_eval-members.html +++ /dev/null @@ -1,38 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

RouteEval Member List

This is the complete list of members for RouteEval, including all inherited members.

- -
operator()(Route &__route)RouteEval


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_route_eval.html b/trunk/paradiseo-peo/examples/html/class_route_eval.html deleted file mode 100755 index 10908337c..000000000 --- a/trunk/paradiseo-peo/examples/html/class_route_eval.html +++ /dev/null @@ -1,50 +0,0 @@ - - -ParadisEO: RouteEval Class Reference - - - - -
-
-
-
-

RouteEval Class Reference

List of all members. - - - - -

Public Member Functions

-void operator() (Route &__route)
-

Detailed Description

- -

- -

-Definition at line 31 of file route_eval.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_route_init-members.html b/trunk/paradiseo-peo/examples/html/class_route_init-members.html deleted file mode 100755 index 6713ee9a9..000000000 --- a/trunk/paradiseo-peo/examples/html/class_route_init-members.html +++ /dev/null @@ -1,38 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

RouteInit Member List

This is the complete list of members for RouteInit, including all inherited members.

- -
operator()(Route &__route)RouteInit


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_route_init.html b/trunk/paradiseo-peo/examples/html/class_route_init.html deleted file mode 100755 index 6446cf787..000000000 --- a/trunk/paradiseo-peo/examples/html/class_route_init.html +++ /dev/null @@ -1,50 +0,0 @@ - - -ParadisEO: RouteInit Class Reference - - - - -
-
-
-
-

RouteInit Class Reference

List of all members. - - - - -

Public Member Functions

-void operator() (Route &__route)
-

Detailed Description

- -

- -

-Definition at line 31 of file route_init.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_runner-members.html b/trunk/paradiseo-peo/examples/html/class_runner-members.html deleted file mode 100755 index e586f0014..000000000 --- a/trunk/paradiseo-peo/examples/html/class_runner-members.html +++ /dev/null @@ -1,63 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

Runner Member List

This is the complete list of members for Runner, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - -
Communicable()Communicable
getID()Runner
getKey()Communicable
idRunner [private]
isLocal()Runner
keyCommunicable [protected]
lock()Communicable
notifySendingTermination()Runner
num_commCommunicable [protected, static]
packTermination()Runner
resume()Communicable
run()=0 (defined in Runner)Runner [pure virtual]
Runner()Runner
sem_lockCommunicable [protected]
sem_startRunner [private]
sem_stopCommunicable [protected]
setActive()Thread
setPassive()Thread
start()Runner [virtual]
stop()Communicable
terminate()Runner
Thread()Thread
unlock()Communicable
waitStarting()Runner
~Communicable()Communicable [virtual]
~Thread()Thread [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_runner.html b/trunk/paradiseo-peo/examples/html/class_runner.html deleted file mode 100755 index 89c15ae07..000000000 --- a/trunk/paradiseo-peo/examples/html/class_runner.html +++ /dev/null @@ -1,88 +0,0 @@ - - -ParadisEO: Runner Class Reference - - - - -
-
-
-
-

Runner Class Reference

Inheritance diagram for Runner: -

- -Communicable -Thread -peoEA< EOT > - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

Runner ()
-void start ()
-void waitStarting ()
-bool isLocal ()
-void terminate ()
-virtual void run ()=0
-RUNNER_ID getID ()
-void packTermination ()
-void notifySendingTermination ()

Private Attributes

-sem_t sem_start
-unsigned id
-

Detailed Description

- -

- -

-Definition at line 34 of file runner.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_runner.png b/trunk/paradiseo-peo/examples/html/class_runner.png deleted file mode 100755 index bd6d66557..000000000 Binary files a/trunk/paradiseo-peo/examples/html/class_runner.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/class_service-members.html b/trunk/paradiseo-peo/examples/html/class_service-members.html deleted file mode 100755 index f57206a79..000000000 --- a/trunk/paradiseo-peo/examples/html/class_service-members.html +++ /dev/null @@ -1,62 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

Service Member List

This is the complete list of members for Service, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - -
Communicable()Communicable
execute()Service [virtual]
getKey()Communicable
getOwner()Service
keyCommunicable [protected]
lock()Communicable
notifySendingAllResourceRequests()Service [virtual]
notifySendingData()Service [virtual]
notifySendingResourceRequest()Service [virtual]
num_commCommunicable [protected, static]
num_sent_rrService [private]
ownerService [private]
packData()Service [virtual]
packResourceRequest()Service
packResult()Service [virtual]
requestResourceRequest(unsigned __how_many=1)Service
resume()Communicable
sem_lockCommunicable [protected]
sem_stopCommunicable [protected]
setOwner(Thread &__owner)Service
stop()Communicable
unlock()Communicable
unpackData()Service [virtual]
unpackResult()Service [virtual]
~Communicable()Communicable [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_service.html b/trunk/paradiseo-peo/examples/html/class_service.html deleted file mode 100755 index 4ea0a4b23..000000000 --- a/trunk/paradiseo-peo/examples/html/class_service.html +++ /dev/null @@ -1,102 +0,0 @@ - - -ParadisEO: Service Class Reference - - - - -
-
-
-
-

Service Class Reference

Inheritance diagram for Service: -

- -Communicable -peoPopEval< EOT > -peoSyncMultiStart< EOT > -peoTransform< EOT > -peoParaPopEval< EOT > -peoSeqPopEval< EOT > -peoParaSGATransform< EOT > -peoSeqTransform< EOT > - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

-void setOwner (Thread &__owner)
-ThreadgetOwner ()
-void requestResourceRequest (unsigned __how_many=1)
-void packResourceRequest ()
-virtual void packData ()
-virtual void unpackData ()
-virtual void execute ()
-virtual void packResult ()
-virtual void unpackResult ()
-virtual void notifySendingData ()
-virtual void notifySendingResourceRequest ()
-virtual void notifySendingAllResourceRequests ()

Private Attributes

-Threadowner
-unsigned num_sent_rr
-

Detailed Description

- -

- -

-Definition at line 32 of file service.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_service.png b/trunk/paradiseo-peo/examples/html/class_service.png deleted file mode 100755 index cf6f68a54..000000000 Binary files a/trunk/paradiseo-peo/examples/html/class_service.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/class_thread-members.html b/trunk/paradiseo-peo/examples/html/class_thread-members.html deleted file mode 100755 index e736a2809..000000000 --- a/trunk/paradiseo-peo/examples/html/class_thread-members.html +++ /dev/null @@ -1,43 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

Thread Member List

This is the complete list of members for Thread, including all inherited members.

- - - - - - -
actThread [private]
setActive()Thread
setPassive()Thread
start()=0 (defined in Thread)Thread [pure virtual]
Thread()Thread
~Thread()Thread [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_thread.html b/trunk/paradiseo-peo/examples/html/class_thread.html deleted file mode 100755 index 0ef95eba6..000000000 --- a/trunk/paradiseo-peo/examples/html/class_thread.html +++ /dev/null @@ -1,75 +0,0 @@ - - -ParadisEO: Thread Class Reference - - - - -
-
-
-
-

Thread Class Reference

Inheritance diagram for Thread: -

- -ReactiveThread -Runner -Communicator -Worker -peoEA< EOT > - -List of all members. - - - - - - - - - - - - - - - -

Public Member Functions

Thread ()
-virtual ~Thread ()
-virtual void start ()=0
-void setActive ()
-void setPassive ()

Private Attributes

-bool act
-

Detailed Description

- -

- -

-Definition at line 31 of file thread.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_thread.png b/trunk/paradiseo-peo/examples/html/class_thread.png deleted file mode 100755 index bac19c424..000000000 Binary files a/trunk/paradiseo-peo/examples/html/class_thread.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/class_topology-members.html b/trunk/paradiseo-peo/examples/html/class_topology-members.html deleted file mode 100755 index a60b28277..000000000 --- a/trunk/paradiseo-peo/examples/html/class_topology-members.html +++ /dev/null @@ -1,41 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

Topology Member List

This is the complete list of members for Topology, including all inherited members.

- - - - -
add(Cooperative &__mig)Topology
migTopology [protected]
setNeighbors(Cooperative *__mig, std::vector< Cooperative * > &__from, std::vector< Cooperative * > &__to)=0 (defined in Topology)Topology [pure virtual]
~Topology()Topology [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_topology.html b/trunk/paradiseo-peo/examples/html/class_topology.html deleted file mode 100755 index 1d3961b77..000000000 --- a/trunk/paradiseo-peo/examples/html/class_topology.html +++ /dev/null @@ -1,65 +0,0 @@ - - -ParadisEO: Topology Class Reference - - - - -
-
-
-
-

Topology Class Reference

Inheritance diagram for Topology: -

- -RingTopology - -List of all members. - - - - - - - - - - - -

Public Member Functions

-virtual ~Topology ()
-void add (Cooperative &__mig)
-virtual void setNeighbors (Cooperative *__mig, std::vector< Cooperative * > &__from, std::vector< Cooperative * > &__to)=0

Protected Attributes

-std::vector< Cooperative * > mig
-

Detailed Description

- -

- -

-Definition at line 31 of file topology.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_topology.png b/trunk/paradiseo-peo/examples/html/class_topology.png deleted file mode 100755 index bc09751e5..000000000 Binary files a/trunk/paradiseo-peo/examples/html/class_topology.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/class_two_opt-members.html b/trunk/paradiseo-peo/examples/html/class_two_opt-members.html deleted file mode 100755 index 30c8a479a..000000000 --- a/trunk/paradiseo-peo/examples/html/class_two_opt-members.html +++ /dev/null @@ -1,38 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

TwoOpt Member List

This is the complete list of members for TwoOpt, including all inherited members.

- -
operator()(Route &__route)TwoOpt


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_two_opt.html b/trunk/paradiseo-peo/examples/html/class_two_opt.html deleted file mode 100755 index 7a22f69a6..000000000 --- a/trunk/paradiseo-peo/examples/html/class_two_opt.html +++ /dev/null @@ -1,50 +0,0 @@ - - -ParadisEO: TwoOpt Class Reference - - - - -
-
-
-
-

TwoOpt Class Reference

List of all members. - - - - -

Public Member Functions

-void operator() (Route &__route)
-

Detailed Description

- -

- -

-Definition at line 32 of file two_opt.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_two_opt_incr_eval-members.html b/trunk/paradiseo-peo/examples/html/class_two_opt_incr_eval-members.html deleted file mode 100755 index d134ee6c6..000000000 --- a/trunk/paradiseo-peo/examples/html/class_two_opt_incr_eval-members.html +++ /dev/null @@ -1,38 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

TwoOptIncrEval Member List

This is the complete list of members for TwoOptIncrEval, including all inherited members.

- -
operator()(const TwoOpt &__move, const Route &__route)TwoOptIncrEval


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_two_opt_incr_eval.html b/trunk/paradiseo-peo/examples/html/class_two_opt_incr_eval.html deleted file mode 100755 index 546d50392..000000000 --- a/trunk/paradiseo-peo/examples/html/class_two_opt_incr_eval.html +++ /dev/null @@ -1,50 +0,0 @@ - - -ParadisEO: TwoOptIncrEval Class Reference - - - - -
-
-
-
-

TwoOptIncrEval Class Reference

List of all members. - - - - -

Public Member Functions

-int operator() (const TwoOpt &__move, const Route &__route)
-

Detailed Description

- -

- -

-Definition at line 30 of file two_opt_incr_eval.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_two_opt_init-members.html b/trunk/paradiseo-peo/examples/html/class_two_opt_init-members.html deleted file mode 100755 index 242ee3f12..000000000 --- a/trunk/paradiseo-peo/examples/html/class_two_opt_init-members.html +++ /dev/null @@ -1,38 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

TwoOptInit Member List

This is the complete list of members for TwoOptInit, including all inherited members.

- -
operator()(TwoOpt &__move, const Route &__route)TwoOptInit


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_two_opt_init.html b/trunk/paradiseo-peo/examples/html/class_two_opt_init.html deleted file mode 100755 index 8edec88ab..000000000 --- a/trunk/paradiseo-peo/examples/html/class_two_opt_init.html +++ /dev/null @@ -1,50 +0,0 @@ - - -ParadisEO: TwoOptInit Class Reference - - - - -
-
-
-
-

TwoOptInit Class Reference

List of all members. - - - - -

Public Member Functions

-void operator() (TwoOpt &__move, const Route &__route)
-

Detailed Description

- -

- -

-Definition at line 32 of file two_opt_init.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_two_opt_next-members.html b/trunk/paradiseo-peo/examples/html/class_two_opt_next-members.html deleted file mode 100755 index 19230aed9..000000000 --- a/trunk/paradiseo-peo/examples/html/class_two_opt_next-members.html +++ /dev/null @@ -1,38 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

TwoOptNext Member List

This is the complete list of members for TwoOptNext, including all inherited members.

- -
operator()(TwoOpt &__move, const Route &__route)TwoOptNext


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_two_opt_next.html b/trunk/paradiseo-peo/examples/html/class_two_opt_next.html deleted file mode 100755 index b181db284..000000000 --- a/trunk/paradiseo-peo/examples/html/class_two_opt_next.html +++ /dev/null @@ -1,50 +0,0 @@ - - -ParadisEO: TwoOptNext Class Reference - - - - -
-
-
-
-

TwoOptNext Class Reference

List of all members. - - - - -

Public Member Functions

-bool operator() (TwoOpt &__move, const Route &__route)
-

Detailed Description

- -

- -

-Definition at line 31 of file two_opt_next.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_two_opt_rand-members.html b/trunk/paradiseo-peo/examples/html/class_two_opt_rand-members.html deleted file mode 100755 index 581b61e18..000000000 --- a/trunk/paradiseo-peo/examples/html/class_two_opt_rand-members.html +++ /dev/null @@ -1,38 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

TwoOptRand Member List

This is the complete list of members for TwoOptRand, including all inherited members.

- -
operator()(TwoOpt &__move, const Route &__route)TwoOptRand


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_two_opt_rand.html b/trunk/paradiseo-peo/examples/html/class_two_opt_rand.html deleted file mode 100755 index e8d721030..000000000 --- a/trunk/paradiseo-peo/examples/html/class_two_opt_rand.html +++ /dev/null @@ -1,50 +0,0 @@ - - -ParadisEO: TwoOptRand Class Reference - - - - -
-
-
-
-

TwoOptRand Class Reference

List of all members. - - - - -

Public Member Functions

-void operator() (TwoOpt &__move, const Route &__route)
-

Detailed Description

- -

- -

-Definition at line 31 of file two_opt_rand.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_worker-members.html b/trunk/paradiseo-peo/examples/html/class_worker-members.html deleted file mode 100755 index 345181bfa..000000000 --- a/trunk/paradiseo-peo/examples/html/class_worker-members.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

Worker Member List

This is the complete list of members for Worker, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Communicable()Communicable
getKey()Communicable
idWorker [private]
keyCommunicable [protected]
lock()Communicable
notifySendingResult()Worker
notifySendingTaskDone()Worker
num_commCommunicable [protected, static]
packResult()Worker
packTaskDone()Worker
ReactiveThread()ReactiveThread
resume()Communicable
sem_lockCommunicable [protected]
sem_stopCommunicable [protected]
servWorker [private]
serv_idWorker [private]
setActive()Thread
setPassive()Thread
setSource(int __rank)Worker
sleep()ReactiveThread
srcWorker [private]
start()Worker [virtual]
stop()Communicable
Thread()Thread
totoWorker [private]
unlock()Communicable
unpackData()Worker
wakeUp()ReactiveThread
Worker()Worker
~Communicable()Communicable [virtual]
~Thread()Thread [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_worker.html b/trunk/paradiseo-peo/examples/html/class_worker.html deleted file mode 100755 index 497637da4..000000000 --- a/trunk/paradiseo-peo/examples/html/class_worker.html +++ /dev/null @@ -1,94 +0,0 @@ - - -ParadisEO: Worker Class Reference - - - - -
-
-
-
-

Worker Class Reference

Inheritance diagram for Worker: -

- -Communicable -ReactiveThread -Thread - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

Worker ()
-void start ()
-void packResult ()
-void unpackData ()
-void packTaskDone ()
-void notifySendingResult ()
-void notifySendingTaskDone ()
-void setSource (int __rank)

Private Attributes

-WORKER_ID id
-SERVICE_ID serv_id
-Serviceserv
-int src
-bool toto
-

Detailed Description

- -

- -

-Definition at line 33 of file worker.h.


The documentation for this class was generated from the following files: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/class_worker.png b/trunk/paradiseo-peo/examples/html/class_worker.png deleted file mode 100755 index 0ea239005..000000000 Binary files a/trunk/paradiseo-peo/examples/html/class_worker.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/classes.html b/trunk/paradiseo-peo/examples/html/classes.html deleted file mode 100755 index b5c8018b0..000000000 --- a/trunk/paradiseo-peo/examples/html/classes.html +++ /dev/null @@ -1,51 +0,0 @@ - - -ParadisEO: Alphabetical List - - - - -
-
-
-
-

ParadisEO Class Index

A | C | D | E | M | N | O | P | R | S | T | W

- -
  A  
-
Node   peoSeqPopEval   
peoAggEvalFunc   
  O  
-
peoSeqTransform   
peoAsyncIslandMig   OrderXover   Service   
  C  
-
  P  
-
peoSyncIslandMig   
CitySwap   peoParaPopEval   peoSyncMultiStart   
Communicable   peoParaSGATransform   
  T  
-
Communicator   PartialMappedXover   Thread   
Cooperative   PartRouteEval   Topology   
  D  
-
peoPopEval   peoTransform   
DisplayBestRoute   
  R  
-
TwoOpt   
  E  
-
ReactiveThread   TwoOptIncrEval   
peoEA   RingTopology   TwoOptInit   
EdgeXover   RouteEval   TwoOptNext   
  M  
-
RouteInit   TwoOptRand   
MergeRouteEval   Runner   
  W  
-
  N  
-
  S  
-
Worker   
peoNoAggEvalFunc   SEND_REQUEST   

A | C | D | E | M | N | O | P | R | S | T | W

-


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_agg_eval_func.html b/trunk/paradiseo-peo/examples/html/classpeo_agg_eval_func.html deleted file mode 100755 index abca81bb9..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_agg_eval_func.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO: peoAggEvalFunc< EOT > Class Template Reference - - - - -
-
-
-
-

peoAggEvalFunc< EOT > Class Template Reference

The peoAggEvalFunc class offers only the interface for creating aggregate evaluation functions - there are no direct internal functions provided. -More... -

-#include <peoAggEvalFunc.h> -

-

Inheritance diagram for peoAggEvalFunc< EOT >: -

- -MergeRouteEval -peoNoAggEvalFunc< EOT > - - - -
-

Detailed Description

-

template<class EOT>
- class peoAggEvalFunc< EOT >

- -The peoAggEvalFunc class offers only the interface for creating aggregate evaluation functions - there are no direct internal functions provided. -

-The class inherits public eoBF< EOT&, const typename EOT :: Fitness&, void > thus requiring, for the derived classes, the creation of a function having the following signature:

- - - -
void operator()( EOT& __eot, const typename EOT :: Fitness& __partial_fittness );    
-

-The aggregation object is called in an iterative manner for each of the results obtained by applying partial evaluation functions. -

- -

-Definition at line 40 of file peoAggEvalFunc.h.


The documentation for this class was generated from the following file: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_agg_eval_func.png b/trunk/paradiseo-peo/examples/html/classpeo_agg_eval_func.png deleted file mode 100755 index 9246d0439..000000000 Binary files a/trunk/paradiseo-peo/examples/html/classpeo_agg_eval_func.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/classpeo_async_island_mig-members.html b/trunk/paradiseo-peo/examples/html/classpeo_async_island_mig-members.html deleted file mode 100755 index e2e9340a3..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_async_island_mig-members.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

peoAsyncIslandMig< EOT > Member List

This is the complete list of members for peoAsyncIslandMig< EOT >, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Communicable()Communicable
contpeoAsyncIslandMig< EOT > [private]
coop_empeoAsyncIslandMig< EOT > [private]
destinationpeoAsyncIslandMig< EOT > [private]
empeoAsyncIslandMig< EOT > [private]
emigrate()peoAsyncIslandMig< EOT > [private]
getKey()Communicable
getOwner()Cooperative
immpeoAsyncIslandMig< EOT > [private]
immigrate()peoAsyncIslandMig< EOT > [private]
keyCommunicable [protected]
lock()Communicable
notifySending()Cooperative [virtual]
num_commCommunicable [protected, static]
operator()()peoAsyncIslandMig< EOT >
pack()peoAsyncIslandMig< EOT > [virtual]
peoAsyncIslandMig(eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination)peoAsyncIslandMig< EOT >
replacepeoAsyncIslandMig< EOT > [private]
resume()Communicable
selectpeoAsyncIslandMig< EOT > [private]
sem_lockCommunicable [protected]
sem_stopCommunicable [protected]
send(Cooperative *__coop)Cooperative
setOwner(Runner &__runner)Cooperative
sourcepeoAsyncIslandMig< EOT > [private]
stop()Communicable
topologypeoAsyncIslandMig< EOT > [private]
unlock()Communicable
unpack()peoAsyncIslandMig< EOT > [virtual]
~Communicable()Communicable [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_async_island_mig.html b/trunk/paradiseo-peo/examples/html/classpeo_async_island_mig.html deleted file mode 100755 index 25402cc69..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_async_island_mig.html +++ /dev/null @@ -1,300 +0,0 @@ - - -ParadisEO: peoAsyncIslandMig< EOT > Class Template Reference - - - - -
-
-
-
-

peoAsyncIslandMig< EOT > Class Template Reference

The peoAsyncIslandMig class offers the elementary basis for implementating an asynchronous island migration model - requires the specification of several basic parameters, i.e. -More... -

-#include <peoAsyncIslandMig.h> -

-

Inheritance diagram for peoAsyncIslandMig< EOT >: -

- -Cooperative -Communicable - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 peoAsyncIslandMig (eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination)
 Constructor for the peoAsyncIslandMig class; the characteristics of the migration model are defined through the specified parameters - out of the box objects provided in EO, etc., or custom, derived objects may be passed as parameters.
void operator() ()
 Function operator to be called as checkpoint for performing the migration step.
-void pack ()
 Auxiliary function dealing with sending the emigrant individuals. There is no need to explicitly call the function.
-void unpack ()
 Auxiliary function dealing with receiving immigrant individuals. There is no need to explicitly call the function.

Private Member Functions

-void emigrate ()
-void immigrate ()

Private Attributes

-eoContinue< EOT > & cont
-eoSelect< EOT > & select
-eoReplacement< EOT > & replace
-Topologytopology
-eoPop< EOT > & source
-eoPop< EOT > & destination
-std::queue< eoPop< EOT > > imm
-std::queue< eoPop< EOT > > em
-std::queue< Cooperative * > coop_em
-

Detailed Description

-

template<class EOT>
- class peoAsyncIslandMig< EOT >

- -The peoAsyncIslandMig class offers the elementary basis for implementating an asynchronous island migration model - requires the specification of several basic parameters, i.e. -

-continuation criterion, selection and replacement strategies, a topological model and the source and destination population for the migrating individuals. As opposed to the synchronous migration model, in the asynchronous migration approach, there is no synchronization step between islands after performing the emigration phase.

-The migration operator is called at the end of each generation of an evolutionary algorithms as a checkpoint object - the following code exposes the structure of a classic evolutionary algorithm:

- - - - - - - - - - - - - -
do {    
         select( population, offsprings );   // select the offsprings from the current population
         transform( offsprings );   // crossover and mutation operators are applied on the selected offsprings
         evaluate( offsprings );   // evaluation step of the resulting offspring
         replace( population, offsprings );   // replace the individuals in the current population whith individuals from the offspring population, according to a specified replacement strategy
} while ( eaCheckpointContinue( population ) );   // checkpoint operators are applied on the current population, including the migration operator, if any specified
-

-Constructing an asynchronous island migration model requires having defined (1) a topological migration model, (2) the control parameters of the migration process, (3) a checkpoint object associated with an evolutionary algorithm, and (4) an owner object must be set. The owner object must be derived from the Runner class (for example a peoEA object represents a possible owner). A simple example is offered bellow:

-

    -
  1. -topological model to be followed when performing migrations:
    -
    - - - -
    RingTopology migTopology;   // a simple ring topological model - each island communicates with two other islands
    -

    -

  2. -
  3. -the continuation criterion, selection and replacement strategy etc. are defined:
    -
    - - - - - - - - - - - - - - - - - -
    eoPop< EOT > population( POP_SIZE, popInitializer );   // population of individuals to be used for the evolutionary algorithm
       
    eoPeriodicContinue< EOT > migCont( MIG_FREQ );   // migrations occur periodically at MIG_FREQ iterations
    eoRandomSelect< EOT > migSelectStrategy;   // selection strategy - in this case a random selection is applied
    eoSelectNumber< EOT > migSelect( migSelectStrategy, MIG_SIZE );   // number of individuals to be selected using the specified strategy
    eoPlusReplacement< EOT > migReplace;   // immigration strategy - the worse individuals in the destination population are replaced by the immigrant individuals
       
    peoAsyncIslandMig< EOT > asyncMigration(
    -          migCont, migSelect, migReplace, migTopology,
    -          population, population
    - );  
    // asynchronous migration object - the emigrant individuals are selected from the same from population in which the immigrant individuals are being integrated
    -

    -

  4. -
  5. -creation of a checkpoint object as part of the definition of an evolutionary algoritm (details of th EA not given as being out of scope):
    -
    - - - - - - - - - - - - - -
    ...    
    eoGenContinue< EOT > eaCont( NUM_GEN );   // the evolutionary algorithm will stop after NUM_GEN generations
    eoCheckPoint< EOT > eaCheckpointContinue( eaCont );   // number of individuals to be selected using the specified strategy
    ...    
    eaCheckpointContinue.add( asyncMigration );   // adding the migration operator as checkpoint element
    ...    
    -

    -

  6. -
  7. -definition of an owner evolutionary algorithm (an object inheriting the Runner class):
    -
    - - - - - - - -
    peoEA< EOT > eaAlg( eaCheckpointContinue, eaPopEval, eaSelect, eaTransform, eaReplace);   // evolutionary algorithm having as checkpoint the eaCheckpointContinue object defined above
    asyncMigration.setOwner( eaAlg );   // setting the evolutionary algorithm as owner of the migration object
    eaAlg( population );   // applying the evolutionary algorithm on a given population
    -
  8. -
-

-The source and the destination population for the migration object were specified as being the same, in step no. 2, as we are usually interested in selecting the emigrants and integrating the immigrant individuals from and in, respectively, one unique population, iteratively evolved by an evolutionary algorithm. There is no restriction in having two distinct populations as source and destination for the emigrant and immigrant individuals respectively.

-The above steps only create an asynchronous migration object associated to an evolutionary algorithm. The creation of several islands requires the reiteration of the steps 2 through 4 for creating distinct algorithms, with distinct populations and the associated distinctly parametrized migration objects. The interconnecting element is the underlying topology, defined at step 1 (the same C++ migTopology object has to be passed as parameter for all the migration objects, in order to interconnect them). -

- -

-Definition at line 127 of file peoAsyncIslandMig.h.


Constructor & Destructor Documentation

- -
-
-
-template<class EOT>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
peoAsyncIslandMig< EOT >::peoAsyncIslandMig (eoContinue< EOT > &  __cont,
eoSelect< EOT > &  __select,
eoReplacement< EOT > &  __replace,
Topology __topology,
eoPop< EOT > &  __source,
eoPop< EOT > &  __destination 
)
-
-
- -

-Constructor for the peoAsyncIslandMig class; the characteristics of the migration model are defined through the specified parameters - out of the box objects provided in EO, etc., or custom, derived objects may be passed as parameters. -

-

Parameters:
- - - - - - - -
eoContinue< EOT >& __cont - continuation criterion specifying whether the migration is performed or not;
eoSelect< EOT >& __select - selection strategy to be applied for constructing a list of emigrant individuals out of the source population;
eoReplacement< EOT >& __replace - replacement strategy used for integrating the immigrant individuals in the destination population;
Topology& __topology - topological model to be followed when performing migrations;
eoPop< EOT >& __source - source population from which the emigrant individuals are selected;
eoPop< EOT >& __destination - destination population in which the immigrant population are integrated.
-
- -

-Definition at line 186 of file peoAsyncIslandMig.h. -

-References Topology::add(). -

-

-


Member Function Documentation

- -
-
-
-template<class EOT>
- - - - - - - - -
void peoAsyncIslandMig< EOT >::operator() (  ) 
-
-
- -

-Function operator to be called as checkpoint for performing the migration step. -

-The emigrant individuals are selected from the source population and sent to the next island (defined by the topology object) while the immigrant individuals are integrated in the destination population. There is no need to explicitly call the function - the wrapper checkpoint object (please refer to the above example) will perform the call when required. -

-Definition at line 263 of file peoAsyncIslandMig.h. -

-References peoAsyncIslandMig< EOT >::cont, peoAsyncIslandMig< EOT >::emigrate(), peoAsyncIslandMig< EOT >::immigrate(), and peoAsyncIslandMig< EOT >::source. -

-

-


The documentation for this class was generated from the following file: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_async_island_mig.png b/trunk/paradiseo-peo/examples/html/classpeo_async_island_mig.png deleted file mode 100755 index d6b2d9f65..000000000 Binary files a/trunk/paradiseo-peo/examples/html/classpeo_async_island_mig.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/classpeo_e_a-members.html b/trunk/paradiseo-peo/examples/html/classpeo_e_a-members.html deleted file mode 100755 index 35005fc5d..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_e_a-members.html +++ /dev/null @@ -1,69 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

peoEA< EOT > Member List

This is the complete list of members for peoEA< EOT >, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Communicable()Communicable
contpeoEA< EOT > [private]
getID()Runner
getKey()Communicable
isLocal()Runner
keyCommunicable [protected]
lock()Communicable
notifySendingTermination()Runner
num_commCommunicable [protected, static]
operator()(eoPop< EOT > &__pop)peoEA< EOT >
packTermination()Runner
peoEA(eoContinue< EOT > &__cont, peoPopEval< EOT > &__pop_eval, eoSelect< EOT > &__select, peoTransform< EOT > &__trans, eoReplacement< EOT > &__replace)peoEA< EOT >
poppeoEA< EOT > [private]
pop_evalpeoEA< EOT > [private]
replacepeoEA< EOT > [private]
resume()Communicable
run()peoEA< EOT > [virtual]
Runner()Runner
selectpeoEA< EOT > [private]
sem_lockCommunicable [protected]
sem_stopCommunicable [protected]
setActive()Thread
setPassive()Thread
start()Runner [virtual]
stop()Communicable
terminate()Runner
Thread()Thread
transpeoEA< EOT > [private]
unlock()Communicable
waitStarting()Runner
~Communicable()Communicable [virtual]
~Thread()Thread [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_e_a.html b/trunk/paradiseo-peo/examples/html/classpeo_e_a.html deleted file mode 100755 index fdf68d0ba..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_e_a.html +++ /dev/null @@ -1,236 +0,0 @@ - - -ParadisEO: peoEA< EOT > Class Template Reference - - - - -
-
-
-
-

peoEA< EOT > Class Template Reference

The peoEA class offers an elementary evolutionary algorithm implementation. -More... -

-#include <peoEA.h> -

-

Inheritance diagram for peoEA< EOT >: -

- -Runner -Communicable -Thread - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 peoEA (eoContinue< EOT > &__cont, peoPopEval< EOT > &__pop_eval, eoSelect< EOT > &__select, peoTransform< EOT > &__trans, eoReplacement< EOT > &__replace)
 Constructor for the evolutionary algorithm object - several basic parameters have to be specified, allowing for different levels of parallelism.
-void run ()
 Evolutionary algorithm function - a side effect of the fact that the class is derived from the Runner class, thus requiring the existence of a run function, the algorithm being executed on a distinct thread.
void operator() (eoPop< EOT > &__pop)
 Function operator for specifying the population to be associated with the algorithm.

Private Attributes

-eoContinue< EOT > & cont
-peoPopEval< EOT > & pop_eval
-eoSelect< EOT > & select
-peoTransform< EOT > & trans
-eoReplacement< EOT > & replace
-eoPop< EOT > * pop
-

Detailed Description

-

template<class EOT>
- class peoEA< EOT >

- -The peoEA class offers an elementary evolutionary algorithm implementation. -

-In addition, as compared with the algorithms provided by the EO framework, the peoEA class has the underlying necessary structure for including, for example, parallel evaluation and parallel transformation operators, migration operators etc. Although there is no restriction on using the algorithms provided by the EO framework, the drawback resides in the fact that the EO implementation is exclusively sequential and, in consequence, no parallelism is provided. A simple example for constructing a peoEA object:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
...    
eoPop< EOT > population( POP_SIZE, popInitializer );   // creation of a population with POP_SIZE individuals - the popInitializer is a functor to be called for each individual
   
eoGenContinue< EOT > eaCont( NUM_GEN );   // number of generations for the evolutionary algorithm
eoCheckPoint< EOT > eaCheckpointContinue( eaCont );   // checkpoint incorporating the continuation criterion - startpoint for adding other checkpoint objects
   
peoSeqPopEval< EOT > eaPopEval( evalFunction );   // sequential evaluation functor wrapper - evalFunction represents the actual evaluation functor
   
eoRankingSelect< EOT > selectionStrategy;   // selection strategy for creating the offspring population - a simple ranking selection in this case
eoSelectNumber< EOT > eaSelect( selectionStrategy, POP_SIZE );   // the number of individuals to be selected for creating the offspring population
eoRankingSelect< EOT > selectionStrategy;   // selection strategy for creating the offspring population - a simple ranking selection in this case
   
eoSGATransform< EOT > transform( crossover, CROSS_RATE, mutation, MUT_RATE );   // transformation operator - crossover and mutation operators with their associated probabilities
peoSeqTransform< EOT > eaTransform( transform );   // ParadisEO specific sequential operator - a parallel version may be specified in the same manner
   
eoPlusReplacement< EOT > eaReplace;   // replacement strategy - for integrating the offspring resulting individuals in the initial population
   
peoEA< EOT > eaAlg( eaCheckpointContinue, eaPopEval, eaSelect, eaTransform, eaReplace );   // ParadisEO evolutionary algorithm integrating the above defined objects
eaAlg( population );   // specifying the initial population for the algorithm
...    
- -

- -

-Definition at line 69 of file peoEA.h.


Constructor & Destructor Documentation

- -
-
-
-template<class EOT>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
peoEA< EOT >::peoEA (eoContinue< EOT > &  __cont,
peoPopEval< EOT > &  __pop_eval,
eoSelect< EOT > &  __select,
peoTransform< EOT > &  __trans,
eoReplacement< EOT > &  __replace 
)
-
-
- -

-Constructor for the evolutionary algorithm object - several basic parameters have to be specified, allowing for different levels of parallelism. -

-Depending on the requirements, a sequential or a parallel evaluation operator may be specified or, in the same manner, a sequential or a parallel transformation operator may be given as parameter. Out of the box objects may be provided, from the EO package, for example, or custom defined ones may be specified, provided that they are derived from the correct base classes.

-

Parameters:
- - - - - - -
eoContinue< EOT >& __cont - continuation criterion specifying whether the algorithm should continue or not;
peoPopEval< EOT >& __pop_eval - evaluation operator; it allows the specification of parallel evaluation operators, aggregate evaluation functions, etc.;
eoSelect< EOT >& __select - selection strategy to be applied for constructing a list of offspring individuals;
peoTransform< EOT >& __trans - transformation operator, i.e. crossover and mutation; allows for sequential or parallel transform;
eoReplacement< EOT >& __replace - replacement strategy for integrating the offspring individuals in the initial population;
-
- -

-Definition at line 113 of file peoEA.h. -

-References peoEA< EOT >::pop_eval, and peoEA< EOT >::trans. -

-

-


Member Function Documentation

- -
-
-
-template<class EOT>
- - - - - - - - - -
void peoEA< EOT >::operator() (eoPop< EOT > &  __pop  ) 
-
-
- -

-Function operator for specifying the population to be associated with the algorithm. -

-

Parameters:
- - -
eoPop< EOT >& __pop - initial population of the algorithm, to be iteratively evolved;
-
- -

-Definition at line 129 of file peoEA.h. -

-References peoEA< EOT >::pop. -

-

-


The documentation for this class was generated from the following file: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_e_a.png b/trunk/paradiseo-peo/examples/html/classpeo_e_a.png deleted file mode 100755 index e3384cb44..000000000 Binary files a/trunk/paradiseo-peo/examples/html/classpeo_e_a.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/classpeo_no_agg_eval_func-members.html b/trunk/paradiseo-peo/examples/html/classpeo_no_agg_eval_func-members.html deleted file mode 100755 index 6a6836251..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_no_agg_eval_func-members.html +++ /dev/null @@ -1,38 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

peoNoAggEvalFunc< EOT > Member List

This is the complete list of members for peoNoAggEvalFunc< EOT >, including all inherited members.

- -
operator()(EOT &__sol, const typename EOT::Fitness &__fit)peoNoAggEvalFunc< EOT >


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_no_agg_eval_func.html b/trunk/paradiseo-peo/examples/html/classpeo_no_agg_eval_func.html deleted file mode 100755 index 7c4c2be11..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_no_agg_eval_func.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO: peoNoAggEvalFunc< EOT > Class Template Reference - - - - -
-
-
-
-

peoNoAggEvalFunc< EOT > Class Template Reference

The peoNoAggEvalFunc class does nothing more than an association between a fitness value and a specified individual. -More... -

-#include <peoNoAggEvalFunc.h> -

-

Inheritance diagram for peoNoAggEvalFunc< EOT >: -

- -peoAggEvalFunc< EOT > - -List of all members. - - - - - -

Public Member Functions

-void operator() (EOT &__sol, const typename EOT::Fitness &__fit)
 Operator which sets as fitness the __fit value for the __sol individual.
-

Detailed Description

-

template<class EOT>
- class peoNoAggEvalFunc< EOT >

- -The peoNoAggEvalFunc class does nothing more than an association between a fitness value and a specified individual. -

-The class is provided as a mean of declaring that no aggregation is required for the evaluation function - the fitness value is explicitly specified. -

- -

-Definition at line 34 of file peoNoAggEvalFunc.h.


The documentation for this class was generated from the following file: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_no_agg_eval_func.png b/trunk/paradiseo-peo/examples/html/classpeo_no_agg_eval_func.png deleted file mode 100755 index 0db69caaa..000000000 Binary files a/trunk/paradiseo-peo/examples/html/classpeo_no_agg_eval_func.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/classpeo_para_pop_eval-members.html b/trunk/paradiseo-peo/examples/html/classpeo_para_pop_eval-members.html deleted file mode 100755 index f3e5cf696..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_para_pop_eval-members.html +++ /dev/null @@ -1,73 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

peoParaPopEval< EOT > Member List

This is the complete list of members for peoParaPopEval< EOT >, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ad_solpeoParaPopEval< EOT > [private]
Communicable()Communicable
execute()peoParaPopEval< EOT > [virtual]
funcspeoParaPopEval< EOT > [private]
getKey()Communicable
getOwner()Service
keyCommunicable [protected]
lock()Communicable
merge_evalpeoParaPopEval< EOT > [private]
no_merge_evalpeoParaPopEval< EOT > [private]
notifySendingAllResourceRequests()peoParaPopEval< EOT > [virtual]
notifySendingData()peoParaPopEval< EOT > [virtual]
notifySendingResourceRequest()Service [virtual]
num_commCommunicable [protected, static]
num_funcpeoParaPopEval< EOT > [private]
one_funcpeoParaPopEval< EOT > [private]
operator()(eoPop< EOT > &__pop)peoParaPopEval< EOT > [virtual]
packData()peoParaPopEval< EOT > [virtual]
packResourceRequest()Service
packResult()peoParaPopEval< EOT > [virtual]
peoParaPopEval(eoEvalFunc< EOT > &__eval_func)peoParaPopEval< EOT >
peoParaPopEval(const std::vector< eoEvalFunc< EOT > * > &__funcs, peoAggEvalFunc< EOT > &__merge_eval)peoParaPopEval< EOT >
progressionpeoParaPopEval< EOT > [private]
requestResourceRequest(unsigned __how_many=1)Service
resume()Communicable
sem_lockCommunicable [protected]
sem_stopCommunicable [protected]
setOwner(Thread &__owner)Service
solpeoParaPopEval< EOT > [private]
stop()Communicable
taskspeoParaPopEval< EOT > [private]
totalpeoParaPopEval< EOT > [private]
unlock()Communicable
unpackData()peoParaPopEval< EOT > [virtual]
unpackResult()peoParaPopEval< EOT > [virtual]
~Communicable()Communicable [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_para_pop_eval.html b/trunk/paradiseo-peo/examples/html/classpeo_para_pop_eval.html deleted file mode 100755 index 379199718..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_para_pop_eval.html +++ /dev/null @@ -1,411 +0,0 @@ - - -ParadisEO: peoParaPopEval< EOT > Class Template Reference - - - - -
-
-
-
-

peoParaPopEval< EOT > Class Template Reference

The peoParaPopEval represents a wrapper for creating a functor capable of applying in parallel an EO-derived evaluation functor. -More... -

-#include <peoParaPopEval.h> -

-

Inheritance diagram for peoParaPopEval< EOT >: -

- -peoPopEval< EOT > -Service -Communicable - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 peoParaPopEval (eoEvalFunc< EOT > &__eval_func)
 Constructor function - an EO-derived evaluation functor has to be specified; an internal reference is set towards the specified evaluation functor.
 peoParaPopEval (const std::vector< eoEvalFunc< EOT > * > &__funcs, peoAggEvalFunc< EOT > &__merge_eval)
 Constructor function - a vector of EO-derived evaluation functors has to be specified as well as an aggregation function.
void operator() (eoPop< EOT > &__pop)
 Operator for applying the evaluation functor (direct or aggregate) for each individual of the specified population.
void packData ()
 Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase.
void unpackData ()
 Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase.
-void execute ()
 Auxiliary function - it calls the specified evaluation functor(s). There is no need to explicitly call the function.
void packResult ()
 Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase.
void unpackResult ()
 Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase.
void notifySendingData ()
 Auxiliary function for notifications between the process requesting an evaluation operation and the processes that performs the actual evaluation phase.
void notifySendingAllResourceRequests ()
 Auxiliary function for notifications between the process requesting an evaluation operation and the processes that performs the actual evaluation phase.

Private Attributes

-const std::vector< eoEvalFunc<
- EOT > * > & 
funcs
-std::vector< eoEvalFunc< EOT > * > one_func
-peoAggEvalFunc< EOT > & merge_eval
-peoNoAggEvalFunc< EOT > no_merge_eval
-std::queue< EOT * > tasks
-std::map< EOT *, std::pair<
- unsigned, unsigned > > 
progression
-unsigned num_func
-EOT sol
-EOT * ad_sol
-unsigned total
-

Detailed Description

-

template<class EOT>
- class peoParaPopEval< EOT >

- -The peoParaPopEval represents a wrapper for creating a functor capable of applying in parallel an EO-derived evaluation functor. -

-The class offers the possibility of chosing between a single-function evaluation and an aggregate evaluation function, including several sub-evalution functions. -

- -

-Definition at line 41 of file peoParaPopEval.h.


Constructor & Destructor Documentation

- -
-
-
-template<class EOT>
- - - - - - - - - -
peoParaPopEval< EOT >::peoParaPopEval (eoEvalFunc< EOT > &  __eval_func  ) 
-
-
- -

-Constructor function - an EO-derived evaluation functor has to be specified; an internal reference is set towards the specified evaluation functor. -

-

Parameters:
- - -
eoEvalFunc< EOT >& __eval_func - EO-derived evaluation functor to be applied in parallel on each individual of a specified population
-
- -

-Definition at line 117 of file peoParaPopEval.h. -

-References peoParaPopEval< EOT >::one_func. -

-

- -

-
-
-template<class EOT>
- - - - - - - - - - - - - - - - - - -
peoParaPopEval< EOT >::peoParaPopEval (const std::vector< eoEvalFunc< EOT > * > &  __funcs,
peoAggEvalFunc< EOT > &  __merge_eval 
)
-
-
- -

-Constructor function - a vector of EO-derived evaluation functors has to be specified as well as an aggregation function. -

-

Parameters:
- - - -
const std :: vector< eoEvalFunc < EOT >* >& __funcs - vector of EO-derived partial evaluation functors;
peoAggEvalFunc< EOT >& __merge_eval - aggregation functor for creating a fitness value out of the partial fitness values.
-
- -

-Definition at line 126 of file peoParaPopEval.h. -

-

-


Member Function Documentation

- -
-
-
-template<class EOT>
- - - - - - - - - -
void peoParaPopEval< EOT >::operator() (eoPop< EOT > &  __pop  )  [virtual]
-
-
- -

-Operator for applying the evaluation functor (direct or aggregate) for each individual of the specified population. -

-

Parameters:
- - -
eoPop< EOT >& __pop - population to be evaluated by applying the evaluation functor specified in the constructor.
-
- -

-Implements peoPopEval< EOT >. -

-Definition at line 137 of file peoParaPopEval.h. -

-References peoParaPopEval< EOT >::funcs, peoParaPopEval< EOT >::progression, Service::requestResourceRequest(), Communicable::stop(), peoParaPopEval< EOT >::tasks, and peoParaPopEval< EOT >::total. -

-

- -

-
-
-template<class EOT>
- - - - - - - - -
void peoParaPopEval< EOT >::packData (  )  [virtual]
-
-
- -

-Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. -

-There is no need to explicitly call the function. -

-Reimplemented from Service. -

-Definition at line 158 of file peoParaPopEval.h. -

-References peoParaPopEval< EOT >::progression, and peoParaPopEval< EOT >::tasks. -

-

- -

-
-
-template<class EOT>
- - - - - - - - -
void peoParaPopEval< EOT >::unpackData (  )  [virtual]
-
-
- -

-Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. -

-There is no need to explicitly call the function. -

-Reimplemented from Service. -

-Definition at line 172 of file peoParaPopEval.h. -

-References peoParaPopEval< EOT >::ad_sol, peoParaPopEval< EOT >::num_func, and peoParaPopEval< EOT >::sol. -

-

- -

-
-
-template<class EOT>
- - - - - - - - -
void peoParaPopEval< EOT >::packResult (  )  [virtual]
-
-
- -

-Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. -

-There is no need to explicitly call the function. -

-Reimplemented from Service. -

-Definition at line 189 of file peoParaPopEval.h. -

-References peoParaPopEval< EOT >::ad_sol, and peoParaPopEval< EOT >::sol. -

-

- -

-
-
-template<class EOT>
- - - - - - - - -
void peoParaPopEval< EOT >::unpackResult (  )  [virtual]
-
-
- -

-Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. -

-There is no need to explicitly call the function. -

-Reimplemented from Service. -

-Definition at line 198 of file peoParaPopEval.h. -

-References peoParaPopEval< EOT >::ad_sol, Service::getOwner(), peoParaPopEval< EOT >::merge_eval, peoParaPopEval< EOT >::progression, Communicable::resume(), Thread::setActive(), and peoParaPopEval< EOT >::total. -

-

- -

-
-
-template<class EOT>
- - - - - - - - -
void peoParaPopEval< EOT >::notifySendingData (  )  [virtual]
-
-
- -

-Auxiliary function for notifications between the process requesting an evaluation operation and the processes that performs the actual evaluation phase. -

-There is no need to explicitly call the function. -

-Reimplemented from Service. -

-Definition at line 229 of file peoParaPopEval.h. -

-

- -

-
-
-template<class EOT>
- - - - - - - - -
void peoParaPopEval< EOT >::notifySendingAllResourceRequests (  )  [virtual]
-
-
- -

-Auxiliary function for notifications between the process requesting an evaluation operation and the processes that performs the actual evaluation phase. -

-There is no need to explicitly call the function. -

-Reimplemented from Service. -

-Definition at line 234 of file peoParaPopEval.h. -

-References Service::getOwner(), and Thread::setPassive(). -

-

-


The documentation for this class was generated from the following file: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_para_pop_eval.png b/trunk/paradiseo-peo/examples/html/classpeo_para_pop_eval.png deleted file mode 100755 index 3ddb39223..000000000 Binary files a/trunk/paradiseo-peo/examples/html/classpeo_para_pop_eval.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/classpeo_para_s_g_a_transform-members.html b/trunk/paradiseo-peo/examples/html/classpeo_para_s_g_a_transform-members.html deleted file mode 100755 index 221718c2d..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_para_s_g_a_transform-members.html +++ /dev/null @@ -1,71 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

peoParaSGATransform< EOT > Member List

This is the complete list of members for peoParaSGATransform< EOT >, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Communicable()Communicable
crosspeoParaSGATransform< EOT > [private]
cross_ratepeoParaSGATransform< EOT > [private]
execute()peoParaSGATransform< EOT > [virtual]
fatherpeoParaSGATransform< EOT > [private]
getKey()Communicable
getOwner()Service
idxpeoParaSGATransform< EOT > [private]
keyCommunicable [protected]
lock()Communicable
motherpeoParaSGATransform< EOT > [private]
mutpeoParaSGATransform< EOT > [private]
mut_ratepeoParaSGATransform< EOT > [private]
notifySendingAllResourceRequests()peoParaSGATransform< EOT > [virtual]
notifySendingData()peoParaSGATransform< EOT > [virtual]
notifySendingResourceRequest()Service [virtual]
num_commCommunicable [protected, static]
num_termpeoParaSGATransform< EOT > [private]
operator()(eoPop< EOT > &__pop)peoParaSGATransform< EOT >
packData()peoParaSGATransform< EOT > [virtual]
packResourceRequest()Service
packResult()peoParaSGATransform< EOT > [virtual]
peoParaSGATransform(eoQuadOp< EOT > &__cross, double __cross_rate, eoMonOp< EOT > &__mut, double __mut_rate)peoParaSGATransform< EOT >
poppeoParaSGATransform< EOT > [private]
requestResourceRequest(unsigned __how_many=1)Service
resume()Communicable
sem_lockCommunicable [protected]
sem_stopCommunicable [protected]
setOwner(Thread &__owner)Service
stop()Communicable
unlock()Communicable
unpackData()peoParaSGATransform< EOT > [virtual]
unpackResult()peoParaSGATransform< EOT > [virtual]
~Communicable()Communicable [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_para_s_g_a_transform.html b/trunk/paradiseo-peo/examples/html/classpeo_para_s_g_a_transform.html deleted file mode 100755 index 87eac2080..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_para_s_g_a_transform.html +++ /dev/null @@ -1,112 +0,0 @@ - - -ParadisEO: peoParaSGATransform< EOT > Class Template Reference - - - - -
-
-
-
-

peoParaSGATransform< EOT > Class Template Reference

Inheritance diagram for peoParaSGATransform< EOT >: -

- -peoTransform< EOT > -Service -Communicable - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

peoParaSGATransform (eoQuadOp< EOT > &__cross, double __cross_rate, eoMonOp< EOT > &__mut, double __mut_rate)
-void operator() (eoPop< EOT > &__pop)
-void packData ()
-void unpackData ()
-void execute ()
-void packResult ()
-void unpackResult ()
-void notifySendingData ()
-void notifySendingAllResourceRequests ()

Private Attributes

-eoQuadOp< EOT > & cross
-double cross_rate
-eoMonOp< EOT > & mut
-double mut_rate
-unsigned idx
-eoPop< EOT > * pop
-EOT father
-EOT mother
-unsigned num_term
-

Detailed Description

-

template<class EOT>
- class peoParaSGATransform< EOT >

- - -

- -

-Definition at line 36 of file peoParaSGATransform.h.


The documentation for this class was generated from the following file: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_para_s_g_a_transform.png b/trunk/paradiseo-peo/examples/html/classpeo_para_s_g_a_transform.png deleted file mode 100755 index 95dfd1232..000000000 Binary files a/trunk/paradiseo-peo/examples/html/classpeo_para_s_g_a_transform.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/classpeo_pop_eval-members.html b/trunk/paradiseo-peo/examples/html/classpeo_pop_eval-members.html deleted file mode 100755 index a4120ced4..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_pop_eval-members.html +++ /dev/null @@ -1,61 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

peoPopEval< EOT > Member List

This is the complete list of members for peoPopEval< EOT >, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - -
Communicable()Communicable
execute()Service [virtual]
getKey()Communicable
getOwner()Service
keyCommunicable [protected]
lock()Communicable
notifySendingAllResourceRequests()Service [virtual]
notifySendingData()Service [virtual]
notifySendingResourceRequest()Service [virtual]
num_commCommunicable [protected, static]
operator()(eoPop< EOT > &__pop)=0peoPopEval< EOT > [pure virtual]
packData()Service [virtual]
packResourceRequest()Service
packResult()Service [virtual]
requestResourceRequest(unsigned __how_many=1)Service
resume()Communicable
sem_lockCommunicable [protected]
sem_stopCommunicable [protected]
setOwner(Thread &__owner)Service
stop()Communicable
unlock()Communicable
unpackData()Service [virtual]
unpackResult()Service [virtual]
~Communicable()Communicable [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_pop_eval.html b/trunk/paradiseo-peo/examples/html/classpeo_pop_eval.html deleted file mode 100755 index b65ac7d33..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_pop_eval.html +++ /dev/null @@ -1,69 +0,0 @@ - - -ParadisEO: peoPopEval< EOT > Class Template Reference - - - - -
-
-
-
-

peoPopEval< EOT > Class Template Reference

The peoPopEval class provides the interface for constructing ParadisEO specific evaluation functors. -More... -

-#include <peoPopEval.h> -

-

Inheritance diagram for peoPopEval< EOT >: -

- -Service -Communicable -peoParaPopEval< EOT > -peoSeqPopEval< EOT > - -List of all members. - - - - - -

Public Member Functions

-virtual void operator() (eoPop< EOT > &__pop)=0
 Interface function providing the signature for constructing an evaluation functor.
-

Detailed Description

-

template<class EOT>
- class peoPopEval< EOT >

- -The peoPopEval class provides the interface for constructing ParadisEO specific evaluation functors. -

-The derived classes may be used as wrappers for EO-derived evaluation functors. In order to have an example, please refer to the implementation of the peoSeqPopEval and peoParaPopEval classes. -

- -

-Definition at line 34 of file peoPopEval.h.


The documentation for this class was generated from the following file: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_pop_eval.png b/trunk/paradiseo-peo/examples/html/classpeo_pop_eval.png deleted file mode 100755 index 100bbb770..000000000 Binary files a/trunk/paradiseo-peo/examples/html/classpeo_pop_eval.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/classpeo_seq_pop_eval-members.html b/trunk/paradiseo-peo/examples/html/classpeo_seq_pop_eval-members.html deleted file mode 100755 index 4b02151e3..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_seq_pop_eval-members.html +++ /dev/null @@ -1,63 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

peoSeqPopEval< EOT > Member List

This is the complete list of members for peoSeqPopEval< EOT >, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - -
Communicable()Communicable
evalpeoSeqPopEval< EOT > [private]
execute()Service [virtual]
getKey()Communicable
getOwner()Service
keyCommunicable [protected]
lock()Communicable
notifySendingAllResourceRequests()Service [virtual]
notifySendingData()Service [virtual]
notifySendingResourceRequest()Service [virtual]
num_commCommunicable [protected, static]
operator()(eoPop< EOT > &__pop)peoSeqPopEval< EOT > [virtual]
packData()Service [virtual]
packResourceRequest()Service
packResult()Service [virtual]
peoSeqPopEval(eoEvalFunc< EOT > &__eval)peoSeqPopEval< EOT >
requestResourceRequest(unsigned __how_many=1)Service
resume()Communicable
sem_lockCommunicable [protected]
sem_stopCommunicable [protected]
setOwner(Thread &__owner)Service
stop()Communicable
unlock()Communicable
unpackData()Service [virtual]
unpackResult()Service [virtual]
~Communicable()Communicable [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_seq_pop_eval.html b/trunk/paradiseo-peo/examples/html/classpeo_seq_pop_eval.html deleted file mode 100755 index f3fe2cdbb..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_seq_pop_eval.html +++ /dev/null @@ -1,142 +0,0 @@ - - -ParadisEO: peoSeqPopEval< EOT > Class Template Reference - - - - -
-
-
-
-

peoSeqPopEval< EOT > Class Template Reference

The peoSeqPopEval class acts only as a ParadisEO specific sequential evaluation functor - a wrapper for incorporating an eoEvalFunc< EOT >-derived class as evaluation functor. -More... -

-#include <peoSeqPopEval.h> -

-

Inheritance diagram for peoSeqPopEval< EOT >: -

- -peoPopEval< EOT > -Service -Communicable - -List of all members. - - - - - - - - - - - -

Public Member Functions

 peoSeqPopEval (eoEvalFunc< EOT > &__eval)
 Constructor function - it only sets an internal reference to point to the specified evaluation object.
void operator() (eoPop< EOT > &__pop)
 Operator for evaluating all the individuals of a given population - in a sequential iterative manner.

Private Attributes

-eoEvalFunc< EOT > & eval
-

Detailed Description

-

template<class EOT>
- class peoSeqPopEval< EOT >

- -The peoSeqPopEval class acts only as a ParadisEO specific sequential evaluation functor - a wrapper for incorporating an eoEvalFunc< EOT >-derived class as evaluation functor. -

-The specified EO evaluation object is applyied in an iterative manner to each individual of a specified population. -

- -

-Definition at line 36 of file peoSeqPopEval.h.


Constructor & Destructor Documentation

- -
-
-
-template<class EOT>
- - - - - - - - - -
peoSeqPopEval< EOT >::peoSeqPopEval (eoEvalFunc< EOT > &  __eval  ) 
-
-
- -

-Constructor function - it only sets an internal reference to point to the specified evaluation object. -

-

Parameters:
- - -
eoEvalFunc< EOT >& __eval - evaluation object to be applied for each individual of a specified population
-
- -

-Definition at line 56 of file peoSeqPopEval.h. -

-

-


Member Function Documentation

- -
-
-
-template<class EOT>
- - - - - - - - - -
void peoSeqPopEval< EOT >::operator() (eoPop< EOT > &  __pop  )  [virtual]
-
-
- -

-Operator for evaluating all the individuals of a given population - in a sequential iterative manner. -

-

Parameters:
- - -
eoPop< EOT >& __pop - population to be evaluated.
-
- -

-Implements peoPopEval< EOT >. -

-Definition at line 61 of file peoSeqPopEval.h. -

-References peoSeqPopEval< EOT >::eval. -

-

-


The documentation for this class was generated from the following file: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_seq_pop_eval.png b/trunk/paradiseo-peo/examples/html/classpeo_seq_pop_eval.png deleted file mode 100755 index df2001515..000000000 Binary files a/trunk/paradiseo-peo/examples/html/classpeo_seq_pop_eval.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/classpeo_seq_transform-members.html b/trunk/paradiseo-peo/examples/html/classpeo_seq_transform-members.html deleted file mode 100755 index 9461abf72..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_seq_transform-members.html +++ /dev/null @@ -1,63 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

peoSeqTransform< EOT > Member List

This is the complete list of members for peoSeqTransform< EOT >, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - -
Communicable()Communicable
execute()peoSeqTransform< EOT > [inline, virtual]
getKey()Communicable
getOwner()Service
keyCommunicable [protected]
lock()Communicable
notifySendingAllResourceRequests()Service [virtual]
notifySendingData()Service [virtual]
notifySendingResourceRequest()Service [virtual]
num_commCommunicable [protected, static]
operator()(eoPop< EOT > &__pop)peoSeqTransform< EOT >
packData()peoSeqTransform< EOT > [inline, virtual]
packResourceRequest()Service
packResult()peoSeqTransform< EOT > [inline, virtual]
peoSeqTransform(eoTransform< EOT > &__trans)peoSeqTransform< EOT >
requestResourceRequest(unsigned __how_many=1)Service
resume()Communicable
sem_lockCommunicable [protected]
sem_stopCommunicable [protected]
setOwner(Thread &__owner)Service
stop()Communicable
transpeoSeqTransform< EOT > [private]
unlock()Communicable
unpackData()peoSeqTransform< EOT > [inline, virtual]
unpackResult()peoSeqTransform< EOT > [inline, virtual]
~Communicable()Communicable [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_seq_transform.html b/trunk/paradiseo-peo/examples/html/classpeo_seq_transform.html deleted file mode 100755 index fa22d29ce..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_seq_transform.html +++ /dev/null @@ -1,160 +0,0 @@ - - -ParadisEO: peoSeqTransform< EOT > Class Template Reference - - - - -
-
-
-
-

peoSeqTransform< EOT > Class Template Reference

The peoSeqTransform represent a wrapper for offering the possibility of using EO derived transform operators along with the ParadisEO evolutionary algorithms. -More... -

-#include <peoSeqTransform.h> -

-

Inheritance diagram for peoSeqTransform< EOT >: -

- -peoTransform< EOT > -Service -Communicable - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 peoSeqTransform (eoTransform< EOT > &__trans)
 Constructor function - sets an internal reference towards the specified EO-derived transform object.
void operator() (eoPop< EOT > &__pop)
 Operator for applying the specified transform operators on each individual of the given population.
-virtual void packData ()
 Interface function for providing a link with the parallel architecture of the ParadisEO framework.
-virtual void unpackData ()
 Interface function for providing a link with the parallel architecture of the ParadisEO framework.
-virtual void execute ()
 Interface function for providing a link with the parallel architecture of the ParadisEO framework.
-virtual void packResult ()
 Interface function for providing a link with the parallel architecture of the ParadisEO framework.
-virtual void unpackResult ()
 Interface function for providing a link with the parallel architecture of the ParadisEO framework.

Private Attributes

-eoTransform< EOT > & trans
-

Detailed Description

-

template<class EOT>
- class peoSeqTransform< EOT >

- -The peoSeqTransform represent a wrapper for offering the possibility of using EO derived transform operators along with the ParadisEO evolutionary algorithms. -

-A minimal set of interface functions is also provided for creating the link with the parallel architecture of the ParadisEO framework. -

- -

-Definition at line 35 of file peoSeqTransform.h.


Constructor & Destructor Documentation

- -
-
-
-template<class EOT>
- - - - - - - - - -
peoSeqTransform< EOT >::peoSeqTransform (eoTransform< EOT > &  __trans  ) 
-
-
- -

-Constructor function - sets an internal reference towards the specified EO-derived transform object. -

-

Parameters:
- - -
eoTransform< EOT >& __trans - EO-derived transform object including crossover and mutation operators.
-
- -

-Definition at line 70 of file peoSeqTransform.h. -

-

-


Member Function Documentation

- -
-
-
-template<class EOT>
- - - - - - - - - -
void peoSeqTransform< EOT >::operator() (eoPop< EOT > &  __pop  ) 
-
-
- -

-Operator for applying the specified transform operators on each individual of the given population. -

-

Parameters:
- - -
eoPop< EOT >& __pop - population to be transformed by applying the crossover and mutation operators.
-
- -

-Definition at line 75 of file peoSeqTransform.h. -

-References peoSeqTransform< EOT >::trans. -

-

-


The documentation for this class was generated from the following file: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_seq_transform.png b/trunk/paradiseo-peo/examples/html/classpeo_seq_transform.png deleted file mode 100755 index b2a4c4196..000000000 Binary files a/trunk/paradiseo-peo/examples/html/classpeo_seq_transform.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/classpeo_sync_island_mig-members.html b/trunk/paradiseo-peo/examples/html/classpeo_sync_island_mig-members.html deleted file mode 100755 index c78bbe237..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_sync_island_mig-members.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

peoSyncIslandMig< EOT > Member List

This is the complete list of members for peoSyncIslandMig< EOT >, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Communicable()Communicable
contpeoSyncIslandMig< EOT > [private]
coop_empeoSyncIslandMig< EOT > [private]
destinationpeoSyncIslandMig< EOT > [private]
empeoSyncIslandMig< EOT > [private]
emigrate()peoSyncIslandMig< EOT > [private]
getKey()Communicable
getOwner()Cooperative
immpeoSyncIslandMig< EOT > [private]
immigrate()peoSyncIslandMig< EOT > [private]
keyCommunicable [protected]
lock()Communicable
notifySending()peoSyncIslandMig< EOT > [virtual]
num_commCommunicable [protected, static]
operator()()peoSyncIslandMig< EOT >
pack()peoSyncIslandMig< EOT > [virtual]
peoSyncIslandMig(unsigned __frequency, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination)peoSyncIslandMig< EOT >
replacepeoSyncIslandMig< EOT > [private]
resume()Communicable
selectpeoSyncIslandMig< EOT > [private]
sem_lockCommunicable [protected]
sem_stopCommunicable [protected]
send(Cooperative *__coop)Cooperative
setOwner(Runner &__runner)Cooperative
sourcepeoSyncIslandMig< EOT > [private]
stop()Communicable
syncpeoSyncIslandMig< EOT > [private]
topologypeoSyncIslandMig< EOT > [private]
unlock()Communicable
unpack()peoSyncIslandMig< EOT > [virtual]
~Communicable()Communicable [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_sync_island_mig.html b/trunk/paradiseo-peo/examples/html/classpeo_sync_island_mig.html deleted file mode 100755 index 0a31c4d0d..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_sync_island_mig.html +++ /dev/null @@ -1,305 +0,0 @@ - - -ParadisEO: peoSyncIslandMig< EOT > Class Template Reference - - - - -
-
-
-
-

peoSyncIslandMig< EOT > Class Template Reference

The peoSyncIslandMig class offers the elementary basis for implementating a synchronous island migration model - requires the specification of several basic parameters, i.e. -More... -

-#include <peoSyncIslandMig.h> -

-

Inheritance diagram for peoSyncIslandMig< EOT >: -

- -Cooperative -Communicable - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 peoSyncIslandMig (unsigned __frequency, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, Topology &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination)
 Constructor for the peoSyncIslandMig class; the characteristics of the migration model are defined through the specified parameters - out of the box objects provided in EO, etc., or custom, derived objects may be passed as parameters.
void operator() ()
 Function operator to be called as checkpoint for performing the migration step.
-void pack ()
 Auxiliary function dealing with sending the emigrant individuals. There is no need to explicitly call the function.
-void unpack ()
 Auxiliary function dealing with receiving immigrant individuals. There is no need to explicitly call the function.
-void notifySending ()
 Auxiliary function dealing with migration notifications. There is no need to explicitly call the function.

Private Member Functions

-void emigrate ()
-void immigrate ()

Private Attributes

-eoPeriodicContinue< EOT > cont
-eoSelect< EOT > & select
-eoReplacement< EOT > & replace
-Topologytopology
-eoPop< EOT > & source
-eoPop< EOT > & destination
-std::queue< eoPop< EOT > > imm
-std::queue< eoPop< EOT > > em
-std::queue< Cooperative * > coop_em
-sem_t sync
-

Detailed Description

-

template<class EOT>
- class peoSyncIslandMig< EOT >

- -The peoSyncIslandMig class offers the elementary basis for implementating a synchronous island migration model - requires the specification of several basic parameters, i.e. -

-frequency of the migrations, selection and replacement strategies, a topological model and the source and destination population for the migrating individuals. The main difference as opposed to the asynchronous migration model is the synchronization step performed after selecting and sending the emigrant individuals.

-The migration operator is called at the end of each generation of an evolutionary algorithms as a checkpoint object - the following code exposes the structure of a classic evolutionary algorithm:

- - - - - - - - - - - - - -
do {    
         select( population, offsprings );   // select the offsprings from the current population
         transform( offsprings );   // crossover and mutation operators are applied on the selected offsprings
         evaluate( offsprings );   // evaluation step of the resulting offspring
         replace( population, offsprings );   // replace the individuals in the current population whith individuals from the offspring population, according to a specified replacement strategy
} while ( eaCheckpointContinue( population ) );   // checkpoint operators are applied on the current population, including the migration operator, if any specified
-

-Constructing a synchronous island migration model requires having defined (1) a topological migration model, (2) the control parameters of the migration process, (3) a checkpoint object associated with an evolutionary algorithm, and (4) an owner object must be set. The owner object must be derived from the Runner class (for example a peoEA object represents a possible owner). A simple example is offered bellow:

-

    -
  1. -topological model to be followed when performing migrations:
    -
    - - - -
    RingTopology migTopology;   // a simple ring topological model - each island communicates with two other islands
    -

    -

  2. -
  3. -the continuation criterion, selection and replacement strategy etc. are defined:
    -
    - - - - - - - - - - - - - - - -
    eoPop< EOT > population( POP_SIZE, popInitializer );   // population of individuals to be used for the evolutionary algorithm
       
    eoRandomSelect< EOT > migSelectStrategy;   // selection strategy - in this case a random selection is applied
    eoSelectNumber< EOT > migSelect( migSelectStrategy, MIG_SIZE );   // number of individuals to be selected using the specified strategy
    eoPlusReplacement< EOT > migReplace;   // immigration strategy - the worse individuals in the destination population are replaced by the immigrant individuals
       
    peoSyncIslandMig< EOT > syncMigration(
    -          MIG_FREQ, migSelect, migReplace, migTopology,
    -          population, population
    - );  
    // synchronous migration object - the emigrant individuals are selected from the same from population in which the immigrant individuals are being integrated
    -

    -

  4. -
  5. -creation of a checkpoint object as part of the definition of an evolutionary algoritm (details of th EA not given as being out of scope):
    -
    - - - - - - - - - - - - - -
    ...    
    eoGenContinue< EOT > eaCont( NUM_GEN );   // the evolutionary algorithm will stop after NUM_GEN generations
    eoCheckPoint< EOT > eaCheckpointContinue( eaCont );   // number of individuals to be selected using the specified strategy
    ...    
    eaCheckpointContinue.add( syncMigration );   // adding the migration operator as checkpoint element
    ...    
    -

    -

  6. -
  7. -definition of an owner evolutionary algorithm (an object inheriting the Runner class):
    -
    - - - - - - - -
    peoEA< EOT > eaAlg( eaCheckpointContinue, eaPopEval, eaSelect, eaTransform, eaReplace);   // evolutionary algorithm having as checkpoint the eaCheckpointContinue object defined above
    syncMigration.setOwner( eaAlg );   // setting the evolutionary algorithm as owner of the migration object
    eaAlg( population );   // applying the evolutionary algorithm on a given population
    -
  8. -
-

-The source and the destination population for the migration object were specified as being the same, in step no. 2, as we are usually interested in selecting the emigrants and integrating the immigrant individuals from and in, respectively, one unique population, iteratively evolved by an evolutionary algorithm. There is no restriction in having two distinct populations as source and destination for the emigrant and immigrant individuals respectively.

-The above steps only create a synchronous migration object associated to an evolutionary algorithm. The creation of several islands requires the reiteration of the steps 2 through 4 for creating distinct algorithms, with distinct populations and the associated distinctly parametrized migration objects. The interconnecting element is the underlying topology, defined at step 1 (the same C++ migTopology object has to be passed as parameter for all the migration objects, in order to interconnect them). -

- -

-Definition at line 129 of file peoSyncIslandMig.h.


Constructor & Destructor Documentation

- -
-
-
-template<class EOT>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
peoSyncIslandMig< EOT >::peoSyncIslandMig (unsigned  __frequency,
eoSelect< EOT > &  __select,
eoReplacement< EOT > &  __replace,
Topology __topology,
eoPop< EOT > &  __source,
eoPop< EOT > &  __destination 
)
-
-
- -

-Constructor for the peoSyncIslandMig class; the characteristics of the migration model are defined through the specified parameters - out of the box objects provided in EO, etc., or custom, derived objects may be passed as parameters. -

-

Parameters:
- - - - - - - -
unsigned __frequency - frequency of the migrations - the migrations occur periodically;
eoSelect< EOT >& __select - selection strategy to be applied for constructing a list of emigrant individuals out of the source population;
eoReplacement< EOT >& __replace - replacement strategy used for integrating the immigrant individuals in the destination population;
Topology& __topology - topological model to be followed when performing migrations;
eoPop< EOT >& __source - source population from which the emigrant individuals are selected;
eoPop< EOT >& __destination - destination population in which the immigrant population are integrated.
-
- -

-Definition at line 193 of file peoSyncIslandMig.h. -

-References Topology::add(), and peoSyncIslandMig< EOT >::sync. -

-

-


Member Function Documentation

- -
-
-
-template<class EOT>
- - - - - - - - -
void peoSyncIslandMig< EOT >::operator() (  ) 
-
-
- -

-Function operator to be called as checkpoint for performing the migration step. -

-The emigrant individuals are selected from the source population and sent to the next island (defined by the topology object) while the immigrant individuals are integrated in the destination population. There is no need to explicitly call the function - the wrapper checkpoint object (please refer to the above example) will perform the call when required. -

-Definition at line 267 of file peoSyncIslandMig.h. -

-References peoSyncIslandMig< EOT >::cont, peoSyncIslandMig< EOT >::emigrate(), Cooperative::getOwner(), peoSyncIslandMig< EOT >::immigrate(), Thread::setActive(), peoSyncIslandMig< EOT >::source, Communicable::stop(), and peoSyncIslandMig< EOT >::sync. -

-

-


The documentation for this class was generated from the following file: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_sync_island_mig.png b/trunk/paradiseo-peo/examples/html/classpeo_sync_island_mig.png deleted file mode 100755 index 429ef28d3..000000000 Binary files a/trunk/paradiseo-peo/examples/html/classpeo_sync_island_mig.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/classpeo_sync_multi_start-members.html b/trunk/paradiseo-peo/examples/html/classpeo_sync_multi_start-members.html deleted file mode 100755 index a4d74ce37..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_sync_multi_start-members.html +++ /dev/null @@ -1,72 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

peoSyncMultiStart< EOT > Member List

This is the complete list of members for peoSyncMultiStart< EOT >, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Communicable()Communicable
contpeoSyncMultiStart< EOT > [private]
execute()peoSyncMultiStart< EOT > [virtual]
getKey()Communicable
getOwner()Service
idxpeoSyncMultiStart< EOT > [private]
impr_selpeoSyncMultiStart< EOT > [private]
keyCommunicable [protected]
lock()Communicable
lspeoSyncMultiStart< EOT > [private]
notifySendingAllResourceRequests()peoSyncMultiStart< EOT > [virtual]
notifySendingData()peoSyncMultiStart< EOT > [virtual]
notifySendingResourceRequest()Service [virtual]
num_commCommunicable [protected, static]
num_termpeoSyncMultiStart< EOT > [private]
operator()()peoSyncMultiStart< EOT >
packData()peoSyncMultiStart< EOT > [virtual]
packResourceRequest()Service
packResult()peoSyncMultiStart< EOT > [virtual]
peoSyncMultiStart(eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, moAlgo< EOT > &__ls, eoPop< EOT > &__pop)peoSyncMultiStart< EOT >
poppeoSyncMultiStart< EOT > [private]
replacepeoSyncMultiStart< EOT > [private]
requestResourceRequest(unsigned __how_many=1)Service
resume()Communicable
selpeoSyncMultiStart< EOT > [private]
selectpeoSyncMultiStart< EOT > [private]
sem_lockCommunicable [protected]
sem_stopCommunicable [protected]
setOwner(Thread &__owner)Service
solpeoSyncMultiStart< EOT > [private]
stop()Communicable
unlock()Communicable
unpackData()peoSyncMultiStart< EOT > [virtual]
unpackResult()peoSyncMultiStart< EOT > [virtual]
~Communicable()Communicable [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_sync_multi_start.html b/trunk/paradiseo-peo/examples/html/classpeo_sync_multi_start.html deleted file mode 100755 index 3773e3f69..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_sync_multi_start.html +++ /dev/null @@ -1,413 +0,0 @@ - - -ParadisEO: peoSyncMultiStart< EOT > Class Template Reference - - - - -
-
-
-
-

peoSyncMultiStart< EOT > Class Template Reference

The peoSyncMultiStart class provides the basis for implementing the synchronous multi-start model, for launching several solution-based algorithms in parallel on a specified initial population. -More... -

-#include <peoSyncMultiStart.h> -

-

Inheritance diagram for peoSyncMultiStart< EOT >: -

- -Service -Communicable - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 peoSyncMultiStart (eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, moAlgo< EOT > &__ls, eoPop< EOT > &__pop)
 Constructor function - several simple parameters are required for defining the characteristics of the multi-start model.
void operator() ()
 Operator which synchronously executes the specified algorithm on the individuals selected from the initial population.
void packData ()
 Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm.
void unpackData ()
 Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm.
void execute ()
 Auxiliary function for actually executing the specified algorithm on one assigned individual.
void packResult ()
 Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm.
void unpackResult ()
 Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm.
void notifySendingData ()
 Auxiliary function for notifications between the process requesting the synchronous multi-start execution and the processes that performs the actual execution phase.
void notifySendingAllResourceRequests ()
 Auxiliary function for notifications between the process requesting the synchronous multi-start execution and the processes that performs the actual execution phase.

Private Attributes

-eoContinue< EOT > & cont
-eoSelect< EOT > & select
-eoReplacement< EOT > & replace
-moAlgo< EOT > & ls
-eoPop< EOT > & pop
-eoPop< EOT > sel
-eoPop< EOT > impr_sel
-EOT sol
-unsigned idx
-unsigned num_term
-

Detailed Description

-

template<class EOT>
- class peoSyncMultiStart< EOT >

- -The peoSyncMultiStart class provides the basis for implementing the synchronous multi-start model, for launching several solution-based algorithms in parallel on a specified initial population. -

-As a simple example, several hill climbing algorithms may be synchronously launched on the specified population, each algorithm acting upon one individual only, the final result being integrated back in the population. A peoSyncMultiStart object can be specified as checkpoint object for a classic ParadisEO evolutionary algorithm thus allowing for simple hybridization schemes which combine the evolutionary approach with a local search approach, for example, executed at the end of each generation. -

- -

-Definition at line 51 of file peoSyncMultiStart.h.


Constructor & Destructor Documentation

- -
-
-
-template<class EOT>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
peoSyncMultiStart< EOT >::peoSyncMultiStart (eoContinue< EOT > &  __cont,
eoSelect< EOT > &  __select,
eoReplacement< EOT > &  __replace,
moAlgo< EOT > &  __ls,
eoPop< EOT > &  __pop 
)
-
-
- -

-Constructor function - several simple parameters are required for defining the characteristics of the multi-start model. -

-

Parameters:
- - - - - - -
eoContinue< EOT >& __cont - defined for including further functionality - no semantics associated at this time;
eoSelect< EOT >& __select - selection strategy for obtaining a subset of the initial population on which to apply the specified algorithm;
eoReplacement< EOT >& __replace - replacement strategy for integrating the resulting individuals in the initial population;
moAlgo< EOT >& __ls - algorithm to be applied on each of the selected individuals - a moAlgo< EOT >-derived object must be specified;
eoPop< EOT >& __pop - the initial population from which the individuals are selected for applying the specified algorithm.
-
- -

-Definition at line 121 of file peoSyncMultiStart.h. -

-

-


Member Function Documentation

- -
-
-
-template<class EOT>
- - - - - - - - -
void peoSyncMultiStart< EOT >::operator() (  ) 
-
-
- -

-Operator which synchronously executes the specified algorithm on the individuals selected from the initial population. -

-There is no need to explicitly call the operator - automatically called as checkpoint operator. -

-Definition at line 176 of file peoSyncMultiStart.h. -

-References peoSyncMultiStart< EOT >::idx, peoSyncMultiStart< EOT >::impr_sel, peoSyncMultiStart< EOT >::num_term, peoSyncMultiStart< EOT >::pop, Service::requestResourceRequest(), peoSyncMultiStart< EOT >::sel, peoSyncMultiStart< EOT >::select, and Communicable::stop(). -

-

- -

-
-
-template<class EOT>
- - - - - - - - -
void peoSyncMultiStart< EOT >::packData (  )  [virtual]
-
-
- -

-Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. -

-There is no need to explicitly call the function. -

-Reimplemented from Service. -

-Definition at line 135 of file peoSyncMultiStart.h. -

-References peoSyncMultiStart< EOT >::idx, and peoSyncMultiStart< EOT >::sel. -

-

- -

-
-
-template<class EOT>
- - - - - - - - -
void peoSyncMultiStart< EOT >::unpackData (  )  [virtual]
-
-
- -

-Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. -

-There is no need to explicitly call the function. -

-Reimplemented from Service. -

-Definition at line 141 of file peoSyncMultiStart.h. -

-References peoSyncMultiStart< EOT >::sol. -

-

- -

-
-
-template<class EOT>
- - - - - - - - -
void peoSyncMultiStart< EOT >::execute (  )  [virtual]
-
-
- -

-Auxiliary function for actually executing the specified algorithm on one assigned individual. -

-There is no need to explicitly call the function. -

-Reimplemented from Service. -

-Definition at line 147 of file peoSyncMultiStart.h. -

-References peoSyncMultiStart< EOT >::ls, and peoSyncMultiStart< EOT >::sol. -

-

- -

-
-
-template<class EOT>
- - - - - - - - -
void peoSyncMultiStart< EOT >::packResult (  )  [virtual]
-
-
- -

-Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. -

-There is no need to explicitly call the function. -

-Reimplemented from Service. -

-Definition at line 153 of file peoSyncMultiStart.h. -

-References peoSyncMultiStart< EOT >::sol. -

-

- -

-
-
-template<class EOT>
- - - - - - - - -
void peoSyncMultiStart< EOT >::unpackResult (  )  [virtual]
-
-
- -

-Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. -

-There is no need to explicitly call the function. -

-Reimplemented from Service. -

-Definition at line 159 of file peoSyncMultiStart.h. -

-References Service::getOwner(), peoSyncMultiStart< EOT >::impr_sel, peoSyncMultiStart< EOT >::num_term, peoSyncMultiStart< EOT >::pop, peoSyncMultiStart< EOT >::replace, Communicable::resume(), peoSyncMultiStart< EOT >::sel, Thread::setActive(), and peoSyncMultiStart< EOT >::sol. -

-

- -

-
-
-template<class EOT>
- - - - - - - - -
void peoSyncMultiStart< EOT >::notifySendingData (  )  [virtual]
-
-
- -

-Auxiliary function for notifications between the process requesting the synchronous multi-start execution and the processes that performs the actual execution phase. -

-There is no need to explicitly call the function. -

-Reimplemented from Service. -

-Definition at line 187 of file peoSyncMultiStart.h. -

-

- -

-
-
-template<class EOT>
- - - - - - - - -
void peoSyncMultiStart< EOT >::notifySendingAllResourceRequests (  )  [virtual]
-
-
- -

-Auxiliary function for notifications between the process requesting the synchronous multi-start execution and the processes that performs the actual execution phase. -

-There is no need to explicitly call the function. -

-Reimplemented from Service. -

-Definition at line 192 of file peoSyncMultiStart.h. -

-References Service::getOwner(), and Thread::setPassive(). -

-

-


The documentation for this class was generated from the following file: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_sync_multi_start.png b/trunk/paradiseo-peo/examples/html/classpeo_sync_multi_start.png deleted file mode 100755 index 0818b68a6..000000000 Binary files a/trunk/paradiseo-peo/examples/html/classpeo_sync_multi_start.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/classpeo_transform-members.html b/trunk/paradiseo-peo/examples/html/classpeo_transform-members.html deleted file mode 100755 index 76ce3ea85..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_transform-members.html +++ /dev/null @@ -1,60 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
-
-
-

peoTransform< EOT > Member List

This is the complete list of members for peoTransform< EOT >, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - -
Communicable()Communicable
execute()Service [virtual]
getKey()Communicable
getOwner()Service
keyCommunicable [protected]
lock()Communicable
notifySendingAllResourceRequests()Service [virtual]
notifySendingData()Service [virtual]
notifySendingResourceRequest()Service [virtual]
num_commCommunicable [protected, static]
packData()Service [virtual]
packResourceRequest()Service
packResult()Service [virtual]
requestResourceRequest(unsigned __how_many=1)Service
resume()Communicable
sem_lockCommunicable [protected]
sem_stopCommunicable [protected]
setOwner(Thread &__owner)Service
stop()Communicable
unlock()Communicable
unpackData()Service [virtual]
unpackResult()Service [virtual]
~Communicable()Communicable [virtual]


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_transform.html b/trunk/paradiseo-peo/examples/html/classpeo_transform.html deleted file mode 100755 index 363cbd4e6..000000000 --- a/trunk/paradiseo-peo/examples/html/classpeo_transform.html +++ /dev/null @@ -1,62 +0,0 @@ - - -ParadisEO: peoTransform< EOT > Class Template Reference - - - - -
-
-
-
-

peoTransform< EOT > Class Template Reference

The peoTransform class acts only as an interface for creating transform operators - for an example please refer to the peoSeqTransform and the peoParaSGATransform classes. -More... -

-#include <peoTransform.h> -

-

Inheritance diagram for peoTransform< EOT >: -

- -Service -Communicable -peoParaSGATransform< EOT > -peoSeqTransform< EOT > - -List of all members. - -
-

Detailed Description

-

template<class EOT>
- class peoTransform< EOT >

- -The peoTransform class acts only as an interface for creating transform operators - for an example please refer to the peoSeqTransform and the peoParaSGATransform classes. -

- -

-Definition at line 35 of file peoTransform.h.


The documentation for this class was generated from the following file: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/classpeo_transform.png b/trunk/paradiseo-peo/examples/html/classpeo_transform.png deleted file mode 100755 index 72482d929..000000000 Binary files a/trunk/paradiseo-peo/examples/html/classpeo_transform.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/comm_8cpp-source.html b/trunk/paradiseo-peo/examples/html/comm_8cpp-source.html deleted file mode 100755 index e6b1ec707..000000000 --- a/trunk/paradiseo-peo/examples/html/comm_8cpp-source.html +++ /dev/null @@ -1,111 +0,0 @@ - - -ParadisEO: comm.cpp Source File - - - - -
-
-

comm.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "comm.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 
-00025 #include <mpi.h>
-00026 
-00027 #include "comm.h"
-00028 #include "mess.h"
-00029 #include "node.h"
-00030 #include "param.h"
-00031 #include "../../core/peo_debug.h"
-00032 #include "../../core/runner.h"
-00033 #include "send.h"
-00034 #include "recv.h"
-00035 #include "scheduler.h"
-00036 
-00037 static sem_t sem_comm_init;
-00038 
-00039 static Communicator * the_thread;
-00040 
-00041 Communicator :: Communicator (int * __argc, char * * * __argv) {
-00042 
-00043   the_thread = this;  
-00044   initNode  (__argc, __argv);
-00045   loadRMCParameters (* __argc, * __argv);  
-00046   sem_post (& sem_comm_init);
-00047 }
-00048 
-00049 void Communicator :: start () {
-00050 
-00051   while (true) {
-00052     
-00053     /* Zzz Zzz Zzz :-))) */
-00054     sleep ();
-00055     sendMessages ();
-00056 
-00057     if (! atLeastOneActiveRunner ())     
-00058       break;
-00059     receiveMessages ();    
-00060   }
-00061   waitBuffers ();  
-00062   printDebugMessage ("finalizing");
-00063   MPI_Finalize ();  
-00064 }
-00065 
-00066 void initCommunication () {
-00067 
-00068   sem_init (& sem_comm_init, 0, 0);
-00069 }
-00070 
-00071 void waitNodeInitialization () {
-00072 
-00073   sem_wait (& sem_comm_init);
-00074 }
-00075 
-00076 void wakeUpCommunicator () {
-00077 
-00078   the_thread -> wakeUp ();
-00079 }
-00080 
-00081 
-00082 
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/comm_8h-source.html b/trunk/paradiseo-peo/examples/html/comm_8h-source.html deleted file mode 100755 index d6bb9735e..000000000 --- a/trunk/paradiseo-peo/examples/html/comm_8h-source.html +++ /dev/null @@ -1,75 +0,0 @@ - - -ParadisEO: comm.h Source File - - - - -
-
-

comm.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "comm.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __comm_mpi_h
-00025 #define __comm_mpi_h
-00026 
-00027 #include "../../core/communicable.h"
-00028 #include "../../core/reac_thread.h"
-00029 
-00030 class Communicator : public ReactiveThread {
-00031 
-00032 public :
-00033   
-00034   /* Ctor */
-00035   Communicator (int * __argc, char * * * __argv);
-00036 
-00037   void start ();
-00038 };
-00039 
-00040 extern void initCommunication ();
-00041 
-00042 extern void waitNodeInitialization ();
-00043 
-00044 extern void wakeUpCommunicator ();
-00045 
-00046 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/communicable_8cpp-source.html b/trunk/paradiseo-peo/examples/html/communicable_8cpp-source.html deleted file mode 100755 index 77ab2693b..000000000 --- a/trunk/paradiseo-peo/examples/html/communicable_8cpp-source.html +++ /dev/null @@ -1,114 +0,0 @@ - - -ParadisEO: communicable.cpp Source File - - - - -
-
-

communicable.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "comm.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <vector>
-00025 #include <map>
-00026 #include <cassert>
-00027 
-00028 #include "communicable.h"
-00029 
-00030 static std :: vector <Communicable *> key_to_comm (1); /* Vector of registered cooperators */
-00031 
-00032 static std :: map <const Communicable *, unsigned> comm_to_key; /* Map of registered cooperators */
-00033 
-00034 unsigned Communicable :: num_comm = 0;
-00035 
-00036 Communicable :: Communicable () {
-00037 
-00038   comm_to_key [this] = key = ++ num_comm;
-00039   key_to_comm.push_back (this);
-00040   sem_init (& sem_lock, 0, 1);
-00041   sem_init (& sem_stop, 0, 0);
-00042 }
-00043 
-00044 Communicable :: ~ Communicable () {
-00045 
-00046 }
-00047 
-00048 COMM_ID Communicable :: getKey () {
-00049 
-00050   return key;
-00051 }
-00052 
-00053 Communicable * getCommunicable (COMM_ID __key) {
-00054 
-00055   assert (__key < key_to_comm.size ());
-00056   return key_to_comm [__key];  
-00057 }
-00058 
-00059 COMM_ID getKey (const Communicable * __comm) {
-00060   
-00061   return comm_to_key [__comm];
-00062 }
-00063 
-00064 void Communicable :: lock () {
-00065 
-00066   sem_wait (& sem_lock);
-00067 }
-00068 
-00069 void Communicable :: unlock () {
-00070 
-00071   sem_post (& sem_lock);
-00072 }
-00073 
-00074 void Communicable :: stop () {
-00075 
-00076   sem_wait (& sem_stop);
-00077 }
-00078 
-00079 void Communicable :: resume () {
-00080 
-00081   sem_post (& sem_stop);
-00082 }
-00083 
-00084 
-00085 
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/communicable_8h-source.html b/trunk/paradiseo-peo/examples/html/communicable_8h-source.html deleted file mode 100755 index 9ccd9b702..000000000 --- a/trunk/paradiseo-peo/examples/html/communicable_8h-source.html +++ /dev/null @@ -1,91 +0,0 @@ - - -ParadisEO: communicable.h Source File - - - - -
-
-

communicable.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "communicable.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __communicable_h
-00025 #define __communicable_h
-00026 
-00027 #include <semaphore.h>
-00028 
-00029 typedef unsigned COMM_ID;
-00030 
-00031 class Communicable {
-00032 
-00033 public :
-00034 
-00035   Communicable ();
-00036   
-00037   virtual ~ Communicable ();
-00038 
-00039   COMM_ID getKey ();  
-00040 
-00041   void lock (); /* It suspends the current process if the semaphore is locked */
-00042   void unlock (); /* It unlocks the shared semaphore */
-00043 
-00044   void stop (); /* It suspends the current process */
-00045   void resume (); /* It resumes ___________ */
-00046   
-00047 protected :
-00048 
-00049   COMM_ID key;
-00050 
-00051   sem_t sem_lock;
-00052   
-00053   sem_t sem_stop;
-00054 
-00055   static unsigned num_comm;
-00056 };
-00057 
-00058 extern Communicable * getCommunicable (COMM_ID __key); 
-00059 
-00060 //extern COMM_ID getKey (const Communicable * __comm);
-00061 
-00062 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/config_8h-source.html b/trunk/paradiseo-peo/examples/html/config_8h-source.html deleted file mode 100755 index 962f5671f..000000000 --- a/trunk/paradiseo-peo/examples/html/config_8h-source.html +++ /dev/null @@ -1,99 +0,0 @@ - - -ParadisEO: config.h Source File - - - - -
-
-

config.h

00001 /* config.h.  Generated by configure.  */
-00002 /* config.h.in.  Generated from configure.in by autoheader.  */
-00003 /* #undef ENABLE_NLS */
-00004 /* #undef HAVE_CATGETS */
-00005 /* #undef HAVE_GETTEXT */
-00006 /* #undef HAVE_LC_MESSAGES */
-00007 /* #undef HAVE_STPCPY */
-00008 /* #undef HAVE_LIBSM */
-00009 /* #undef PACKAGE_LOCALE_DIR */
-00010 #define PACKAGE_DOC_DIR "/usr/local/doc/paradisEO"
-00011 #define PACKAGE_DATA_DIR "/usr/local/share"
-00012 #define PACKAGE_PIXMAPS_DIR "/usr/local/share/pixmaps"
-00013 #define PACKAGE_HELP_DIR "/usr/local/share/help"
-00014 #define PACKAGE_MENU_DIR "/usr/local/share"
-00015 #define PACKAGE_SOURCE_DIR "/home/cahon/paradisEO"
-00016 /* #undef GETTEXT_PACKAGE */
-00017 
-00018 /* Define to 1 if you have the <dlfcn.h> header file. */
-00019 #define HAVE_DLFCN_H 1
-00020 
-00021 /* Define to 1 if you have the <inttypes.h> header file. */
-00022 #define HAVE_INTTYPES_H 1
-00023 
-00024 /* Define to 1 if you have the <memory.h> header file. */
-00025 #define HAVE_MEMORY_H 1
-00026 
-00027 /* Define to 1 if you have the <stdint.h> header file. */
-00028 #define HAVE_STDINT_H 1
-00029 
-00030 /* Define to 1 if you have the <stdlib.h> header file. */
-00031 #define HAVE_STDLIB_H 1
-00032 
-00033 /* Define to 1 if you have the <strings.h> header file. */
-00034 #define HAVE_STRINGS_H 1
-00035 
-00036 /* Define to 1 if you have the <string.h> header file. */
-00037 #define HAVE_STRING_H 1
-00038 
-00039 /* Define to 1 if you have the <sys/stat.h> header file. */
-00040 #define HAVE_SYS_STAT_H 1
-00041 
-00042 /* Define to 1 if you have the <sys/types.h> header file. */
-00043 #define HAVE_SYS_TYPES_H 1
-00044 
-00045 /* Define to 1 if you have the <unistd.h> header file. */
-00046 #define HAVE_UNISTD_H 1
-00047 
-00048 /* Name of package */
-00049 #define PACKAGE "paradisEO"
-00050 
-00051 /* Define to the address where bug reports for this package should be sent. */
-00052 #define PACKAGE_BUGREPORT ""
-00053 
-00054 /* Define to the full name of this package. */
-00055 #define PACKAGE_NAME ""
-00056 
-00057 /* Define to the full name and version of this package. */
-00058 #define PACKAGE_STRING ""
-00059 
-00060 /* Define to the one symbol short name of this package. */
-00061 #define PACKAGE_TARNAME ""
-00062 
-00063 /* Define to the version of this package. */
-00064 #define PACKAGE_VERSION ""
-00065 
-00066 /* Define to 1 if you have the ANSI C header files. */
-00067 #define STDC_HEADERS 1
-00068 
-00069 /* Version number of package */
-00070 #define VERSION "0.3"
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/coop_8cpp-source.html b/trunk/paradiseo-peo/examples/html/coop_8cpp-source.html deleted file mode 100755 index 16ff43460..000000000 --- a/trunk/paradiseo-peo/examples/html/coop_8cpp-source.html +++ /dev/null @@ -1,86 +0,0 @@ - - -ParadisEO: coop.cpp Source File - - - - -
-
-

coop.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "coop.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "../../core/cooperative.h"
-00025 #include "send.h"
-00026 #include "tags.h"
-00027 #include "schema.h"
-00028 #include "mess.h"
-00029 #include "../../core/peo_debug.h"
-00030 
-00031 Runner * Cooperative :: getOwner () {
-00032 
-00033   return owner;
-00034 }
-00035 
-00036 void Cooperative :: setOwner (Runner & __runner) {
-00037 
-00038   owner = & __runner;
-00039 }
-00040 
-00041 void Cooperative :: send (Cooperative * __coop) {
-00042 
-00043   :: send (this, getRankOfRunner (__coop -> getOwner () -> getID ()), COOP_TAG);   
-00044   //  stop ();
-00045 }
-00046 
-00047 Cooperative * getCooperative (COOP_ID __key) {
-00048 
-00049   return dynamic_cast <Cooperative *> (getCommunicable (__key));
-00050 }
-00051 
-00052 void Cooperative :: notifySending () {
-00053 
-00054   //getOwner -> setPassive ();
-00055   //  resume ();
-00056   //  printDebugMessage (b);
-00057 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/cooperative_8h-source.html b/trunk/paradiseo-peo/examples/html/cooperative_8h-source.html deleted file mode 100755 index 453db10b0..000000000 --- a/trunk/paradiseo-peo/examples/html/cooperative_8h-source.html +++ /dev/null @@ -1,85 +0,0 @@ - - -ParadisEO: cooperative.h Source File - - - - -
-
-

cooperative.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "cooperative.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __cooperative_h
-00025 #define __cooperative_h
-00026 
-00027 #include "communicable.h"
-00028 #include "runner.h"
-00029 
-00030 typedef unsigned COOP_ID;
-00031 
-00032 class Cooperative : public Communicable {
-00033 
-00034 public :
-00035 
-00036   Runner * getOwner ();
-00037 
-00038   void setOwner (Runner & __runner);
-00039 
-00040   virtual void pack () = 0;
-00041   
-00042   virtual void unpack () = 0;
-00043 
-00044   void send (Cooperative * __coop); 
-00045 
-00046   virtual void notifySending ();
-00047 
-00048 private :
-00049 
-00050   Runner * owner;
-00051 
-00052 };
-00053 
-00054 extern Cooperative * getCooperative (COOP_ID __key); 
-00055 
-00056 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/core_2runner_8cpp-source.html b/trunk/paradiseo-peo/examples/html/core_2runner_8cpp-source.html deleted file mode 100755 index 43b0515c2..000000000 --- a/trunk/paradiseo-peo/examples/html/core_2runner_8cpp-source.html +++ /dev/null @@ -1,148 +0,0 @@ - - -ParadisEO: runner.cpp Source File - - - - -
-
-

runner.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "runner.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <vector>
-00025 
-00026 #include "runner.h"
-00027 #include "reac_thread.h"
-00028 #include "peo_debug.h"
-00029 #include "messaging.h"
-00030 
-00031 static unsigned num_act = 0; /* Number of active runners */
-00032 
-00033 static std :: vector <pthread_t *> ll_threads; /* Low-level runner threads */ 
-00034 
-00035 static std :: vector <Runner *> the_runners;
-00036 
-00037 static unsigned num_runners = 0;
-00038 
-00039 Runner :: Runner () {
-00040 
-00041   id = ++ num_runners;
-00042   the_runners.push_back (this);
-00043   sem_init (& sem_start, 0, 0);
-00044   num_act ++;  
-00045 }
-00046 
-00047 extern int getNodeRank ();
-00048 
-00049 extern int getNumberOfNodes ();
-00050 
-00051 void unpackTerminationOfRunner () {
-00052   
-00053   RUNNER_ID id;
-00054   unpack (id);    
-00055   num_act --;
-00056   printDebugMessage ("I'm noticed of the termination of a runner");
-00057   if (! num_act) {
-00058     printDebugMessage ("all the runners have terminated. Now stopping the reactive threads.");
-00059     stopReactiveThreads ();
-00060   }
-00061 }
-00062 
-00063 bool atLeastOneActiveRunner () {
-00064 
-00065   return num_act;
-00066 }
-00067 
-00068 RUNNER_ID Runner :: getID () {
-00069 
-00070   return id;
-00071 }
-00072 
-00073 void Runner :: start () {
-00074 
-00075   setActive ();
-00076   sem_post (& sem_start);
-00077   run ();
-00078   terminate ();
-00079 }
-00080 
-00081 void Runner :: notifySendingTermination () {
-00082 
-00083   /*
-00084   char b [1000];
-00085   sprintf (b, "Il reste encore %d !!!!!!!!!!!!", n);
-00086   printDebugMessage (b);
-00087   */
-00088   printDebugMessage ("je suis informe que tout le monde a recu ma terminaison");
-00089   setPassive ();
-00090   
-00091 }
-00092 
-00093 void Runner :: waitStarting () {
-00094 
-00095   sem_wait (& sem_start);
-00096 }
-00097 
-00098 Runner * getRunner (RUNNER_ID __key) {
-00099 
-00100   return dynamic_cast <Runner *> (getCommunicable (__key));
-00101 }
-00102 
-00103 void startRunners () {
-00104   
-00105   /* Runners */
-00106   for (unsigned i = 0; i < the_runners.size (); i ++)
-00107     if (the_runners [i] -> isLocal ()) {
-00108       addThread (the_runners [i], ll_threads);
-00109       the_runners [i] -> waitStarting ();
-00110     }
-00111   printDebugMessage ("launched the parallel runners");
-00112 }
-00113 
-00114 
-00115 void joinRunners () {
-00116 
-00117 
-00118   joinThreads (ll_threads);
-00119 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/core_2service_8cpp-source.html b/trunk/paradiseo-peo/examples/html/core_2service_8cpp-source.html deleted file mode 100755 index fdbdc05ed..000000000 --- a/trunk/paradiseo-peo/examples/html/core_2service_8cpp-source.html +++ /dev/null @@ -1,102 +0,0 @@ - - -ParadisEO: service.cpp Source File - - - - -
-
-

service.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "service.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "service.h"
-00025 
-00026 void Service :: setOwner (Thread & __owner) {
-00027 
-00028   owner = & __owner;
-00029 }
-00030   
-00031 Thread * Service :: getOwner () {
-00032 
-00033   return owner;
-00034 }
-00035 
-00036 Service * getService (SERVICE_ID __key) {
-00037 
-00038   return dynamic_cast <Service *> (getCommunicable (__key));
-00039 }
-00040 
-00041 void Service :: notifySendingData () {
-00042 
-00043 }
-00044 void Service :: notifySendingResourceRequest () {
-00045 
-00046   num_sent_rr --;
-00047   if (! num_sent_rr)
-00048     notifySendingAllResourceRequests ();
-00049 }
-00050 
-00051 void Service :: notifySendingAllResourceRequests () {
-00052 
-00053 }
-00054 
-00055 void Service :: packData () {
-00056 
-00057 }
-00058 
-00059 void Service :: unpackData () {
-00060 
-00061 }
-00062 
-00063 void Service :: execute () {
-00064 
-00065 }
-00066   
-00067 void Service :: packResult () {
-00068 
-00069 }
-00070 
-00071 void Service :: unpackResult () {
-00072 
-00073 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/data_8cpp-source.html b/trunk/paradiseo-peo/examples/html/data_8cpp-source.html deleted file mode 100755 index 13337cb58..000000000 --- a/trunk/paradiseo-peo/examples/html/data_8cpp-source.html +++ /dev/null @@ -1,142 +0,0 @@ - - -ParadisEO: data.cpp Source File - - - - -
-
-

data.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "data.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <stdio.h>
-00025 #include <assert.h>
-00026 #include <string.h>
-00027 #include <stdlib.h>
-00028 
-00029 #include <utils/eoParser.h>
-00030 
-00031 #include "data.h"
-00032 #include "node.h"
-00033 
-00034 #define MAX_TRASH_LENGTH 1000
-00035 #define MAX_FIELD_LENGTH 1000
-00036 #define MAX_LINE_LENGTH 1000
-00037 
-00038 static void getNextField (FILE * __f, char * __buff) {
-00039   
-00040   char trash [MAX_TRASH_LENGTH];  
-00041 
-00042   fscanf (__f, "%[ \t:\n]", trash); /* Discarding sep. */ 
-00043   fscanf (__f, "%[^:\n]", __buff); /* Reading the field */
-00044   fgetc (__f);
-00045 }
-00046 
-00047 static void getLine (FILE * __f, char * __buff) {
-00048 
-00049   char trash [MAX_TRASH_LENGTH];  
-00050 
-00051   fscanf (__f, "%[ \t:\n]", trash); /* Discarding sep. */ 
-00052   fscanf (__f, "%[^\n]", __buff); /* Reading the line */
-00053 }
-00054 
-00055 void loadData (const char * __filename) {
-00056 
-00057   FILE * f = fopen (__filename, "r");
-00058 
-00059    if (f) {
-00060 
-00061      printf ("Loading '%s'.\n", __filename);
-00062      
-00063      char field [MAX_FIELD_LENGTH];
-00064      
-00065      getNextField (f, field); /* Name */
-00066      assert (strstr (field, "NAME"));
-00067      getNextField (f, field); 
-00068      printf ("NAME: %s.\n", field);
-00069      
-00070      getNextField (f, field); /* Comment */
-00071      assert (strstr (field, "COMMENT"));
-00072      getLine (f, field);
-00073      printf ("COMMENT: %s.\n", field);
-00074      
-00075      getNextField (f, field); /* Type */
-00076      assert (strstr (field, "TYPE"));
-00077      getNextField (f, field); 
-00078      printf ("TYPE: %s.\n", field);
-00079 
-00080      getNextField (f, field); /* Dimension */
-00081      assert (strstr (field, "DIMENSION"));
-00082      getNextField (f, field); 
-00083      printf ("DIMENSION: %s.\n", field);
-00084      numNodes = atoi (field);
-00085 
-00086      getNextField (f, field); /* Edge weight type */
-00087      assert (strstr (field, "EDGE_WEIGHT_TYPE"));
-00088      getNextField (f, field); 
-00089      printf ("EDGE_WEIGHT_TYPE: %s.\n", field);
-00090      
-00091      getNextField (f, field); /* Node coord section */
-00092      assert (strstr (field, "NODE_COORD_SECTION"));
-00093      loadNodes (f);
-00094      
-00095      getNextField (f, field); /* End of file */
-00096      assert (strstr (field, "EOF"));
-00097      printf ("EOF.\n");
-00098    }
-00099    else {
-00100      
-00101      fprintf (stderr, "Can't open '%s'.\n", __filename); 
-00102      exit (1);
-00103    }
-00104 }
-00105 
-00106 void loadData (eoParser & __parser) {
-00107   
-00108   /* Getting the path of the instance */
-00109   
-00110   eoValueParam <std :: string> param ("", "inst", "Path of the instance") ;
-00111   __parser.processParam (param) ;
-00112   loadData (param.value ().c_str ());
-00113 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/data_8h-source.html b/trunk/paradiseo-peo/examples/html/data_8h-source.html deleted file mode 100755 index 5ad88d71b..000000000 --- a/trunk/paradiseo-peo/examples/html/data_8h-source.html +++ /dev/null @@ -1,62 +0,0 @@ - - -ParadisEO: data.h Source File - - - - -
-
-

data.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "data.h"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __data_h
-00025 #define __data_h
-00026 
-00027 #include <utils/eoParser.h>
-00028 
-00029 extern void loadData (const char * __filename);
-00030 
-00031 extern void loadData (eoParser & __parser);
-00032 
-00033 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/display_8cpp-source.html b/trunk/paradiseo-peo/examples/html/display_8cpp-source.html deleted file mode 100755 index e676aa837..000000000 --- a/trunk/paradiseo-peo/examples/html/display_8cpp-source.html +++ /dev/null @@ -1,161 +0,0 @@ - - -ParadisEO: display.cpp Source File - - - - -
-
-

display.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "display.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <iostream>
-00025 #include <fstream>
-00026 
-00027 #include <X11/Xlib.h>
-00028 
-00029 #include "display.h"
-00030 #include "node.h"
-00031 #include "opt_route.h"
-00032 
-00033 #define BORDER 20
-00034 #define RATIO 0.5
-00035 
-00036 #define screen_width 1024
-00037 #define screen_height 768
-00038 
-00039 static const char * filename;
-00040 
-00041 /* Computed coordinates */
-00042 static unsigned * X_new_coord, * Y_new_coord ;
-00043 
-00044 /* this variable will contain the handle to the returned graphics context. */
-00045 static GC gc;
-00046   
-00047 /* this variable will contain the pointer to the Display structure */
-00048 static Display* disp;
-00049 
-00050 /* this variable will store the ID of the newly created window. */
-00051 static Window win;
-00052 
-00053 static int screen;
-00054 
-00055 /* Create a new backing pixmap of the appropriate size */
-00056 
-00057   /* Best tour */
-00058   /*
-00059   gdk_gc_set_line_attributes (gc, 2,  GDK_LINE_ON_OFF_DASH, GDK_CAP_NOT_LAST, GDK_JOIN_MITER) ;
-00060 
-00061   gdk_gc_set_foreground  (gc, & color_green) ;      
-00062 
-00063   for (int i = 0 ; i < (int) numNodes ; i ++) {
-00064 
-00065     gdk_draw_line (pixmap, gc,
-00066                    X_new_coord [opt_route [i]],
-00067                    Y_new_coord [opt_route [i]],
-00068                    X_new_coord [opt_route [(i + 1) % numNodes]],
-00069                    Y_new_coord [opt_route [(i + 1) % numNodes]]);
-00070     
-00071                    }*/
-00072 
-00073 void openMainWindow (const char * __filename) {
-00074 
-00075   filename = __filename;
-00076 
-00077   /* Map */
-00078   int map_width = (int) (X_max - X_min);
-00079   int map_height = (int) (Y_max - Y_min);
-00080   int map_side = std :: max (map_width, map_height);
-00081   
-00082   /* Calculate the window's width and height. */
-00083   int win_width = (int) (screen_width * RATIO * map_width / map_side);
-00084   int win_height = (int) (screen_height * RATIO * map_height / map_side);
-00085 
-00086   /* Computing the coordinates */
-00087   X_new_coord = new unsigned [numNodes];
-00088   Y_new_coord = new unsigned [numNodes];
-00089 
-00090   for (unsigned i = 0; i < numNodes; i ++) {
-00091     X_new_coord [i] = (unsigned) (win_width * (1.0 - (X_coord [i] - X_min) / map_width) + BORDER);
-00092     Y_new_coord [i] = (unsigned) (win_height * (1.0 - (Y_coord [i] - Y_min) / map_height) + BORDER);
-00093   }
-00094   
-00095   /* Initialisation */
-00096   XGCValues val ;
-00097   
-00098   disp = XOpenDisplay (NULL) ;
-00099   screen = DefaultScreen (disp) ;
-00100   win = XCreateSimpleWindow (disp, RootWindow (disp, screen), 0, 0, win_width + 2 * BORDER, win_height + 2 * BORDER, 2, BlackPixel (disp, screen), WhitePixel (disp, screen)) ;
-00101   val.foreground = BlackPixel(disp, screen) ;
-00102   val.background = WhitePixel(disp, screen) ;
-00103   gc = XCreateGC (disp, win, GCForeground | GCBackground, & val) ; 
-00104 
-00105   XMapWindow (disp, win) ;
-00106   XFlush (disp) ;
-00107 
-00108   while (true) {
-00109     XClearWindow (disp, win) ;
-00110 
-00111     /* Vertices as circles */
-00112     for (unsigned i = 1 ; i < numNodes ; i ++)
-00113       XDrawArc (disp, win, gc, X_new_coord [i] - 1, Y_new_coord [i] - 1, 3, 3, 0, 364 * 64) ;
-00114     
-00115     /* New tour */
-00116     std :: ifstream f (filename);
-00117     if (f) {
-00118       Route route;
-00119       f >> route;
-00120       f.close ();
-00121       
-00122       for (int i = 0; i < (int) numNodes; i ++) 
-00123         XDrawLine (disp, win, gc,     
-00124                    X_new_coord [route [i]],
-00125                  Y_new_coord [route [i]],
-00126                    X_new_coord [route [(i + 1) % numNodes]],
-00127                    Y_new_coord [route [(i + 1) % numNodes]]);  
-00128     }
-00129     XFlush (disp) ;    
-00130     sleep (1) ;
-00131   }
-00132 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/display_8h-source.html b/trunk/paradiseo-peo/examples/html/display_8h-source.html deleted file mode 100755 index 33495a754..000000000 --- a/trunk/paradiseo-peo/examples/html/display_8h-source.html +++ /dev/null @@ -1,60 +0,0 @@ - - -ParadisEO: display.h Source File - - - - -
-
-

display.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "display.h"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __display_h
-00025 #define __display_h
-00026 
-00027 #include "route.h"
-00028 
-00029 extern void openMainWindow (const char * __filename);
-00030 
-00031 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/display__best__route_8cpp-source.html b/trunk/paradiseo-peo/examples/html/display__best__route_8cpp-source.html deleted file mode 100755 index 4f86d598f..000000000 --- a/trunk/paradiseo-peo/examples/html/display__best__route_8cpp-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO: display_best_route.cpp Source File - - - - -
-
-

display_best_route.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "display_best_route.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "display_best_route.h"
-00025 #include "display.h"
-00026 
-00027 DisplayBestRoute :: DisplayBestRoute (eoPop <Route> & __pop
-00028                                       ) : pop (__pop) {
-00029   
-00030   
-00031 }
-00032   
-00033 void DisplayBestRoute :: operator () () {
-00034   
-00035   displayRoute (pop.best_element ());
-00036 }
-00037 
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/display__best__route_8h-source.html b/trunk/paradiseo-peo/examples/html/display__best__route_8h-source.html deleted file mode 100755 index 9970e1f25..000000000 --- a/trunk/paradiseo-peo/examples/html/display__best__route_8h-source.html +++ /dev/null @@ -1,76 +0,0 @@ - - -ParadisEO: display_best_route.h Source File - - - - -
-
-

display_best_route.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "display_best_route.h"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __display_best_route_h
-00025 #define __display_best_route_h
-00026 
-00027 #include <utils/eoUpdater.h>
-00028 
-00029 #include <eoPop.h>
-00030 
-00031 #include "route.h"
-00032 
-00033 class DisplayBestRoute : public eoUpdater {
-00034   
-00035 public :
-00036 
-00037   DisplayBestRoute (eoPop <Route> & __pop);
-00038   
-00039   void operator () ();
-00040 
-00041 private :
-00042   
-00043   eoPop <Route> & pop;
-00044 
-00045 };
-00046 
-00047 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/doxygen.css b/trunk/paradiseo-peo/examples/html/doxygen.css deleted file mode 100755 index 5d583694e..000000000 --- a/trunk/paradiseo-peo/examples/html/doxygen.css +++ /dev/null @@ -1,358 +0,0 @@ -BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV { - font-family: Geneva, Arial, Helvetica, sans-serif; -} -BODY,TD { - font-size: 90%; -} -H1 { - text-align: center; - font-size: 160%; -} -H2 { - font-size: 120%; -} -H3 { - font-size: 100%; -} -CAPTION { font-weight: bold } -DIV.qindex { - width: 100%; - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - padding: 2px; - line-height: 140%; -} -DIV.nav { - width: 100%; - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - padding: 2px; - line-height: 140%; -} -DIV.navtab { - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} -TD.navtab { - font-size: 70%; -} -A.qindex { - text-decoration: none; - font-weight: bold; - color: #1A419D; -} -A.qindex:visited { - text-decoration: none; - font-weight: bold; - color: #1A419D -} -A.qindex:hover { - text-decoration: none; - background-color: #ddddff; -} -A.qindexHL { - text-decoration: none; - font-weight: bold; - background-color: #6666cc; - color: #ffffff; - border: 1px double #9295C2; -} -A.qindexHL:hover { - text-decoration: none; - background-color: #6666cc; - color: #ffffff; -} -A.qindexHL:visited { text-decoration: none; background-color: #6666cc; color: #ffffff } -A.el { text-decoration: none; font-weight: bold } -A.elRef { font-weight: bold } -A.code:link { text-decoration: none; font-weight: normal; color: #0000FF} -A.code:visited { text-decoration: none; font-weight: normal; color: #0000FF} -A.codeRef:link { font-weight: normal; color: #0000FF} -A.codeRef:visited { font-weight: normal; color: #0000FF} -A:hover { text-decoration: none; background-color: #f2f2ff } -DL.el { margin-left: -1cm } -.fragment { - font-family: monospace, fixed; - font-size: 95%; -} -PRE.fragment { - border: 1px solid #CCCCCC; - background-color: #f5f5f5; - margin-top: 4px; - margin-bottom: 4px; - margin-left: 2px; - margin-right: 8px; - padding-left: 6px; - padding-right: 6px; - padding-top: 4px; - padding-bottom: 4px; -} -DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } - -DIV.groupHeader { - margin-left: 16px; - margin-top: 12px; - margin-bottom: 6px; - font-weight: bold; -} -DIV.groupText { margin-left: 16px; font-style: italic; font-size: 90% } -BODY { - background: white; - color: black; - margin-right: 20px; - margin-left: 20px; -} -TD.indexkey { - background-color: #e8eef2; - font-weight: bold; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px; - border: 1px solid #CCCCCC; -} -TD.indexvalue { - background-color: #e8eef2; - font-style: italic; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px; - border: 1px solid #CCCCCC; -} -TR.memlist { - background-color: #f0f0f0; -} -P.formulaDsp { text-align: center; } -IMG.formulaDsp { } -IMG.formulaInl { vertical-align: middle; } -SPAN.keyword { color: #008000 } -SPAN.keywordtype { color: #604020 } -SPAN.keywordflow { color: #e08000 } -SPAN.comment { color: #800000 } -SPAN.preprocessor { color: #806020 } -SPAN.stringliteral { color: #002080 } -SPAN.charliteral { color: #008080 } -.mdescLeft { - padding: 0px 8px 4px 8px; - font-size: 80%; - font-style: italic; - background-color: #FAFAFA; - border-top: 1px none #E0E0E0; - border-right: 1px none #E0E0E0; - border-bottom: 1px none #E0E0E0; - border-left: 1px none #E0E0E0; - margin: 0px; -} -.mdescRight { - padding: 0px 8px 4px 8px; - font-size: 80%; - font-style: italic; - background-color: #FAFAFA; - border-top: 1px none #E0E0E0; - border-right: 1px none #E0E0E0; - border-bottom: 1px none #E0E0E0; - border-left: 1px none #E0E0E0; - margin: 0px; -} -.memItemLeft { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memItemRight { - padding: 1px 8px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memTemplItemLeft { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: none; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memTemplItemRight { - padding: 1px 8px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: none; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memTemplParams { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - color: #606060; - background-color: #FAFAFA; - font-size: 80%; -} -.search { color: #003399; - font-weight: bold; -} -FORM.search { - margin-bottom: 0px; - margin-top: 0px; -} -INPUT.search { font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -TD.tiny { font-size: 75%; -} -a { - color: #1A41A8; -} -a:visited { - color: #2A3798; -} -.dirtab { padding: 4px; - border-collapse: collapse; - border: 1px solid #84b0c7; -} -TH.dirtab { background: #e8eef2; - font-weight: bold; -} -HR { height: 1px; - border: none; - border-top: 1px solid black; -} - -/* Style for detailed member documentation */ -.memtemplate { - font-size: 80%; - color: #606060; - font-weight: normal; -} -.memnav { - background-color: #e8eef2; - border: 1px solid #84b0c7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} -.memitem { - padding: 4px; - background-color: #eef3f5; - border-width: 1px; - border-style: solid; - border-color: #dedeee; - -moz-border-radius: 8px 8px 8px 8px; -} -.memname { - white-space: nowrap; - font-weight: bold; -} -.memdoc{ - padding-left: 10px; -} -.memproto { - background-color: #d5e1e8; - width: 100%; - border-width: 1px; - border-style: solid; - border-color: #84b0c7; - font-weight: bold; - -moz-border-radius: 8px 8px 8px 8px; -} -.paramkey { - text-align: right; -} -.paramtype { - white-space: nowrap; -} -.paramname { - color: #602020; - font-style: italic; -} -/* End Styling for detailed member documentation */ - -/* for the tree view */ -.ftvtree { - font-family: sans-serif; - margin:0.5em; -} -.directory { font-size: 9pt; font-weight: bold; } -.directory h3 { margin: 0px; margin-top: 1em; font-size: 11pt; } -.directory > h3 { margin-top: 0; } -.directory p { margin: 0px; white-space: nowrap; } -.directory div { display: none; margin: 0px; } -.directory img { vertical-align: -30%; } - diff --git a/trunk/paradiseo-peo/examples/html/doxygen.png b/trunk/paradiseo-peo/examples/html/doxygen.png deleted file mode 100755 index f0a274bba..000000000 Binary files a/trunk/paradiseo-peo/examples/html/doxygen.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/edge__xover_8cpp-source.html b/trunk/paradiseo-peo/examples/html/edge__xover_8cpp-source.html deleted file mode 100755 index 69649b8d5..000000000 --- a/trunk/paradiseo-peo/examples/html/edge__xover_8cpp-source.html +++ /dev/null @@ -1,162 +0,0 @@ - - -ParadisEO: edge_xover.cpp Source File - - - - -
-
-

edge_xover.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "edge_xover.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, 2003
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <assert.h>
-00025 #include <values.h>
-00026 
-00027 #include <utils/eoRNG.h>
-00028 
-00029 #include "edge_xover.h"
-00030 
-00031 void EdgeXover :: build_map (const Route & __par1, const Route & __par2) {
-00032   
-00033   unsigned len = __par1.size () ;
-00034   
-00035   /* Initialization */
-00036   _map.clear () ;
-00037   _map.resize (len) ;
-00038   
-00039   for (unsigned i = 0 ; i < len ; i ++) {
-00040     _map [__par1 [i]].insert (__par1 [(i + 1) % len]) ;
-00041     _map [__par2 [i]].insert (__par2 [(i + 1) % len]) ;
-00042     _map [__par1 [i]].insert (__par1 [(i - 1 + len) % len]) ;
-00043     _map [__par2 [i]].insert (__par2 [(i - 1 + len) % len]) ;
-00044   }
-00045   
-00046   visited.clear () ;
-00047   visited.resize (len, false) ;
-00048 }
-00049 
-00050 void EdgeXover :: remove_entry (unsigned __vertex, std :: vector <std :: set <unsigned> > & __map) {
-00051   
-00052   std :: set <unsigned> & neigh = __map [__vertex] ;
-00053 
-00054   for (std :: set <unsigned> :: iterator it = neigh.begin () ;
-00055        it != neigh.end () ;
-00056        it ++)
-00057     __map [* it].erase (__vertex) ; 
-00058       
-00059 }
-00060 
-00061 void EdgeXover :: add_vertex (unsigned __vertex, Route & __child) {
-00062   
-00063   visited [__vertex] = true ;
-00064   __child.push_back (__vertex) ;    
-00065   remove_entry (__vertex, _map) ; /* Removing entries */    
-00066 }
-00067 
-00068 void EdgeXover :: cross (const Route & __par1, const Route & __par2, Route & __child) {
-00069   
-00070   build_map (__par1, __par2) ;
-00071   
-00072   unsigned len = __par1.size () ;
-00073  
-00074   /* Go ! */
-00075   __child.clear () ;
-00076   
-00077   unsigned cur_vertex = rng.random (len) ;
-00078   
-00079   add_vertex (cur_vertex, __child) ;
-00080 
-00081   for (unsigned i = 1 ; i < len ; i ++) {
-00082     
-00083     unsigned len_min_entry = MAXINT ;
-00084     
-00085     std :: set <unsigned> & neigh = _map [cur_vertex] ;
-00086     
-00087     for (std :: set <unsigned> :: iterator it = neigh.begin () ;
-00088          it != neigh.end () ;
-00089          it ++) {      
-00090       unsigned l = _map [* it].size () ;
-00091       if (len_min_entry > l)
-00092         len_min_entry = l ;
-00093     }
-00094     
-00095     std :: vector <unsigned> cand ; /* Candidates */
-00096     
-00097     for (std :: set <unsigned> :: iterator it = neigh.begin () ;
-00098          it != neigh.end () ;
-00099          it ++) {      
-00100       unsigned l = _map [* it].size () ;
-00101       if (len_min_entry == l)
-00102         cand.push_back (* it) ;
-00103     }
-00104        
-00105     if (! cand.size ()) {
-00106       
-00107       /* Oh no ! Implicit mutation */      
-00108       for (unsigned j = 0 ; j < len ; j ++)
-00109         if (! visited [j])
-00110           cand.push_back (j) ;
-00111     }
-00112 
-00113     cur_vertex = cand [rng.random (cand.size ())] ;
-00114     
-00115     add_vertex (cur_vertex, __child) ;
-00116   } 
-00117 }
-00118 
-00119 bool EdgeXover :: operator () (Route & __route1, Route & __route2) {
-00120   
-00121   // Init. copy
-00122   Route par [2] ;
-00123   par [0] = __route1 ;
-00124   par [1] = __route2 ;
-00125   
-00126   cross (par [0], par [1], __route1) ;
-00127   cross (par [1], par [0], __route2) ;
-00128   
-00129   __route1.invalidate () ;
-00130   __route2.invalidate () ;
-00131 
-00132   return true ;
-00133 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/edge__xover_8h-source.html b/trunk/paradiseo-peo/examples/html/edge__xover_8h-source.html deleted file mode 100755 index 9f240aba5..000000000 --- a/trunk/paradiseo-peo/examples/html/edge__xover_8h-source.html +++ /dev/null @@ -1,86 +0,0 @@ - - -ParadisEO: edge_xover.h Source File - - - - -
-
-

edge_xover.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "edge_xover.h"
-00004 
-00005 // (c) OPAC Team, LIFL, 2003
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef edge_xover_h
-00025 #define edge_xover_h
-00026 
-00027 #include <vector>
-00028 #include <set>
-00029 
-00030 #include <eoOp.h>
-00031 
-00032 #include "route.h"
-00033 
-00035 class EdgeXover : public eoQuadOp <Route> {
-00036   
-00037 public :
-00038   
-00039   bool operator () (Route & __route1, Route & __route2) ;
-00040 
-00041 private :
-00042   
-00043   void cross (const Route & __par1, const Route & __par2, Route & __child) ; /* Binary */
-00044 
-00045   void remove_entry (unsigned __vertex, std :: vector <std :: set <unsigned> > & __map) ;
-00046   /* Updating the map of entries */
-00047 
-00048   void build_map (const Route & __par1, const Route & __par2) ;
-00049 
-00050   void add_vertex (unsigned __vertex, Route & __child) ;
-00051 
-00052   std :: vector <std :: set <unsigned> > _map ; /* The handled map */
-00053 
-00054   std :: vector <bool> visited ; /* Vertices that are already visited */
-00055 
-00056 } ;
-00057 
-00058 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/eo_pop__comm_8h-source.html b/trunk/paradiseo-peo/examples/html/eo_pop__comm_8h-source.html deleted file mode 100755 index 20b0b0bc0..000000000 --- a/trunk/paradiseo-peo/examples/html/eo_pop__comm_8h-source.html +++ /dev/null @@ -1,76 +0,0 @@ - - -ParadisEO: eoPop_comm.h Source File - - - - -
-
-

eoPop_comm.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "eoPop_comm.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __eoPop_comm_h
-00025 #define __eoPop_comm_h
-00026 
-00027 #include <eoPop.h>
-00028 
-00029 #include "messaging.h"
-00030 
-00031 template <class EOT> void pack (const eoPop <EOT> & __pop) {
-00032 
-00033   pack ((unsigned) __pop.size ());
-00034   for (unsigned i = 0; i < __pop.size (); i ++)
-00035     pack (__pop [i]);
-00036 }
-00037 
-00038 template <class EOT> void unpack (eoPop <EOT> & __pop) {
-00039 
-00040   unsigned n;
-00041   
-00042   unpack (n);
-00043   __pop.resize (n);
-00044   for (unsigned i = 0; i < n; i ++)
-00045     unpack (__pop [i]);
-00046 }
-00047 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/eo_vector__comm_8h-source.html b/trunk/paradiseo-peo/examples/html/eo_vector__comm_8h-source.html deleted file mode 100755 index 1109d0655..000000000 --- a/trunk/paradiseo-peo/examples/html/eo_vector__comm_8h-source.html +++ /dev/null @@ -1,82 +0,0 @@ - - -ParadisEO: eoVector_comm.h Source File - - - - -
-
-

eoVector_comm.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "eoVector_comm.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __eoVector_comm_h
-00025 #define __eoVector_comm_h
-00026 
-00027 #include <eoVector.h>
-00028 
-00029 #include "messaging.h"
-00030 
-00031 template <class F, class T> void pack (const eoVector <F, T> & __v) {
-00032 
-00033   pack (__v.fitness ()) ;
-00034   unsigned len = __v.size ();
-00035   pack (len);
-00036   for (unsigned i = 0 ; i < len; i ++)
-00037     pack (__v [i]);  
-00038 }
-00039 
-00040 template <class F, class T> void unpack (eoVector <F, T> & __v) {
-00041 
-00042   F fit; 
-00043   unpack (fit);
-00044   __v.fitness (fit);
-00045 
-00046   unsigned len;
-00047   unpack (len);
-00048   __v.resize (len);
-00049   for (unsigned i = 0 ; i < len; i ++)
-00050     unpack (__v [i]);
-00051 }
-00052 
-00053 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/examples_2shared_2node_8cpp-source.html b/trunk/paradiseo-peo/examples/html/examples_2shared_2node_8cpp-source.html deleted file mode 100755 index 63be376e5..000000000 --- a/trunk/paradiseo-peo/examples/html/examples_2shared_2node_8cpp-source.html +++ /dev/null @@ -1,121 +0,0 @@ - - -ParadisEO: node.cpp Source File - - - - -
-
-

node.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "node.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <math.h>
-00025 #include <values.h>
-00026 
-00027 #include "node.h"
-00028 
-00029 unsigned numNodes; /* Number of nodes */
-00030 
-00031 //static unsigned * * dist; /* Square matrix of distances */
-00032 
-00033 double * X_coord, * Y_coord;
-00034 
-00035 double X_min = MAXDOUBLE, X_max = MINDOUBLE, Y_min = MAXDOUBLE, Y_max = MINDOUBLE;
-00036 
-00037 void loadNodes (FILE * __f) {
-00038 
-00039   /* Coord */
-00040   
-00041   X_coord = new double [numNodes];
-00042   
-00043   Y_coord = new double [numNodes];
-00044  
-00045   unsigned num;
-00046 
-00047   for (unsigned i = 0; i < numNodes; i ++) {
-00048     
-00049     fscanf (__f, "%u%lf%lf", & num, X_coord + i, Y_coord + i);
-00050     
-00051     if (X_coord [i] < X_min)
-00052       X_min = X_coord [i];
-00053     if (X_coord [i] > X_max)
-00054       X_max = X_coord [i];
-00055     if (Y_coord [i] < Y_min)
-00056       Y_min = Y_coord [i];
-00057     if (Y_coord [i] > Y_max)
-00058       Y_max = Y_coord [i];    
-00059   }
-00060   
-00061   /* Allocation */
-00062   /*
-00063   dist = new unsigned * [numNodes];
-00064   
-00065   for (unsigned i = 0; i < numNodes; i ++)
-00066     dist [i] = new unsigned [numNodes];
-00067   */
-00068   /* Computation of the distances */
-00069   
-00070   /*
-00071   for (unsigned i = 0; i < numNodes; i ++) {
-00072 
-00073     dist [i] [i] = 0;
-00074 
-00075     for (unsigned j = 0; j < numNodes; j ++) {
-00076       
-00077       double dx = X_coord [i] - X_coord [j], dy = Y_coord [i] - Y_coord [j];
-00078       
-00079       dist [i] [j] = dist [j] [i] = (unsigned) (sqrt (dx * dx + dy * dy) + 0.5) ;
-00080     }
-00081     }*/
-00082 }
-00083 
-00084 unsigned distance (Node __from, Node __to) {
-00085 
-00086   //  return dist [__from] [__to];
-00087 
-00088   double dx = X_coord [__from] - X_coord [__to], dy = Y_coord [__from] - Y_coord [__to];
-00089   
-00090   return (unsigned) (sqrt (dx * dx + dy * dy) + 0.5) ;
-00091 }
-00092 
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/examples_2shared_2node_8h-source.html b/trunk/paradiseo-peo/examples/html/examples_2shared_2node_8h-source.html deleted file mode 100755 index 4c672c491..000000000 --- a/trunk/paradiseo-peo/examples/html/examples_2shared_2node_8h-source.html +++ /dev/null @@ -1,70 +0,0 @@ - - -ParadisEO: node.h Source File - - - - -
-
-

node.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "node.h"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __node_h
-00025 #define __node_h
-00026 
-00027 #include <stdio.h>
-00028 
-00029 typedef unsigned Node; 
-00030 
-00031 extern double X_min, X_max, Y_min, Y_max;
-00032 
-00033 extern double * X_coord, * Y_coord;
-00034 
-00035 extern unsigned numNodes; /* Number of nodes */
-00036 
-00037 extern void loadNodes (FILE * __f);
-00038 
-00039 extern unsigned distance (Node __from, Node __to);
-00040 
-00041 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/examples_2shared_2param_8cpp-source.html b/trunk/paradiseo-peo/examples/html/examples_2shared_2param_8cpp-source.html deleted file mode 100755 index fe70ca45a..000000000 --- a/trunk/paradiseo-peo/examples/html/examples_2shared_2param_8cpp-source.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO: param.cpp Source File - - - - -
-
-

param.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "param.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <utils/eoParser.h>
-00025 
-00026 #include "data.h"
-00027 #include "opt_route.h"
-00028 
-00029 void loadParameters (int __argc, char * * __argv) {
-00030 
-00031   eoParser parser (__argc, __argv);
-00032   
-00033   loadData (parser);
-00034 
-00035   loadOptimumRoute (parser);
-00036 }
-00037 
-00038 
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/examples_2shared_2param_8h-source.html b/trunk/paradiseo-peo/examples/html/examples_2shared_2param_8h-source.html deleted file mode 100755 index 501f9147c..000000000 --- a/trunk/paradiseo-peo/examples/html/examples_2shared_2param_8h-source.html +++ /dev/null @@ -1,58 +0,0 @@ - - -ParadisEO: param.h Source File - - - - -
-
-

param.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "param.h"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __param_h
-00025 #define __param_h
-00026 
-00027 extern void loadParameters (int __argc, char * * __argv);
-00028 
-00029 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/files.html b/trunk/paradiseo-peo/examples/html/files.html deleted file mode 100755 index bece54b09..000000000 --- a/trunk/paradiseo-peo/examples/html/files.html +++ /dev/null @@ -1,144 +0,0 @@ - - -ParadisEO: File Index - - - - -
-
-

ParadisEO File List

Here is a list of all documented files with brief descriptions: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
acconfig.h [code]
city_swap.cpp [code]
city_swap.h [code]
comm.cpp [code]
comm.h [code]
communicable.cpp [code]
communicable.h [code]
config.h [code]
coop.cpp [code]
cooperative.h [code]
data.cpp [code]
data.h [code]
display.cpp [code]
display.h [code]
display_best_route.cpp [code]
display_best_route.h [code]
edge_xover.cpp [code]
edge_xover.h [code]
eoPop_comm.h [code]
eoVector_comm.h [code]
main.cpp [code]
merge_route_eval.cpp [code]
merge_route_eval.h [code]
mess.cpp [code]
mess.h [code]
messaging.h [code]
mix.h [code]
NEWS [code]
examples/shared/node.cpp [code]
src/rmc/mpi/node.cpp [code]
examples/shared/node.h [code]
src/rmc/mpi/node.h [code]
opt_route.cpp [code]
opt_route.h [code]
order_xover.cpp [code]
order_xover.h [code]
paradiseo.h [code]
examples/shared/param.cpp [code]
src/rmc/mpi/param.cpp [code]
examples/shared/param.h [code]
src/rmc/mpi/param.h [code]
part_route_eval.cpp [code]
part_route_eval.h [code]
partial_mapped_xover.cpp [code]
partial_mapped_xover.h [code]
peo_debug.cpp [code]
peo_debug.h [code]
peo_fin.cpp [code]
peo_fin.h [code]
peo_init.cpp [code]
peo_init.h [code]
peo_param.cpp [code]
peo_param.h [code]
peo_run.cpp [code]
peo_run.h [code]
peoAggEvalFunc.h [code]
peoAsyncIslandMig.h [code]
peoEA.h [code]
peoNoAggEvalFunc.h [code]
peoParaPopEval.h [code]
peoParaSGATransform.h [code]
peoPopEval.h [code]
peoSeqPopEval.h [code]
peoSeqTransform.h [code]
peoSyncIslandMig.h [code]
peoSyncMultiStart.h [code]
peoTransform.h [code]
reac_thread.cpp [code]
reac_thread.h [code]
README [code]
recv.cpp [code]
recv.h [code]
ring_topo.cpp [code]
ring_topo.h [code]
rmc.cpp [code]
rmc.h [code]
route.cpp [code]
route.h [code]
route_eval.cpp [code]
route_eval.h [code]
route_init.cpp [code]
route_init.h [code]
core/runner.cpp [code]
rmc/mpi/runner.cpp [code]
runner.h [code]
scheduler.cpp [code]
scheduler.h [code]
schema.cpp [code]
schema.h [code]
send.cpp [code]
send.h [code]
core/service.cpp [code]
rmc/mpi/service.cpp [code]
service.h [code]
tags.h [code]
thread.cpp [code]
thread.h [code]
topology.cpp [code]
topology.h [code]
two_opt.cpp [code]
two_opt.h [code]
two_opt_incr_eval.cpp [code]
two_opt_incr_eval.h [code]
two_opt_init.cpp [code]
two_opt_init.h [code]
two_opt_next.cpp [code]
two_opt_next.h [code]
two_opt_rand.cpp [code]
two_opt_rand.h [code]
worker.cpp [code]
worker.h [code]
xml_parser.cpp [code]
xml_parser.h [code]
-
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/ftv2blank.png b/trunk/paradiseo-peo/examples/html/ftv2blank.png deleted file mode 100755 index 493c3c0b6..000000000 Binary files a/trunk/paradiseo-peo/examples/html/ftv2blank.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/ftv2doc.png b/trunk/paradiseo-peo/examples/html/ftv2doc.png deleted file mode 100755 index f72999f92..000000000 Binary files a/trunk/paradiseo-peo/examples/html/ftv2doc.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/ftv2folderclosed.png b/trunk/paradiseo-peo/examples/html/ftv2folderclosed.png deleted file mode 100755 index d6d063440..000000000 Binary files a/trunk/paradiseo-peo/examples/html/ftv2folderclosed.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/ftv2folderopen.png b/trunk/paradiseo-peo/examples/html/ftv2folderopen.png deleted file mode 100755 index bbe2c913c..000000000 Binary files a/trunk/paradiseo-peo/examples/html/ftv2folderopen.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/ftv2lastnode.png b/trunk/paradiseo-peo/examples/html/ftv2lastnode.png deleted file mode 100755 index e7b9ba90c..000000000 Binary files a/trunk/paradiseo-peo/examples/html/ftv2lastnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/ftv2link.png b/trunk/paradiseo-peo/examples/html/ftv2link.png deleted file mode 100755 index 14f3fed00..000000000 Binary files a/trunk/paradiseo-peo/examples/html/ftv2link.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/ftv2mlastnode.png b/trunk/paradiseo-peo/examples/html/ftv2mlastnode.png deleted file mode 100755 index 09ceb6adb..000000000 Binary files a/trunk/paradiseo-peo/examples/html/ftv2mlastnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/ftv2mnode.png b/trunk/paradiseo-peo/examples/html/ftv2mnode.png deleted file mode 100755 index 3254c0511..000000000 Binary files a/trunk/paradiseo-peo/examples/html/ftv2mnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/ftv2node.png b/trunk/paradiseo-peo/examples/html/ftv2node.png deleted file mode 100755 index c9f06a57f..000000000 Binary files a/trunk/paradiseo-peo/examples/html/ftv2node.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/ftv2plastnode.png b/trunk/paradiseo-peo/examples/html/ftv2plastnode.png deleted file mode 100755 index 0b07e0091..000000000 Binary files a/trunk/paradiseo-peo/examples/html/ftv2plastnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/ftv2pnode.png b/trunk/paradiseo-peo/examples/html/ftv2pnode.png deleted file mode 100755 index 2001b797b..000000000 Binary files a/trunk/paradiseo-peo/examples/html/ftv2pnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/ftv2vertline.png b/trunk/paradiseo-peo/examples/html/ftv2vertline.png deleted file mode 100755 index b330f3a33..000000000 Binary files a/trunk/paradiseo-peo/examples/html/ftv2vertline.png and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/functions.html b/trunk/paradiseo-peo/examples/html/functions.html deleted file mode 100755 index 44cfc8f6f..000000000 --- a/trunk/paradiseo-peo/examples/html/functions.html +++ /dev/null @@ -1,243 +0,0 @@ - - -ParadisEO: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

-Here is a list of all documented class members with links to the class documentation for each member: -

-

- _ -

-

- a -

-

- b -

-

- c -

-

- d -

-

- e -

-

- f -

-

- g -

-

- i -

-

- k -

-

- l -

-

- m -

-

- n -

-

- o -

-

- p -

-

- r -

-

- s -

-

- t -

-

- u -

-

- v -

-

- w -

-

- ~ -

-
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/functions_func.html b/trunk/paradiseo-peo/examples/html/functions_func.html deleted file mode 100755 index 416303003..000000000 --- a/trunk/paradiseo-peo/examples/html/functions_func.html +++ /dev/null @@ -1,168 +0,0 @@ - - -ParadisEO: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- a -

-

- b -

-

- c -

-

- d -

-

- e -

-

- g -

-

- i -

-

- l -

-

- n -

-

- o -

-

- p -

-

- r -

-

- s -

-

- t -

-

- u -

-

- w -

-

- ~ -

-
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/functions_vars.html b/trunk/paradiseo-peo/examples/html/functions_vars.html deleted file mode 100755 index 80f6f4887..000000000 --- a/trunk/paradiseo-peo/examples/html/functions_vars.html +++ /dev/null @@ -1,163 +0,0 @@ - - -ParadisEO: Class Members - Variables - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- _ -

-

- a -

-

- c -

-

- d -

-

- e -

-

- f -

-

- i -

-

- k -

-

- l -

-

- m -

-

- n -

-

- o -

-

- p -

-

- r -

-

- s -

-

- t -

-

- v -

-
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/hierarchy.html b/trunk/paradiseo-peo/examples/html/hierarchy.html deleted file mode 100755 index 8f9088eb2..000000000 --- a/trunk/paradiseo-peo/examples/html/hierarchy.html +++ /dev/null @@ -1,101 +0,0 @@ - - -ParadisEO: Hierarchical Index - - - - -
-
-
-
-

ParadisEO Class Hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/index.html b/trunk/paradiseo-peo/examples/html/index.html deleted file mode 100755 index bdab4e483..000000000 --- a/trunk/paradiseo-peo/examples/html/index.html +++ /dev/null @@ -1,8 +0,0 @@ - - -ParadisEO - - - - - diff --git a/trunk/paradiseo-peo/examples/html/installdox b/trunk/paradiseo-peo/examples/html/installdox deleted file mode 100755 index 9b89fe025..000000000 --- a/trunk/paradiseo-peo/examples/html/installdox +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/perl - -%subst = ( ); -$quiet = 0; - -if (open(F,"search.cfg")) -{ - $_= ; s/[ \t\n]*$//g ; $subst{"_doc"} = $_; - $_= ; s/[ \t\n]*$//g ; $subst{"_cgi"} = $_; -} - -while ( @ARGV ) { - $_ = shift @ARGV; - if ( s/^-// ) { - if ( /^l(.*)/ ) { - $v = ($1 eq "") ? shift @ARGV : $1; - ($v =~ /\/$/) || ($v .= "/"); - $_ = $v; - if ( /(.+)\@(.+)/ ) { - if ( exists $subst{$1} ) { - $subst{$1} = $2; - } else { - print STDERR "Unknown tag file $1 given with option -l\n"; - &usage(); - } - } else { - print STDERR "Argument $_ is invalid for option -l\n"; - &usage(); - } - } - elsif ( /^q/ ) { - $quiet = 1; - } - elsif ( /^\?|^h/ ) { - &usage(); - } - else { - print STDERR "Illegal option -$_\n"; - &usage(); - } - } - else { - push (@files, $_ ); - } -} - -foreach $sub (keys %subst) -{ - if ( $subst{$sub} eq "" ) - { - print STDERR "No substitute given for tag file `$sub'\n"; - &usage(); - } - elsif ( ! $quiet && $sub ne "_doc" && $sub ne "_cgi" ) - { - print "Substituting $subst{$sub} for each occurence of tag file $sub\n"; - } -} - -if ( ! @files ) { - if (opendir(D,".")) { - foreach $file ( readdir(D) ) { - $match = ".html"; - next if ( $file =~ /^\.\.?$/ ); - ($file =~ /$match/) && (push @files, $file); - ($file =~ "tree.js") && (push @files, $file); - } - closedir(D); - } -} - -if ( ! @files ) { - print STDERR "Warning: No input files given and none found!\n"; -} - -foreach $f (@files) -{ - if ( ! $quiet ) { - print "Editing: $f...\n"; - } - $oldf = $f; - $f .= ".bak"; - unless (rename $oldf,$f) { - print STDERR "Error: cannot rename file $oldf\n"; - exit 1; - } - if (open(F,"<$f")) { - unless (open(G,">$oldf")) { - print STDERR "Error: opening file $oldf for writing\n"; - exit 1; - } - if ($oldf ne "tree.js") { - while () { - s/doxygen\=\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\" (href|src)=\"\2/doxygen\=\"$1:$subst{$1}\" \3=\"$subst{$1}/g; - print G "$_"; - } - } - else { - while () { - s/\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\", \"\2/\"$1:$subst{$1}\" ,\"$subst{$1}/g; - print G "$_"; - } - } - } - else { - print STDERR "Warning file $f does not exist\n"; - } - unlink $f; -} - -sub usage { - print STDERR "Usage: installdox [options] [html-file [html-file ...]]\n"; - print STDERR "Options:\n"; - print STDERR " -l tagfile\@linkName tag file + URL or directory \n"; - print STDERR " -q Quiet mode\n\n"; - exit 1; -} diff --git a/trunk/paradiseo-peo/examples/html/main.html b/trunk/paradiseo-peo/examples/html/main.html deleted file mode 100755 index d1e60fe68..000000000 --- a/trunk/paradiseo-peo/examples/html/main.html +++ /dev/null @@ -1,100 +0,0 @@ - - -ParadisEO: The ParadisEO Framework - - - - -
-
-

The ParadisEO Framework

-

-

-Introduction

-ParadisEO is a white-box object-oriented framework dedicated to the reusable design of parallel and distributed metaheuristics (PDM). ParadisEO provides a broad range of features including evolutionary algorithms (EA), local searches (LS), the most common parallel and distributed models and hybridization mechanisms, etc. This high content and utility encourages its use at European level. ParadisEO is based on a clear conceptual separation of the solution methods from the problems they are intended to solve. This separation confers to the user a maximum code and design reuse. Furthermore, the fine-grained nature of the classes provided by the framework allow a higher flexibility compared to other frameworks. ParadisEO is one of the rare frameworks that provide the most common parallel and distributed models. Their implementation is portable on distributed-memory machines as well as on shared-memory multiprocessors, as it uses standard libraries such as MPI, PVM and PThreads. The models can be exploited in a transparent way, one has just to instantiate their associated provided classes. Their experimentation on the radio network design real-world application demonstrate their efficiency.

-In practice, combinatorial optimization problems are often NP-hard, CPU time-consuming, and evolve over time. Unlike exact methods, metaheuristics allow to tackle large-size problems instances by delivering satisfactory solutions in a reasonable time. Metaheuristics are general-purpose heuristics that split in two categories: evolutionary algorithms (EA) and local search methods (LS). These two families have complementary characteristics: EA allow a better exploration of the search space, while LS have the power to intensify the search in promising regions. Their hybridization allows to deliver robust and better solutions

-Although serial metaheuristics have a polynomial temporal complexity, they remain unsatisfactory for industrial problems. Parallel and distributed computing is a powerful way to deal with the performance issue of these problems. Numerous parallel and distributed metaheuristics (PDM) and their implementations have been proposed, and are available on theWeb. They can be reused and adapted to his/her own problems. However, the user has to deeply examine the code and rewrite its problem-specific sections. The task is tedious, errorprone, takes along time and makes harder the produced code maintenance. A better way to reuse the code of existing PDM is the reuse through libraries. These are often more reliable as they are more tested and documented. They allow a better maintainability and efficiency. However, libraries do not allow the reuse of design.

-Parallel and distributed metaheuristics

-

-Parallel distributed evolutionary algorithms

-Evolutionary Algorithms (EA) are based on the iterative improvement of a population of solutions. At each step, individuals are selected, paired and recombined in order to generate new solutions that replace other ones, and so on. As the algorithm converges, the population is mainly composed of individuals well adapted to the "environment", for instance the problem. The main features that characterize EA are the way the population is initialized, the selection strategy (deterministic/stochastic) by fostering "good" solutions, the replacement strategy that discards individuals, and the continuation/stopping criterion to decide whether the evolution should go on or not.

-Basically, three major parallel and distributed models for EA can been distinguished: the island (a)synchronous cooperative model, the parallel evaluation of the population, and the distributed evaluation of a single solution.

    -
  • -Island (a)synchronous cooperative model. Different EA are simultaneously deployed to cooperate for computing better and robust solutions. They exchange in an asynchronous way genetic stuff to diversify the search. The objective is to allow to delay the global convergence, especially when theEAare heterogeneous regarding the variation operators. The migration of individuals follows a policy defined by few parameters: the migration decision criterion, the exchange topology, the number of emigrants, the emigrants selection policy, and the replacement/integration policy.

    -

  • -
  • -Parallel evaluation of the population. It is required as it is in general the most timeconsuming. The parallel evaluation follows the centralized model. The farmer applies the following operations: selection, transformation and replacement as they require a global management of the population. At each generation, it distributes the set of new solutions between differentworkers. These evaluate and return back the solutions and their quality values. An efficient execution is often obtained particularly when the evaluation of each solution is costly. The two main advantages of an asynchronous model over the synchronous model are: (1) the fault tolerance of the asynchronous model; (2) the robustness in case the fitness computation can take very different computation times (e.g. for nonlinear numerical optimization). Whereas some time-out detection can be used to address the former issue, the latter one can be partially overcome if the grain is set to very small values, as individuals will be sent out for evaluations upon request of the workers.

    -

  • -
  • -Distributed evaluation of a single solution. The quality of each solution is evaluated in a parallel centralized way. That model is particularly interesting when the evaluation function can be itself parallelized as it is CPU time-consuming and/or IO intensive. In that case, the function can be viewed as an aggregation of a certain number of partial functions. The partial functions could also be identical if for example the problem to deal with is a data mining one. The evaluation is thus data parallel and the accesses to data base are performed in parallel. Furthermore, a reduction operation is performed on the results returned by the partial functions. As a summary, for this model the user has to indicate a set of partial functions and an aggregation operator of these.
  • -
-

-Parallel distributed local searches

-

-Local searches

-All metaheuristics dedicated to the improvement of a single solution are based on the concept of neighborhood. They start from a solution randomly generated or obtained from another optimization algorithm, and update it, step by step, by replacing the current solution by one of its neighboring candidates. Some criterion have been identified to differentiate such searches: the heuristic internal memory, the choice of the initial solution, the candidate solutions generator, and the selection strategy of candidate moves. Three main algorithms of local search stand out: Hill Climbing (HC), Simulated Annealing (SA) and Tabu Search (TS).

-Parallel local searches

-Two parallel distributed models are commonly used in the literature: the parallel distributed exploration of neighboring candidate solutions model, and the multi-start model.
    -
  • -Parallel exploration of neighboring candidates. It is a low-level Farmer-Worker model that does not alter the behavior of the heuristic. A sequential search computes the same results slower.At the beginning of each iteration, the farmer duplicates the current solution between distributed nodes. Each one manages some candidates and the results are returned to the farmer. The model is efficient if the evaluation of a each solution is time-consuming and/or there are a great deal of candidate neighbors to evaluate. This is obviously not applicable to SA since only one candidate is evaluated at each iteration. Likewise, the efficiency of the model for HC is not always guaranteed as the number of neighboring solutions to process before finding one that improves the current objective function may be highly variable.

    -

  • -
  • -Multi-start model. It consists in simultaneously launching several local searches. They may be heterogeneous, but no information is exchanged between them. The resultswould be identical as if the algorithms were sequentially run.Very often deterministic algorithms differ by the supplied initial solution and/or some other parameters. This trivial model is convenient for low-speed networks of workstations.
  • -
-

-Hybridization

-Recently, hybrid metaheuristics have gained a considerable interest. For many practical or academic optimization problems, the best found solutions are obtained by hybrid algorithms. Combinations of different metaheuristics have provided very powerful search methods. Two levels and two modes of hybridization have been distinguished: Low and High levels, and Relay and Cooperative modes. The low-level hybridization addresses the functional composition of a single optimization method. A function of a given metaheuristic is replaced by another metaheuristic. On the contrary, for high-level hybrid algorithms the different metaheuristics are self-containing, meaning no direct relationship to their internal working is considered. On the other hand, relay hybridization means a set of metaheuristics is applied in a pipeline way. The output of a metaheuristic (except the last) is the input of the following one (except the first). Conversely, co-evolutionist hybridization is a cooperative optimization model. Each metaheuristic performs a search in a solution space, and exchange solutions with others.

-Paradiseo goals and architecture

-The "EO" part of ParadisEO means Evolving Objects. EO is a C++ LGPL open source framework and includes a paradigm-free Evolutionary Computation library (EOlib) dedicated to the flexible design of EA through evolving objects superseding the most common dialects (Genetic Algorithms, Evolution Strategies, Evolutionary Programming and Genetic Programming). Furthermore, EO integrates several services including visualization facilities, on-line definition of parameters, application check-pointing, etc. ParadisEO is an extended version of the EO framework. The extensions include local search methods, hybridization mechanisms, parallelism and distribution mechanisms, and other features that are not addressed in this paper such as multi-objective optimization and grid computing. In the next sections, we present the motivations and goals of ParadisEO, its architecture and some of its main implementation details and issues.

-Motivations and goals

-A framework is normally intended to be exploited by as many users as possible. Therefore, its exploitation could be successful only if some important user criteria are satisfied. The following criteria are the major of them and constitute the main objectives of the ParadisEO framework:

-

    -
  • -Maximum design and code reuse. The framework must provide for the user a whole architecture design of his/her solution method. Moreover, the programmer may redo as little code as possible. This objective requires a clear and maximal conceptual separation between the solution methods and the problems to be solved, and thus a deep domain analysis. The user might therefore develop only the minimal problem-specific code.

    -

  • -
  • -Flexibility and adaptability. It must be possible for the user to easily add new features/ metaheuristics or change existing ones without implicating other components. Furthermore, as in practice existing problems evolve and new others arise these have to be tackled by specializing/adapting the framework components.

    -

  • -
  • -Utility. The framework must allow the user to cover a broad range of metaheuristics, problems, parallel distributed models, hybridization mechanisms, etc.

    -

  • -
  • -Transparent and easy access to performance and robustness. As the optimization applications are often time-consuming the performance issue is crucial. Parallelism and distribution are two important ways to achieve high performance execution. In order to facilitate its use it is implemented so that the user can deploy his/her parallel algorithms in a transparent manner. Moreover, the execution of the algorithms must be robust to guarantee the reliability and the quality of the results. The hybridization mechanism allows to obtain robust and better solutions.

    -

  • -
  • -Portability. In order to satisfy a large number of users the framework must support different material architectures and their associated operating systems.
  • -
-

-ParadisEO architecture

-The architecture of ParadisEO is multi-layer and modular allowing to achieve the objectives quoted above. This allows particularly a high flexibility and adaptability, an easier hybridization, and more code and design reuse. The architecture has three layers identifying three major categories of classes: Solvers, Runners and Helpers.
    -
  • -Helpers. Helpers are low-level classes that perform specific actions related to the evolution or search process. They are split in two categories: Evolutionary helpers (EH) and Local search helpers (LSH). EH include mainly the transformation, selection and replacement operations, the evaluation function and the stopping criterion. LSH can be generic such as the neighborhood explorer class, or specific to the local search metaheuristic like the tabu list manager class in the Tabu Search solution method. On the other hand, there are some special helpers dedicated to the management of parallel and distributed models 2 and 3, such as the communicators that embody the communication services.

    -Helpers cooperate between them and interact with the components of the upper layer i.e. the runners. The runners invoke the helpers through function parameters. Indeed, helpers have not their own data, but they work on the internal data of the runners.

    -

  • -
  • -Runners. The Runners layer contains a set of classes that implement the metaheuristics themselves. They perform the run of the metaheuristics from the initial state or population to the final one. One can distinguish the Evolutionary runners (ER) such as genetic algorithms, evolution strategies, etc., and Local search runners (LSR) like tabu search, simulated annealing and hill climbing. Runners invoke the helpers to perform specific actions on their data. For instance, an ER may ask the fitness function evaluation helper to evaluate its population. An LSR asks the movement helper to perform a given movement on the current state. Furthermore, runners can be serial or parallel distributed.

    -

  • -
  • -Solvers. Solvers are devoted to control the evolution process and/or the search. They generate the initial state (solution or population) and define the strategy for combining and sequencing different metaheuristics. Two types of solvers can be distinguished. Single metaheuristic solvers (SMS) and Multiple metaheuristics solvers (MMS). SMSs are dedicated to the execution of only one metaheuristic.MMS are more complex as they control and sequence several metaheuristics that can be heterogeneous. Solvers interact with the user by getting the input data and delivering the output (best solution, statistics, etc).
  • -
-

-According to the generality of their embedded features, the classes of the architecture split in two major categories: Provided classes and Required classes. Provided classes embody the factored out part of the metaheuristics. They are generic, implemented in the framework, and ensure the control at run time. Required classes are those that must be supplied by the user. They encapsulate the problem-specific aspects of the application. These classes are fixed but not implemented in ParadisEO. The programmer has the burden to develop them using the OO specialization mechanism.


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/main_8cpp-source.html b/trunk/paradiseo-peo/examples/html/main_8cpp-source.html deleted file mode 100755 index e46acdb4f..000000000 --- a/trunk/paradiseo-peo/examples/html/main_8cpp-source.html +++ /dev/null @@ -1,200 +0,0 @@ - - -ParadisEO: main.cpp Source File - - - - -
-
-

main.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "main_ga.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "param.h"
-00025 #include "route_init.h"
-00026 #include "route_eval.h"
-00027 
-00028 #include "order_xover.h"
-00029 #include "edge_xover.h"
-00030 #include "partial_mapped_xover.h"
-00031 #include "city_swap.h"
-00032 #include "part_route_eval.h"
-00033 #include "merge_route_eval.h"
-00034 #include "two_opt_init.h"
-00035 #include "two_opt_next.h"
-00036 #include "two_opt_incr_eval.h"
-00037 
-00038 #include <paradiseo>
-00039 
-00040 #define POP_SIZE 10
-00041 #define NUM_GEN 100
-00042 #define CROSS_RATE 1.0
-00043 #define MUT_RATE 0.01
-00044 #define NUM_PART_EVALS 2
-00045 
-00046 #define MIG_FREQ 10
-00047 #define MIG_SIZE 10
-00048 #define HYBRID_SIZE 3
-00049 
-00050 int main (int __argc, char * * __argv) {
-00051 
-00052   peo :: init (__argc, __argv);
-00053 
-00054   loadParameters (__argc, __argv); /* Processing some parameters relative to the tackled
-00055                                       problem (TSP) */
-00056 
-00057   RouteInit route_init; /* Its builds random routes */  
-00058   RouteEval full_eval; /* Full route evaluator */
-00059 
-00060   MergeRouteEval merge_eval; 
-00061   
-00062   std :: vector <eoEvalFunc <Route> *> part_eval;
-00063   for (unsigned i = 1 ; i <= NUM_PART_EVALS ; i ++)
-00064     part_eval.push_back (new PartRouteEval ((float) (i - 1) / NUM_PART_EVALS, (float) i / NUM_PART_EVALS));
-00065   
-00066   OrderXover order_cross; /* Recombination */
-00067   PartialMappedXover pm_cross;
-00068   EdgeXover edge_cross;
-00069   CitySwap city_swap_mut;  /* Mutation */
-00070 
-00071   RingTopology topo;
-00072  
-00075   eoPop <Route> ox_pop (POP_SIZE, route_init);  /* Population */
-00076   
-00077   eoGenContinue <Route> ox_cont (NUM_GEN); /* A fixed number of iterations */  
-00078   eoCheckPoint <Route> ox_checkpoint (ox_cont); /* Checkpoint */
-00079   peoParaPopEval <Route> ox_pop_eval (part_eval, merge_eval);  
-00080   eoStochTournamentSelect <Route> ox_select_one;
-00081   eoSelectNumber <Route> ox_select (ox_select_one, POP_SIZE);
-00082   eoSGATransform <Route> ox_transform (order_cross, CROSS_RATE, city_swap_mut, MUT_RATE);
-00083   peoSeqTransform <Route> ox_para_transform (ox_transform);    
-00084   eoEPReplacement <Route> ox_replace (2);
-00085   
-00086   /* The migration policy */
-00087   eoPeriodicContinue <Route> ox_mig_cont (MIG_FREQ); /* Migration occurs periodically */
-00088   eoRandomSelect <Route> ox_mig_select_one; /* Emigrants are randomly selected */
-00089   eoSelectNumber <Route> ox_mig_select (ox_mig_select_one, MIG_SIZE);
-00090   eoPlusReplacement <Route> ox_mig_replace; /* Immigrants replace the worse individuals */
-00091   
-00092   peoAsyncIslandMig <Route> ox_mig (ox_mig_cont, ox_mig_select, ox_mig_replace, topo, ox_pop, ox_pop);
-00093   //peoSyncIslandMig <Route> ox_mig (MIG_FREQ, ox_mig_select, ox_mig_replace, topo, ox_pop, ox_pop);
-00094   
-00095   ox_checkpoint.add (ox_mig);
-00096   
-00097   peoEA <Route> ox_ea (ox_checkpoint, ox_pop_eval, ox_select, ox_para_transform, ox_replace);
-00098   ox_mig.setOwner (ox_ea);
-00099   
-00100   ox_ea (ox_pop);   /* Application to the given population */    
-00101 
-00104   eoPop <Route> pmx_pop (POP_SIZE, route_init);  /* Population */
-00105 
-00106   eoGenContinue <Route> pmx_cont (NUM_GEN); /* A fixed number of iterations */  
-00107   eoCheckPoint <Route> pmx_checkpoint (pmx_cont); /* Checkpoint */
-00108   peoSeqPopEval <Route> pmx_pop_eval (full_eval);  
-00109   eoRankingSelect <Route> pmx_select_one;
-00110   eoSelectNumber <Route> pmx_select (pmx_select_one, POP_SIZE);
-00111   eoSGATransform <Route> pmx_transform (pm_cross, CROSS_RATE, city_swap_mut, MUT_RATE);
-00112   peoSeqTransform <Route> pmx_para_transform (pmx_transform);    
-00113   eoPlusReplacement <Route> pmx_replace;
-00114 
-00115   /* The migration policy */
-00116   eoPeriodicContinue <Route> pmx_mig_cont (MIG_FREQ); /* Migration occurs periodically */
-00117   eoRandomSelect <Route> pmx_mig_select_one; /* Emigrants are randomly selected */
-00118   eoSelectNumber <Route> pmx_mig_select (pmx_mig_select_one, MIG_SIZE);
-00119   eoPlusReplacement <Route> pmx_mig_replace; /* Immigrants replace the worse individuals */
-00120   peoAsyncIslandMig <Route> pmx_mig (pmx_mig_cont, pmx_mig_select, pmx_mig_replace, topo, pmx_pop, pmx_pop);
-00121   //peoSyncIslandMig <Route> pmx_mig (MIG_FREQ, pmx_mig_select, pmx_mig_replace, topo, pmx_pop, pmx_pop);
-00122   pmx_checkpoint.add (pmx_mig);
-00123   
-00124   /* Hybridization with a Local Search */
-00125   TwoOptInit pmx_two_opt_init;
-00126   TwoOptNext pmx_two_opt_next;
-00127   TwoOptIncrEval pmx_two_opt_incr_eval;
-00128   moBestImprSelect <TwoOpt> pmx_two_opt_move_select;
-00129   moHC <TwoOpt> hc (pmx_two_opt_init, pmx_two_opt_next, pmx_two_opt_incr_eval, pmx_two_opt_move_select, full_eval);
-00130 
-00131   eoPeriodicContinue <Route> pmx_ls_cont (MIG_FREQ); /* Hybridization occurs periodically */
-00132   eoRandomSelect <Route> pmx_ls_select_one; /* ? */
-00133   eoSelectNumber <Route> pmx_ls_select (pmx_ls_select_one, HYBRID_SIZE); 
-00134   eoPlusReplacement <Route> pmx_ls_replace;
-00135 
-00136   peoSyncMultiStart <Route> pmx_ls (pmx_ls_cont, pmx_ls_select, pmx_ls_replace, hc, pmx_pop);
-00137   pmx_checkpoint.add (pmx_ls);
-00138 
-00139   peoEA <Route> pmx_ea (pmx_checkpoint, pmx_pop_eval, pmx_select, pmx_para_transform, pmx_replace);
-00140   pmx_mig.setOwner (pmx_ea);
-00141   pmx_ls.setOwner (pmx_ea);
-00142 
-00143   pmx_ea (pmx_pop);   /* Application to the given population */    
-00144 
-00147   eoPop <Route> edge_pop (POP_SIZE, route_init);  /* Population */
-00148 
-00149   eoGenContinue <Route> edge_cont (NUM_GEN); /* A fixed number of iterations */  
-00150   eoCheckPoint <Route> edge_checkpoint (edge_cont); /* Checkpoint */
-00151   peoSeqPopEval <Route> edge_pop_eval (full_eval);  
-00152   eoRankingSelect <Route> edge_select_one;
-00153   eoSelectNumber <Route> edge_select (edge_select_one, POP_SIZE);        
-00154   peoParaSGATransform <Route> edge_para_transform (edge_cross, CROSS_RATE, city_swap_mut, MUT_RATE);
-00155   eoPlusReplacement <Route> edge_replace;
-00156 
-00157   /* The migration policy */
-00158   eoPeriodicContinue <Route> edge_mig_cont (MIG_FREQ); /* Migration occurs periodically */
-00159   eoRandomSelect <Route> edge_mig_select_one; /* Emigrants are randomly selected */
-00160   eoSelectNumber <Route> edge_mig_select (edge_mig_select_one, MIG_SIZE);
-00161   eoPlusReplacement <Route> edge_mig_replace; /* Immigrants replace the worse individuals */
-00162   peoAsyncIslandMig <Route> edge_mig (edge_mig_cont, edge_mig_select, edge_mig_replace, topo, edge_pop, edge_pop);
-00163   //peoSyncIslandMig <Route> edge_mig (MIG_FREQ, edge_mig_select, edge_mig_replace, topo, edge_pop, edge_pop);
-00164   edge_checkpoint.add (edge_mig);
-00165 
-00166   peoEA <Route> edge_ea (edge_checkpoint, edge_pop_eval, edge_select, edge_para_transform, edge_replace);
-00167 
-00168   edge_mig.setOwner (edge_ea);
-00169 
-00170   edge_ea (edge_pop);   /* Application to the given population */    
-00171   
-00172   peo :: run ();
-00173 
-00174   peo :: finalize (); /* Termination */
-00175 
-00176   return 0;
-00177 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/merge__route__eval_8cpp-source.html b/trunk/paradiseo-peo/examples/html/merge__route__eval_8cpp-source.html deleted file mode 100755 index 83e1a87af..000000000 --- a/trunk/paradiseo-peo/examples/html/merge__route__eval_8cpp-source.html +++ /dev/null @@ -1,61 +0,0 @@ - - -ParadisEO: merge_route_eval.cpp Source File - - - - -
-
-

merge_route_eval.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "merge_route_eval.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "merge_route_eval.h"
-00025 
-00026 void MergeRouteEval :: operator () (Route & __route, const int & __part_fit) {
-00027 
-00028   int len = __route.fitness ();
-00029   len += __part_fit;
-00030   __route.fitness (len);
-00031 }
-00032   
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/merge__route__eval_8h-source.html b/trunk/paradiseo-peo/examples/html/merge__route__eval_8h-source.html deleted file mode 100755 index a4944fd81..000000000 --- a/trunk/paradiseo-peo/examples/html/merge__route__eval_8h-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO: merge_route_eval.h Source File - - - - -
-
-

merge_route_eval.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "merge_route_eval.h"
-00004 
-00005 // (c) OPAC Team, LIFL, 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __merge_route_eval_h
-00025 #define __merge_route_eval_h
-00026 
-00027 #include <peoAggEvalFunc.h>
-00028 
-00029 #include "route.h"
-00030 
-00031 class MergeRouteEval : public peoAggEvalFunc <Route> {
-00032   
-00033 public :
-00034 
-00035   void operator () (Route & __route, const int & __part_fit) ;
-00036   
-00037 };
-00038 
-00039 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/mess_8cpp-source.html b/trunk/paradiseo-peo/examples/html/mess_8cpp-source.html deleted file mode 100755 index 848c806da..000000000 --- a/trunk/paradiseo-peo/examples/html/mess_8cpp-source.html +++ /dev/null @@ -1,281 +0,0 @@ - - -ParadisEO: mess.cpp Source File - - - - -
-
-

mess.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "mess.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <mpi.h>
-00025 #include <vector>
-00026 
-00027 #include "mess.h"
-00028 #include "../../core/peo_debug.h"
-00029 #include "node.h"
-00030 
-00031 #define MPI_BUF_SIZE 1024*64
-00032         
-00033 static char mpi_buf [MPI_BUF_SIZE];
-00034         
-00035 static int pos_buf ;
-00036 
-00037 static std :: vector <char *> act_buf; /* Active buffers */
-00038 
-00039 static std :: vector <MPI_Request *> act_req; /* Active requests */
-00040 
-00041 void cleanBuffers () {
-00042 
-00043   for (unsigned i = 0; i < act_req.size ();) {
-00044        
-00045     MPI_Status stat ;
-00046     int flag ;
-00047     MPI_Test (act_req [i], & flag, & stat) ;
-00048     if (flag) {
-00049       
-00050       delete act_buf [i] ;
-00051       delete act_req [i] ;
-00052         
-00053       act_buf [i] = act_buf.back () ;
-00054       act_buf.pop_back () ;
-00055       
-00056       act_req [i] = act_req.back () ;
-00057       act_req.pop_back () ;
-00058     }
-00059     else
-00060       i ++;
-00061   } 
-00062 }
-00063 
-00064 void waitBuffers () {
-00065 
-00066   printDebugMessage ("waiting the termination of the asynchronous operations to complete");
-00067 
-00068   for (unsigned i = 0; i < act_req.size (); i ++) {
-00069        
-00070     MPI_Status stat ;
-00071 
-00072     MPI_Wait (act_req [i], & stat) ;
-00073       
-00074     delete act_buf [i] ;
-00075     delete act_req [i] ;
-00076   } 
-00077 }
-00078 
-00079 bool probeMessage (int & __src, int & __tag) {
-00080 
-00081   int flag;
-00082 
-00083   MPI_Status stat;
-00084 
-00085   MPI_Iprobe (MPI_ANY_SOURCE, MPI_ANY_TAG, MPI_COMM_WORLD, & flag, & stat);
-00086 
-00087   __src = stat.MPI_SOURCE;
-00088   __tag = stat.MPI_TAG;
-00089 
-00090   return flag;
-00091 }
-00092 
-00093 void waitMessage () {
-00094 
-00095   MPI_Status stat;  
-00096 
-00097   MPI_Probe (MPI_ANY_SOURCE, MPI_ANY_TAG, MPI_COMM_WORLD, & stat);
-00098 }
-00099 
-00100 void initMessage () {
-00101   
-00102   pos_buf = 0;
-00103 }
-00104 
-00105 void sendMessage (int __to, int __tag) {
-00106 
-00107   cleanBuffers ();  
-00108   act_buf.push_back (new char [pos_buf]);
-00109   act_req.push_back (new MPI_Request);  
-00110   memcpy (act_buf.back (), mpi_buf, pos_buf);  
-00111   MPI_Isend (act_buf.back (), pos_buf, MPI_PACKED, __to, __tag, MPI_COMM_WORLD, act_req.back ()); 
-00112 }
-00113 
-00114 void sendMessageToAll (int __tag) {
-00115 
-00116   for (int i = 0; i < getNumberOfNodes (); i ++)
-00117     sendMessage (i, __tag);
-00118 }
-00119 
-00120 void receiveMessage (int __from, int __tag) {
-00121   
-00122   MPI_Status stat;  
-00123   MPI_Request req;
-00124 
-00125   MPI_Irecv (mpi_buf, MPI_BUF_SIZE, MPI_PACKED, __from, __tag, MPI_COMM_WORLD, & req) ;
-00126   MPI_Wait (& req, & stat) ;
-00127 }
-00128 
-00129 /* Char */
-00130 void pack (const char & __c) {
-00131 
-00132   MPI_Pack ((void *) & __c, 1, MPI_CHAR, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD);
-00133 }
-00134 
-00135 /* Float */
-00136 void pack (const float & __f, int __nitem) {
-00137 
-00138   MPI_Pack ((void *) & __f, __nitem, MPI_FLOAT, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD);
-00139 }
-00140 
-00141 /* Double */
-00142 void pack (const double & __d, int __nitem) {
-00143 
-00144   MPI_Pack ((void *) & __d, __nitem, MPI_DOUBLE, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD);
-00145 }
-00146 
-00147 /* Integer */
-00148 void pack (const int & __i, int __nitem) {
-00149 
-00150   MPI_Pack ((void *) & __i, __nitem, MPI_INT, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD);
-00151 }
-00152 
-00153 /* Unsigned int. */
-00154 void pack (const unsigned int & __ui, int __nitem) {
-00155 
-00156   MPI_Pack ((void *) & __ui, __nitem, MPI_UNSIGNED, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD);
-00157 }
-00158 
-00159 /* Short int. */
-00160 void pack (const short & __sh, int __nitem) {
-00161 
-00162   MPI_Pack ((void *) & __sh, __nitem, MPI_SHORT, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD);
-00163 }
-00164 
-00165 /* Unsigned short */
-00166 void pack (const unsigned short & __ush, int __nitem) {
-00167 
-00168   MPI_Pack ((void *) & __ush, __nitem, MPI_UNSIGNED_SHORT, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD);
-00169 }
-00170 
-00171 /* Long */
-00172 void pack (const long & __l, int __nitem) {
-00173 
-00174   MPI_Pack ((void *) & __l, __nitem, MPI_LONG, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD);
-00175 }
-00176 
-00177 /* Unsigned long */
-00178 void pack (const unsigned long & __ul, int __nitem) {
-00179 
-00180   MPI_Pack ((void *) & __ul, __nitem, MPI_UNSIGNED_LONG, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD);
-00181 }
-00182 
-00183 /* String */
-00184 void pack (const char * __str) {
-00185   
-00186   int len = strlen (__str) + 1;
-00187   MPI_Pack (& len, 1, MPI_INT, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD);
-00188   MPI_Pack ((void *) __str, len, MPI_CHAR, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD);
-00189 }
-00190 
-00191 /* Char */
-00192 void unpack (char & __c) {
-00193 
-00194   MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __c, 1, MPI_CHAR, MPI_COMM_WORLD);
-00195 }
-00196 
-00197 /* Float */
-00198 void unpack (float & __f, int __nitem) {
-00199 
-00200   MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __f, __nitem, MPI_FLOAT, MPI_COMM_WORLD);
-00201 }
-00202 
-00203 /* Double */
-00204 void unpack (double & __d, int __nitem) {
-00205 
-00206   MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __d, __nitem, MPI_DOUBLE, MPI_COMM_WORLD);
-00207 }
-00208 
-00209 /* Integer */
-00210 void unpack (int & __i, int __nitem) {
-00211 
-00212   MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __i, __nitem, MPI_INT, MPI_COMM_WORLD);
-00213 }
-00214 
-00215 /* Unsigned int. */
-00216 void unpack (unsigned int & __ui, int __nitem) {
-00217 
-00218   MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __ui, __nitem, MPI_UNSIGNED, MPI_COMM_WORLD);
-00219 }
-00220 
-00221 /* Short int. */
-00222 void unpack (short & __sh, int __nitem) {
-00223 
-00224   MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __sh, __nitem, MPI_SHORT, MPI_COMM_WORLD);
-00225 }
-00226 
-00227 /* Unsigned short */
-00228 void unpack (unsigned short & __ush, int __nitem) {
-00229 
-00230   MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __ush, __nitem, MPI_UNSIGNED_SHORT, MPI_COMM_WORLD);
-00231 }
-00232 
-00233 /* Long */
-00234 void unpack (long & __l, int __nitem) {
-00235 
-00236   MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __l, __nitem, MPI_LONG, MPI_COMM_WORLD);
-00237 }
-00238 
-00239 /* Unsigned long */
-00240 void unpack (unsigned long & __ul, int __nitem) {
-00241 
-00242   MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __ul, __nitem, MPI_UNSIGNED_LONG, MPI_COMM_WORLD);
-00243 }
-00244 
-00245 /* String */
-00246 void unpack (char * __str) {
-00247 
-00248   int len;
-00249   MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & len, 1, MPI_INT, MPI_COMM_WORLD);
-00250   MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, __str, len, MPI_CHAR, MPI_COMM_WORLD);    
-00251 }
-00252 
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/mess_8h-source.html b/trunk/paradiseo-peo/examples/html/mess_8h-source.html deleted file mode 100755 index 39764fa1c..000000000 --- a/trunk/paradiseo-peo/examples/html/mess_8h-source.html +++ /dev/null @@ -1,75 +0,0 @@ - - -ParadisEO: mess.h Source File - - - - -
-
-

mess.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "mess.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __mess_rmc_h
-00025 #define __mess_rmc_h
-00026 
-00027 #include "../../core/messaging.h"
-00028 
-00029 extern void initMessage ();
-00030 
-00031 extern void sendMessage (int __to, int __tag);
-00032 
-00033 extern void sendMessageToAll (int __tag);
-00034 
-00035 extern void receiveMessage (int __from, int __tag);
-00036 
-00037 extern void cleanBuffers ();
-00038 
-00039 extern void waitBuffers ();
-00040 
-00041 extern bool probeMessage (int & __src, int & __tag);
-00042 
-00043 extern void waitMessage ();
-00044 
-00045 #endif
-00046 
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/messaging_8h-source.html b/trunk/paradiseo-peo/examples/html/messaging_8h-source.html deleted file mode 100755 index c6748d03b..000000000 --- a/trunk/paradiseo-peo/examples/html/messaging_8h-source.html +++ /dev/null @@ -1,148 +0,0 @@ - - -ParadisEO: messaging.h Source File - - - - -
-
-

messaging.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "messaging.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __mess_h
-00025 #define __mess_h
-00026 
-00027 #include <utility>
-00028 
-00029 /* Char */
-00030 extern void pack (const char & __c); 
-00031 
-00032 /* Float */
-00033 extern void pack (const float & __f, int __nitem = 1); 
-00034 
-00035 /* Double */
-00036 extern void pack (const double & __d, int __nitem = 1); 
-00037 
-00038 /* Integer */
-00039 extern void pack (const int & __i, int __nitem = 1); 
-00040 
-00041 /* Unsigned int. */
-00042 extern void pack (const unsigned int & __ui, int __nitem = 1); 
-00043 
-00044 /* Short int. */
-00045 extern void pack (const short & __sh, int __nitem = 1); 
-00046 
-00047 /* Unsigned short */
-00048 extern void pack (const unsigned short & __ush, int __nitem = 1);
-00049 
-00050 /* Long */
-00051 extern void pack (const long & __l, int __nitem = 1); 
-00052 
-00053 /* Unsigned long */
-00054 extern void pack (const unsigned long & __ul, int __nitem = 1); 
-00055 
-00056 /* String */
-00057 extern void pack (const char * __str); 
-00058 
-00059 /* Pointer */
-00060 template <class T> void pack (const T * __ptr) {
-00061   
-00062   pack ((unsigned long) __ptr); 
-00063 }
-00064 
-00065 /* Pair */
-00066 template <class U, class V> void pack (const std :: pair <U, V> & __pair) {
-00067   
-00068   pack (__pair.first);
-00069   pack (__pair.second);
-00070 }
-00071 
-00072 //
-00073 
-00074 /* Float */
-00075 extern void unpack (char & __c); 
-00076 
-00077 /* Float */
-00078 extern void unpack (float & __f, int __nitem = 1); 
-00079 
-00080 /* Double */
-00081 extern void unpack (double & __d, int __nitem = 1); 
-00082 
-00083 /* Integer */
-00084 extern void unpack (int & __i, int __nitem = 1); 
-00085 
-00086 /* Unsigned int. */
-00087 extern void unpack (unsigned int & __ui, int __nitem = 1); 
-00088 
-00089 /* Short int. */
-00090 extern void unpack (short & __sh, int __nitem = 1); 
-00091 
-00092 /* Unsigned short */
-00093 extern void unpack (unsigned short & __ush, int __nitem = 1);
-00094 
-00095 /* Long */
-00096 extern void unpack (long & __l, int __nitem = 1); 
-00097 
-00098 /* Unsigned long */
-00099 extern void unpack (unsigned long & __ul, int __nitem = 1); 
-00100 
-00101 /* String */
-00102 extern void unpack (char * __str); 
-00103 
-00104 /* Pointer */
-00105 template <class T> void unpack (T * & __ptr) {
-00106   
-00107   unsigned long p;
-00108   unpack (p);
-00109   __ptr = (T *) p;
-00110 }
-00111 
-00112 /* Pair */
-00113 template <class U, class V> void unpack (std :: pair <U, V> & __pair) {
-00114   
-00115   unpack (__pair.first);
-00116   unpack (__pair.second);
-00117 }
-00118 
-00119 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/mix_8h-source.html b/trunk/paradiseo-peo/examples/html/mix_8h-source.html deleted file mode 100755 index eccbb3aea..000000000 --- a/trunk/paradiseo-peo/examples/html/mix_8h-source.html +++ /dev/null @@ -1,54 +0,0 @@ - - -ParadisEO: mix.h Source File - - - - -
-
-

mix.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- 
-00002 
-00003 /* 
-00004    file: 'mix.h'      
-00005    author: S. CAHON
-00006    mail: cahon@lifl.fr
-00007    date: dec. 2005    
-00008 */
-00009 
-00010 #ifndef __mix_h
-00011 #define __mix_h
-00012 
-00013 #include <vector>
-00014 
-00015 #include <utils/eoRNG.h>
-00016 
-00017 template <class T> void mix (std :: vector <T> & __v) {
-00018   
-00019   unsigned len = __v.size () ;
-00020 
-00021   for (unsigned i = 0 ; i < len ; i ++)
-00022     std :: swap (__v [i], __v [rng.random (len)]) ;
-00023 }
-00024 
-00025 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/namespacemembers.html b/trunk/paradiseo-peo/examples/html/namespacemembers.html deleted file mode 100755 index 2a7221205..000000000 --- a/trunk/paradiseo-peo/examples/html/namespacemembers.html +++ /dev/null @@ -1,51 +0,0 @@ - - -ParadisEO: Class Members - - - - -
-
- -
- -
-Here is a list of all documented namespace members with links to the namespaces they belong to: -

-

-
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/namespacemembers_func.html b/trunk/paradiseo-peo/examples/html/namespacemembers_func.html deleted file mode 100755 index e272ec835..000000000 --- a/trunk/paradiseo-peo/examples/html/namespacemembers_func.html +++ /dev/null @@ -1,49 +0,0 @@ - - -ParadisEO: Class Members - - - - -
-
- -
- -
-  -

-

    -
  • finalize() -: peo
  • init() -: peo
  • loadParameters() -: peo
  • run() -: peo
-
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/namespacemembers_vars.html b/trunk/paradiseo-peo/examples/html/namespacemembers_vars.html deleted file mode 100755 index 267927ccd..000000000 --- a/trunk/paradiseo-peo/examples/html/namespacemembers_vars.html +++ /dev/null @@ -1,47 +0,0 @@ - - -ParadisEO: Class Members - - - - -
-
- -
- -
-  -

-

-
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/namespacepeo.html b/trunk/paradiseo-peo/examples/html/namespacepeo.html deleted file mode 100755 index 7128c664d..000000000 --- a/trunk/paradiseo-peo/examples/html/namespacepeo.html +++ /dev/null @@ -1,65 +0,0 @@ - - -ParadisEO: peo Namespace Reference - - - - -
-
- -

peo Namespace Reference

-

- - - - - - - - - - - - - - - - - - - - -

Functions

-void finalize ()
-void init (int &__argc, char **&__argv)
-void loadParameters (int &__argc, char **&__argv)
-void run ()

Variables

-int * argc
-char *** argv
-int * argc
-char *** argv
-


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/namespaces.html b/trunk/paradiseo-peo/examples/html/namespaces.html deleted file mode 100755 index fe5836cb3..000000000 --- a/trunk/paradiseo-peo/examples/html/namespaces.html +++ /dev/null @@ -1,37 +0,0 @@ - - -ParadisEO: Namespace Index - - - - -
-
- -

ParadisEO Namespace List

Here is a list of all documented namespaces with brief descriptions: - -
peo
-
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/opt__route_8cpp-source.html b/trunk/paradiseo-peo/examples/html/opt__route_8cpp-source.html deleted file mode 100755 index c280d7de1..000000000 --- a/trunk/paradiseo-peo/examples/html/opt__route_8cpp-source.html +++ /dev/null @@ -1,151 +0,0 @@ - - -ParadisEO: opt_route.cpp Source File - - - - -
-
-

opt_route.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "opt_route.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "opt_route.h"
-00025 
-00026 #define MAX_TRASH_LENGTH 1000
-00027 #define MAX_FIELD_LENGTH 1000
-00028 #define MAX_LINE_LENGTH 1000
-00029 
-00030 static void getNextField (FILE * __f, char * __buff) {
-00031   
-00032   char trash [MAX_TRASH_LENGTH];  
-00033 
-00034   fscanf (__f, "%[ \t:\n]", trash); /* Discarding sep. */ 
-00035   fscanf (__f, "%[^:\n]", __buff); /* Reading the field */
-00036   fgetc (__f);
-00037 }
-00038 
-00039 static void getLine (FILE * __f, char * __buff) {
-00040 
-00041   char trash [MAX_TRASH_LENGTH];  
-00042 
-00043   fscanf (__f, "%[ \t:\n]", trash); /* Discarding sep. */ 
-00044   fscanf (__f, "%[^\n]", __buff); /* Reading the line */
-00045 }
-00046 
-00047 static void loadBestRoute (FILE * __f) {
-00048 
-00049   opt_route.clear ();
-00050   
-00051   for (unsigned i = 0; i < numNodes; i ++) {
-00052     Node node;
-00053     fscanf (__f, "%u", & node);
-00054     opt_route.push_back (node - 1);
-00055   }
-00056   int d; /* -1 ! */
-00057   fscanf (__f, "%d", & d);
-00058 }
-00059 
-00060 void loadOptimumRoute (const char * __filename) {
-00061 
-00062   FILE * f = fopen (__filename, "r");
-00063 
-00064   if (f) {
-00065      
-00066      printf ("Loading '%s'.\n", __filename);
-00067      
-00068      char field [MAX_FIELD_LENGTH];
-00069      
-00070      getNextField (f, field); /* Name */
-00071      assert (strstr (field, "NAME"));
-00072      getNextField (f, field); 
-00073      //printf ("NAME: %s.\n", field);
-00074 
-00075           getNextField (f, field); /* Comment */
-00076      assert (strstr (field, "COMMENT"));
-00077      getLine (f, field);
-00078      //     printf ("COMMENT: %s.\n", field);
-00079      
-00080      getNextField (f, field); /* Type */
-00081      assert (strstr (field, "TYPE"));
-00082      getNextField (f, field); 
-00083      //printf ("TYPE: %s.\n", field);
-00084 
-00085      getNextField (f, field); /* Dimension */
-00086      assert (strstr (field, "DIMENSION"));
-00087      getNextField (f, field); 
-00088      //     printf ("DIMENSION: %s.\n", field);
-00089      numNodes = atoi (field);
-00090 
-00091      getNextField (f, field); /* Tour section */
-00092      assert (strstr (field, "TOUR_SECTION"));
-00093      loadBestRoute (f);
-00094      
-00095      getNextField (f, field); /* End of file */
-00096      assert (strstr (field, "EOF"));
-00097      //printf ("EOF.\n");
-00098      
-00099      printf ("The length of the best route is %u.\n", length (opt_route));
-00100   }
-00101    else {
-00102      
-00103      fprintf (stderr, "Can't open '%s'.\n", __filename); 
-00104      exit (1);
-00105    }
-00106 }
-00107 
-00108 void loadOptimumRoute (eoParser & __parser) {
-00109   
-00110   /* Getting the path of the instance */
-00111   
-00112   eoValueParam <std :: string> param ("", "optimumTour", "Optimum tour") ;
-00113   __parser.processParam (param) ;
-00114   if (strlen (param.value ().c_str ()))
-00115     loadOptimumRoute (param.value ().c_str ());
-00116   else
-00117     opt_route.fitness (0);
-00118 }
-00119 
-00120 Route opt_route; /* Optimum route */
-00121 
-00122 
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/opt__route_8h-source.html b/trunk/paradiseo-peo/examples/html/opt__route_8h-source.html deleted file mode 100755 index 26097b46e..000000000 --- a/trunk/paradiseo-peo/examples/html/opt__route_8h-source.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO: opt_route.h Source File - - - - -
-
-

opt_route.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "opt_route.h"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __opt_route_h
-00025 #define __opt_route_h
-00026 
-00027 #include <cassert>
-00028 #include <utils/eoParser.h>
-00029 
-00030 #include "route.h"
-00031 
-00032 extern void loadOptimumRoute (const char * __filename);
-00033 
-00034 extern void loadOptimumRoute (eoParser & __parser);
-00035 
-00036 extern Route opt_route; /* Optimum route */
-00037 
-00038 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/order__xover_8cpp-source.html b/trunk/paradiseo-peo/examples/html/order__xover_8cpp-source.html deleted file mode 100755 index 96b2de832..000000000 --- a/trunk/paradiseo-peo/examples/html/order__xover_8cpp-source.html +++ /dev/null @@ -1,108 +0,0 @@ - - -ParadisEO: order_xover.cpp Source File - - - - -
-
-

order_xover.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "order_xover.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, 2002
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <assert.h>
-00025 
-00026 #include <utils/eoRNG.h>
-00027 
-00028 #include "order_xover.h"
-00029 
-00030 void OrderXover :: cross (const Route & __par1, const Route & __par2, Route & __child) {
-00031 
-00032   unsigned cut2 = 1 + rng.random (numNodes) ;    
-00033   unsigned cut1 = rng.random (cut2);
-00034   unsigned l = 0;
-00035 
-00036   /* To store vertices that have already been crossed */
-00037   std :: vector <bool> v (numNodes, false);
-00038 
-00039   /* Copy of the left partial route of the first parent */ 
-00040   for (unsigned i = cut1 ; i < cut2 ; i ++) {
-00041     __child [l ++] = __par1 [i] ; 
-00042     v [__par1 [i]] = true ;
-00043   }
-00044    
-00045   /* Searching the vertex of the second path, that ended the previous first one */
-00046   unsigned from = 0 ;
-00047   for (unsigned i = 0; i < numNodes; i ++)
-00048     if (__par2 [i] == __child [cut2 - 1]) { 
-00049       from = i ;
-00050       break ;
-00051     }
-00052   
-00053   /* Selecting a direction (Left or Right) */
-00054   char direct = rng.flip () ? 1 : -1 ;
-00055       
-00056   for (unsigned i = 0; i < numNodes + 1; i ++) {
-00057     unsigned bidule = (direct * i + from + numNodes) % numNodes;
-00058     if (! v [__par2 [bidule]]) {
-00059       __child [l ++] = __par2 [bidule] ;
-00060       v [__par2 [bidule]] = true ;
-00061     }
-00062   }
-00063 } 
-00064 
-00065 bool OrderXover :: operator () (Route & __route1, Route & __route2) {
-00066   
-00067   // Init. copy
-00068   Route par [2] ;
-00069   par [0] = __route1 ;
-00070   par [1] = __route2 ;
-00071   
-00072   cross (par [0], par [1], __route1) ;
-00073   cross (par [1], par [0], __route2) ;
-00074   
-00075   __route1.invalidate () ;
-00076   __route2.invalidate () ;
-00077 
-00078   return true ;
-00079 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/order__xover_8h-source.html b/trunk/paradiseo-peo/examples/html/order__xover_8h-source.html deleted file mode 100755 index c90f949f4..000000000 --- a/trunk/paradiseo-peo/examples/html/order__xover_8h-source.html +++ /dev/null @@ -1,71 +0,0 @@ - - -ParadisEO: order_xover.h Source File - - - - -
-
-

order_xover.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "order_xover.h"
-00004 
-00005 // (c) OPAC Team, LIFL, 2003
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef order_xover_h
-00025 #define order_xover_h
-00026 
-00027 #include <eoOp.h>
-00028 
-00029 #include "route.h"
-00030 
-00032 class OrderXover : public eoQuadOp <Route> {
-00033   
-00034 public :
-00035   
-00036   bool operator () (Route & __route1, Route & __route2) ;
-00037 
-00038 private :
-00039   
-00040   void cross (const Route & __par1, const Route & __par2, Route & __child) ;
-00041 } ;
-00042 
-00043 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/paradiseo_8h-source.html b/trunk/paradiseo-peo/examples/html/paradiseo_8h-source.html deleted file mode 100755 index 0c338ccef..000000000 --- a/trunk/paradiseo-peo/examples/html/paradiseo_8h-source.html +++ /dev/null @@ -1,83 +0,0 @@ - - -ParadisEO: paradiseo.h Source File - - - - -
-
-

paradiseo.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "paradiseo.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __paradiseo_h_
-00025 #define __paradiseo_h_
-00026 
-00027 #include <eo>
-00028 #include <mo>
-00029 
-00030 
-00263 
-00264 #include "core/peo_init.h"
-00265 #include "core/peo_run.h"
-00266 #include "core/peo_fin.h"
-00267 
-00268 #include "core/eoVector_comm.h"
-00269 
-00270 #include "peoEA.h"
-00271 
-00272 /* Parallel steps of the E.A. */
-00273 #include "peoSeqTransform.h"
-00274 #include "peoParaSGATransform.h"
-00275 #include "peoSeqPopEval.h"
-00276 #include "peoParaPopEval.h"
-00277 
-00278 /* Cooperative island model */
-00279 #include "core/ring_topo.h"
-00280 #include "peoAsyncIslandMig.h"
-00281 #include "peoSyncIslandMig.h"
-00282 
-00283 /* Synchronous multi-start model */
-00284 #include "peoSyncMultiStart.h"
-00285 
-00286 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/part__route__eval_8cpp-source.html b/trunk/paradiseo-peo/examples/html/part__route__eval_8cpp-source.html deleted file mode 100755 index 18e6af910..000000000 --- a/trunk/paradiseo-peo/examples/html/part__route__eval_8cpp-source.html +++ /dev/null @@ -1,74 +0,0 @@ - - -ParadisEO: part_route_eval.cpp Source File - - - - -
-
-

part_route_eval.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "part_route_eval.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, 2003
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "part_route_eval.h"
-00025 #include "node.h"
-00026 
-00027 PartRouteEval :: PartRouteEval (float __from,
-00028                                 float __to
-00029                                 ) : from (__from),
-00030                                     to (__to) {
-00031   
-00032 }
-00033 
-00034 void PartRouteEval :: operator () (Route & __route) {
-00035   
-00036   
-00037   unsigned len = 0 ;
-00038   
-00039   for (unsigned i = (unsigned) (__route.size () * from) ;
-00040        i < (unsigned) (__route.size () * to) ;
-00041        i ++)
-00042     len += distance (__route [i], __route [(i + 1) % numNodes]) ;
-00043   
-00044   __route.fitness (- (int) len) ;
-00045 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/part__route__eval_8h-source.html b/trunk/paradiseo-peo/examples/html/part__route__eval_8h-source.html deleted file mode 100755 index 19d920c1a..000000000 --- a/trunk/paradiseo-peo/examples/html/part__route__eval_8h-source.html +++ /dev/null @@ -1,75 +0,0 @@ - - -ParadisEO: part_route_eval.h Source File - - - - -
-
-

part_route_eval.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "part_route_eval.h"
-00004 
-00005 // (c) OPAC Team, LIFL, 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __part_route_eval_h
-00025 #define __part_route_eval_h
-00026 
-00027 #include <eoEvalFunc.h>
-00028 
-00029 #include "route.h"
-00030 
-00032 class PartRouteEval : public eoEvalFunc <Route> {
-00033   
-00034 public :
-00035 
-00037   PartRouteEval (float __from, float __to) ;
-00038     
-00039   void operator () (Route & __route) ;
-00040   
-00041 private :
-00042 
-00043   float from, to ;
-00044 
-00045 } ;
-00046 
-00047 
-00048 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/partial__mapped__xover_8cpp-source.html b/trunk/paradiseo-peo/examples/html/partial__mapped__xover_8cpp-source.html deleted file mode 100755 index bb3b8aeaf..000000000 --- a/trunk/paradiseo-peo/examples/html/partial__mapped__xover_8cpp-source.html +++ /dev/null @@ -1,105 +0,0 @@ - - -ParadisEO: partial_mapped_xover.cpp Source File - - - - -
-
-

partial_mapped_xover.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "partial_mapped_xover.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, 2003
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <assert.h>
-00025 
-00026 #include <utils/eoRNG.h>
-00027 
-00028 #include "partial_mapped_xover.h"
-00029 #include "mix.h"
-00030 
-00031 void PartialMappedXover :: repair (Route & __route, unsigned __cut1, unsigned __cut2) {
-00032   
-00033   unsigned v [__route.size ()] ; // Number of times a cities are visited ...
-00034   
-00035   for (unsigned i = 0 ; i < __route.size () ; i ++)
-00036     v [i] = 0 ;
-00037   
-00038   for (unsigned i = 0 ; i < __route.size () ; i ++)
-00039     v [__route [i]] ++ ;
-00040   
-00041   std :: vector <unsigned> vert ;
-00042 
-00043   for (unsigned i = 0 ; i < __route.size () ; i ++)
-00044     if (! v [i])
-00045       vert.push_back (i) ;
-00046   
-00047   mix (vert) ;
-00048 
-00049   for (unsigned i = 0 ; i < __route.size () ; i ++)
-00050     if (i < __cut1 || i >= __cut2)
-00051       if (v [__route [i]] > 1) {
-00052         __route [i] = vert.back () ;
-00053         vert.pop_back () ;
-00054       }
-00055 }
-00056 
-00057 bool PartialMappedXover :: operator () (Route & __route1, Route & __route2) {
-00058     
-00059   unsigned cut1 = rng.random (__route1.size ()), cut2 = rng.random (__route2.size ()) ;
-00060   
-00061   if (cut2 < cut1)
-00062     std :: swap (cut1, cut2) ;
-00063   
-00064   // Between the cuts
-00065   for (unsigned i = cut1 ; i < cut2 ; i ++)
-00066     std :: swap (__route1 [i], __route2 [i]) ;
-00067   
-00068   // Outside the cuts
-00069   repair (__route1, cut1, cut2) ;
-00070   repair (__route2, cut1, cut2) ;
-00071   
-00072   __route1.invalidate () ;
-00073   __route2.invalidate () ;
-00074 
-00075   return true ;
-00076 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/partial__mapped__xover_8h-source.html b/trunk/paradiseo-peo/examples/html/partial__mapped__xover_8h-source.html deleted file mode 100755 index 62abe9da9..000000000 --- a/trunk/paradiseo-peo/examples/html/partial__mapped__xover_8h-source.html +++ /dev/null @@ -1,71 +0,0 @@ - - -ParadisEO: partial_mapped_xover.h Source File - - - - -
-
-

partial_mapped_xover.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "partial_mapped_xover.h"
-00004 
-00005 // (c) OPAC Team, LIFL, 2003
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef partial_mapped_xover_h
-00025 #define partial_mapped_xover_h
-00026 
-00027 #include <eoOp.h>
-00028 
-00029 #include "route.h"
-00030 
-00032 class PartialMappedXover : public eoQuadOp <Route> {
-00033   
-00034 public :
-00035   
-00036   bool operator () (Route & __route1, Route & __route2) ;
-00037 
-00038 private :
-00039   
-00040   void repair (Route & __route, unsigned __cut1, unsigned __cut2) ;
-00041 } ;
-00042 
-00043 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo__debug_8cpp-source.html b/trunk/paradiseo-peo/examples/html/peo__debug_8cpp-source.html deleted file mode 100755 index b30a603d3..000000000 --- a/trunk/paradiseo-peo/examples/html/peo__debug_8cpp-source.html +++ /dev/null @@ -1,121 +0,0 @@ - - -ParadisEO: peo_debug.cpp Source File - - - - -
-
-

peo_debug.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peo_debug.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "peo_debug.h"
-00025 
-00026 #include <stdio.h>
-00027 #include <time.h>
-00028 #include <unistd.h>
-00029 #include <string.h>
-00030 #include <sys/types.h>
-00031 #include <sys/stat.h>
-00032 #include <vector>
-00033 
-00034 #include "peo_debug.h"
-00035 
-00036 #define MAX_BUFF_SIZE 1000
-00037 
-00038 #define DEBUG_PATH "./log/"
-00039 
-00040 static bool debug = true;
-00041 
-00042 static char host [MAX_BUFF_SIZE];
-00043 
-00044 std :: vector <FILE *> files;
-00045 
-00046 void setDebugMode (bool __dbg) {
-00047 
-00048   debug = __dbg;
-00049   gethostname (host, MAX_BUFF_SIZE);
-00050 }
-00051 
-00052 extern int getNodeRank ();
-00053 
-00054 void initDebugging () {
-00055   
-00056   mkdir (DEBUG_PATH, S_IRWXU);
-00057   //  files.push_back (stdout);
-00058   char buff [MAX_BUFF_SIZE];
-00059   sprintf (buff, "%s/%d", DEBUG_PATH, getNodeRank ());
-00060   files.push_back (fopen (buff, "w"));
-00061 }
-00062 
-00063 void endDebugging () {
-00064 
-00065   for (unsigned i = 0; i < files.size (); i ++)
-00066     if (files [i] != stdout)
-00067       fclose (files [i]);
-00068 }
-00069 
-00070 void printDebugMessage (const char * __mess) {
-00071 
-00072   if (debug) {
-00073 
-00074     char buff [MAX_BUFF_SIZE];
-00075     time_t t = time (0);
-00076 
-00077     /* Date */
-00078     sprintf (buff, "[%s][%s: ", host, ctime (& t));
-00079     * strchr (buff, '\n') = ']';
-00080     for (unsigned i = 0; i < files.size (); i ++)
-00081       fprintf (files [i], buff);
-00082 
-00083     /* Message */
-00084     sprintf (buff, "%s", __mess);
-00085     
-00086     for (unsigned i = 0; i < files.size (); i ++) {
-00087       fputs (buff, files [i]);
-00088       fputs ("\n", files [i]);
-00089       fflush (files [i]);
-00090     }
-00091   }
-00092 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo__debug_8h-source.html b/trunk/paradiseo-peo/examples/html/peo__debug_8h-source.html deleted file mode 100755 index 648269107..000000000 --- a/trunk/paradiseo-peo/examples/html/peo__debug_8h-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO: peo_debug.h Source File - - - - -
-
-

peo_debug.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peo_debug.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __peo_debug_h
-00025 #define __peo_debug_h
-00026 
-00027 extern void initDebugging ();
-00028 
-00029 extern void endDebugging ();
-00030 
-00031 extern void setDebugMode (bool __dbg = true); /* (Des)activating the Debugging mode */
-00032 
-00033 extern void printDebugMessage (const char * __mess); /* Print a new message both on the
-00034                                                         standard output and a target
-00035                                                         text-file in a subdirectory) */
-00036 
-00037 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo__fin_8cpp-source.html b/trunk/paradiseo-peo/examples/html/peo__fin_8cpp-source.html deleted file mode 100755 index b5c78d970..000000000 --- a/trunk/paradiseo-peo/examples/html/peo__fin_8cpp-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO: peo_fin.cpp Source File - - - - -
-
-

peo_fin.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peo_finalize.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "peo_fin.h"
-00025 #include "peo_debug.h"
-00026 #include "runner.h"
-00027 #include "rmc.h"
-00028 
-00029 void peo :: finalize () {
-00030 
-00031   printDebugMessage ("waiting for the termination of all threads");
-00032 
-00033   joinRunners ();
-00034 
-00035   finalizeRMC ();
-00036 
-00037   printDebugMessage ("this is the end");
-00038   endDebugging ();
-00039 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo__fin_8h-source.html b/trunk/paradiseo-peo/examples/html/peo__fin_8h-source.html deleted file mode 100755 index 13a5e5d53..000000000 --- a/trunk/paradiseo-peo/examples/html/peo__fin_8h-source.html +++ /dev/null @@ -1,61 +0,0 @@ - - -ParadisEO: peo_fin.h Source File - - - - -
-
-

peo_fin.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peo_finalize.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __peo_finalize_h
-00025 #define __peo_finalize_h
-00026 
-00027 namespace peo {
-00028   
-00029   extern void finalize ();
-00030 }
-00031 
-00032 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo__init_8cpp-source.html b/trunk/paradiseo-peo/examples/html/peo__init_8cpp-source.html deleted file mode 100755 index c1165e949..000000000 --- a/trunk/paradiseo-peo/examples/html/peo__init_8cpp-source.html +++ /dev/null @@ -1,81 +0,0 @@ - - -ParadisEO: peo_init.cpp Source File - - - - -
-
-

peo_init.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peo_init.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <stdio.h>
-00025 
-00026 #include "peo_init.h"
-00027 #include "peo_param.h"
-00028 #include "peo_debug.h"
-00029 #include "rmc.h"
-00030 
-00031 namespace peo {
-00032 
-00033   int * argc;
-00034   
-00035   char * * * argv;
-00036 
-00037   void init (int & __argc, char * * & __argv) {
-00038 
-00039     argc = & __argc;
-00040     
-00041     argv = & __argv;
-00042     
-00043     /* Initializing the the Resource Management and Communication */
-00044     initRMC (__argc, __argv);
-00045 
-00046     /* Loading the common parameters */ 
-00047     loadParameters (__argc, __argv);
-00048     
-00049     /* */
-00050     initDebugging ();
-00051   }
-00052 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo__init_8h-source.html b/trunk/paradiseo-peo/examples/html/peo__init_8h-source.html deleted file mode 100755 index 204c0b486..000000000 --- a/trunk/paradiseo-peo/examples/html/peo__init_8h-source.html +++ /dev/null @@ -1,65 +0,0 @@ - - -ParadisEO: peo_init.h Source File - - - - -
-
-

peo_init.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peo_init.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __peo_init_h
-00025 #define __peo_init_h
-00026 
-00027 namespace peo {
-00028 
-00029   extern int * argc;
-00030   
-00031   extern char * * * argv;
-00032   
-00033   extern void init (int & __argc, char * * & __argv);
-00034 }
-00035 
-00036 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo__param_8cpp-source.html b/trunk/paradiseo-peo/examples/html/peo__param_8cpp-source.html deleted file mode 100755 index 4105999f2..000000000 --- a/trunk/paradiseo-peo/examples/html/peo__param_8cpp-source.html +++ /dev/null @@ -1,69 +0,0 @@ - - -ParadisEO: peo_param.cpp Source File - - - - -
-
-

peo_param.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peo_param.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <utils/eoParser.h>
-00025 
-00026 #include "peo_param.h"
-00027 #include "peo_debug.h"
-00028 
-00029 
-00030 
-00031 void peo :: loadParameters (int & __argc, char * * & __argv) {
-00032 
-00033   eoParser parser (__argc, __argv);
-00034 
-00035   /* Debug */
-00036   eoValueParam <std :: string> debug_param ("false", "debug", "?");
-00037   parser.processParam (debug_param);
-00038   if (debug_param.value () == "true")
-00039     setDebugMode ();
-00040 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo__param_8h-source.html b/trunk/paradiseo-peo/examples/html/peo__param_8h-source.html deleted file mode 100755 index af6d73057..000000000 --- a/trunk/paradiseo-peo/examples/html/peo__param_8h-source.html +++ /dev/null @@ -1,61 +0,0 @@ - - -ParadisEO: peo_param.h Source File - - - - -
-
-

peo_param.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peo_param.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __peo_param_h
-00025 #define __peo_param_h
-00026 
-00027 namespace peo {
-00028   
-00029   extern void loadParameters (int & __argc, char * * & __argv);
-00030 }
-00031 
-00032 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo__run_8cpp-source.html b/trunk/paradiseo-peo/examples/html/peo__run_8cpp-source.html deleted file mode 100755 index f8efeaec9..000000000 --- a/trunk/paradiseo-peo/examples/html/peo__run_8cpp-source.html +++ /dev/null @@ -1,63 +0,0 @@ - - -ParadisEO: peo_run.cpp Source File - - - - -
-
-

peo_run.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peo_run.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "peo_init.h"
-00025 #include "peo_run.h"
-00026 #include "rmc.h"
-00027 #include "runner.h"
-00028 
-00029 void peo :: run () {
-00030   
-00031   startRunners ();
-00032 
-00033   runRMC ();
-00034 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo__run_8h-source.html b/trunk/paradiseo-peo/examples/html/peo__run_8h-source.html deleted file mode 100755 index 4778d291f..000000000 --- a/trunk/paradiseo-peo/examples/html/peo__run_8h-source.html +++ /dev/null @@ -1,61 +0,0 @@ - - -ParadisEO: peo_run.h Source File - - - - -
-
-

peo_run.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peo_run.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __peo_run_h
-00025 #define __peo_run_h
-00026 
-00027 namespace peo {
-00028   
-00029   extern void run ();
-00030 }
-00031 
-00032 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo_agg_eval_func_8h-source.html b/trunk/paradiseo-peo/examples/html/peo_agg_eval_func_8h-source.html deleted file mode 100755 index 4db3ceb1e..000000000 --- a/trunk/paradiseo-peo/examples/html/peo_agg_eval_func_8h-source.html +++ /dev/null @@ -1,64 +0,0 @@ - - -ParadisEO: peoAggEvalFunc.h Source File - - - - -
-
-

peoAggEvalFunc.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peoAggEvalFunc.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __peoAggEvalFunc_h
-00025 #define __peoAggEvalFunc_h
-00026 
-00027 #include <eoFunctor.h>
-00028 
-00030 
-00040 template< class EOT > class peoAggEvalFunc : public eoBF< EOT&, const typename EOT :: Fitness&, void > {
-00041 
-00042 };
-00043 
-00044 
-00045 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo_async_island_mig_8h-source.html b/trunk/paradiseo-peo/examples/html/peo_async_island_mig_8h-source.html deleted file mode 100755 index ee0724f26..000000000 --- a/trunk/paradiseo-peo/examples/html/peo_async_island_mig_8h-source.html +++ /dev/null @@ -1,204 +0,0 @@ - - -ParadisEO: peoAsyncIslandMig.h Source File - - - - -
-
-

peoAsyncIslandMig.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peoAsyncIslandMig.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011 
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016 
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020 
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __peoAsyncIslandMig_h
-00025 #define __peoAsyncIslandMig_h
-00026 
-00027 
-00028 #include <queue>
-00029 
-00030 #include <utils/eoUpdater.h>
-00031 
-00032 #include <eoContinue.h>
-00033 #include <eoSelect.h>
-00034 #include <eoReplacement.h>
-00035 #include <eoPop.h>
-00036 
-00037 #include "core/topology.h"
-00038 #include "core/cooperative.h"
-00039 #include "core/eoPop_comm.h"
-00040 #include "core/peo_debug.h"
-00041 
-00042 
-00044 
-00127 template< class EOT > class peoAsyncIslandMig : public Cooperative, public eoUpdater {
-00128 
-00129 public:
-00130 
-00140         peoAsyncIslandMig( 
-00141                                 eoContinue< EOT >& __cont,
-00142                                 eoSelect< EOT >& __select,
-00143                                 eoReplacement< EOT >& __replace,
-00144                                 Topology& __topology,
-00145                                 eoPop< EOT >& __source,
-00146                                 eoPop< EOT >& __destination 
-00147         );
-00148 
-00153         void operator()();
-00154         
-00156         void pack();
-00158         void unpack();
-00159 
-00160 
-00161 private:
-00162 
-00163         void emigrate();
-00164         void immigrate();
-00165 
-00166 
-00167 private:
-00168 
-00169         eoContinue< EOT >& cont;        // continuator
-00170         eoSelect< EOT >& select;        // the selection strategy
-00171         eoReplacement< EOT >& replace;  // the replacement strategy
-00172         Topology& topology;             // the neighboring topology
-00173         
-00174         // source and destination populations
-00175         eoPop< EOT >& source;
-00176         eoPop< EOT >& destination;
-00177         
-00178         // immigrants & emigrants in the queue
-00179         std :: queue< eoPop< EOT > > imm;
-00180         std :: queue< eoPop< EOT > > em;
-00181         
-00182         std :: queue< Cooperative* > coop_em;
-00183 };
-00184 
-00185 
-00186 template< class EOT > peoAsyncIslandMig< EOT > :: peoAsyncIslandMig(
-00187 
-00188                 eoContinue< EOT >& __cont,
-00189                 eoSelect< EOT >& __select,
-00190                 eoReplacement< EOT >& __replace,
-00191                 Topology& __topology,
-00192                 eoPop< EOT >& __source,
-00193                 eoPop< EOT >& __destination
-00194 
-00195         ) : cont( __cont ), select( __select ), replace( __replace ), topology( __topology ), source( __source ), destination( __destination )
-00196 {
-00197 
-00198         __topology.add( *this );
-00199 }
-00200 
-00201 
-00202 template< class EOT > void peoAsyncIslandMig< EOT > :: pack()
-00203 {
-00204 
-00205         lock(); {
-00206 
-00207 		 :: pack( coop_em.front()->getKey() );
-00208 		 :: pack( em.front() );
-00209                 coop_em.pop();
-00210                 em.pop();
-00211         }
-00212         unlock();
-00213 }
-00214 
-00215 
-00216 template< class EOT > void peoAsyncIslandMig< EOT > :: unpack()
-00217 {
-00218 
-00219         lock(); {
-00220 
-00221                 eoPop< EOT > mig;
-00222 		 :: unpack( mig );
-00223                 imm.push( mig );
-00224         }
-00225         unlock();
-00226 }
-00227 
-00228 
-00229 template< class EOT > void peoAsyncIslandMig< EOT > :: emigrate()
-00230 {
-00231 
-00232         std :: vector< Cooperative* >in, out;
-00233         topology.setNeighbors( this, in, out );
-00234 
-00235         for ( unsigned i = 0; i < out.size(); i++ ) {
-00236         
-00237                 eoPop< EOT > mig;
-00238                 select( source, mig );
-00239                 em.push( mig );
-00240                 coop_em.push( out[i] );
-00241                 send( out[i] );
-00242                 printDebugMessage( "sending some emigrants." );
-00243         }
-00244 }
-00245 
-00246 
-00247 template< class EOT > void peoAsyncIslandMig< EOT > :: immigrate()
-00248 {
-00249 
-00250         lock(); {
-00251 
-00252                 while ( !imm.empty() ) {
-00253 
-00254                         replace( destination, imm.front() );
-00255                         imm.pop();
-00256                         printDebugMessage( "receiving some immigrants." );
-00257                 }
-00258         }
-00259         unlock();
-00260 }
-00261 
-00262 
-00263 template< class EOT > void peoAsyncIslandMig< EOT > :: operator()() {
-00264 
-00265         if ( !cont( source ) ) {
-00266 
-00267                 emigrate();     // sending emigrants
-00268                 immigrate();    // receiving immigrants
-00269         }
-00270 }
-00271 
-00272 
-00273 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo_e_a_8h-source.html b/trunk/paradiseo-peo/examples/html/peo_e_a_8h-source.html deleted file mode 100755 index a06ba1008..000000000 --- a/trunk/paradiseo-peo/examples/html/peo_e_a_8h-source.html +++ /dev/null @@ -1,143 +0,0 @@ - - -ParadisEO: peoEA.h Source File - - - - -
-
-

peoEA.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peoEA.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __peoEA_h
-00025 #define __peoEA_h
-00026 
-00027 #include <eoContinue.h>
-00028 #include <eoEvalFunc.h>
-00029 #include <eoSelect.h>
-00030 #include <eoPopEvalFunc.h>
-00031 #include <eoReplacement.h>
-00032 
-00033 #include "peoPopEval.h"
-00034 #include "peoTransform.h"
-00035 #include "core/runner.h"
-00036 #include "core/peo_debug.h"
-00037 
-00039 
-00069 template < class EOT > class peoEA : public Runner {
-00070 
-00071 public:
-00072 
-00084         peoEA( 
-00085                 eoContinue< EOT >& __cont,
-00086                 peoPopEval< EOT >& __pop_eval,
-00087                 eoSelect< EOT >& __select,
-00088                 peoTransform< EOT >& __trans,
-00089                 eoReplacement< EOT >& __replace 
-00090         );
-00091 
-00094         void run();
-00095         
-00099         void operator()( eoPop< EOT >& __pop );
-00100 
-00101 private:
-00102 
-00103 
-00104         eoContinue< EOT >& cont;
-00105         peoPopEval< EOT >& pop_eval;
-00106         eoSelect< EOT >& select;
-00107         peoTransform< EOT >& trans;
-00108         eoReplacement< EOT >& replace;
-00109         eoPop< EOT >* pop;
-00110 };
-00111 
-00112 
-00113 template < class EOT > peoEA< EOT > :: peoEA( 
-00114 
-00115                                 eoContinue< EOT >& __cont, 
-00116                                 peoPopEval< EOT >& __pop_eval, 
-00117                                 eoSelect< EOT >& __select, 
-00118                                 peoTransform< EOT >& __trans, 
-00119                                 eoReplacement< EOT >& __replace
-00120 
-00121                 ) : cont( __cont ), pop_eval( __pop_eval ), select( __select ), trans( __trans ), replace( __replace )
-00122 {
-00123 
-00124         trans.setOwner( *this );
-00125         pop_eval.setOwner( *this );
-00126 }
-00127 
-00128 
-00129 template< class EOT > void peoEA< EOT > :: operator ()( eoPop< EOT >& __pop ) {
-00130 
-00131         pop = &__pop;
-00132 }
-00133 
-00134 
-00135 template< class EOT > void peoEA< EOT > :: run() {
-00136 
-00137         printDebugMessage( "performing the first evaluation of the population." );
-00138         pop_eval( *pop );
-00139         
-00140         do {
-00141 
-00142                 eoPop< EOT > off;
-00143 
-00144                 printDebugMessage( "performing the selection step." );
-00145                 select( *pop, off );
-00146                 trans( off );
-00147 
-00148                 printDebugMessage( "performing the evaluation of the population." );
-00149                 pop_eval( off );
-00150 
-00151                 printDebugMessage( "performing the replacement of the population." );
-00152                 replace( *pop, off );
-00153 
-00154                 printDebugMessage( "deciding of the continuation." );
-00155         
-00156         } while ( cont( *pop ) );
-00157 }
-00158 
-00159 
-00160 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo_no_agg_eval_func_8h-source.html b/trunk/paradiseo-peo/examples/html/peo_no_agg_eval_func_8h-source.html deleted file mode 100755 index 5b96791e8..000000000 --- a/trunk/paradiseo-peo/examples/html/peo_no_agg_eval_func_8h-source.html +++ /dev/null @@ -1,73 +0,0 @@ - - -ParadisEO: peoNoAggEvalFunc.h Source File - - - - -
-
-

peoNoAggEvalFunc.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peoNoAggEvalFunc.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __peoNoAggEvalFunc_h
-00025 #define __peoNoAggEvalFunc_h
-00026 
-00027 #include "peoAggEvalFunc.h"
-00028 
-00030 
-00034 template< class EOT > class peoNoAggEvalFunc : public peoAggEvalFunc< EOT > {
-00035 
-00036 public :
-00037 
-00039         void operator()( EOT& __sol, const typename EOT :: Fitness& __fit );
-00040 };
-00041 
-00042 
-00043 template< class EOT > void peoNoAggEvalFunc< EOT > :: operator()( EOT& __sol, const typename EOT :: Fitness& __fit ) {
-00044 
-00045         __sol.fitness( __fit );
-00046 }
-00047 
-00048 
-00049 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo_para_pop_eval_8h-source.html b/trunk/paradiseo-peo/examples/html/peo_para_pop_eval_8h-source.html deleted file mode 100755 index 89b9892c8..000000000 --- a/trunk/paradiseo-peo/examples/html/peo_para_pop_eval_8h-source.html +++ /dev/null @@ -1,241 +0,0 @@ - - -ParadisEO: peoParaPopEval.h Source File - - - - -
-
-

peoParaPopEval.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peoParaPopEval.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __peoParaPopEval_h
-00025 #define __peoParaPopEval_h
-00026 
-00027 #include <queue>
-00028 #include <eoEvalFunc.h>
-00029 
-00030 #include "core/messaging.h"
-00031 #include "core/peo_debug.h"
-00032 #include "peoAggEvalFunc.h"
-00033 #include "peoNoAggEvalFunc.h"
-00034 
-00035 
-00037 
-00041 template< class EOT > class peoParaPopEval : public peoPopEval< EOT > {
-00042 
-00043 public:
-00044 
-00045         using peoPopEval< EOT > :: requestResourceRequest;
-00046         using peoPopEval< EOT > :: resume;
-00047         using peoPopEval< EOT > :: stop;
-00048         using peoPopEval< EOT > :: getOwner;
-00049         
-00054         peoParaPopEval( eoEvalFunc< EOT >& __eval_func );
-00055 
-00060         peoParaPopEval( const std :: vector< eoEvalFunc < EOT >* >& __funcs, peoAggEvalFunc< EOT >& __merge_eval );
-00061 
-00065         void operator()( eoPop< EOT >& __pop );
-00066 
-00069         void packData();
-00070         
-00073         void unpackData();
-00074 
-00076         void execute();
-00077         
-00080         void packResult();
-00081         
-00084         void unpackResult();
-00085         
-00088         void notifySendingData();
-00089 
-00092         void notifySendingAllResourceRequests();
-00093 
-00094 private:
-00095 
-00096 
-00097         const std :: vector< eoEvalFunc < EOT >* >& funcs;
-00098         std :: vector< eoEvalFunc < EOT >* > one_func;
-00099         
-00100         peoAggEvalFunc< EOT >& merge_eval;
-00101         peoNoAggEvalFunc< EOT > no_merge_eval;
-00102         
-00103         std :: queue< EOT* >tasks;
-00104         
-00105         std :: map< EOT*, std :: pair< unsigned, unsigned > > progression;
-00106         
-00107         unsigned num_func;
-00108         
-00109         EOT sol;
-00110         
-00111         EOT *ad_sol;
-00112         
-00113         unsigned total;
-00114 };
-00115 
-00116 
-00117 template< class EOT > peoParaPopEval< EOT > :: peoParaPopEval( eoEvalFunc< EOT >& __eval_func ) : 
-00118 
-00119                 funcs( one_func ), merge_eval( no_merge_eval )
-00120 {
-00121 
-00122         one_func.push_back( &__eval_func );
-00123 }
-00124 
-00125 
-00126 template< class EOT > peoParaPopEval< EOT > :: peoParaPopEval( 
-00127 
-00128                                 const std :: vector< eoEvalFunc< EOT >* >& __funcs,
-00129                                 peoAggEvalFunc< EOT >& __merge_eval 
-00130 
-00131                 ) : funcs( __funcs ), merge_eval( __merge_eval )
-00132 {
-00133 
-00134 }
-00135 
-00136 
-00137 template< class EOT > void peoParaPopEval< EOT >::operator()( eoPop< EOT >& __pop ) {
-00138 
-00139         for ( unsigned i = 0; i < __pop.size(); i++ ) {
-00140 
-00141                 __pop[ i ].fitness( typename EOT :: Fitness() );
-00142 
-00143                 progression[ &__pop[ i ] ].first = funcs.size() - 1;
-00144                 progression[ &__pop[ i ] ].second = funcs.size();
-00145                 
-00146                 for ( unsigned j = 0; j < funcs.size(); j++ ) {
-00147                         /* Queuing the 'invalid' solution and its associated owner */
-00148                         tasks.push( &__pop[ i ] );
-00149                 }
-00150         }
-00151         
-00152         total = funcs.size() * __pop.size();
-00153         requestResourceRequest( funcs.size() * __pop.size() );
-00154         stop();
-00155 }
-00156 
-00157 
-00158 template< class EOT > void peoParaPopEval< EOT > :: packData() {
-00159 
-00160         //  printDebugMessage ("debut pakc data");
-00161         pack( progression[ tasks.front() ].first-- );
-00162         
-00163         /* Packing the contents :-) of the solution */
-00164         pack( *tasks.front() );
-00165         
-00166         /* Packing the addresses of both the solution and the owner */
-00167         pack( tasks.front() );
-00168         tasks.pop(  );
-00169 }
-00170 
-00171 
-00172 template< class EOT > void peoParaPopEval< EOT > :: unpackData() {
-00173 
-00174         unpack( num_func );
-00175         /* Unpacking the solution */
-00176         unpack( sol );
-00177         /* Unpacking the @ of that one */
-00178         unpack( ad_sol );
-00179 }
-00180 
-00181 
-00182 template< class EOT > void peoParaPopEval< EOT > :: execute() {
-00183 
-00184         /* Computing the fitness of the solution */
-00185         funcs[ num_func ]->operator()( sol );
-00186 }
-00187 
-00188 
-00189 template< class EOT > void peoParaPopEval< EOT > :: packResult() {
-00190 
-00191         /* Packing the fitness of the solution */
-00192         pack( sol.fitness() );
-00193         /* Packing the @ of the individual */
-00194         pack( ad_sol );
-00195 }
-00196 
-00197 
-00198 template< class EOT > void peoParaPopEval< EOT > :: unpackResult() {
-00199 
-00200         typename EOT :: Fitness fit;
-00201         
-00202         /* Unpacking the computed fitness */
-00203         unpack( fit );
-00204                 
-00205         /* Unpacking the @ of the associated individual */
-00206         unpack( ad_sol );
-00207         
-00208         
-00209         /* Associating the fitness the local solution */
-00210         merge_eval( *ad_sol, fit );
-00211 
-00212         progression[ ad_sol ].second--;
-00213 
-00214         /* Notifying the container of the termination of the evaluation */
-00215         if ( !progression[ ad_sol ].second ) {
-00216 
-00217                 progression.erase( ad_sol );
-00218         }
-00219         
-00220         total--;
-00221         if ( !total ) {
-00222 
-00223                 getOwner()->setActive();
-00224                 resume();
-00225         }
-00226 }
-00227 
-00228 
-00229 template< class EOT > void peoParaPopEval< EOT > :: notifySendingData() {
-00230 
-00231 }
-00232 
-00233 
-00234 template< class EOT > void peoParaPopEval< EOT > :: notifySendingAllResourceRequests() {
-00235 
-00236         getOwner()->setPassive();
-00237 }
-00238 
-00239 
-00240 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo_para_s_g_a_transform_8h-source.html b/trunk/paradiseo-peo/examples/html/peo_para_s_g_a_transform_8h-source.html deleted file mode 100755 index bc20fb141..000000000 --- a/trunk/paradiseo-peo/examples/html/peo_para_s_g_a_transform_8h-source.html +++ /dev/null @@ -1,199 +0,0 @@ - - -ParadisEO: peoParaSGATransform.h Source File - - - - -
-
-

peoParaSGATransform.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peoParaSGATransform.h"
-00004 
-00005 //(c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __peoParaSGATransform_h
-00025 #define __peoParaSGATransform_h
-00026 
-00027 #include "peoTransform.h"
-00028 #include "core/thread.h"
-00029 #include "core/messaging.h"
-00030 #include "core/peo_debug.h"
-00031 
-00032 
-00033 extern int getNodeRank();
-00034 
-00035 
-00036 template< class EOT > class peoParaSGATransform : public peoTransform< EOT > {
-00037 
-00038 public:
-00039 
-00040         using peoTransform< EOT > :: requestResourceRequest;
-00041         using peoTransform< EOT > :: resume;
-00042         using peoTransform< EOT > :: stop;
-00043         using peoTransform< EOT > :: getOwner;
-00044 
-00045         peoParaSGATransform( 
-00046 
-00047                                 eoQuadOp< EOT >& __cross,
-00048                                 double __cross_rate,
-00049                                 eoMonOp< EOT >& __mut, 
-00050                                 double __mut_rate 
-00051         );
-00052 
-00053         void operator()( eoPop< EOT >& __pop );
-00054         
-00055         void packData();
-00056         
-00057         void unpackData();
-00058         
-00059         void execute();
-00060         
-00061         void packResult();
-00062         
-00063         void unpackResult();
-00064         
-00065         void notifySendingData();
-00066         void notifySendingAllResourceRequests();
-00067 
-00068 private:
-00069 
-00070     eoQuadOp< EOT >& cross;
-00071     double cross_rate;
-00072 
-00073     eoMonOp< EOT >& mut;
-00074     double mut_rate;
-00075 
-00076     unsigned idx;
-00077 
-00078     eoPop< EOT >* pop;
-00079 
-00080     EOT father, mother;
-00081 
-00082     unsigned num_term;
-00083 };
-00084 
-00085 template< class EOT > peoParaSGATransform< EOT > :: peoParaSGATransform( 
-00086 
-00087                                 eoQuadOp< EOT >& __cross,
-00088                                 double __cross_rate,
-00089                                 eoMonOp < EOT >& __mut,
-00090                                 double __mut_rate 
-00091 
-00092                 ) : cross( __cross ), cross_rate( __cross_rate ), mut( __mut ), mut_rate( __mut_rate )
-00093 {
-00094 
-00095 }
-00096 
-00097 
-00098 template< class EOT > void peoParaSGATransform< EOT > :: packData() {
-00099 
-00100         pack( idx );
-00101          :: pack( pop->operator[]( idx++ ) );
-00102          :: pack( pop->operator[]( idx++ ) );
-00103 }
-00104 
-00105 
-00106 template< class EOT > void peoParaSGATransform< EOT > :: unpackData() {
-00107 
-00108         unpack( idx );
-00109          :: unpack( father );
-00110          :: unpack( mother );
-00111 }
-00112 
-00113 
-00114 template< class EOT > void peoParaSGATransform< EOT > :: execute() {
-00115 
-00116         if( rng.uniform() < cross_rate ) cross( mother, father );
-00117 
-00118         if( rng.uniform() < mut_rate ) mut( mother );
-00119         if( rng.uniform() < mut_rate ) mut( father );
-00120 }
-00121 
-00122 
-00123 template< class EOT > void peoParaSGATransform< EOT > :: packResult() {
-00124 
-00125         pack( idx );
-00126          :: pack( father );
-00127          :: pack( mother );
-00128 }
-00129 
-00130 
-00131 template< class EOT > void peoParaSGATransform< EOT > :: unpackResult() {
-00132 
-00133         unsigned sidx;
-00134         
-00135         unpack( sidx );
-00136          :: unpack( pop->operator[]( sidx++ ) );
-00137          :: unpack( pop->operator[]( sidx ) );
-00138         num_term += 2;
-00139         
-00140         if( num_term == pop->size() ) {
-00141 
-00142                 getOwner()->setActive();
-00143                 resume();
-00144         }
-00145 }
-00146 
-00147 
-00148 template< class EOT > void peoParaSGATransform< EOT > :: operator()( eoPop < EOT >& __pop ) {
-00149 
-00150         printDebugMessage( "performing the parallel transformation step." );
-00151         pop = &__pop;
-00152         idx = 0;
-00153         num_term = 0;
-00154         requestResourceRequest( __pop.size() / 2 );
-00155         stop();
-00156 }
-00157 
-00158 
-00159 template< class EOT > void peoParaSGATransform< EOT > :: notifySendingData() {
-00160 
-00161 }
-00162 
-00163 
-00164 template< class EOT > void peoParaSGATransform< EOT > :: notifySendingAllResourceRequests() {
-00165 
-00166         getOwner()->setPassive();
-00167 }
-00168 
-00169 
-00170 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo_pop_eval_8h-source.html b/trunk/paradiseo-peo/examples/html/peo_pop_eval_8h-source.html deleted file mode 100755 index 97d11e1ce..000000000 --- a/trunk/paradiseo-peo/examples/html/peo_pop_eval_8h-source.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO: peoPopEval.h Source File - - - - -
-
-

peoPopEval.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peoPopEval.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __peoPopEval_h
-00025 #define __peoPopEval_h
-00026 
-00027 #include "core/service.h"
-00028 
-00030 
-00034 template< class EOT > class peoPopEval : public Service {
-00035 
-00036 public:
-00037 
-00039         virtual void operator()( eoPop< EOT >& __pop ) = 0;
-00040 };
-00041 
-00042 
-00043 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo_seq_pop_eval_8h-source.html b/trunk/paradiseo-peo/examples/html/peo_seq_pop_eval_8h-source.html deleted file mode 100755 index 1f861cb8a..000000000 --- a/trunk/paradiseo-peo/examples/html/peo_seq_pop_eval_8h-source.html +++ /dev/null @@ -1,87 +0,0 @@ - - -ParadisEO: peoSeqPopEval.h Source File - - - - -
-
-

peoSeqPopEval.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peoSeqPopEval.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __peoSeqPopEval_h
-00025 #define __peoSeqPopEval_h
-00026 
-00027 #include <eoEvalFunc.h>
-00028 
-00029 #include "peoPopEval.h"
-00030 
-00032 
-00036 template< class EOT > class peoSeqPopEval : public peoPopEval< EOT > {
-00037 
-00038 public:
-00039 
-00043         peoSeqPopEval( eoEvalFunc< EOT >& __eval );
-00044 
-00048         void operator()( eoPop< EOT >& __pop );
-00049 
-00050 private:
-00051 
-00052         eoEvalFunc< EOT >& eval;
-00053 };
-00054 
-00055 
-00056 template< class EOT > peoSeqPopEval< EOT > :: peoSeqPopEval( eoEvalFunc< EOT >& __eval ) : eval( __eval ) {
-00057 
-00058 }
-00059 
-00060 
-00061 template< class EOT > void peoSeqPopEval< EOT > :: operator()( eoPop< EOT >& __pop ) {
-00062 
-00063         for ( unsigned i = 0; i < __pop.size(); i++ )
-00064                 eval( __pop[i] );
-00065 }
-00066 
-00067 
-00068 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo_seq_transform_8h-source.html b/trunk/paradiseo-peo/examples/html/peo_seq_transform_8h-source.html deleted file mode 100755 index 7d99cd60a..000000000 --- a/trunk/paradiseo-peo/examples/html/peo_seq_transform_8h-source.html +++ /dev/null @@ -1,95 +0,0 @@ - - -ParadisEO: peoSeqTransform.h Source File - - - - -
-
-

peoSeqTransform.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peoSeqTransform.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __peoSeqTransform_h
-00025 #define __peoSeqTransform_h
-00026 
-00027 #include "peoTransform.h"
-00028 
-00029 
-00031 
-00035 template< class EOT > class peoSeqTransform : public peoTransform< EOT > {
-00036 
-00037 public:
-00038 
-00042         peoSeqTransform( eoTransform< EOT >& __trans );
-00043         
-00047         void operator()( eoPop< EOT >& __pop );
-00048         
-00050         virtual void packData() { }
-00051 
-00053         virtual void unpackData() { }
-00054         
-00056         virtual void execute() { }
-00057         
-00059         virtual void packResult() { }
-00060 
-00062         virtual void unpackResult() { }
-00063 
-00064 private:
-00065 
-00066         eoTransform< EOT >& trans;
-00067 };
-00068 
-00069 
-00070 template< class EOT > peoSeqTransform< EOT > :: peoSeqTransform( eoTransform< EOT >& __trans ) : trans( __trans ) {
-00071 
-00072 }
-00073 
-00074 
-00075 template< class EOT > void peoSeqTransform< EOT > :: operator()( eoPop< EOT >& __pop ) {
-00076 
-00077         trans( __pop );
-00078 }
-00079 
-00080 
-00081 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo_sync_island_mig_8h-source.html b/trunk/paradiseo-peo/examples/html/peo_sync_island_mig_8h-source.html deleted file mode 100755 index c3a9c54bb..000000000 --- a/trunk/paradiseo-peo/examples/html/peo_sync_island_mig_8h-source.html +++ /dev/null @@ -1,232 +0,0 @@ - - -ParadisEO: peoSyncIslandMig.h Source File - - - - -
-
-

peoSyncIslandMig.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peoSyncIslandMig.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011 
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016 
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020 
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __peoSyncIslandMig_h
-00025 #define __peoSyncIslandMig_h
-00026 
-00027 
-00028 #include <queue>
-00029 #include <cassert>
-00030 
-00031 #include <eoPeriodicContinue.h>
-00032 
-00033 #include <utils/eoUpdater.h>
-00034 
-00035 #include <eoContinue.h>
-00036 #include <eoSelect.h>
-00037 #include <eoReplacement.h>
-00038 #include <eoPop.h>
-00039 
-00040 #include "core/topology.h"
-00041 #include "core/thread.h"
-00042 #include "core/eoPop_comm.h"
-00043 #include "core/peo_debug.h"
-00044 
-00045 
-00047 
-00129 template< class EOT > class peoSyncIslandMig : public Cooperative, public eoUpdater {
-00130 
-00131 public:
-00132 
-00142         peoSyncIslandMig(
-00143                                 unsigned __frequency,
-00144                                 eoSelect< EOT >& __select,
-00145                                 eoReplacement< EOT >& __replace,
-00146                                 Topology& __topology,
-00147                                 eoPop< EOT >& __source,
-00148                                 eoPop< EOT >& __destination
-00149         );
-00150 
-00155         void operator()();
-00156 
-00158         void pack();
-00160         void unpack();
-00161 
-00163         void notifySending();
-00164 
-00165 
-00166 private:
-00167 
-00168         void emigrate();
-00169         void immigrate();
-00170 
-00171 
-00172 private:
-00173 
-00174         eoPeriodicContinue< EOT > cont;
-00175         eoSelect< EOT >& select;        // selection strategy
-00176         eoReplacement< EOT >& replace;  // replacement strategy
-00177         Topology& topology;             // neighboring topology
-00178 
-00179         // source and target populations
-00180         eoPop< EOT >& source;
-00181         eoPop< EOT >& destination;
-00182 
-00183         // immigrants & emigrants in the queue
-00184         std :: queue< eoPop< EOT > > imm;
-00185         std :: queue< eoPop< EOT > > em;
-00186 
-00187         std :: queue< Cooperative* > coop_em;
-00188 
-00189         sem_t sync;
-00190 };
-00191 
-00192 
-00193 template< class EOT > peoSyncIslandMig< EOT > :: peoSyncIslandMig(
-00194 
-00195                 unsigned __frequency,
-00196                 eoSelect< EOT >& __select,
-00197                 eoReplacement< EOT >& __replace,
-00198                 Topology& __topology,
-00199                 eoPop< EOT >& __source,
-00200                 eoPop< EOT >& __destination
-00201 
-00202         ) : cont( __frequency ), select( __select ), replace( __replace ), topology( __topology ), source( __source ), destination( __destination ) 
-00203 {
-00204 
-00205         __topology.add( *this );
-00206         sem_init( &sync, 0, 0 );
-00207 }
-00208 
-00209 
-00210 template< class EOT > void peoSyncIslandMig< EOT > :: pack() {
-00211 
-00212         lock(); {
-00213 
-00214 		 :: pack( coop_em.front()->getKey() );
-00215 		 :: pack( em.front() );
-00216                 coop_em.pop();
-00217                 em.pop();
-00218         }
-00219         unlock();
-00220 }
-00221 
-00222 
-00223 template< class EOT > void peoSyncIslandMig< EOT > :: unpack() {
-00224 
-00225         lock(); {
-00226 
-00227                 eoPop< EOT > mig;
-00228 		 :: unpack( mig );
-00229                 imm.push( mig );
-00230         }
-00231         unlock();
-00232 
-00233         sem_post( &sync );
-00234 }
-00235 
-00236 
-00237 template< class EOT > void peoSyncIslandMig< EOT > :: emigrate() {
-00238 
-00239         std :: vector< Cooperative* > in, out;
-00240         topology.setNeighbors( this, in, out );
-00241         
-00242         for ( unsigned i = 0; i < out.size(); i ++ ) {
-00243 
-00244                 eoPop< EOT > mig;
-00245                 select( source, mig );
-00246                 em.push( mig );
-00247                 coop_em.push( out[ i ] );
-00248                 send( out[ i ] );
-00249                 printDebugMessage( "sending some emigrants." );
-00250         }
-00251 }
-00252 
-00253 
-00254 template< class EOT > void peoSyncIslandMig< EOT > :: immigrate() {
-00255 
-00256         lock(); {
-00257 
-00258                 assert( imm.size() );
-00259                 replace( destination, imm.front() ) ;
-00260                 imm.pop();
-00261                 printDebugMessage( "receiving some immigrants." );
-00262         }
-00263         unlock();
-00264 }
-00265 
-00266 
-00267 template< class EOT > void peoSyncIslandMig< EOT > :: operator()() {
-00268 
-00269         if ( !cont( source ) ) {
-00270         
-00271                 // sending emigrants
-00272                 emigrate();
-00273                 stop();
-00274 
-00275                 // synchronizing
-00276                 sem_wait( &sync );
-00277                 getOwner()->setActive();
-00278 
-00279                 // receiving immigrants
-00280                 immigrate();
-00281         }
-00282 }
-00283 
-00284 
-00285 template< class EOT > void peoSyncIslandMig< EOT > :: notifySending() {
-00286 
-00287         lock(); {
-00288 
-00289                 if ( imm.empty() ) {
-00290 
-00291                         printDebugMessage( "entering pasive mode\n" );
-00292                         getOwner()->setPassive();
-00293                 }
-00294         }
-00295         unlock();
-00296 
-00297         resume();
-00298 }
-00299 
-00300 
-00301 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo_sync_multi_start_8h-source.html b/trunk/paradiseo-peo/examples/html/peo_sync_multi_start_8h-source.html deleted file mode 100755 index 4cc18d674..000000000 --- a/trunk/paradiseo-peo/examples/html/peo_sync_multi_start_8h-source.html +++ /dev/null @@ -1,196 +0,0 @@ - - -ParadisEO: peoSyncMultiStart.h Source File - - - - -
-
-

peoSyncMultiStart.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peoSyncMultiStart.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __peoSyncMultiStart_h
-00025 #define __peoSyncMultiStart_h
-00026 
-00027 #include <utils/eoUpdater.h>
-00028 #include <moAlgo.h>
-00029 
-00030 #include <eoSelect.h>
-00031 #include <eoReplacement.h>
-00032 #include <eoContinue.h>
-00033 
-00034 #include "core/service.h"
-00035 #include "core/messaging.h"
-00036 #include "core/peo_debug.h"
-00037 
-00038 
-00039 extern int getNodeRank();
-00040 
-00041 
-00043 
-00051 template< class EOT > class peoSyncMultiStart : public Service, public eoUpdater {
-00052 
-00053 public:
-00054 
-00062         peoSyncMultiStart( 
-00063 
-00064                                 eoContinue< EOT >& __cont,
-00065                                 eoSelect< EOT >& __select,
-00066                                 eoReplacement< EOT >& __replace,
-00067                                 moAlgo< EOT >& __ls, 
-00068                                 eoPop< EOT >& __pop 
-00069                 );
-00070 
-00073         void operator()();
-00074 
-00077         void packData();
-00078 
-00081         void unpackData();
-00082 
-00085         void execute();
-00086 
-00089         void packResult();
-00090 
-00093         void unpackResult();
-00094 
-00097         void notifySendingData();
-00098 
-00101         void notifySendingAllResourceRequests();
-00102 
-00103 private:
-00104 
-00105         eoContinue< EOT >& cont;
-00106         eoSelect< EOT >& select;
-00107         eoReplacement< EOT >& replace;
-00108 
-00109         moAlgo< EOT >& ls;
-00110 
-00111         eoPop< EOT >& pop;
-00112         eoPop< EOT > sel;
-00113         eoPop< EOT > impr_sel;
-00114 
-00115         EOT sol;
-00116         unsigned idx;
-00117         unsigned num_term;
-00118 };
-00119 
-00120 
-00121 template< class EOT > peoSyncMultiStart< EOT > :: peoSyncMultiStart( 
-00122 
-00123                                 eoContinue < EOT >& __cont, 
-00124                                 eoSelect< EOT >& __select,
-00125                                 eoReplacement< EOT >& __replace, 
-00126                                 moAlgo < EOT >& __ls,
-00127                                 eoPop< EOT >& __pop 
-00128 
-00129                 ) : cont( __cont ), select( __select ), replace( __replace ), ls( __ls ), pop( __pop )
-00130 {
-00131 
-00132 }
-00133 
-00134 
-00135 template< class EOT > void peoSyncMultiStart< EOT > :: packData() {
-00136 
-00137          :: pack( sel[ idx++ ] );
-00138 }
-00139 
-00140 
-00141 template< class EOT > void peoSyncMultiStart< EOT > :: unpackData() {
-00142 
-00143         unpack( sol );
-00144 }
-00145 
-00146 
-00147 template< class EOT > void peoSyncMultiStart< EOT > :: execute() {
-00148 
-00149         ls( sol );
-00150 }
-00151 
-00152 
-00153 template< class EOT > void peoSyncMultiStart< EOT > :: packResult() {
-00154 
-00155         pack( sol );
-00156 }
-00157 
-00158 
-00159 template< class EOT > void peoSyncMultiStart< EOT > :: unpackResult() {
-00160 
-00161         unpack( sol );
-00162         impr_sel.push_back( sol );
-00163         num_term++;
-00164 
-00165         if ( num_term == sel.size() ) {
-00166 
-00167                 getOwner()->setActive();
-00168                 replace( pop, impr_sel );
-00169 
-00170                 printDebugMessage( "replacing the improved individuals in the population." );
-00171                 resume();
-00172         }
-00173 }
-00174 
-00175 
-00176 template< class EOT > void peoSyncMultiStart< EOT > :: operator()() {
-00177 
-00178         printDebugMessage( "performing the parallel multi-start hybridization." );
-00179         select( pop, sel );
-00180         impr_sel.clear();
-00181         idx = num_term = 0;
-00182         requestResourceRequest( sel.size() );
-00183         stop();
-00184 }
-00185 
-00186 
-00187 template< class EOT > void peoSyncMultiStart< EOT > :: notifySendingData() {
-00188 
-00189 }
-00190 
-00191 
-00192 template< class EOT > void peoSyncMultiStart< EOT > :: notifySendingAllResourceRequests() {
-00193 
-00194         getOwner()->setPassive();
-00195 }
-00196 
-00197 
-00198 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/peo_transform_8h-source.html b/trunk/paradiseo-peo/examples/html/peo_transform_8h-source.html deleted file mode 100755 index e905b8bbb..000000000 --- a/trunk/paradiseo-peo/examples/html/peo_transform_8h-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO: peoTransform.h Source File - - - - -
-
-

peoTransform.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "peoTransform.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __peoTransform_h
-00025 #define __peoTransform_h
-00026 
-00027 #include <eoTransform.h>
-00028 
-00029 #include "core/service.h"
-00030 
-00032 
-00035 template< class EOT > class peoTransform : public Service, public eoTransform< EOT > {
-00036 
-00037 };
-00038 
-00039 
-00040 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/reac__thread_8cpp-source.html b/trunk/paradiseo-peo/examples/html/reac__thread_8cpp-source.html deleted file mode 100755 index 78ca20a16..000000000 --- a/trunk/paradiseo-peo/examples/html/reac__thread_8cpp-source.html +++ /dev/null @@ -1,80 +0,0 @@ - - -ParadisEO: reac_thread.cpp Source File - - - - -
-
-

reac_thread.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "reac_thread.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "reac_thread.h"
-00025 
-00026 static bool the_end = false;
-00027 
-00028 static std :: vector <ReactiveThread *> reac_threads;
-00029 
-00030 ReactiveThread :: ReactiveThread () {
-00031 
-00032   reac_threads.push_back (this);
-00033   sem_init (& sem, 0, 0);
-00034 }
-00035 
-00036 void ReactiveThread :: sleep () {
-00037 
-00038   sem_wait (& sem);     
-00039 }
-00040 
-00041 void ReactiveThread :: wakeUp () {
-00042 
-00043   sem_post (& sem);     
-00044 }
-00045 
-00046 void stopReactiveThreads () {
-00047 
-00048   the_end = true;
-00049   for (unsigned i = 0; i < reac_threads.size (); i ++)
-00050     reac_threads [i] -> wakeUp  ();     
-00051 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/reac__thread_8h-source.html b/trunk/paradiseo-peo/examples/html/reac__thread_8h-source.html deleted file mode 100755 index 10f5250af..000000000 --- a/trunk/paradiseo-peo/examples/html/reac__thread_8h-source.html +++ /dev/null @@ -1,79 +0,0 @@ - - -ParadisEO: reac_thread.h Source File - - - - -
-
-

reac_thread.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "reac_thread.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef REAC_THREAD_H_
-00025 #define REAC_THREAD_H_
-00026 
-00027 #include <semaphore.h>
-00028 
-00029 #include "thread.h"
-00030 
-00031 class ReactiveThread : public Thread {
-00032         
-00033 public:
-00034 
-00035   /* Ctor */
-00036   ReactiveThread ();
-00037 
-00038   void sleep ();
-00039   
-00040   void wakeUp ();
-00041     
-00042 private:
-00043 
-00044   sem_t sem;
-00045    
-00046 };
-00047 
-00048 extern void stopReactiveThreads ();
-00049 
-00050 #endif /*THREAD_H_*/
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/recv_8cpp-source.html b/trunk/paradiseo-peo/examples/html/recv_8cpp-source.html deleted file mode 100755 index ccfb8bfd3..000000000 --- a/trunk/paradiseo-peo/examples/html/recv_8cpp-source.html +++ /dev/null @@ -1,156 +0,0 @@ - - -ParadisEO: recv.cpp Source File - - - - -
-
-

recv.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "recv.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "comm.h"
-00025 #include "tags.h"
-00026 #include "worker.h"
-00027 #include "scheduler.h"
-00028 #include "mess.h"
-00029 #include "node.h"
-00030 #include "../../core/runner.h"
-00031 #include "../../core/cooperative.h"
-00032 #include "../../core/peo_debug.h"
-00033 
-00034 void receiveMessages () {
-00035 
-00036   cleanBuffers ();
-00037     
-00038   do {
-00039 
-00040     if (! atLeastOneActiveThread ()) {
-00041       //      printDebugMessage ("debut wait");
-00042       waitMessage ();
-00043       //printDebugMessage ("fin wait");
-00044     }
-00045     
-00046     int src, tag;
-00047 
-00048     while (probeMessage (src, tag)) {
-00049       
-00050       receiveMessage (src, tag);
-00051       initMessage ();
-00052       /*
-00053       char b [1000];
-00054       sprintf (b, "traitement recv %d\n", tag);
-00055       printDebugMessage (b);
-00056       */
-00057       
-00058       switch (tag) {
-00059         
-00060       case RUNNER_STOP_TAG:     
-00061         unpackTerminationOfRunner ();   
-00062         wakeUpCommunicator ();
-00063         break;
-00064       
-00065       case COOP_TAG:
-00066         //      printDebugMessage ("reception de message de cooperation");
-00067         COOP_ID coop_id;
-00068         unpack (coop_id);
-00069         getCooperative (coop_id) -> unpack ();
-00070         break;
-00071 
-00072       case SCHED_REQUEST_TAG:   
-00073         unpackResourceRequest ();
-00074         break;
-00075         
-00076       case SCHED_RESULT_TAG:
-00077         {         
-00078           /* Unpacking the resource */
-00079           SERVICE_ID serv_id;
-00080           unpack (serv_id);
-00081           Service * serv = getService (serv_id);
-00082           int dest;
-00083           unpack (dest);
-00084           WORKER_ID worker_id;
-00085           unpack (worker_id);
-00086 
-00087           /* Going back ... */
-00088           initMessage ();
-00089           pack (worker_id);
-00090           pack (serv_id); 
-00091           serv -> packData ();
-00092           serv -> notifySendingData ();
-00093           sendMessage (dest, TASK_DATA_TAG);
-00094           break;
-00095         }
-00096 
-00097       case TASK_DATA_TAG:
-00098       {
-00099         WORKER_ID worker_id;
-00100         unpack (worker_id);             
-00101         Worker * worker = getWorker (worker_id);
-00102         worker -> setSource (src);
-00103         worker -> unpackData ();
-00104         worker -> wakeUp ();
-00105         break; 
-00106       }
-00107       
-00108       case TASK_RESULT_TAG:
-00109         {
-00110           SERVICE_ID serv_id;
-00111           unpack (serv_id);
-00112           Service * serv = getService (serv_id);
-00113           serv -> unpackResult ();
-00114           break;
-00115         }
-00116 
-00117       case TASK_DONE_TAG:
-00118         unpackTaskDone ();
-00119         break;
-00120 
-00121       default:
-00122         ;
-00123       };
-00124     }
-00125         
-00126   } while (! atLeastOneActiveThread () && atLeastOneActiveRunner () /*&& ! allResourcesFree ()*/);
-00127 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/recv_8h-source.html b/trunk/paradiseo-peo/examples/html/recv_8h-source.html deleted file mode 100755 index cd7a911ee..000000000 --- a/trunk/paradiseo-peo/examples/html/recv_8h-source.html +++ /dev/null @@ -1,58 +0,0 @@ - - -ParadisEO: recv.h Source File - - - - -
-
-

recv.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "recv.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __recv_h
-00025 #define __recv_h
-00026 
-00027 extern void receiveMessages ();
-00028 
-00029 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/ring__topo_8cpp-source.html b/trunk/paradiseo-peo/examples/html/ring__topo_8cpp-source.html deleted file mode 100755 index c31cca490..000000000 --- a/trunk/paradiseo-peo/examples/html/ring__topo_8cpp-source.html +++ /dev/null @@ -1,69 +0,0 @@ - - -ParadisEO: ring_topo.cpp Source File - - - - -
-
-

ring_topo.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "ring_topo.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, September 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "ring_topo.h"
-00025 
-00026 void RingTopology :: setNeighbors (Cooperative * __mig,
-00027                                    std :: vector <Cooperative *> & __from,
-00028                                    std :: vector <Cooperative *> & __to) {
-00029   __from.clear () ;
-00030   __to.clear () ;
-00031 
-00032     int len = mig.size () ;
-00033     
-00034     for (int i = 0 ; i < len ; i ++)      
-00035       if (mig [i] == __mig) {   
-00036         __from.push_back (mig [(i - 1 + len) % len]) ;
-00037         __to.push_back (mig [(i + 1) % len]) ;  
-00038         break;
-00039       }
-00040 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/ring__topo_8h-source.html b/trunk/paradiseo-peo/examples/html/ring__topo_8h-source.html deleted file mode 100755 index f0ac3289a..000000000 --- a/trunk/paradiseo-peo/examples/html/ring__topo_8h-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO: ring_topo.h Source File - - - - -
-
-

ring_topo.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "ring_topo.h"
-00004 
-00005 // (c) OPAC Team, LIFL, September 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __ring_topo_h
-00025 #define __ring_topo_h
-00026 
-00027 #include "topology.h"
-00028 
-00029 class RingTopology : public Topology {
-00030   
-00031 public :
-00032    
-00033   void setNeighbors (Cooperative * __mig,
-00034                      std :: vector <Cooperative *> & __from,
-00035                      std :: vector <Cooperative *> & __to);
-00036   
-00037 };
-00038 
-00039 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/rmc_2mpi_2runner_8cpp-source.html b/trunk/paradiseo-peo/examples/html/rmc_2mpi_2runner_8cpp-source.html deleted file mode 100755 index 0d5f7ff9b..000000000 --- a/trunk/paradiseo-peo/examples/html/rmc_2mpi_2runner_8cpp-source.html +++ /dev/null @@ -1,77 +0,0 @@ - - -ParadisEO: runner.cpp Source File - - - - -
-
-

runner.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "runner.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "../../core/messaging.h"
-00025 #include "../../core/runner.h"
-00026 #include "node.h"
-00027 #include "send.h"
-00028 #include "tags.h"
-00029 #include "schema.h"
-00030 
-00031 bool Runner :: isLocal () {
-00032 
-00033   for (unsigned i = 0; i < my_node -> id_run.size (); i ++)
-00034     if (my_node -> id_run [i] == id)
-00035       return true;
-00036   return false;
-00037 }
-00038 
-00039 void Runner :: packTermination () {
-00040 
-00041   pack (id);
-00042 }
-00043 
-00044 void Runner :: terminate () {
-00045 
-00046   sendToAll (this, RUNNER_STOP_TAG);     
-00047 }
-00048 
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/rmc_2mpi_2service_8cpp-source.html b/trunk/paradiseo-peo/examples/html/rmc_2mpi_2service_8cpp-source.html deleted file mode 100755 index bb6d4de2c..000000000 --- a/trunk/paradiseo-peo/examples/html/rmc_2mpi_2service_8cpp-source.html +++ /dev/null @@ -1,74 +0,0 @@ - - -ParadisEO: service.cpp Source File - - - - -
-
-

service.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "service.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "../../core/service.h"
-00025 #include "../../core/messaging.h"
-00026 #include "node.h"
-00027 #include "tags.h"
-00028 #include "send.h"
-00029 #include "scheduler.h"
-00030 
-00031 void Service :: requestResourceRequest (unsigned __how_many) {
-00032 
-00033   num_sent_rr = __how_many;
-00034   for (unsigned i = 0; i < __how_many; i ++)
-00035     send (this, my_node -> rk_sched, SCHED_REQUEST_TAG);
-00036 }
-00037 
-00038 void Service :: packResourceRequest () {
-00039 
-00040   SCHED_REQUEST req;
-00041   req.first = getNodeRank ();
-00042   req.second = getKey ();
-00043   //  printf ("demande de ressource pour %d\n", req.second);
-00044   :: pack (req);
-00045 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/rmc_8cpp-source.html b/trunk/paradiseo-peo/examples/html/rmc_8cpp-source.html deleted file mode 100755 index a82938d15..000000000 --- a/trunk/paradiseo-peo/examples/html/rmc_8cpp-source.html +++ /dev/null @@ -1,90 +0,0 @@ - - -ParadisEO: rmc.cpp Source File - - - - -
-
-

rmc.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; messent-column: 35; -*-
-00002 
-00003 // "rmc.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "send.h"
-00025 #include "worker.h"
-00026 #include "schema.h"
-00027 #include "comm.h"
-00028 #include "scheduler.h"
-00029 #include "../../core/peo_debug.h"
-00030 
-00031 static std :: vector <pthread_t *> ll_threads; /* Low level threads */
-00032 
-00033 void runRMC () {
-00034 
-00035   /* Worker(s) ? */
-00036   for (unsigned i = 0; i < my_node -> num_workers; i ++) 
-00037     addThread (new Worker, ll_threads);
-00038 
-00039   wakeUpCommunicator ();
-00040 }
-00041 
-00042 void initRMC (int & __argc, char * * & __argv) {
-00043 
-00044   /* Communication */
-00045   initCommunication ();
-00046   addThread (new Communicator (& __argc, & __argv), ll_threads);
-00047   waitNodeInitialization ();
-00048   initSending ();
-00049 
-00050   /* Scheduler */
-00051   if (isScheduleNode ())
-00052     initScheduler ();
-00053 
-00055 }
-00056 
-00057 void finalizeRMC () {
-00058 
-00059   printDebugMessage ("before join threads RMC");
-00060   joinThreads (ll_threads);
-00061   printDebugMessage ("after join threads RMC");
-00062 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/rmc_8h-source.html b/trunk/paradiseo-peo/examples/html/rmc_8h-source.html deleted file mode 100755 index c02c47e51..000000000 --- a/trunk/paradiseo-peo/examples/html/rmc_8h-source.html +++ /dev/null @@ -1,62 +0,0 @@ - - -ParadisEO: rmc.h Source File - - - - -
-
-

rmc.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "rmc.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __rmc_h
-00025 #define __rmc_h
-00026 
-00027 extern void initRMC (int & __argc, char * * & __argv);
-00028 
-00029 extern void runRMC (); /* Resource Management and Communication */ 
-00030 
-00031 extern void finalizeRMC ();
-00032 
-00033 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/route_8cpp-source.html b/trunk/paradiseo-peo/examples/html/route_8cpp-source.html deleted file mode 100755 index c9b9199d3..000000000 --- a/trunk/paradiseo-peo/examples/html/route_8cpp-source.html +++ /dev/null @@ -1,65 +0,0 @@ - - -ParadisEO: route.cpp Source File - - - - -
-
-

route.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "route.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "route.h"
-00025 
-00026 unsigned length (const Route & __route) {
-00027 
-00028   unsigned len = 0 ;
-00029   
-00030   for (unsigned i = 0; i < numNodes; i ++)
-00031     len += distance (__route [i], __route [(i + 1) % numNodes]) ; 
-00032   
-00033   return len;
-00034 }
-00035 
-00036 
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/route_8h-source.html b/trunk/paradiseo-peo/examples/html/route_8h-source.html deleted file mode 100755 index b323e2ff5..000000000 --- a/trunk/paradiseo-peo/examples/html/route_8h-source.html +++ /dev/null @@ -1,64 +0,0 @@ - - -ParadisEO: route.h Source File - - - - -
-
-

route.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "route.h"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __route_h
-00025 #define __route_h
-00026 
-00027 #include <eoVector.h>
-00028 
-00029 #include "node.h"
-00030 
-00031 typedef eoVector <int, Node> Route; 
-00032 
-00033 unsigned length (const Route & __route); 
-00034 
-00035 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/route__eval_8cpp-source.html b/trunk/paradiseo-peo/examples/html/route__eval_8cpp-source.html deleted file mode 100755 index a08865c95..000000000 --- a/trunk/paradiseo-peo/examples/html/route__eval_8cpp-source.html +++ /dev/null @@ -1,58 +0,0 @@ - - -ParadisEO: route_eval.cpp Source File - - - - -
-
-

route_eval.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "route_eval.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "route_eval.h"
-00025 
-00026 void RouteEval :: operator () (Route & __route) {
-00027     
-00028   __route.fitness (- (int) length (__route)); 
-00029 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/route__eval_8h-source.html b/trunk/paradiseo-peo/examples/html/route__eval_8h-source.html deleted file mode 100755 index 297ac9c96..000000000 --- a/trunk/paradiseo-peo/examples/html/route__eval_8h-source.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO: route_eval.h Source File - - - - -
-
-

route_eval.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "route_eval.h"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __route_eval_h
-00025 #define __route_eval_h
-00026 
-00027 #include <eoEvalFunc.h>
-00028 
-00029 #include "route.h"
-00030 
-00031 class RouteEval : public eoEvalFunc <Route> {
-00032   
-00033 public :
-00034     
-00035   void operator () (Route & __route) ;  
-00036 } ;
-00037 
-00038 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/route__init_8cpp-source.html b/trunk/paradiseo-peo/examples/html/route__init_8cpp-source.html deleted file mode 100755 index 39af18215..000000000 --- a/trunk/paradiseo-peo/examples/html/route__init_8cpp-source.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO: route_init.cpp Source File - - - - -
-
-

route_init.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "route_init.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <utils/eoRNG.h>
-00025 
-00026 #include "route_init.h"
-00027 #include "node.h"
-00028 
-00029 void RouteInit :: operator () (Route & __route) {
-00030 
-00031   __route.clear ();
-00032   
-00033   for (unsigned i = 0 ; i < numNodes ; i ++)
-00034     __route.push_back (i);
-00035   
-00036   for (unsigned i = 0 ; i < numNodes ; i ++)    
-00037     std :: swap (__route [i], __route [rng.random (numNodes)]);
-00038 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/route__init_8h-source.html b/trunk/paradiseo-peo/examples/html/route__init_8h-source.html deleted file mode 100755 index 6e088847d..000000000 --- a/trunk/paradiseo-peo/examples/html/route__init_8h-source.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO: route_init.h Source File - - - - -
-
-

route_init.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "route_init.h"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __route_init_h
-00025 #define __route_init_h
-00026 
-00027 #include <eoInit.h>
-00028 
-00029 #include "route.h"
-00030 
-00031 class RouteInit : public eoInit <Route> {
-00032   
-00033 public :
-00034   
-00035   void operator () (Route & __route);  
-00036 } ;
-00037 
-00038 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/runner_8h-source.html b/trunk/paradiseo-peo/examples/html/runner_8h-source.html deleted file mode 100755 index 8003c9a72..000000000 --- a/trunk/paradiseo-peo/examples/html/runner_8h-source.html +++ /dev/null @@ -1,102 +0,0 @@ - - -ParadisEO: runner.h Source File - - - - -
-
-

runner.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "runner.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __runner_h
-00025 #define __runner_h
-00026 
-00027 #include <eoFunctor.h>
-00028 
-00029 #include "communicable.h"
-00030 #include "thread.h"
-00031 
-00032 typedef unsigned RUNNER_ID;
-00033 
-00034 class Runner : public Communicable, public Thread {
-00035 
-00036 public :
-00037 
-00038   Runner ();
-00039 
-00040   void start ();
-00041 
-00042   void waitStarting ();
-00043 
-00044   bool isLocal ();
-00045 
-00046   void terminate ();
-00047 
-00048   virtual void run () = 0;
-00049   
-00050   RUNNER_ID getID (); 
-00051 
-00052   void packTermination ();
-00053 
-00054   void notifySendingTermination ();
-00055 
-00056 private :
-00057 
-00058   sem_t sem_start;
-00059 
-00060   unsigned id;
-00061 };
-00062 
-00063 extern bool atLeastOneActiveRunner ();
-00064 
-00065 extern void unpackTerminationOfRunner ();
-00066 
-00067 extern Runner * getRunner (RUNNER_ID __key); 
-00068 
-00069 extern void startRunners ();
-00070 
-00071 extern void joinRunners ();
-00072 
-00073 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/scheduler_8cpp-source.html b/trunk/paradiseo-peo/examples/html/scheduler_8cpp-source.html deleted file mode 100755 index 5502419c0..000000000 --- a/trunk/paradiseo-peo/examples/html/scheduler_8cpp-source.html +++ /dev/null @@ -1,122 +0,0 @@ - - -ParadisEO: scheduler.cpp Source File - - - - -
-
-

scheduler.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "sched_thread.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <queue>
-00025 
-00026 #include "scheduler.h"
-00027 #include "tags.h"
-00028 #include "mess.h"
-00029 #include "../../core/peo_debug.h"
-00030 
-00031 static std :: queue <SCHED_RESOURCE> resources; /* Free resources */
-00032 
-00033 static std :: queue <SCHED_REQUEST> requests; /* Requests */
-00034 
-00035 static unsigned initNumberOfRes = 0;
-00036 
-00037 void initScheduler () {
-00038   
-00039   for (unsigned i = 0; i < the_schema.size (); i ++) {
-00040     
-00041     const Node & node = the_schema [i];
-00042     
-00043     if (node.rk_sched == my_node -> rk)      
-00044       for (unsigned j = 0; j < node.num_workers; j ++)
-00045         resources.push (std :: pair <RANK_ID, WORKER_ID> (i, j + 1));    
-00046   }  
-00047   initNumberOfRes = resources.size ();
-00048 }
-00049 
-00050 bool allResourcesFree () {
-00051 
-00052   return resources.size () == initNumberOfRes;
-00053 }
-00054 
-00055 static void update () {
-00056 
-00057   unsigned num_alloc = std :: min (resources.size (), requests.size ());
-00058   
-00059   for (unsigned i = 0; i < num_alloc; i ++) {
-00060     
-00061     SCHED_REQUEST req = requests.front ();
-00062     requests.pop ();
-00063     
-00064     SCHED_RESOURCE res = resources.front ();
-00065     resources.pop ();
-00066 
-00067     printDebugMessage ("allocating a resource.");    
-00068     initMessage ();
-00069     pack (req.second);
-00070     pack (res);
-00071     sendMessage (req.first, SCHED_RESULT_TAG);
-00072   }  
-00073 }
-00074 
-00075 void unpackResourceRequest () {
-00076 
-00077   printDebugMessage ("queuing a resource request.");
-00078   SCHED_REQUEST req;
-00079   unpack (req);
-00080   requests.push (req);
-00081   update ();
-00082 }
-00083 
-00084 void unpackTaskDone () {
-00085 
-00086   printDebugMessage ("I'm notified a worker is now idle.");
-00087   SCHED_RESOURCE res;
-00088   unpack (res);
-00089   resources.push (res);
-00090   if (resources.size () == initNumberOfRes)
-00091     printDebugMessage ("all the resources are now free.");
-00092   update ();
-00093 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/scheduler_8h-source.html b/trunk/paradiseo-peo/examples/html/scheduler_8h-source.html deleted file mode 100755 index 0da3c1e82..000000000 --- a/trunk/paradiseo-peo/examples/html/scheduler_8h-source.html +++ /dev/null @@ -1,76 +0,0 @@ - - -ParadisEO: scheduler.h Source File - - - - -
-
-

scheduler.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "scheduler.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __scheduler_h
-00025 #define __scheduler_h
-00026 
-00027 #include <utility>
-00028 
-00029 #include "schema.h"
-00030 #include "worker.h"
-00031 
-00032 typedef std :: pair <RANK_ID, WORKER_ID> SCHED_RESOURCE;
-00033 
-00034 typedef std :: pair <RANK_ID, SERVICE_ID> SCHED_REQUEST;
-00035 
-00036 /* Initializing the list of available workers */
-00037 extern void initScheduler ();
-00038 
-00039 /* Processing a resource request from a service */
-00040 extern void unpackResourceRequest ();
-00041 
-00042 /* Being known a worker is now idle :-) */
-00043 extern void unpackTaskDone (); 
-00044 
-00045 extern bool allResourcesFree ();
-00046 
-00047 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/schema_8cpp-source.html b/trunk/paradiseo-peo/examples/html/schema_8cpp-source.html deleted file mode 100755 index db0d3cac8..000000000 --- a/trunk/paradiseo-peo/examples/html/schema_8cpp-source.html +++ /dev/null @@ -1,179 +0,0 @@ - - -ParadisEO: schema.cpp Source File - - - - -
-
-

schema.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "schema.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <iostream>
-00025 #include <assert.h>
-00026 
-00027 #include "schema.h"
-00028 #include "xml_parser.h"
-00029 #include "comm.h"
-00030 #include "node.h"
-00031 #include "../../core/peo_debug.h"
-00032 
-00033 std :: vector <Node> the_schema;
-00034 
-00035 Node * my_node;
-00036 
-00037 RANK_ID getRankOfRunner (RUNNER_ID __key) {
-00038 
-00039   for (unsigned i = 0; i < the_schema.size (); i ++)
-00040     for (unsigned j = 0; j < the_schema [i].id_run.size (); j ++)
-00041       if (the_schema [i].id_run [j] == __key)
-00042         return the_schema [i].rk;
-00043   assert (false);
-00044   return 0; 
-00045 }
-00046 
-00047 static void loadNode (int __rk_sched) {
-00048 
-00049   Node node;
-00050   
-00051   node.rk_sched = __rk_sched;
-00052 
-00053   /* ATT: name*/
-00054   node.rk = getRankFromName (getAttributeValue ("name"));
-00055   /* ATT: num_workers */
-00056   node.num_workers = atoi (getAttributeValue ("num_workers").c_str ());
-00057 
-00058   while (true) {
-00059     
-00060     /* TAG: <runner> | </node> */
-00061     std :: string name = getNextNode ();
-00062     assert (name == "runner" || name == "node");    
-00063     if (name == "runner") {
-00064       /* TAG: </node> */
-00065       node.id_run.push_back (atoi (getNextNode ().c_str ()));
-00066       /* TAG: </runner> */
-00067       assert (getNextNode () == "runner");
-00068     }
-00069     else {      
-00070       /* TAG: </node> */
-00071       the_schema.push_back (node); 
-00072       break;
-00073     }
-00074   }
-00075 }
-00076 
-00077 static void loadGroup () {
-00078 
-00079   std :: string name;
-00080   
-00081   /* ATT: scheduler*/
-00082   int rk_sched = getRankFromName (getAttributeValue ("scheduler"));
-00083   
-00084   while (true) {
-00085 
-00086     /* TAG: <node> | </group> */
-00087     name = getNextNode ();
-00088     assert (name == "node" || name == "group");    
-00089     if (name == "node")
-00090       /* TAG: <node> */
-00091       loadNode (rk_sched);
-00092     else
-00093       /* TAG: </group> */
-00094       break;
-00095   }
-00096 }
-00097 
-00098 bool isScheduleNode () {
-00099   
-00100   return my_node -> rk == my_node -> rk_sched;
-00101 }
-00102 
-00103 void loadSchema (const char * __filename) {
-00104   
-00105   openXMLDocument (__filename);
-00106   
-00107   std :: string name;
-00108   
-00109   /* TAG: <schema> */
-00110   name = getNextNode ();
-00111   assert (name == "schema");
-00112     
-00113   while (true) {
-00114 
-00115     /* TAG: <group> | </schema> */
-00116     name = getNextNode ();
-00117     assert (name == "group" || name == "schema");    
-00118     if (name == "group")
-00119       /* TAG: <group> */
-00120       loadGroup ();
-00121     else
-00122       /* TAG: </schema> */
-00123       break;    
-00124   }
-00125 
-00126   /* Looking for my node */
-00127   for (unsigned i = 0; i < the_schema.size (); i ++)
-00128     if (the_schema [i].rk == getNodeRank ())
-00129       my_node = & (the_schema [i]);
-00130   
-00131   /* About me */
-00132   char mess [1000];
-00133   
-00134   sprintf (mess, "my rank is %d", my_node -> rk);
-00135   printDebugMessage (mess);
-00136   if (isScheduleNode ())
-00137     printDebugMessage ("I'am a scheduler");  
-00138   for (unsigned i = 0; i < my_node -> id_run.size (); i ++) {
-00139     sprintf (mess, "I manage the runner %d", my_node -> id_run [i]);
-00140     printDebugMessage (mess);
-00141   }
-00142   if (my_node -> num_workers) {
-00143     
-00144     sprintf (mess, "I manage %d worker(s)", my_node -> num_workers);
-00145     printDebugMessage (mess);
-00146   }
-00147           
-00148   closeXMLDocument ();
-00149 }
-00150 
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/schema_8h-source.html b/trunk/paradiseo-peo/examples/html/schema_8h-source.html deleted file mode 100755 index 548f0197a..000000000 --- a/trunk/paradiseo-peo/examples/html/schema_8h-source.html +++ /dev/null @@ -1,83 +0,0 @@ - - -ParadisEO: schema.h Source File - - - - -
-
-

schema.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "schema.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __schema_h
-00025 #define __schema_h
-00026 
-00027 #include <string>
-00028 #include <vector>
-00029 #include <cassert>
-00030 
-00031 #include "../../core/runner.h"
-00032 
-00033 typedef int RANK_ID;
-00034 
-00035 struct Node {
-00036   
-00037   RANK_ID rk; /* Rank */
-00038   std :: string name; /* Host name */
-00039   unsigned num_workers; /* Number of parallel workers */
-00040   int rk_sched; /* rank of the scheduler */
-00041   std :: vector <RUNNER_ID> id_run; /* List of runners */
-00042 };
-00043 
-00044 extern std :: vector <Node> the_schema;
-00045 
-00046 extern Node * my_node;
-00047 
-00048 extern void loadSchema (const char * __filename);
-00049 
-00050 extern RANK_ID getRankOfRunner (RUNNER_ID __key);
-00051 
-00052 extern bool isScheduleNode ();
-00053 
-00054 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/search.idx b/trunk/paradiseo-peo/examples/html/search.idx deleted file mode 100755 index dbede0937..000000000 Binary files a/trunk/paradiseo-peo/examples/html/search.idx and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/search.php b/trunk/paradiseo-peo/examples/html/search.php deleted file mode 100755 index 40c26cc15..000000000 --- a/trunk/paradiseo-peo/examples/html/search.php +++ /dev/null @@ -1,382 +0,0 @@ - - -Search - - - - -
-
    -
  • Main Page
  • -
  • Namespaces
  • -
  • Classes
  • -
  • Files
  • -
  • -
    - - - - -1 document matching your query."; - } - else // $num>1 - { - return "Found $num documents matching your query. Showing best matches first."; - } -} - -function report_matches() -{ - return "Matches: "; -} -function end_form($value) -{ - echo " \n \n
    \n
    \n
  • \n
\n
\n"; -} - -function readInt($file) -{ - $b1 = ord(fgetc($file)); $b2 = ord(fgetc($file)); - $b3 = ord(fgetc($file)); $b4 = ord(fgetc($file)); - return ($b1<<24)|($b2<<16)|($b3<<8)|$b4; -} - -function readString($file) -{ - $result=""; - while (ord($c=fgetc($file))) $result.=$c; - return $result; -} - -function readHeader($file) -{ - $header =fgetc($file); $header.=fgetc($file); - $header.=fgetc($file); $header.=fgetc($file); - return $header; -} - -function computeIndex($word) -{ - // Fast string hashing - //$lword = strtolower($word); - //$l = strlen($lword); - //for ($i=0;$i<$l;$i++) - //{ - // $c = ord($lword{$i}); - // $v = (($v & 0xfc00) ^ ($v << 6) ^ $c) & 0xffff; - //} - //return $v; - - // Simple hashing that allows for substring search - if (strlen($word)<2) return -1; - // high char of the index - $hi = ord($word{0}); - if ($hi==0) return -1; - // low char of the index - $lo = ord($word{1}); - if ($lo==0) return -1; - // return index - return $hi*256+$lo; -} - -function search($file,$word,&$statsList) -{ - $index = computeIndex($word); - if ($index!=-1) // found a valid index - { - fseek($file,$index*4+4); // 4 bytes per entry, skip header - $index = readInt($file); - if ($index) // found words matching the hash key - { - $start=sizeof($statsList); - $count=$start; - fseek($file,$index); - $w = readString($file); - while ($w) - { - $statIdx = readInt($file); - if ($word==substr($w,0,strlen($word))) - { // found word that matches (as substring) - $statsList[$count++]=array( - "word"=>$word, - "match"=>$w, - "index"=>$statIdx, - "full"=>strlen($w)==strlen($word), - "docs"=>array() - ); - } - $w = readString($file); - } - $totalHi=0; - $totalFreqHi=0; - $totalFreqLo=0; - for ($count=$start;$count $idx, - "freq" => $freq>>1, - "rank" => 0.0, - "hi" => $freq&1 - ); - if ($freq&1) // word occurs in high priority doc - { - $totalHi++; - $totalFreqHi+=$freq*$multiplier; - } - else // word occurs in low priority doc - { - $totalFreqLo+=$freq*$multiplier; - } - } - // read name and url info for the doc - for ($i=0;$i<$numDocs;$i++) - { - fseek($file,$docInfo[$i]["idx"]); - $docInfo[$i]["name"]=readString($file); - $docInfo[$i]["url"]=readString($file); - } - $statInfo["docs"]=$docInfo; - } - $totalFreq=($totalHi+1)*$totalFreqLo + $totalFreqHi; - for ($count=$start;$count$key, - "name"=>$di["name"], - "rank"=>$rank - ); - } - $docs[$key]["words"][] = array( - "word"=>$wordInfo["word"], - "match"=>$wordInfo["match"], - "freq"=>$di["freq"] - ); - } - } - return $docs; -} - -function filter_results($docs,&$requiredWords,&$forbiddenWords) -{ - $filteredDocs=array(); - while (list ($key, $val) = each ($docs)) - { - $words = &$docs[$key]["words"]; - $copy=1; // copy entry by default - if (sizeof($requiredWords)>0) - { - foreach ($requiredWords as $reqWord) - { - $found=0; - foreach ($words as $wordInfo) - { - $found = $wordInfo["word"]==$reqWord; - if ($found) break; - } - if (!$found) - { - $copy=0; // document contains none of the required words - break; - } - } - } - if (sizeof($forbiddenWords)>0) - { - foreach ($words as $wordInfo) - { - if (in_array($wordInfo["word"],$forbiddenWords)) - { - $copy=0; // document contains a forbidden word - break; - } - } - } - if ($copy) $filteredDocs[$key]=$docs[$key]; - } - return $filteredDocs; -} - -function compare_rank($a,$b) -{ - if ($a["rank"] == $b["rank"]) - { - return 0; - } - return ($a["rank"]>$b["rank"]) ? -1 : 1; -} - -function sort_results($docs,&$sorted) -{ - $sorted = $docs; - usort($sorted,"compare_rank"); - return $sorted; -} - -function report_results(&$docs) -{ - echo "\n"; - echo " \n"; - echo " \n"; - echo " \n"; - $numDocs = sizeof($docs); - if ($numDocs==0) - { - echo " \n"; - echo " \n"; - echo " \n"; - } - else - { - echo " \n"; - echo " \n"; - echo " \n"; - $num=1; - foreach ($docs as $doc) - { - echo " \n"; - echo " "; - echo "\n"; - echo " \n"; - echo " \n"; - echo " \n"; - $num++; - } - } - echo "

".search_results()."

".matches_text(0)."
".matches_text($numDocs); - echo "\n"; - echo "
$num.".$doc["name"]."
".report_matches()." "; - foreach ($doc["words"] as $wordInfo) - { - $word = $wordInfo["word"]; - $matchRight = substr($wordInfo["match"],strlen($word)); - echo "$word$matchRight(".$wordInfo["freq"].") "; - } - echo "
\n"; -} - -function main() -{ - if(strcmp('4.1.0', phpversion()) > 0) - { - die("Error: PHP version 4.1.0 or above required!"); - } - if (!($file=fopen("search.idx","rb"))) - { - die("Error: Search index file could NOT be opened!"); - } - if (readHeader($file)!="DOXS") - { - die("Error: Header of index file is invalid!"); - } - $query=""; - if (array_key_exists("query", $_GET)) - { - $query=$_GET["query"]; - } - end_form($query); - echo " \n
\n"; - $results = array(); - $requiredWords = array(); - $forbiddenWords = array(); - $foundWords = array(); - $word=strtok($query," "); - while ($word) // for each word in the search query - { - if (($word{0}=='+')) { $word=substr($word,1); $requiredWords[]=$word; } - if (($word{0}=='-')) { $word=substr($word,1); $forbiddenWords[]=$word; } - if (!in_array($word,$foundWords)) - { - $foundWords[]=$word; - search($file,strtolower($word),$results); - } - $word=strtok(" "); - } - $docs = array(); - combine_results($results,$docs); - // filter out documents with forbidden word or that do not contain - // required words - $filteredDocs = filter_results($docs,$requiredWords,$forbiddenWords); - // sort the results based on rank - $sorted = array(); - sort_results($filteredDocs,$sorted); - // report results to the user - report_results($sorted); - echo "
\n"; - fclose($file); -} - -main(); - - -?> -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/send_8cpp-source.html b/trunk/paradiseo-peo/examples/html/send_8cpp-source.html deleted file mode 100755 index 825b1145b..000000000 --- a/trunk/paradiseo-peo/examples/html/send_8cpp-source.html +++ /dev/null @@ -1,160 +0,0 @@ - - -ParadisEO: send.cpp Source File - - - - -
-
-

send.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "send.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <mpi.h>
-00025 #include <semaphore.h>
-00026 #include <queue>
-00027 
-00028 #include "tags.h"
-00029 #include "comm.h"
-00030 #include "worker.h"
-00031 #include "scheduler.h"
-00032 #include "mess.h"
-00033 #include "node.h"
-00034 #include "../../core/cooperative.h"
-00035 #include "../../core/peo_debug.h"
-00036 
-00037 #define TO_ALL -1
-00038 
-00039 typedef struct {
-00040 
-00041   Communicable * comm;
-00042   int to;
-00043   int tag;
-00044 
-00045 } SEND_REQUEST;
-00046         
-00047 static std :: queue <SEND_REQUEST> mess;
-00048 
-00049 static sem_t sem_send;
-00050 
-00051 void initSending () {
-00052 
-00053   sem_init (& sem_send, 0, 1);
-00054 }
-00055 
-00056 void send (Communicable * __comm, int __to, int __tag) {
-00057 
-00058   SEND_REQUEST req;  
-00059   req.comm = __comm;
-00060   req.to = __to;
-00061   req.tag = __tag;
-00062 
-00063   sem_wait (& sem_send);
-00064   mess.push (req);
-00065   sem_post (& sem_send);
-00066   wakeUpCommunicator ();
-00067 }
-00068 
-00069 void sendToAll (Communicable * __comm, int __tag) {
-00070   
-00071   send (__comm, TO_ALL, __tag);
-00072 }
-00073 
-00074 void sendMessages () {
-00075 
-00076   sem_wait (& sem_send);
-00077 
-00078   while (! mess.empty ()) {
-00079     
-00080     SEND_REQUEST req = mess.front ();
-00081     /*
-00082     char b [1000];
-00083     sprintf (b, "traitement send %d\n", req.tag);
-00084     printDebugMessage (b);
-00085     */
-00086     
-00087     Communicable * comm = req.comm;
-00088 
-00089     initMessage ();
-00090 
-00091     switch (req.tag) {
-00092 
-00093     case RUNNER_STOP_TAG:
-00094       dynamic_cast <Runner *> (comm) -> packTermination ();            
-00095       dynamic_cast <Runner *> (comm) -> notifySendingTermination ();            
-00096       break;
-00097 
-00098     case COOP_TAG:
-00099       dynamic_cast <Cooperative *> (comm) -> pack ();      
-00100       dynamic_cast <Cooperative *> (comm) -> notifySending ();      
-00101       break;
-00102           
-00103     case SCHED_REQUEST_TAG:
-00104       dynamic_cast <Service *> (comm) -> packResourceRequest ();
-00105       dynamic_cast <Service *> (comm) -> notifySendingResourceRequest ();            
-00106       break;
-00107 
-00108     case TASK_RESULT_TAG:
-00109       dynamic_cast <Worker *> (comm) -> packResult ();
-00110       dynamic_cast <Worker *> (comm) -> notifySendingResult ();
-00111       break;
-00112 
-00113     case TASK_DONE_TAG:
-00114       dynamic_cast <Worker *> (comm) -> packTaskDone ();
-00115       dynamic_cast <Worker *> (comm) -> notifySendingTaskDone ();
-00116       break;
-00117       
-00118     default :
-00119       break;
-00120 
-00121     };
-00122     
-00123     if (req.to == TO_ALL)
-00124       sendMessageToAll (req.tag);
-00125     else
-00126       sendMessage (req.to, req.tag);
-00127     mess.pop ();
-00128   }
-00129 
-00130   sem_post (& sem_send);  
-00131 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/send_8h-source.html b/trunk/paradiseo-peo/examples/html/send_8h-source.html deleted file mode 100755 index 5da80bff5..000000000 --- a/trunk/paradiseo-peo/examples/html/send_8h-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO: send.h Source File - - - - -
-
-

send.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "send.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __send_h
-00025 #define __send_h
-00026 
-00027 #include "../../core/communicable.h"
-00028 
-00029 extern void initSending ();
-00030 
-00031 extern void send (Communicable * __comm, int __to, int __tag);
-00032 
-00033 extern void sendToAll (Communicable * __comm, int __tag);
-00034 
-00035 extern void sendMessages ();
-00036 
-00037 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/service_8h-source.html b/trunk/paradiseo-peo/examples/html/service_8h-source.html deleted file mode 100755 index 68b3a55ba..000000000 --- a/trunk/paradiseo-peo/examples/html/service_8h-source.html +++ /dev/null @@ -1,94 +0,0 @@ - - -ParadisEO: service.h Source File - - - - -
-
-

service.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "service.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __service_h
-00025 #define __service_h
-00026 
-00027 #include "communicable.h"
-00028 #include "thread.h"
-00029 
-00030 typedef unsigned SERVICE_ID;
-00031 
-00032 class Service : public Communicable {
-00033 
-00034 public :
-00035 
-00036   void setOwner (Thread & __owner);
-00037   
-00038   Thread * getOwner (); 
-00039 
-00040   void requestResourceRequest (unsigned __how_many = 1);
-00041   void packResourceRequest ();
-00042 
-00043   virtual void packData ();
-00044   virtual void unpackData ();
-00045 
-00046   virtual void execute ();
-00047   
-00048   virtual void packResult ();
-00049   virtual void unpackResult ();
-00050 
-00051   virtual void notifySendingData ();
-00052   virtual void notifySendingResourceRequest ();
-00053   virtual void notifySendingAllResourceRequests ();
-00054 
-00055 private :
-00056 
-00057   Thread * owner; /* Owner thread (i.e. 'uses' that service) */ 
-00058 
-00059   unsigned num_sent_rr; /* Number of RR not really sent (i.e. still in the sending queue)*/
-00060 
-00061 };
-00062 
-00063 extern Service * getService (SERVICE_ID __key); 
-00064 
-00065 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/src_2rmc_2mpi_2node_8cpp-source.html b/trunk/paradiseo-peo/examples/html/src_2rmc_2mpi_2node_8cpp-source.html deleted file mode 100755 index 77f783f1b..000000000 --- a/trunk/paradiseo-peo/examples/html/src_2rmc_2mpi_2node_8cpp-source.html +++ /dev/null @@ -1,102 +0,0 @@ - - -ParadisEO: node.cpp Source File - - - - -
-
-

node.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "node.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <mpi.h>
-00025 #include <vector>
-00026 #include <map>
-00027 #include <string>
-00028 #include <cassert>
-00029 
-00030 static int rk, sz; /* Rank & size */
-00031 
-00032 static std :: map <std :: string, int> name_to_rk;
-00033 
-00034 static std :: vector <std :: string> rk_to_name;
-00035 
-00036 int getNodeRank () {
-00037 
-00038   return rk;
-00039 }
-00040 
-00041 int getNumberOfNodes () {
-00042 
-00043   return sz;
-00044 }
-00045 
-00046 int getRankFromName (const std :: string & __name) {
-00047   
-00048   return atoi (__name.c_str ());  
-00049 }
-00050 
-00051 void initNode (int * __argc, char * * * __argv) {
-00052   
-00053   int provided;
-00054   MPI_Init_thread (__argc,  __argv, MPI_THREAD_FUNNELED, & provided);  
-00055   assert (provided == MPI_THREAD_FUNNELED); /* The MPI implementation must be multi-threaded.
-00056                                                Yet, only one thread performs the comm.
-00057                                                operations */
-00058   MPI_Comm_rank (MPI_COMM_WORLD, & rk);   /* Who ? */
-00059   MPI_Comm_size (MPI_COMM_WORLD, & sz);    /* How many ? */
-00060 
-00061   char names [sz] [MPI_MAX_PROCESSOR_NAME];
-00062   int len;
-00063 
-00064   /* Processor names */ 
-00065   MPI_Get_processor_name (names [0], & len);   /* Me */  
-00066   MPI_Allgather (names, MPI_MAX_PROCESSOR_NAME, MPI_CHAR, names, MPI_MAX_PROCESSOR_NAME, MPI_CHAR, MPI_COMM_WORLD); /* Broadcast */
-00067   
-00068   for (int i = 0; i < sz; i ++) {
-00069     rk_to_name.push_back (names [i]);
-00070     name_to_rk [names [i]] = i;
-00071   }
-00072 }
-00073 
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/src_2rmc_2mpi_2node_8h-source.html b/trunk/paradiseo-peo/examples/html/src_2rmc_2mpi_2node_8h-source.html deleted file mode 100755 index 25bf3b838..000000000 --- a/trunk/paradiseo-peo/examples/html/src_2rmc_2mpi_2node_8h-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO: node.h Source File - - - - -
-
-

node.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "node.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __node_h
-00025 #define __node_h
-00026 
-00027 #include <string>
-00028 #include <cassert>
-00029 
-00030 extern int getNodeRank (); /* It gives the rank of the calling process */
-00031 
-00032 extern int getNumberOfNodes (); /* It gives the size of the environment (Total number of nodes) */
-00033 
-00034 extern int getRankFromName (const std :: string & __name); /* It gives the rank of the process
-00035                                                               expressed by its name */
-00036 
-00037 extern void initNode (int * __argc, char * * * __argv);
-00038 
-00039 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/src_2rmc_2mpi_2param_8cpp-source.html b/trunk/paradiseo-peo/examples/html/src_2rmc_2mpi_2param_8cpp-source.html deleted file mode 100755 index fe121994e..000000000 --- a/trunk/paradiseo-peo/examples/html/src_2rmc_2mpi_2param_8cpp-source.html +++ /dev/null @@ -1,65 +0,0 @@ - - -ParadisEO: param.cpp Source File - - - - -
-
-

param.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "param.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <utils/eoParser.h>
-00025 
-00026 #include "schema.h"
-00027 
-00028 void loadRMCParameters (int & __argc, char * * & __argv) {
-00029 
-00030   eoParser parser (__argc, __argv);
-00031 
-00032   /* Schema */
-00033   eoValueParam <std :: string> schema_param ("schema.xml", "schema", "?");
-00034   parser.processParam (schema_param);
-00035   loadSchema (schema_param.value ().c_str ());
-00036 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/src_2rmc_2mpi_2param_8h-source.html b/trunk/paradiseo-peo/examples/html/src_2rmc_2mpi_2param_8h-source.html deleted file mode 100755 index d037ebbaa..000000000 --- a/trunk/paradiseo-peo/examples/html/src_2rmc_2mpi_2param_8h-source.html +++ /dev/null @@ -1,58 +0,0 @@ - - -ParadisEO: param.h Source File - - - - -
-
-

param.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "param.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __rmc_param_h
-00025 #define __rmc_param_h
-00026 
-00027 extern void loadRMCParameters (int & __argc, char * * & __argv);
-00028 
-00029 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/struct_node-members.html b/trunk/paradiseo-peo/examples/html/struct_node-members.html deleted file mode 100755 index a576996cb..000000000 --- a/trunk/paradiseo-peo/examples/html/struct_node-members.html +++ /dev/null @@ -1,42 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
- -

Node Member List

This is the complete list of members for Node, including all inherited members.

- - - - - -
id_runNode
nameNode
num_workersNode
rkNode
rk_schedNode


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/struct_node.html b/trunk/paradiseo-peo/examples/html/struct_node.html deleted file mode 100755 index 621d698a2..000000000 --- a/trunk/paradiseo-peo/examples/html/struct_node.html +++ /dev/null @@ -1,62 +0,0 @@ - - -ParadisEO: Node Struct Reference - - - - -
-
- -

Node Struct Reference

List of all members. - - - - - - - - - - - - -

Public Attributes

-RANK_ID rk
-std::string name
-unsigned num_workers
-int rk_sched
-std::vector< RUNNER_ID > id_run
-

Detailed Description

- -

- -

-Definition at line 35 of file schema.h.


The documentation for this struct was generated from the following file: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/struct_s_e_n_d___r_e_q_u_e_s_t-members.html b/trunk/paradiseo-peo/examples/html/struct_s_e_n_d___r_e_q_u_e_s_t-members.html deleted file mode 100755 index 6da88b9e8..000000000 --- a/trunk/paradiseo-peo/examples/html/struct_s_e_n_d___r_e_q_u_e_s_t-members.html +++ /dev/null @@ -1,40 +0,0 @@ - - -ParadisEO: Member List - - - - -
-
- -

SEND_REQUEST Member List

This is the complete list of members for SEND_REQUEST, including all inherited members.

- - - -
commSEND_REQUEST
tagSEND_REQUEST
toSEND_REQUEST


Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/struct_s_e_n_d___r_e_q_u_e_s_t.html b/trunk/paradiseo-peo/examples/html/struct_s_e_n_d___r_e_q_u_e_s_t.html deleted file mode 100755 index b509ce236..000000000 --- a/trunk/paradiseo-peo/examples/html/struct_s_e_n_d___r_e_q_u_e_s_t.html +++ /dev/null @@ -1,56 +0,0 @@ - - -ParadisEO: SEND_REQUEST Struct Reference - - - - -
-
- -

SEND_REQUEST Struct Reference

List of all members. - - - - - - - - -

Public Attributes

-Communicablecomm
-int to
-int tag
-

Detailed Description

- -

- -

-Definition at line 39 of file send.cpp.


The documentation for this struct was generated from the following file: -
Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/tab_b.gif b/trunk/paradiseo-peo/examples/html/tab_b.gif deleted file mode 100755 index 0d623483f..000000000 Binary files a/trunk/paradiseo-peo/examples/html/tab_b.gif and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/tab_l.gif b/trunk/paradiseo-peo/examples/html/tab_l.gif deleted file mode 100755 index 9b1e6337c..000000000 Binary files a/trunk/paradiseo-peo/examples/html/tab_l.gif and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/tab_r.gif b/trunk/paradiseo-peo/examples/html/tab_r.gif deleted file mode 100755 index ce9dd9f53..000000000 Binary files a/trunk/paradiseo-peo/examples/html/tab_r.gif and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/html/tabs.css b/trunk/paradiseo-peo/examples/html/tabs.css deleted file mode 100755 index a61552a67..000000000 --- a/trunk/paradiseo-peo/examples/html/tabs.css +++ /dev/null @@ -1,102 +0,0 @@ -/* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */ - -DIV.tabs -{ - float : left; - width : 100%; - background : url("tab_b.gif") repeat-x bottom; - margin-bottom : 4px; -} - -DIV.tabs UL -{ - margin : 0px; - padding-left : 10px; - list-style : none; -} - -DIV.tabs LI, DIV.tabs FORM -{ - display : inline; - margin : 0px; - padding : 0px; -} - -DIV.tabs FORM -{ - float : right; -} - -DIV.tabs A -{ - float : left; - background : url("tab_r.gif") no-repeat right top; - border-bottom : 1px solid #84B0C7; - font-size : x-small; - font-weight : bold; - text-decoration : none; -} - -DIV.tabs A:hover -{ - background-position: 100% -150px; -} - -DIV.tabs A:link, DIV.tabs A:visited, -DIV.tabs A:active, DIV.tabs A:hover -{ - color: #1A419D; -} - -DIV.tabs SPAN -{ - float : left; - display : block; - background : url("tab_l.gif") no-repeat left top; - padding : 5px 9px; - white-space : nowrap; -} - -DIV.tabs INPUT -{ - float : right; - display : inline; - font-size : 1em; -} - -DIV.tabs TD -{ - font-size : x-small; - font-weight : bold; - text-decoration : none; -} - - - -/* Commented Backslash Hack hides rule from IE5-Mac \*/ -DIV.tabs SPAN {float : none;} -/* End IE5-Mac hack */ - -DIV.tabs A:hover SPAN -{ - background-position: 0% -150px; -} - -DIV.tabs LI#current A -{ - background-position: 100% -150px; - border-width : 0px; -} - -DIV.tabs LI#current SPAN -{ - background-position: 0% -150px; - padding-bottom : 6px; -} - -DIV.nav -{ - background : none; - border : none; - border-bottom : 1px solid #84B0C7; -} diff --git a/trunk/paradiseo-peo/examples/html/tags_8h-source.html b/trunk/paradiseo-peo/examples/html/tags_8h-source.html deleted file mode 100755 index 92e60c101..000000000 --- a/trunk/paradiseo-peo/examples/html/tags_8h-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO: tags.h Source File - - - - -
-
-

tags.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "tags.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __tags_h
-00025 #define __tags_h
-00026 
-00027 #define RUNNER_STOP_TAG 13
-00028 
-00029 #define COOP_TAG 14
-00030 
-00031 #define SCHED_REQUEST_TAG 16
-00032 
-00033 #define SCHED_RESULT_TAG 17
-00034 #define TASK_DATA_TAG 18
-00035 
-00036 #define TASK_RESULT_TAG 19
-00037 #define TASK_DONE_TAG 20
-00038 
-00039 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/thread_8cpp-source.html b/trunk/paradiseo-peo/examples/html/thread_8cpp-source.html deleted file mode 100755 index 3e606b99c..000000000 --- a/trunk/paradiseo-peo/examples/html/thread_8cpp-source.html +++ /dev/null @@ -1,125 +0,0 @@ - - -ParadisEO: thread.cpp Source File - - - - -
-
-

thread.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "thread.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <map>
-00025 
-00026 #include "thread.h"
-00027 
-00028 static std :: vector <Thread *> threads;
-00029 
-00030 unsigned num_act = 0;
-00031 
-00032 Thread :: Thread () {
-00033         
-00034   threads.push_back (this);
-00035   act = false;
-00036 }
-00037 
-00038 Thread :: ~ Thread () {
-00039 
-00040   /* Nothing ! */
-00041 }
-00042 
-00043 extern int getNodeRank ();
-00044 
-00045 void Thread :: setActive () {
-00046 
-00047   if (! act ) {
-00048 
-00049     act = true;
-00050     num_act ++;
-00051     //    if (getNodeRank () == 1)      
-00052     //   printf ("On passe a %d\n", num_act);
-00053   }
-00054 }
-00055 
-00056 void Thread :: setPassive () {
-00057 
-00058   if (act) {
-00059 
-00060    act = false;
-00061     num_act --;
-00062     //    if (getNodeRank () == 1)      
-00063     //  printf ("On passe a %d\n", num_act);
-00064 
-00065   } 
-00066 }
-00067 
-00068 bool atLeastOneActiveThread () {
-00069 
-00070   return num_act;
-00071 }
-00072 
-00073 unsigned numberOfActiveThreads () {
-00074 
-00075   return num_act;
-00076 }
-00077 
-00078 static void * launch (void * __arg) {
-00079 
-00080   Thread * thr = (Thread *) __arg;  
-00081   thr -> start ();
-00082   return 0;
-00083 }
-00084 
-00085 void addThread (Thread * __hl_thread, std :: vector <pthread_t *> & __ll_threads) {
-00086 
-00087   pthread_t * ll_thr = new pthread_t;
-00088   __ll_threads.push_back (ll_thr);
-00089   pthread_create (ll_thr, 0, launch, __hl_thread); 
-00090 }
-00091 
-00092 void joinThreads (std :: vector <pthread_t *> & __threads) {
-00093 
-00094   for (unsigned i = 0; i < __threads.size (); i ++)    
-00095     pthread_join (* __threads [i], 0);  
-00096 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/thread_8h-source.html b/trunk/paradiseo-peo/examples/html/thread_8h-source.html deleted file mode 100755 index 374e07f77..000000000 --- a/trunk/paradiseo-peo/examples/html/thread_8h-source.html +++ /dev/null @@ -1,92 +0,0 @@ - - -ParadisEO: thread.h Source File - - - - -
-
-

thread.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "thread.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef THREAD_H_
-00025 #define THREAD_H_
-00026 
-00027 #include <vector>
-00028 
-00029 /* A high-level thread */
-00030 
-00031 class Thread {
-00032         
-00033 public:
-00034 
-00035   /* Ctor */
-00036   Thread ();
-00037 
-00038   /* Dtor */
-00039   virtual ~ Thread ();
-00040   
-00041   /* Go ! */
-00042   virtual void start () = 0;
-00043 
-00044   void setActive ();/* It means the current process is going to send messages soon */
-00045   void setPassive ();/* The current process is not going to perform send operations
-00046                         (but it may receive messages) */
-00047 
-00048 private :
-00049   
-00050   bool act;
-00051 };
-00052 
-00053 extern void addThread (Thread * __hl_thread, std :: vector <pthread_t *> & __ll_threads);
-00054 
-00055 extern void joinThreads (std :: vector <pthread_t *> & __ll_threads);
-00056 
-00057 extern bool atLeastOneActiveThread (); /* It returns 'true' iff at least one process is going
-00058                                       to send messages */
-00059   
-00060 extern unsigned numberOfActiveThreads ();
-00061 
-00062 
-00063 #endif /*THREAD_H_*/
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/topology_8cpp-source.html b/trunk/paradiseo-peo/examples/html/topology_8cpp-source.html deleted file mode 100755 index 16eb4b984..000000000 --- a/trunk/paradiseo-peo/examples/html/topology_8cpp-source.html +++ /dev/null @@ -1,64 +0,0 @@ - - -ParadisEO: topology.cpp Source File - - - - -
-
-

topology.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "topo.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, September 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "topology.h"
-00025 
-00026 Topology :: ~ Topology () {
-00027   
-00028   /* Nothing ! */
-00029 }
-00030 
-00031 void Topology :: add (Cooperative & __mig) {
-00032   
-00033   mig.push_back (& __mig) ;
-00034 } 
-00035 
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/topology_8h-source.html b/trunk/paradiseo-peo/examples/html/topology_8h-source.html deleted file mode 100755 index 9ec387420..000000000 --- a/trunk/paradiseo-peo/examples/html/topology_8h-source.html +++ /dev/null @@ -1,77 +0,0 @@ - - -ParadisEO: topology.h Source File - - - - -
-
-

topology.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "topology.h"
-00004 
-00005 // (c) OPAC Team, LIFL, September 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __topology_h
-00025 #define __topology_h
-00026 
-00027 #include <vector>
-00028 
-00029 #include "cooperative.h"
-00030 
-00031 class Topology {
-00032 
-00033 public:
-00034 
-00035         virtual ~Topology ();
-00036 
-00037         void add (Cooperative & __mig); 
-00038 
-00039         virtual void setNeighbors (Cooperative * __mig,
-00040                                 std :: vector <Cooperative *> & __from,
-00041                                 std :: vector <Cooperative *> & __to) = 0;
-00042 
-00043 protected:
-00044 
-00045         std :: vector <Cooperative *> mig ;  
-00046 };
-00047 
-00048 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/tree.html b/trunk/paradiseo-peo/examples/html/tree.html deleted file mode 100755 index b3b983070..000000000 --- a/trunk/paradiseo-peo/examples/html/tree.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - TreeView - - - - -
-

ParadisEO

-
-

o*The ParadisEO Framework

-

o+Class List

- -

o+Class Hierarchy

- -

o*Class Members

-

o+Namespace List

-
-

|\*peo

-
-

o*Namespace Members

-

\+File List

-
-

 o*acconfig.h

-

 o*city_swap.cpp

-

 o*city_swap.h

-

 o*comm.cpp

-

 o*comm.h

-

 o*communicable.cpp

-

 o*communicable.h

-

 o*config.h

-

 o*coop.cpp

-

 o*cooperative.h

-

 o*data.cpp

-

 o*data.h

-

 o*display.cpp

-

 o*display.h

-

 o*display_best_route.cpp

-

 o*display_best_route.h

-

 o*edge_xover.cpp

-

 o*edge_xover.h

-

 o*eoPop_comm.h

-

 o*eoVector_comm.h

-

 o*main.cpp

-

 o*merge_route_eval.cpp

-

 o*merge_route_eval.h

-

 o*mess.cpp

-

 o*mess.h

-

 o*messaging.h

-

 o*mix.h

-

 o*NEWS

-

 o*examples/shared/node.cpp

-

 o*src/rmc/mpi/node.cpp

-

 o*examples/shared/node.h

-

 o*src/rmc/mpi/node.h

-

 o*opt_route.cpp

-

 o*opt_route.h

-

 o*order_xover.cpp

-

 o*order_xover.h

-

 o*paradiseo.h

-

 o*examples/shared/param.cpp

-

 o*src/rmc/mpi/param.cpp

-

 o*examples/shared/param.h

-

 o*src/rmc/mpi/param.h

-

 o*part_route_eval.cpp

-

 o*part_route_eval.h

-

 o*partial_mapped_xover.cpp

-

 o*partial_mapped_xover.h

-

 o*peo_debug.cpp

-

 o*peo_debug.h

-

 o*peo_fin.cpp

-

 o*peo_fin.h

-

 o*peo_init.cpp

-

 o*peo_init.h

-

 o*peo_param.cpp

-

 o*peo_param.h

-

 o*peo_run.cpp

-

 o*peo_run.h

-

 o*peoAggEvalFunc.h

-

 o*peoAsyncIslandMig.h

-

 o*peoEA.h

-

 o*peoNoAggEvalFunc.h

-

 o*peoParaPopEval.h

-

 o*peoParaSGATransform.h

-

 o*peoPopEval.h

-

 o*peoSeqPopEval.h

-

 o*peoSeqTransform.h

-

 o*peoSyncIslandMig.h

-

 o*peoSyncMultiStart.h

-

 o*peoTransform.h

-

 o*reac_thread.cpp

-

 o*reac_thread.h

-

 o*README

-

 o*recv.cpp

-

 o*recv.h

-

 o*ring_topo.cpp

-

 o*ring_topo.h

-

 o*rmc.cpp

-

 o*rmc.h

-

 o*route.cpp

-

 o*route.h

-

 o*route_eval.cpp

-

 o*route_eval.h

-

 o*route_init.cpp

-

 o*route_init.h

-

 o*core/runner.cpp

-

 o*rmc/mpi/runner.cpp

-

 o*runner.h

-

 o*scheduler.cpp

-

 o*scheduler.h

-

 o*schema.cpp

-

 o*schema.h

-

 o*send.cpp

-

 o*send.h

-

 o*core/service.cpp

-

 o*rmc/mpi/service.cpp

-

 o*service.h

-

 o*tags.h

-

 o*thread.cpp

-

 o*thread.h

-

 o*topology.cpp

-

 o*topology.h

-

 o*two_opt.cpp

-

 o*two_opt.h

-

 o*two_opt_incr_eval.cpp

-

 o*two_opt_incr_eval.h

-

 o*two_opt_init.cpp

-

 o*two_opt_init.h

-

 o*two_opt_next.cpp

-

 o*two_opt_next.h

-

 o*two_opt_rand.cpp

-

 o*two_opt_rand.h

-

 o*worker.cpp

-

 o*worker.h

-

 o*xml_parser.cpp

-

 \*xml_parser.h

-
-
-
- - diff --git a/trunk/paradiseo-peo/examples/html/two__opt_8cpp-source.html b/trunk/paradiseo-peo/examples/html/two__opt_8cpp-source.html deleted file mode 100755 index 7599c7156..000000000 --- a/trunk/paradiseo-peo/examples/html/two__opt_8cpp-source.html +++ /dev/null @@ -1,64 +0,0 @@ - - -ParadisEO: two_opt.cpp Source File - - - - -
-
-

two_opt.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "two_opt.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "two_opt.h"
-00025 
-00026 void TwoOpt :: operator () (Route & __route) {
-00027   
-00028   unsigned i = 0; 
-00029 
-00030   while ((2 * i) < (second - first)) {
-00031     
-00032     std :: swap (__route [first + i], __route [second - i]);
-00033     i ++;
-00034   }
-00035 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/two__opt_8h-source.html b/trunk/paradiseo-peo/examples/html/two__opt_8h-source.html deleted file mode 100755 index a7783a0f7..000000000 --- a/trunk/paradiseo-peo/examples/html/two__opt_8h-source.html +++ /dev/null @@ -1,69 +0,0 @@ - - -ParadisEO: two_opt.h Source File - - - - -
-
-

two_opt.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "two_opt.h"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __two_opt_h
-00025 #define __two_opt_h
-00026 
-00027 #include <utility>
-00028 #include <moMove.h>
-00029 
-00030 #include "route.h"
-00031 
-00032 class TwoOpt : public moMove <Route>, public std :: pair <unsigned, unsigned> {
-00033   
-00034 public :
-00035   
-00036   void operator () (Route & __route);
-00037 
-00038 } ;
-00039 
-00040 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/two__opt__incr__eval_8cpp-source.html b/trunk/paradiseo-peo/examples/html/two__opt__incr__eval_8cpp-source.html deleted file mode 100755 index ee45530d4..000000000 --- a/trunk/paradiseo-peo/examples/html/two__opt__incr__eval_8cpp-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO: two_opt_incr_eval.cpp Source File - - - - -
-
-

two_opt_incr_eval.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "TwoOptIncrEval.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "two_opt_incr_eval.h"
-00025 #include "node.h"
-00026 
-00027 int TwoOptIncrEval :: operator () (const TwoOpt & __move, const Route & __route) {
-00028   
-00029   /* From */
-00030   Node v1 = __route [__move.first], v1_left = __route [(__move.first - 1 + numNodes) % numNodes];
-00031   
-00032   /* To */
-00033   Node v2 = __route [__move.second], v2_right = __route [(__move.second + 1) % numNodes];
-00034  
-00035   if (v1 == v2 || v2_right == v1)
-00036     return __route.fitness ();
-00037   else 
-00038     return __route.fitness () - distance (v1_left, v2) - distance (v1, v2_right) + distance (v1_left, v1) + distance (v2, v2_right);
-00039 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/two__opt__incr__eval_8h-source.html b/trunk/paradiseo-peo/examples/html/two__opt__incr__eval_8h-source.html deleted file mode 100755 index 3cbae68b7..000000000 --- a/trunk/paradiseo-peo/examples/html/two__opt__incr__eval_8h-source.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO: two_opt_incr_eval.h Source File - - - - -
-
-

two_opt_incr_eval.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "TwoOptIncrEval.h"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __two_opt_incr_eval_h
-00025 #define __two_opt_incr_eval_h
-00026 
-00027 #include <moMoveIncrEval.h>
-00028 #include "two_opt.h"
-00029 
-00030 class TwoOptIncrEval : public moMoveIncrEval <TwoOpt> {
-00031 
-00032 public :
-00033   
-00034   int operator () (const TwoOpt & __move, const Route & __route) ; 
-00035 
-00036 } ;
-00037 
-00038 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/two__opt__init_8cpp-source.html b/trunk/paradiseo-peo/examples/html/two__opt__init_8cpp-source.html deleted file mode 100755 index 1458d4ab6..000000000 --- a/trunk/paradiseo-peo/examples/html/two__opt__init_8cpp-source.html +++ /dev/null @@ -1,58 +0,0 @@ - - -ParadisEO: two_opt_init.cpp Source File - - - - -
-
-

two_opt_init.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "two_opt_init.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, 2003
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "two_opt_init.h"
-00025 
-00026 void TwoOptInit :: operator () (TwoOpt & __move, const Route & __route) {
-00027   
-00028   __move.first = __move.second = 0;
-00029 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/two__opt__init_8h-source.html b/trunk/paradiseo-peo/examples/html/two__opt__init_8h-source.html deleted file mode 100755 index dabd03e25..000000000 --- a/trunk/paradiseo-peo/examples/html/two__opt__init_8h-source.html +++ /dev/null @@ -1,69 +0,0 @@ - - -ParadisEO: two_opt_init.h Source File - - - - -
-
-

two_opt_init.h

00001 
-00002 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00003 
-00004 // "two_opt_init.h"
-00005 
-00006 // (c) OPAC Team, LIFL, January 2006
-00007 
-00008 /* This library is free software; you can redistribute it and/or
-00009    modify it under the terms of the GNU Lesser General Public
-00010    License as published by the Free Software Foundation; either
-00011    version 2 of the License, or (at your option) any later version.
-00012    
-00013    This library is distributed in the hope that it will be useful,
-00014    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00016    Lesser General Public License for more details.
-00017    
-00018    You should have received a copy of the GNU Lesser General Public
-00019    License along with this library; if not, write to the Free Software
-00020    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00021    
-00022    Contact: cahon@lifl.fr
-00023 */
-00024 
-00025 #ifndef __two_opt_init_h
-00026 #define __two_opt_init_h
-00027 
-00028 #include <moMoveInit.h>
-00029 
-00030 #include "two_opt.h"
-00031 
-00032 class TwoOptInit : public moMoveInit <TwoOpt> {
-00033   
-00034 public :
-00035   
-00036   void operator () (TwoOpt & __move, const Route & __route) ;
-00037   
-00038 } ;
-00039 
-00040 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/two__opt__next_8cpp-source.html b/trunk/paradiseo-peo/examples/html/two__opt__next_8cpp-source.html deleted file mode 100755 index 6f5f83334..000000000 --- a/trunk/paradiseo-peo/examples/html/two__opt__next_8cpp-source.html +++ /dev/null @@ -1,71 +0,0 @@ - - -ParadisEO: two_opt_next.cpp Source File - - - - -
-
-

two_opt_next.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "two_opt_next.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include "two_opt_next.h"
-00025 #include "node.h"
-00026 
-00027 bool TwoOptNext :: operator () (TwoOpt & __move, const Route & __route) {
-00028 
-00029   if (__move.first == numNodes - 1 && __move.second == numNodes - 1)
-00030     return false;
-00031   
-00032   else {
-00033     
-00034     __move.second ++;
-00035     if (__move.second == numNodes) {
-00036       
-00037       __move.first ++;
-00038       __move.second = __move.first;
-00039     }
-00040     return true ;
-00041   }
-00042 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/two__opt__next_8h-source.html b/trunk/paradiseo-peo/examples/html/two__opt__next_8h-source.html deleted file mode 100755 index 1bcc5f243..000000000 --- a/trunk/paradiseo-peo/examples/html/two__opt__next_8h-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO: two_opt_next.h Source File - - - - -
-
-

two_opt_next.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "two_opt_next.h"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __two_opt_next_h
-00025 #define __two_opt_next_h
-00026 
-00027 #include <moNextMove.h>
-00028 
-00029 #include "two_opt.h"
-00030 
-00031 class TwoOptNext : public moNextMove <TwoOpt> {
-00032 
-00033 public :
-00034   
-00035   bool operator () (TwoOpt & __move, const Route & __route);
-00036   
-00037 };
-00038 
-00039 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/two__opt__rand_8cpp-source.html b/trunk/paradiseo-peo/examples/html/two__opt__rand_8cpp-source.html deleted file mode 100755 index 5f2f1adcb..000000000 --- a/trunk/paradiseo-peo/examples/html/two__opt__rand_8cpp-source.html +++ /dev/null @@ -1,65 +0,0 @@ - - -ParadisEO: two_opt_rand.cpp Source File - - - - -
-
-

two_opt_rand.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "two_opt_rand.cpp"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <utils/eoRNG.h>
-00025 
-00026 #include "two_opt_rand.h"
-00027 #include "node.h"  
-00028 
-00029 void TwoOptRand :: operator () (TwoOpt & __move, const Route & __route) {
-00030 
-00031   __move.second = rng.random (numNodes);
-00032 
-00033   __move.first = rng.random (__move.second);
-00034 }
-00035   
-00036 
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/two__opt__rand_8h-source.html b/trunk/paradiseo-peo/examples/html/two__opt__rand_8h-source.html deleted file mode 100755 index 50fabf4e9..000000000 --- a/trunk/paradiseo-peo/examples/html/two__opt__rand_8h-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO: two_opt_rand.h Source File - - - - -
-
-

two_opt_rand.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "two_opt_rand.h"
-00004 
-00005 // (c) OPAC Team, LIFL, January 2006
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __two_opt_rand_h
-00025 #define __two_opt_rand_h
-00026 
-00027 #include <eoMoveRand.h>
-00028 
-00029 #include "two_opt.h"
-00030 
-00031 class TwoOptRand : public eoMoveRand <TwoOpt> {
-00032   
-00033 public :
-00034   
-00035   void operator () (TwoOpt & __move, const Route & __route) ;
-00036   
-00037 } ;
-00038 
-00039 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/worker_8cpp-source.html b/trunk/paradiseo-peo/examples/html/worker_8cpp-source.html deleted file mode 100755 index 77bf44f42..000000000 --- a/trunk/paradiseo-peo/examples/html/worker_8cpp-source.html +++ /dev/null @@ -1,138 +0,0 @@ - - -ParadisEO: worker.cpp Source File - - - - -
-
-

worker.cpp

00001 
-00002 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00003 
-00004 // "worker.cpp"
-00005 
-00006 // (c) OPAC Team, LIFL, August 2005
-00007 
-00008 /* This library is free software; you can redistribute it and/or
-00009    modify it under the terms of the GNU Lesser General Public
-00010    License as published by the Free Software Foundation; either
-00011    version 2 of the License, or (at your option) any later version.
-00012    
-00013    This library is distributed in the hope that it will be useful,
-00014    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00016    Lesser General Public License for more details.
-00017    
-00018    You should have received a copy of the GNU Lesser General Public
-00019    License along with this library; if not, write to the Free Software
-00020    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00021    
-00022    Contact: cahon@lifl.fr
-00023 */
-00024 
-00025 #include <vector>
-00026 
-00027 #include "tags.h"
-00028 #include "send.h"
-00029 #include "node.h"
-00030 #include "schema.h"
-00031 #include "worker.h"
-00032 #include "mess.h"
-00033 #include "../../core/peo_debug.h"
-00034 
-00035 static std :: vector <Worker *> key_to_worker (1); /* Vector of registered workers */
-00036 
-00037 Worker * getWorker (WORKER_ID __key) {
-00038 
-00039   return key_to_worker [__key];  
-00040 }
-00041 
-00042 Worker :: Worker () {
-00043   
-00044   toto = false;
-00045   id = key_to_worker.size ();
-00046   key_to_worker.push_back (this);
-00047 }
-00048 
-00049 void Worker :: packResult () {
-00050   
-00051   pack (serv_id);
-00052   serv -> packResult ();    
-00053 }
-00054 
-00055 void Worker :: unpackData () {
-00056 
-00057   printDebugMessage ("unpacking the ID. of the service.");
-00058   unpack (serv_id);
-00059   serv = getService (serv_id); 
-00060   printDebugMessage ("found the service.");
-00061   serv -> unpackData (); 
-00062   printDebugMessage ("unpacking the data.");
-00063   setActive ();
-00064 }
-00065 
-00066 void Worker :: packTaskDone () {
-00067 
-00068   pack (getNodeRank ());
-00069   pack (id);
-00070 }
-00071 
-00072 void Worker :: notifySendingResult () {
-00073 
-00074   /* Notifying the scheduler of the termination */
-00075   toto = true;
-00076   wakeUp ();
-00077 }
-00078 
-00079 void Worker :: notifySendingTaskDone () {
-00080 
-00081   setPassive ();
-00082 }
-00083   
-00084 void Worker :: setSource (int __rank) {
-00085 
-00086   src = __rank;
-00087 }
-00088 
-00089 void Worker :: start () {
-00090 
-00091   while (true) {
-00092     
-00093     sleep (); 
-00094 
-00095     if (! atLeastOneActiveRunner ())
-00096       break;
-00097     
-00098     if (toto) {
-00099       send (this, my_node -> rk_sched, TASK_DONE_TAG);  
-00100       toto = false;
-00101     }
-00102     else {
-00103 
-00104       printDebugMessage ("executing the task.");
-00105       serv -> execute ();   
-00106       send (this, src, TASK_RESULT_TAG);    
-00107     }
-00108   }
-00109 }
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/worker_8h-source.html b/trunk/paradiseo-peo/examples/html/worker_8h-source.html deleted file mode 100755 index 22ed713fb..000000000 --- a/trunk/paradiseo-peo/examples/html/worker_8h-source.html +++ /dev/null @@ -1,94 +0,0 @@ - - -ParadisEO: worker.h Source File - - - - -
-
-

worker.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "worker.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __worker_h
-00025 #define __worker_h
-00026 
-00027 #include "../../core/communicable.h"
-00028 #include "../../core/reac_thread.h"
-00029 #include "../../core/service.h"
-00030 
-00031 typedef unsigned WORKER_ID; 
-00032 
-00033 class Worker : public Communicable, public ReactiveThread {
-00034 
-00035 public : 
-00036 
-00037   Worker ();
-00038 
-00039   void start ();
-00040 
-00041   void packResult ();
-00042 
-00043   void unpackData ();
-00044 
-00045   void packTaskDone (); 
-00046 
-00047   void notifySendingResult ();
-00048 
-00049   void notifySendingTaskDone ();
-00050   
-00051   void setSource (int __rank);
-00052   
-00053 private :
-00054 
-00055   WORKER_ID id;
-00056   SERVICE_ID serv_id;
-00057   Service * serv;
-00058   int src;
-00059 
-00060   bool toto;
-00061 };
-00062 
-00063 extern Worker * getWorker (WORKER_ID __key);
-00064 
-00065 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/xml__parser_8cpp-source.html b/trunk/paradiseo-peo/examples/html/xml__parser_8cpp-source.html deleted file mode 100755 index 4fbbfd88d..000000000 --- a/trunk/paradiseo-peo/examples/html/xml__parser_8cpp-source.html +++ /dev/null @@ -1,119 +0,0 @@ - - -ParadisEO: xml_parser.cpp Source File - - - - -
-
-

xml_parser.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "xml_parser.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #include <libxml/xmlreader.h>
-00025 
-00026 #include "xml_parser.h"
-00027 
-00028 static xmlTextReaderPtr reader;
-00029 
-00030 void openXMLDocument (const char * __filename) {
-00031   
-00032   reader = xmlNewTextReaderFilename (__filename);
-00033   
-00034   if (! reader) {
-00035     
-00036     fprintf (stderr, "unable to open '%s'.\n", __filename);
-00037     exit (1);
-00038   }
-00039 }
-00040 
-00041 void closeXMLDocument () {
-00042 
-00043   xmlFreeTextReader (reader);
-00044 }
-00045 
-00046 std :: string getAttributeValue (const std :: string & __attr) {
-00047   
-00048   xmlChar * value = xmlTextReaderGetAttribute (reader, (const xmlChar *) __attr.c_str ());
-00049   
-00050   std :: string str ((const char *) value);
-00051   
-00052   xmlFree (value);
-00053   
-00054   return str;
-00055 }
-00056 
-00057 static bool isSep (const xmlChar * __text) {
-00058   
-00059   for (unsigned i = 0; i < strlen ((char *) __text); i ++)
-00060     if (__text [i] != ' ' && __text [i] != '\t' && __text [i] != '\n')
-00061       return false;
-00062   return true;
-00063 }
-00064 
-00065 std :: string getNextNode () {
-00066   
-00067   xmlChar * name, * value;
-00068 
-00069   do {
-00070     xmlTextReaderRead (reader);
-00071     name = xmlTextReaderName (reader);
-00072     value = xmlTextReaderValue (reader);
-00073     //    printf ("value = %s\n", value);
-00074   } while (! strcmp ((char *) name, "#text") && isSep (value));
-00075 
-00076   std :: string str;
-00077 
-00078   if (strcmp ((char *) name, "#text"))
-00079     str.assign ((char *) name);
-00080   else
-00081     str.assign ((char *) value);
-00082   
-00083   if (name)
-00084     xmlFree (name);
-00085   if (value)
-00086     xmlFree (value);
-00087     
-00088   return str;
-00089 }
-00090 
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/html/xml__parser_8h-source.html b/trunk/paradiseo-peo/examples/html/xml__parser_8h-source.html deleted file mode 100755 index 8524a6368..000000000 --- a/trunk/paradiseo-peo/examples/html/xml__parser_8h-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO: xml_parser.h Source File - - - - -
-
-

xml_parser.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
-00002 
-00003 // "xml_parser.h"
-00004 
-00005 // (c) OPAC Team, LIFL, August 2005
-00006 
-00007 /* This library is free software; you can redistribute it and/or
-00008    modify it under the terms of the GNU Lesser General Public
-00009    License as published by the Free Software Foundation; either
-00010    version 2 of the License, or (at your option) any later version.
-00011    
-00012    This library is distributed in the hope that it will be useful,
-00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
-00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-00015    Lesser General Public License for more details.
-00016    
-00017    You should have received a copy of the GNU Lesser General Public
-00018    License along with this library; if not, write to the Free Software
-00019    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-00020    
-00021    Contact: cahon@lifl.fr
-00022 */
-00023 
-00024 #ifndef __xml_parser_h
-00025 #define __xml_parser_h
-00026 
-00027 #include <string>
-00028 
-00029 extern void openXMLDocument (const char * __filename);
-00030 
-00031 extern void closeXMLDocument ();
-00032 
-00033 extern std :: string getAttributeValue (const std :: string & __attr);
-00034 
-00035 extern std :: string getNextNode ();
-00036 
-00037 #endif
-

Generated on Fri Dec 22 16:54:58 2006 for ParadisEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/examples/latex/FreeSans.ttf b/trunk/paradiseo-peo/examples/latex/FreeSans.ttf deleted file mode 100755 index b550b90ba..000000000 Binary files a/trunk/paradiseo-peo/examples/latex/FreeSans.ttf and /dev/null differ diff --git a/trunk/paradiseo-peo/examples/latex/Makefile b/trunk/paradiseo-peo/examples/latex/Makefile deleted file mode 100755 index 776fcf968..000000000 --- a/trunk/paradiseo-peo/examples/latex/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -all: clean refman.dvi - -ps: refman.ps - -pdf: refman.pdf - -ps_2on1: refman_2on1.ps - -pdf_2on1: refman_2on1.pdf - -refman.ps: refman.dvi - dvips -o refman.ps refman.dvi - -refman.pdf: refman.ps - ps2pdf refman.ps refman.pdf - -refman.dvi: refman.tex doxygen.sty - echo "Running latex..." - latex refman.tex - echo "Running makeindex..." - makeindex refman.idx - echo "Rerunning latex...." - latex refman.tex - latex_count=5 ; \ - while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ - do \ - echo "Rerunning latex...." ;\ - latex refman.tex ;\ - latex_count=`expr $$latex_count - 1` ;\ - done - -refman_2on1.ps: refman.ps - psnup -2 refman.ps >refman_2on1.ps - -refman_2on1.pdf: refman_2on1.ps - ps2pdf refman_2on1.ps refman_2on1.pdf - -clean: - rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf diff --git a/trunk/paradiseo-peo/examples/latex/annotated.tex b/trunk/paradiseo-peo/examples/latex/annotated.tex deleted file mode 100755 index f46a3d824..000000000 --- a/trunk/paradiseo-peo/examples/latex/annotated.tex +++ /dev/null @@ -1,41 +0,0 @@ -\section{Paradis\-EO Class List} -Here are the classes, structs, unions and interfaces with brief descriptions:\begin{CompactList} -\item\contentsline{section}{\bf{City\-Swap} (Its swaps two vertices randomly choosen )}{\pageref{class_city_swap}}{} -\item\contentsline{section}{\bf{Communicable} }{\pageref{class_communicable}}{} -\item\contentsline{section}{\bf{Communicator} }{\pageref{class_communicator}}{} -\item\contentsline{section}{\bf{Cooperative} }{\pageref{class_cooperative}}{} -\item\contentsline{section}{\bf{Display\-Best\-Route} }{\pageref{class_display_best_route}}{} -\item\contentsline{section}{\bf{Edge\-Xover} (Edge Crossover )}{\pageref{class_edge_xover}}{} -\item\contentsline{section}{\bf{Merge\-Route\-Eval} }{\pageref{class_merge_route_eval}}{} -\item\contentsline{section}{\bf{Node} }{\pageref{struct_node}}{} -\item\contentsline{section}{\bf{Order\-Xover} (Order Crossover )}{\pageref{class_order_xover}}{} -\item\contentsline{section}{\bf{Partial\-Mapped\-Xover} (Partial Mapped Crossover )}{\pageref{class_partial_mapped_xover}}{} -\item\contentsline{section}{\bf{Part\-Route\-Eval} (Route Evaluator )}{\pageref{class_part_route_eval}}{} -\item\contentsline{section}{\bf{peo\-Agg\-Eval\-Func$<$ EOT $>$} (The \doxyref{peo\-Agg\-Eval\-Func}{p.}{classpeo_agg_eval_func} class offers only the interface for creating aggregate evaluation functions - there are no direct internal functions provided )}{\pageref{classpeo_agg_eval_func}}{} -\item\contentsline{section}{\bf{peo\-Async\-Island\-Mig$<$ EOT $>$} (The \doxyref{peo\-Async\-Island\-Mig}{p.}{classpeo_async_island_mig} class offers the elementary basis for implementating an asynchronous island migration model - requires the specification of several basic parameters, i.e )}{\pageref{classpeo_async_island_mig}}{} -\item\contentsline{section}{\bf{peo\-EA$<$ EOT $>$} (The \doxyref{peo\-EA}{p.}{classpeo_e_a} class offers an elementary evolutionary algorithm implementation )}{\pageref{classpeo_e_a}}{} -\item\contentsline{section}{\bf{peo\-No\-Agg\-Eval\-Func$<$ EOT $>$} (The \doxyref{peo\-No\-Agg\-Eval\-Func}{p.}{classpeo_no_agg_eval_func} class does nothing more than an association between a fitness value and a specified individual )}{\pageref{classpeo_no_agg_eval_func}}{} -\item\contentsline{section}{\bf{peo\-Para\-Pop\-Eval$<$ EOT $>$} (The \doxyref{peo\-Para\-Pop\-Eval}{p.}{classpeo_para_pop_eval} represents a wrapper for creating a functor capable of applying in parallel an EO-derived evaluation functor )}{\pageref{classpeo_para_pop_eval}}{} -\item\contentsline{section}{\bf{peo\-Para\-SGATransform$<$ EOT $>$} }{\pageref{classpeo_para_s_g_a_transform}}{} -\item\contentsline{section}{\bf{peo\-Pop\-Eval$<$ EOT $>$} (The {\bf \doxyref{peo\-Pop\-Eval}{p.}{classpeo_pop_eval}} class provides the interface for constructing Paradis\-EO specific evaluation functors )}{\pageref{classpeo_pop_eval}}{} -\item\contentsline{section}{\bf{peo\-Seq\-Pop\-Eval$<$ EOT $>$} (The \doxyref{peo\-Seq\-Pop\-Eval}{p.}{classpeo_seq_pop_eval} class acts only as a Paradis\-EO specific sequential evaluation functor - a wrapper for incorporating an {\bf eo\-Eval\-Func$<$ EOT $>$}-derived class as evaluation functor )}{\pageref{classpeo_seq_pop_eval}}{} -\item\contentsline{section}{\bf{peo\-Seq\-Transform$<$ EOT $>$} (The \doxyref{peo\-Seq\-Transform}{p.}{classpeo_seq_transform} represent a wrapper for offering the possibility of using EO derived transform operators along with the Paradis\-EO evolutionary algorithms )}{\pageref{classpeo_seq_transform}}{} -\item\contentsline{section}{\bf{peo\-Sync\-Island\-Mig$<$ EOT $>$} (The \doxyref{peo\-Sync\-Island\-Mig}{p.}{classpeo_sync_island_mig} class offers the elementary basis for implementating a synchronous island migration model - requires the specification of several basic parameters, i.e )}{\pageref{classpeo_sync_island_mig}}{} -\item\contentsline{section}{\bf{peo\-Sync\-Multi\-Start$<$ EOT $>$} (The \doxyref{peo\-Sync\-Multi\-Start}{p.}{classpeo_sync_multi_start} class provides the basis for implementing the synchronous multi-start model, for launching several solution-based algorithms in parallel on a specified initial population )}{\pageref{classpeo_sync_multi_start}}{} -\item\contentsline{section}{\bf{peo\-Transform$<$ EOT $>$} (The \doxyref{peo\-Transform}{p.}{classpeo_transform} class acts only as an interface for creating transform operators - for an example please refer to the {\bf \doxyref{peo\-Seq\-Transform}{p.}{classpeo_seq_transform}} and the {\bf \doxyref{peo\-Para\-SGATransform}{p.}{classpeo_para_s_g_a_transform}} classes )}{\pageref{classpeo_transform}}{} -\item\contentsline{section}{\bf{Reactive\-Thread} }{\pageref{class_reactive_thread}}{} -\item\contentsline{section}{\bf{Ring\-Topology} }{\pageref{class_ring_topology}}{} -\item\contentsline{section}{\bf{Route\-Eval} }{\pageref{class_route_eval}}{} -\item\contentsline{section}{\bf{Route\-Init} }{\pageref{class_route_init}}{} -\item\contentsline{section}{\bf{Runner} }{\pageref{class_runner}}{} -\item\contentsline{section}{\bf{SEND\_\-REQUEST} }{\pageref{struct_s_e_n_d___r_e_q_u_e_s_t}}{} -\item\contentsline{section}{\bf{Service} }{\pageref{class_service}}{} -\item\contentsline{section}{\bf{Thread} }{\pageref{class_thread}}{} -\item\contentsline{section}{\bf{Topology} }{\pageref{class_topology}}{} -\item\contentsline{section}{\bf{Two\-Opt} }{\pageref{class_two_opt}}{} -\item\contentsline{section}{\bf{Two\-Opt\-Incr\-Eval} }{\pageref{class_two_opt_incr_eval}}{} -\item\contentsline{section}{\bf{Two\-Opt\-Init} }{\pageref{class_two_opt_init}}{} -\item\contentsline{section}{\bf{Two\-Opt\-Next} }{\pageref{class_two_opt_next}}{} -\item\contentsline{section}{\bf{Two\-Opt\-Rand} }{\pageref{class_two_opt_rand}}{} -\item\contentsline{section}{\bf{Worker} }{\pageref{class_worker}}{} -\end{CompactList} diff --git a/trunk/paradiseo-peo/examples/latex/class_city_swap.tex b/trunk/paradiseo-peo/examples/latex/class_city_swap.tex deleted file mode 100755 index 42812ac69..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_city_swap.tex +++ /dev/null @@ -1,26 +0,0 @@ -\section{City\-Swap Class Reference} -\label{class_city_swap}\index{CitySwap@{CitySwap}} -Its swaps two vertices randomly choosen. - - -{\tt \#include $<$city\_\-swap.h$>$} - -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -bool \bf{operator()} (Route \&\_\-\_\-route)\label{class_city_swap_7e6958b62048c89604cbf046b86bdf2d} - -\end{CompactItemize} - - -\subsection{Detailed Description} -Its swaps two vertices randomly choosen. - - - -Definition at line 33 of file city\_\-swap.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -city\_\-swap.h\item -city\_\-swap.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_communicable.eps b/trunk/paradiseo-peo/examples/latex/class_communicable.eps deleted file mode 100755 index a4f4be521..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_communicable.eps +++ /dev/null @@ -1,269 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 57.1429 -%%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 8.75 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 4 def -/cols 7 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 -(Communicable) cw -(Cooperative) cw -(Runner) cw -(Service) cw -(Worker) cw -(peoAsyncIslandMig< EOT >) cw -(peoSyncIslandMig< EOT >) cw -(peoEA< EOT >) cw -(peoPopEval< EOT >) cw -(peoSyncMultiStart< EOT >) cw -(peoTransform< EOT >) cw -(peoParaPopEval< EOT >) cw -(peoSeqPopEval< EOT >) cw -(peoParaSGATransform< EOT >) cw -(peoSeqTransform< EOT >) 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 ----- - - (Communicable) 3 3 box - (Cooperative) 0.5 2 box - (Runner) 2 2 box - (Service) 4 2 box - (Worker) 5 2 box - (peoAsyncIslandMig< EOT >) 0 1 box - (peoSyncIslandMig< EOT >) 1 1 box - (peoEA< EOT >) 2 1 box - (peoPopEval< EOT >) 3 1 box - (peoSyncMultiStart< EOT >) 4 1 box - (peoTransform< EOT >) 5 1 box - (peoParaPopEval< EOT >) 2.5 0 box - (peoSeqPopEval< EOT >) 3.5 0 box - (peoParaSGATransform< EOT >) 4.5 0 box - (peoSeqTransform< EOT >) 5.5 0 box - -% ----- relations ----- - -solid -1 3 2.25 out -solid -0.5 5 3 conn -solid -0 0.5 2.75 in -solid -1 0.5 1.25 out -solid -0 1 2 conn -solid -0 2 2.75 in -solid -1 2 1.25 out -solid -0 4 2.75 in -solid -1 4 1.25 out -solid -3 5 2 conn -solid -0 5 2.75 in -solid -0 0 1.75 in -solid -0 1 1.75 in -solid -0 2 1.75 in -solid -0 3 1.75 in -solid -1 3 0.25 out -solid -2.5 3.5 1 conn -solid -0 4 1.75 in -solid -0 5 1.75 in -solid -1 5 0.25 out -solid -4.5 5.5 1 conn -solid -0 2.5 0.75 in -solid -0 3.5 0.75 in -solid -0 4.5 0.75 in -solid -0 5.5 0.75 in diff --git a/trunk/paradiseo-peo/examples/latex/class_communicable.tex b/trunk/paradiseo-peo/examples/latex/class_communicable.tex deleted file mode 100755 index dd8a794dc..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_communicable.tex +++ /dev/null @@ -1,63 +0,0 @@ -\section{Communicable Class Reference} -\label{class_communicable}\index{Communicable@{Communicable}} -Inheritance diagram for Communicable::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=1.6cm]{class_communicable} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\bf{Communicable} ()\label{class_communicable_8ae1827ecf7569b3db1ed386c7d8ad78} - -\item -virtual \bf{$\sim$Communicable} ()\label{class_communicable_2280b0dfa0d3a515fccf62c2a9fd5f41} - -\item -COMM\_\-ID \bf{get\-Key} ()\label{class_communicable_db4307b69b9ccacff55fdbf84b8f50e4} - -\item -void \bf{lock} ()\label{class_communicable_e1f8bd1ee810fd73d44315c95998d19d} - -\item -void \bf{unlock} ()\label{class_communicable_caa814847192e71f434fbf9479ede862} - -\item -void \bf{stop} ()\label{class_communicable_cb53e6534b947bc889aa181d9dbbd13b} - -\item -void \bf{resume} ()\label{class_communicable_3306a9adb11a0ab5af342c0db9f7bb2a} - -\end{CompactItemize} -\subsection*{Protected Attributes} -\begin{CompactItemize} -\item -COMM\_\-ID \bf{key}\label{class_communicable_605b0efeffe81326f216c9903f5bbf4c} - -\item -sem\_\-t \bf{sem\_\-lock}\label{class_communicable_cf9639312f71a2f348bc1e7789ccbd9d} - -\item -sem\_\-t \bf{sem\_\-stop}\label{class_communicable_29c53b9191348e0505e3bcba6d8b82b1} - -\end{CompactItemize} -\subsection*{Static Protected Attributes} -\begin{CompactItemize} -\item -static unsigned \bf{num\_\-comm} = 0\label{class_communicable_7a6acfdc781a67c9c0ec4f17893f86c3} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 31 of file communicable.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -communicable.h\item -communicable.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_communicator.eps b/trunk/paradiseo-peo/examples/latex/class_communicator.eps deleted file mode 100755 index 3d7cc0668..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_communicator.eps +++ /dev/null @@ -1,203 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 550.459 -%%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.908333 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 3 def -/cols 1 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 -(Communicator) cw -(ReactiveThread) cw -(Thread) 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 ----- - - (Communicator) 0 0 box - (ReactiveThread) 0 1 box - (Thread) 0 2 box - -% ----- relations ----- - -solid -0 0 0 out -solid -1 0 1 in -solid -0 0 1 out -solid -1 0 2 in diff --git a/trunk/paradiseo-peo/examples/latex/class_communicator.tex b/trunk/paradiseo-peo/examples/latex/class_communicator.tex deleted file mode 100755 index 587b35aac..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_communicator.tex +++ /dev/null @@ -1,30 +0,0 @@ -\section{Communicator Class Reference} -\label{class_communicator}\index{Communicator@{Communicator}} -Inheritance diagram for Communicator::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{class_communicator} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\bf{Communicator} (int $\ast$\_\-\_\-argc, char $\ast$$\ast$$\ast$\_\-\_\-argv)\label{class_communicator_7c9dce4ea92bd04d01d53f80c0ef08ee} - -\item -void \bf{start} ()\label{class_communicator_142fae13b16b166519315f248a513c62} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 30 of file comm.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -comm.h\item -comm.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_cooperative.eps b/trunk/paradiseo-peo/examples/latex/class_cooperative.eps deleted file mode 100755 index 60c6b6b94..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_cooperative.eps +++ /dev/null @@ -1,209 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 166.667 -%%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 3 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 3 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 -(Cooperative) cw -(Communicable) cw -(peoAsyncIslandMig< EOT >) cw -(peoSyncIslandMig< EOT >) 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 ----- - - (Cooperative) 0.5 1 box - (Communicable) 0.5 2 box - (peoAsyncIslandMig< EOT >) 0 0 box - (peoSyncIslandMig< EOT >) 1 0 box - -% ----- relations ----- - -solid -0 0.5 1 out -solid -1 0.5 2 in -solid -1 0.5 0.25 out -solid -0 1 1 conn -solid -0 0 0.75 in -solid -0 1 0.75 in diff --git a/trunk/paradiseo-peo/examples/latex/class_cooperative.tex b/trunk/paradiseo-peo/examples/latex/class_cooperative.tex deleted file mode 100755 index aaa9bddca..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_cooperative.tex +++ /dev/null @@ -1,48 +0,0 @@ -\section{Cooperative Class Reference} -\label{class_cooperative}\index{Cooperative@{Cooperative}} -Inheritance diagram for Cooperative::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{class_cooperative} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\bf{Runner} $\ast$ \bf{get\-Owner} ()\label{class_cooperative_4012b4e8329e87d26ee266491e1a883e} - -\item -void \bf{set\-Owner} (\bf{Runner} \&\_\-\_\-runner)\label{class_cooperative_fe7b022567174c8305bc78d8c5749b12} - -\item -virtual void \textbf{pack} ()=0\label{class_cooperative_6a4848c94031289df281a571ea427d46} - -\item -virtual void \textbf{unpack} ()=0\label{class_cooperative_7c31a68fb29e0a9cbe1da8019e4cdafa} - -\item -void \bf{send} (\bf{Cooperative} $\ast$\_\-\_\-coop)\label{class_cooperative_c609f2a1200da7d1ac96005602515fc6} - -\item -virtual void \bf{notify\-Sending} ()\label{class_cooperative_4439ddeaa1246a2e44c003bfb781739b} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -\bf{Runner} $\ast$ \bf{owner}\label{class_cooperative_7604f094479d08154ede4996a45bf79e} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 32 of file cooperative.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -cooperative.h\item -coop.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_display_best_route.tex b/trunk/paradiseo-peo/examples/latex/class_display_best_route.tex deleted file mode 100755 index 014c5a54b..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_display_best_route.tex +++ /dev/null @@ -1,30 +0,0 @@ -\section{Display\-Best\-Route Class Reference} -\label{class_display_best_route}\index{DisplayBestRoute@{DisplayBestRoute}} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\bf{Display\-Best\-Route} (eo\-Pop$<$ Route $>$ \&\_\-\_\-pop)\label{class_display_best_route_db263e38f1e82174f811bf62f323f87f} - -\item -void \bf{operator()} ()\label{class_display_best_route_ee879344a6d8b81a04d4eabbed2c7a04} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -eo\-Pop$<$ Route $>$ \& \bf{pop}\label{class_display_best_route_5270aabbf294d2deca9878934216eb89} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 33 of file display\_\-best\_\-route.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -display\_\-best\_\-route.h\item -display\_\-best\_\-route.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_edge_xover.tex b/trunk/paradiseo-peo/examples/latex/class_edge_xover.tex deleted file mode 100755 index d9697be37..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_edge_xover.tex +++ /dev/null @@ -1,50 +0,0 @@ -\section{Edge\-Xover Class Reference} -\label{class_edge_xover}\index{EdgeXover@{EdgeXover}} -Edge Crossover. - - -{\tt \#include $<$edge\_\-xover.h$>$} - -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -bool \bf{operator()} (Route \&\_\-\_\-route1, Route \&\_\-\_\-route2)\label{class_edge_xover_cb1c0a103106a4d3319540cb23163a79} - -\end{CompactItemize} -\subsection*{Private Member Functions} -\begin{CompactItemize} -\item -void \bf{cross} (const Route \&\_\-\_\-par1, const Route \&\_\-\_\-par2, Route \&\_\-\_\-child)\label{class_edge_xover_88c2d4c9a878454a32d56010f3dddc27} - -\item -void \bf{remove\_\-entry} (unsigned \_\-\_\-vertex, std::vector$<$ std::set$<$ unsigned $>$ $>$ \&\_\-\_\-map)\label{class_edge_xover_1b3a4c75dd9a034c81af6d89d85d30f5} - -\item -void \bf{build\_\-map} (const Route \&\_\-\_\-par1, const Route \&\_\-\_\-par2)\label{class_edge_xover_04de96aa1016836e0ba5f4b952a5fa16} - -\item -void \bf{add\_\-vertex} (unsigned \_\-\_\-vertex, Route \&\_\-\_\-child)\label{class_edge_xover_2d3045ef503d8b16a27e11fdc23ca11c} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -std::vector$<$ std::set$<$ unsigned $>$ $>$ \bf{\_\-map}\label{class_edge_xover_d41399c6effb54ee48c722f1e19cb3c3} - -\item -std::vector$<$ bool $>$ \bf{visited}\label{class_edge_xover_46d4d4724cf6d660b1a7ab4a346573d4} - -\end{CompactItemize} - - -\subsection{Detailed Description} -Edge Crossover. - - - -Definition at line 35 of file edge\_\-xover.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -edge\_\-xover.h\item -edge\_\-xover.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_merge_route_eval.eps b/trunk/paradiseo-peo/examples/latex/class_merge_route_eval.eps deleted file mode 100755 index 042e549fd..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_merge_route_eval.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 239.521 -%%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 2.0875 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 1 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 -(MergeRouteEval) cw -(peoAggEvalFunc< EOT >) 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 ----- - - (MergeRouteEval) 0 0 box - (peoAggEvalFunc< EOT >) 0 1 box - -% ----- relations ----- - -solid -0 0 0 out -solid -1 0 1 in diff --git a/trunk/paradiseo-peo/examples/latex/class_merge_route_eval.tex b/trunk/paradiseo-peo/examples/latex/class_merge_route_eval.tex deleted file mode 100755 index c2ede8ae8..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_merge_route_eval.tex +++ /dev/null @@ -1,27 +0,0 @@ -\section{Merge\-Route\-Eval Class Reference} -\label{class_merge_route_eval}\index{MergeRouteEval@{MergeRouteEval}} -Inheritance diagram for Merge\-Route\-Eval::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2cm]{class_merge_route_eval} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -void \bf{operator()} (Route \&\_\-\_\-route, const int \&\_\-\_\-part\_\-fit)\label{class_merge_route_eval_29cb0028ac0df4b2cee3a809c8f35dea} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 31 of file merge\_\-route\_\-eval.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -merge\_\-route\_\-eval.h\item -merge\_\-route\_\-eval.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_order_xover.tex b/trunk/paradiseo-peo/examples/latex/class_order_xover.tex deleted file mode 100755 index 1ef1ad331..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_order_xover.tex +++ /dev/null @@ -1,32 +0,0 @@ -\section{Order\-Xover Class Reference} -\label{class_order_xover}\index{OrderXover@{OrderXover}} -Order Crossover. - - -{\tt \#include $<$order\_\-xover.h$>$} - -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -bool \bf{operator()} (Route \&\_\-\_\-route1, Route \&\_\-\_\-route2)\label{class_order_xover_0ff6aada669eb8173322ed68cda1ac61} - -\end{CompactItemize} -\subsection*{Private Member Functions} -\begin{CompactItemize} -\item -void \bf{cross} (const Route \&\_\-\_\-par1, const Route \&\_\-\_\-par2, Route \&\_\-\_\-child)\label{class_order_xover_d2bf90b5f46ac4a344777e17bc5f364d} - -\end{CompactItemize} - - -\subsection{Detailed Description} -Order Crossover. - - - -Definition at line 32 of file order\_\-xover.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -order\_\-xover.h\item -order\_\-xover.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_part_route_eval.tex b/trunk/paradiseo-peo/examples/latex/class_part_route_eval.tex deleted file mode 100755 index a82f38a9b..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_part_route_eval.tex +++ /dev/null @@ -1,38 +0,0 @@ -\section{Part\-Route\-Eval Class Reference} -\label{class_part_route_eval}\index{PartRouteEval@{PartRouteEval}} -Route Evaluator. - - -{\tt \#include $<$part\_\-route\_\-eval.h$>$} - -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\bf{Part\-Route\-Eval} (float \_\-\_\-from, float \_\-\_\-to)\label{class_part_route_eval_a331566b29bc3227f377004232f05491} - -\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item -void \bf{operator()} (Route \&\_\-\_\-route)\label{class_part_route_eval_965fab875fb601f17934a6ece761beae} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -float \bf{from}\label{class_part_route_eval_5bde722e66378b2570ae6c4b4f8df58e} - -\item -float \bf{to}\label{class_part_route_eval_de53cc919faa498663f327b72c357da3} - -\end{CompactItemize} - - -\subsection{Detailed Description} -Route Evaluator. - - - -Definition at line 32 of file part\_\-route\_\-eval.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -part\_\-route\_\-eval.h\item -part\_\-route\_\-eval.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_partial_mapped_xover.tex b/trunk/paradiseo-peo/examples/latex/class_partial_mapped_xover.tex deleted file mode 100755 index 3efb0fb69..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_partial_mapped_xover.tex +++ /dev/null @@ -1,32 +0,0 @@ -\section{Partial\-Mapped\-Xover Class Reference} -\label{class_partial_mapped_xover}\index{PartialMappedXover@{PartialMappedXover}} -Partial Mapped Crossover. - - -{\tt \#include $<$partial\_\-mapped\_\-xover.h$>$} - -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -bool \bf{operator()} (Route \&\_\-\_\-route1, Route \&\_\-\_\-route2)\label{class_partial_mapped_xover_1cda6ea86ca36e5de0125f4ba5cfc695} - -\end{CompactItemize} -\subsection*{Private Member Functions} -\begin{CompactItemize} -\item -void \bf{repair} (Route \&\_\-\_\-route, unsigned \_\-\_\-cut1, unsigned \_\-\_\-cut2)\label{class_partial_mapped_xover_b6d4035544aff3b2b3fe4b0eeea185a2} - -\end{CompactItemize} - - -\subsection{Detailed Description} -Partial Mapped Crossover. - - - -Definition at line 32 of file partial\_\-mapped\_\-xover.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -partial\_\-mapped\_\-xover.h\item -partial\_\-mapped\_\-xover.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_reactive_thread.eps b/trunk/paradiseo-peo/examples/latex/class_reactive_thread.eps deleted file mode 100755 index 9c8a085ba..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_reactive_thread.eps +++ /dev/null @@ -1,209 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 275.229 -%%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 1.81667 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 3 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 -(ReactiveThread) cw -(Thread) cw -(Communicator) cw -(Worker) 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 ----- - - (ReactiveThread) 0.5 1 box - (Thread) 0.5 2 box - (Communicator) 0 0 box - (Worker) 1 0 box - -% ----- relations ----- - -solid -0 0.5 1 out -solid -1 0.5 2 in -solid -1 0.5 0.25 out -solid -0 1 1 conn -solid -0 0 0.75 in -solid -0 1 0.75 in diff --git a/trunk/paradiseo-peo/examples/latex/class_reactive_thread.tex b/trunk/paradiseo-peo/examples/latex/class_reactive_thread.tex deleted file mode 100755 index 60fe3b0fe..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_reactive_thread.tex +++ /dev/null @@ -1,39 +0,0 @@ -\section{Reactive\-Thread Class Reference} -\label{class_reactive_thread}\index{ReactiveThread@{ReactiveThread}} -Inheritance diagram for Reactive\-Thread::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{class_reactive_thread} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\bf{Reactive\-Thread} ()\label{class_reactive_thread_77381649429941c99a3e3d568113d6cf} - -\item -void \bf{sleep} ()\label{class_reactive_thread_8263c2a32d8c99a49a05f1a7717d4262} - -\item -void \bf{wake\-Up} ()\label{class_reactive_thread_a724a54575de10f09cc03ab7aa4e59ce} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -sem\_\-t \bf{sem}\label{class_reactive_thread_915e5a42dc8cb1bcf6738d5fe883a4e7} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 31 of file reac\_\-thread.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -reac\_\-thread.h\item -reac\_\-thread.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_ring_topology.eps b/trunk/paradiseo-peo/examples/latex/class_ring_topology.eps deleted file mode 100755 index 04c98c56e..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_ring_topology.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 412.371 -%%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 1.2125 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 1 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 -(RingTopology) cw -(Topology) 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 ----- - - (RingTopology) 0 0 box - (Topology) 0 1 box - -% ----- relations ----- - -solid -0 0 0 out -solid -1 0 1 in diff --git a/trunk/paradiseo-peo/examples/latex/class_ring_topology.tex b/trunk/paradiseo-peo/examples/latex/class_ring_topology.tex deleted file mode 100755 index 9e2f27c3a..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_ring_topology.tex +++ /dev/null @@ -1,27 +0,0 @@ -\section{Ring\-Topology Class Reference} -\label{class_ring_topology}\index{RingTopology@{RingTopology}} -Inheritance diagram for Ring\-Topology::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2cm]{class_ring_topology} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -void \bf{set\-Neighbors} (\bf{Cooperative} $\ast$\_\-\_\-mig, std::vector$<$ \bf{Cooperative} $\ast$ $>$ \&\_\-\_\-from, std::vector$<$ \bf{Cooperative} $\ast$ $>$ \&\_\-\_\-to)\label{class_ring_topology_292a7746993788f96042f2f628cfcbc5} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 29 of file ring\_\-topo.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -ring\_\-topo.h\item -ring\_\-topo.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_route_eval.tex b/trunk/paradiseo-peo/examples/latex/class_route_eval.tex deleted file mode 100755 index 4c5c25ce2..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_route_eval.tex +++ /dev/null @@ -1,21 +0,0 @@ -\section{Route\-Eval Class Reference} -\label{class_route_eval}\index{RouteEval@{RouteEval}} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -void \bf{operator()} (Route \&\_\-\_\-route)\label{class_route_eval_e10bbe6f792e6f44405953de4f703901} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 31 of file route\_\-eval.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -route\_\-eval.h\item -route\_\-eval.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_route_init.tex b/trunk/paradiseo-peo/examples/latex/class_route_init.tex deleted file mode 100755 index 4d5b5fe78..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_route_init.tex +++ /dev/null @@ -1,21 +0,0 @@ -\section{Route\-Init Class Reference} -\label{class_route_init}\index{RouteInit@{RouteInit}} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -void \bf{operator()} (Route \&\_\-\_\-route)\label{class_route_init_b65a7137e114458faadb6a5510c001f7} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 31 of file route\_\-init.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -route\_\-init.h\item -route\_\-init.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_runner.eps b/trunk/paradiseo-peo/examples/latex/class_runner.eps deleted file mode 100755 index 6e1d6846c..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_runner.eps +++ /dev/null @@ -1,209 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 280.374 -%%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 1.78333 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 3 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 -(Runner) cw -(Communicable) cw -(Thread) cw -(peoEA< EOT >) 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 ----- - - (Runner) 0.5 1 box - (Communicable) 0 2 box - (Thread) 1 2 box - (peoEA< EOT >) 0.5 0 box - -% ----- relations ----- - -solid -0 0.5 1 out -solid -0 1 2 conn -solid -1 0 2 in -solid -1 1 2 in -solid -1 0.5 0.25 out -solid -0 0.5 0.75 in diff --git a/trunk/paradiseo-peo/examples/latex/class_runner.tex b/trunk/paradiseo-peo/examples/latex/class_runner.tex deleted file mode 100755 index 0e958d979..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_runner.tex +++ /dev/null @@ -1,61 +0,0 @@ -\section{Runner Class Reference} -\label{class_runner}\index{Runner@{Runner}} -Inheritance diagram for Runner::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{class_runner} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\bf{Runner} ()\label{class_runner_7acb8258c21da9daa62f9a177a2e5acd} - -\item -void \bf{start} ()\label{class_runner_7dc4419051fcc5cc9dadd54ecc9cd47d} - -\item -void \bf{wait\-Starting} ()\label{class_runner_5bc239db2be753b77369fa9a038769fd} - -\item -bool \bf{is\-Local} ()\label{class_runner_40adbfb7d6944189b4fff60b02e669ca} - -\item -void \bf{terminate} ()\label{class_runner_0f133e75c28fb8264549814f80608e68} - -\item -virtual void \textbf{run} ()=0\label{class_runner_2d306c1835d8710258d2b52b8cc8312c} - -\item -RUNNER\_\-ID \bf{get\-ID} ()\label{class_runner_5026c74eec184e3a15cb3c0ec4200a57} - -\item -void \bf{pack\-Termination} ()\label{class_runner_2ad6d199d684d6f34347fc202ffe2fa3} - -\item -void \bf{notify\-Sending\-Termination} ()\label{class_runner_3591be473e0fcee1105fb57319b529aa} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -sem\_\-t \bf{sem\_\-start}\label{class_runner_4b0827d5df2df632db4ab71dd55e81b2} - -\item -unsigned \bf{id}\label{class_runner_1989c1f8e0b0b54ad2e60a341007e59d} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 34 of file runner.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -runner.h\item -core/runner.cpp\item -rmc/mpi/runner.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_service.eps b/trunk/paradiseo-peo/examples/latex/class_service.eps deleted file mode 100755 index 77ffc2408..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_service.eps +++ /dev/null @@ -1,237 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 100 -%%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 5 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 4 def -/cols 4 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 -(Service) cw -(Communicable) cw -(peoPopEval< EOT >) cw -(peoSyncMultiStart< EOT >) cw -(peoTransform< EOT >) cw -(peoParaPopEval< EOT >) cw -(peoSeqPopEval< EOT >) cw -(peoParaSGATransform< EOT >) cw -(peoSeqTransform< EOT >) 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 ----- - - (Service) 1.5 2 box - (Communicable) 1.5 3 box - (peoPopEval< EOT >) 0.5 1 box - (peoSyncMultiStart< EOT >) 1.5 1 box - (peoTransform< EOT >) 2.5 1 box - (peoParaPopEval< EOT >) 0 0 box - (peoSeqPopEval< EOT >) 1 0 box - (peoParaSGATransform< EOT >) 2 0 box - (peoSeqTransform< EOT >) 3 0 box - -% ----- relations ----- - -solid -0 1.5 2 out -solid -1 1.5 3 in -solid -1 1.5 1.25 out -solid -0.5 2.5 2 conn -solid -0 0.5 1.75 in -solid -1 0.5 0.25 out -solid -0 1 1 conn -solid -0 1.5 1.75 in -solid -0 2.5 1.75 in -solid -1 2.5 0.25 out -solid -2 3 1 conn -solid -0 0 0.75 in -solid -0 1 0.75 in -solid -0 2 0.75 in -solid -0 3 0.75 in diff --git a/trunk/paradiseo-peo/examples/latex/class_service.tex b/trunk/paradiseo-peo/examples/latex/class_service.tex deleted file mode 100755 index a52645e63..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_service.tex +++ /dev/null @@ -1,70 +0,0 @@ -\section{Service Class Reference} -\label{class_service}\index{Service@{Service}} -Inheritance diagram for Service::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2.8cm]{class_service} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -void \bf{set\-Owner} (\bf{Thread} \&\_\-\_\-owner)\label{class_service_33b149b98498c0e7e401b0f0839d7f0d} - -\item -\bf{Thread} $\ast$ \bf{get\-Owner} ()\label{class_service_0dae00309c51a7b7069788142aed799f} - -\item -void \bf{request\-Resource\-Request} (unsigned \_\-\_\-how\_\-many=1)\label{class_service_7e2ae35a9070a05dcd46488df649896d} - -\item -void \bf{pack\-Resource\-Request} ()\label{class_service_c4289f98d1cd9ed53e850efbb6a947bd} - -\item -virtual void \bf{pack\-Data} ()\label{class_service_aea4b8f7f8fb88e83862ee4bfd9ab207} - -\item -virtual void \bf{unpack\-Data} ()\label{class_service_3bd87b444710813d30fd754d4d0b4df3} - -\item -virtual void \bf{execute} ()\label{class_service_e4f2894e6121e60f38d41cfbd7447ae4} - -\item -virtual void \bf{pack\-Result} ()\label{class_service_e5e4f90b2315e15c2a2913bd370f4cf5} - -\item -virtual void \bf{unpack\-Result} ()\label{class_service_45c06344edbfa482b91f68e2035a6099} - -\item -virtual void \bf{notify\-Sending\-Data} ()\label{class_service_81ad4d6ebb50045b8977e2ab74826f30} - -\item -virtual void \bf{notify\-Sending\-Resource\-Request} ()\label{class_service_94e2012e76aaae3aa8199250f558d503} - -\item -virtual void \bf{notify\-Sending\-All\-Resource\-Requests} ()\label{class_service_f94cc8a5c2665d4574041737e61e9ffc} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -\bf{Thread} $\ast$ \bf{owner}\label{class_service_8b615c65c876f342fe8209eb7e36d7b2} - -\item -unsigned \bf{num\_\-sent\_\-rr}\label{class_service_a5b2ad9520bb3710b54348b99acebd58} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 32 of file service.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -service.h\item -core/service.cpp\item -rmc/mpi/service.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_thread.eps b/trunk/paradiseo-peo/examples/latex/class_thread.eps deleted file mode 100755 index e02a5f5fe..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_thread.eps +++ /dev/null @@ -1,221 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 183.486 -%%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 2.725 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 3 def -/cols 3 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 -(Thread) cw -(ReactiveThread) cw -(Runner) cw -(Communicator) cw -(Worker) cw -(peoEA< EOT >) 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 ----- - - (Thread) 1.25 2 box - (ReactiveThread) 0.5 1 box - (Runner) 2 1 box - (Communicator) 0 0 box - (Worker) 1 0 box - (peoEA< EOT >) 2 0 box - -% ----- relations ----- - -solid -1 1.25 1.25 out -solid -0.5 2 2 conn -solid -0 0.5 1.75 in -solid -1 0.5 0.25 out -solid -0 1 1 conn -solid -0 2 1.75 in -solid -1 2 0.25 out -solid -0 0 0.75 in -solid -0 1 0.75 in -solid -0 2 0.75 in diff --git a/trunk/paradiseo-peo/examples/latex/class_thread.tex b/trunk/paradiseo-peo/examples/latex/class_thread.tex deleted file mode 100755 index 6fad8eed9..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_thread.tex +++ /dev/null @@ -1,45 +0,0 @@ -\section{Thread Class Reference} -\label{class_thread}\index{Thread@{Thread}} -Inheritance diagram for Thread::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{class_thread} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\bf{Thread} ()\label{class_thread_95c703fb8f2f27cb64f475a8c940864a} - -\item -virtual \bf{$\sim$Thread} ()\label{class_thread_37d9edd3a1a776cbc27dedff949c9726} - -\item -virtual void \textbf{start} ()=0\label{class_thread_c667c1d8fd7243d669043e3dd762b567} - -\item -void \bf{set\-Active} ()\label{class_thread_e197c46f8f62ecce6d2a7fe95bdc5b38} - -\item -void \bf{set\-Passive} ()\label{class_thread_20632ffe9ddfa2a478afb0c84dc1096b} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -bool \bf{act}\label{class_thread_1b155d63bca3096ac4a1d039aea83c7c} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 31 of file thread.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -thread.h\item -thread.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_topology.eps b/trunk/paradiseo-peo/examples/latex/class_topology.eps deleted file mode 100755 index 45dacefa6..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_topology.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 412.371 -%%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 1.2125 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 1 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 -(Topology) cw -(RingTopology) 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 ----- - - (Topology) 0 1 box - (RingTopology) 0 0 box - -% ----- relations ----- - -solid -1 0 0.25 out -solid -0 0 0.75 in diff --git a/trunk/paradiseo-peo/examples/latex/class_topology.tex b/trunk/paradiseo-peo/examples/latex/class_topology.tex deleted file mode 100755 index 6343dffec..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_topology.tex +++ /dev/null @@ -1,39 +0,0 @@ -\section{Topology Class Reference} -\label{class_topology}\index{Topology@{Topology}} -Inheritance diagram for Topology::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2cm]{class_topology} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -virtual \bf{$\sim$Topology} ()\label{class_topology_3e447669757c8311c7f6f8edc705abf2} - -\item -void \bf{add} (\bf{Cooperative} \&\_\-\_\-mig)\label{class_topology_62bc46d8c20fdc71dad9e7c7a0d7aded} - -\item -virtual void \textbf{set\-Neighbors} (\bf{Cooperative} $\ast$\_\-\_\-mig, std::vector$<$ \bf{Cooperative} $\ast$ $>$ \&\_\-\_\-from, std::vector$<$ \bf{Cooperative} $\ast$ $>$ \&\_\-\_\-to)=0\label{class_topology_86c006ad698649b2ba5016a5ddd619ce} - -\end{CompactItemize} -\subsection*{Protected Attributes} -\begin{CompactItemize} -\item -std::vector$<$ \bf{Cooperative} $\ast$ $>$ \bf{mig}\label{class_topology_247a2faa8568b678f0b7b11e62c7812c} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 31 of file topology.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -topology.h\item -topology.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_two_opt.tex b/trunk/paradiseo-peo/examples/latex/class_two_opt.tex deleted file mode 100755 index 21ab73526..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_two_opt.tex +++ /dev/null @@ -1,21 +0,0 @@ -\section{Two\-Opt Class Reference} -\label{class_two_opt}\index{TwoOpt@{TwoOpt}} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -void \bf{operator()} (Route \&\_\-\_\-route)\label{class_two_opt_ff87d1649a33d42a6d64e8d314ed1af0} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 32 of file two\_\-opt.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -two\_\-opt.h\item -two\_\-opt.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_two_opt_incr_eval.tex b/trunk/paradiseo-peo/examples/latex/class_two_opt_incr_eval.tex deleted file mode 100755 index 055c8d05f..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_two_opt_incr_eval.tex +++ /dev/null @@ -1,21 +0,0 @@ -\section{Two\-Opt\-Incr\-Eval Class Reference} -\label{class_two_opt_incr_eval}\index{TwoOptIncrEval@{TwoOptIncrEval}} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -int \bf{operator()} (const \bf{Two\-Opt} \&\_\-\_\-move, const Route \&\_\-\_\-route)\label{class_two_opt_incr_eval_48500077e651c4c6152daef8a396be39} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 30 of file two\_\-opt\_\-incr\_\-eval.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -two\_\-opt\_\-incr\_\-eval.h\item -two\_\-opt\_\-incr\_\-eval.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_two_opt_init.tex b/trunk/paradiseo-peo/examples/latex/class_two_opt_init.tex deleted file mode 100755 index c7f3257cc..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_two_opt_init.tex +++ /dev/null @@ -1,21 +0,0 @@ -\section{Two\-Opt\-Init Class Reference} -\label{class_two_opt_init}\index{TwoOptInit@{TwoOptInit}} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -void \bf{operator()} (\bf{Two\-Opt} \&\_\-\_\-move, const Route \&\_\-\_\-route)\label{class_two_opt_init_5bf6af064d37ebd955ffb5a623e78e1b} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 32 of file two\_\-opt\_\-init.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -two\_\-opt\_\-init.h\item -two\_\-opt\_\-init.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_two_opt_next.tex b/trunk/paradiseo-peo/examples/latex/class_two_opt_next.tex deleted file mode 100755 index d0146abe6..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_two_opt_next.tex +++ /dev/null @@ -1,21 +0,0 @@ -\section{Two\-Opt\-Next Class Reference} -\label{class_two_opt_next}\index{TwoOptNext@{TwoOptNext}} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -bool \bf{operator()} (\bf{Two\-Opt} \&\_\-\_\-move, const Route \&\_\-\_\-route)\label{class_two_opt_next_baf229b2e056f39ab971cf2ac66a833e} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 31 of file two\_\-opt\_\-next.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -two\_\-opt\_\-next.h\item -two\_\-opt\_\-next.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_two_opt_rand.tex b/trunk/paradiseo-peo/examples/latex/class_two_opt_rand.tex deleted file mode 100755 index 77acf30ec..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_two_opt_rand.tex +++ /dev/null @@ -1,21 +0,0 @@ -\section{Two\-Opt\-Rand Class Reference} -\label{class_two_opt_rand}\index{TwoOptRand@{TwoOptRand}} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -void \bf{operator()} (\bf{Two\-Opt} \&\_\-\_\-move, const Route \&\_\-\_\-route)\label{class_two_opt_rand_e2f362f359517c027f6f22fba0aab375} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 31 of file two\_\-opt\_\-rand.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -two\_\-opt\_\-rand.h\item -two\_\-opt\_\-rand.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/class_worker.eps b/trunk/paradiseo-peo/examples/latex/class_worker.eps deleted file mode 100755 index 5972d40a6..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_worker.eps +++ /dev/null @@ -1,209 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 275.229 -%%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 1.81667 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 3 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 -(Worker) cw -(Communicable) cw -(ReactiveThread) cw -(Thread) 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 ----- - - (Worker) 0.5 0 box - (Communicable) 0 1 box - (ReactiveThread) 1 1 box - (Thread) 1 2 box - -% ----- relations ----- - -solid -0 0.5 0 out -solid -0 1 1 conn -solid -1 0 1 in -solid -1 1 1 in -solid -0 1 1 out -solid -1 1 2 in diff --git a/trunk/paradiseo-peo/examples/latex/class_worker.tex b/trunk/paradiseo-peo/examples/latex/class_worker.tex deleted file mode 100755 index f3c92620b..000000000 --- a/trunk/paradiseo-peo/examples/latex/class_worker.tex +++ /dev/null @@ -1,66 +0,0 @@ -\section{Worker Class Reference} -\label{class_worker}\index{Worker@{Worker}} -Inheritance diagram for Worker::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{class_worker} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\bf{Worker} ()\label{class_worker_3754817df06ffe220f7f0d903c78ccac} - -\item -void \bf{start} ()\label{class_worker_abcbbace05c6113f1959c494b3577291} - -\item -void \bf{pack\-Result} ()\label{class_worker_83780920118e6c2b67d9477bdf8be248} - -\item -void \bf{unpack\-Data} ()\label{class_worker_bff2bdcd64fe5400156cc78704c64953} - -\item -void \bf{pack\-Task\-Done} ()\label{class_worker_60d2e8eba85b9ef403d94be54c391640} - -\item -void \bf{notify\-Sending\-Result} ()\label{class_worker_e2f487014766a73c5788bdcfd58ad863} - -\item -void \bf{notify\-Sending\-Task\-Done} ()\label{class_worker_13efd6a8e275745329a4a8e23a0eb0bb} - -\item -void \bf{set\-Source} (int \_\-\_\-rank)\label{class_worker_5dab4ea663546b5a49d9398d7a624d27} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -WORKER\_\-ID \bf{id}\label{class_worker_b5ffcb995e12fa71b9551e91729d6972} - -\item -SERVICE\_\-ID \bf{serv\_\-id}\label{class_worker_d7dc76e301fd2bcf5d3a2088a59f1378} - -\item -\bf{Service} $\ast$ \bf{serv}\label{class_worker_454e1764ed165af733cc44a73e395692} - -\item -int \bf{src}\label{class_worker_895c3ebc198018ea3391c09bc802d2f6} - -\item -bool \bf{toto}\label{class_worker_7ba5a18b2918cf9e704536b763be37f7} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 33 of file worker.h. - -The documentation for this class was generated from the following files:\begin{CompactItemize} -\item -worker.h\item -worker.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_agg_eval_func.eps b/trunk/paradiseo-peo/examples/latex/classpeo_agg_eval_func.eps deleted file mode 100755 index 13b9976d7..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_agg_eval_func.eps +++ /dev/null @@ -1,203 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 109.29 -%%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 4.575 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 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 -(peoAggEvalFunc< EOT >) cw -(MergeRouteEval) cw -(peoNoAggEvalFunc< EOT >) 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 ----- - - (peoAggEvalFunc< EOT >) 0.5 1 box - (MergeRouteEval) 0 0 box - (peoNoAggEvalFunc< EOT >) 1 0 box - -% ----- relations ----- - -solid -1 0.5 0.25 out -solid -0 1 1 conn -solid -0 0 0.75 in -solid -0 1 0.75 in diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_agg_eval_func.tex b/trunk/paradiseo-peo/examples/latex/classpeo_agg_eval_func.tex deleted file mode 100755 index 81d263244..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_agg_eval_func.tex +++ /dev/null @@ -1,37 +0,0 @@ -\section{peo\-Agg\-Eval\-Func$<$ EOT $>$ Class Template Reference} -\label{classpeo_agg_eval_func}\index{peoAggEvalFunc@{peoAggEvalFunc}} -The \doxyref{peo\-Agg\-Eval\-Func}{p.}{classpeo_agg_eval_func} class offers only the interface for creating aggregate evaluation functions - there are no direct internal functions provided. - - -{\tt \#include $<$peo\-Agg\-Eval\-Func.h$>$} - -Inheritance diagram for peo\-Agg\-Eval\-Func$<$ EOT $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2cm]{classpeo_agg_eval_func} -\end{center} -\end{figure} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Agg\-Eval\-Func$<$ EOT $>$} - -The \doxyref{peo\-Agg\-Eval\-Func}{p.}{classpeo_agg_eval_func} class offers only the interface for creating aggregate evaluation functions - there are no direct internal functions provided. - -The class inherits {\bf public eo\-BF$<$ EOT\&, const typename EOT :: Fitness\&, void $>$} thus requiring, for the derived classes, the creation of a function having the following signature: - -\begin{TabularC}{2} -\hline -void operator()( EOT\& \_\-\_\-eot, const typename EOT :: Fitness\& \_\-\_\-partial\_\-fittness ); ~ &~ \\\hline -\end{TabularC} - - -The aggregation object is called in an iterative manner for each of the results obtained by applying partial evaluation functions. - - - -Definition at line 40 of file peo\-Agg\-Eval\-Func.h. - -The documentation for this class was generated from the following file:\begin{CompactItemize} -\item -peo\-Agg\-Eval\-Func.h\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_async_island_mig.eps b/trunk/paradiseo-peo/examples/latex/classpeo_async_island_mig.eps deleted file mode 100755 index 1d54a93f4..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_async_island_mig.eps +++ /dev/null @@ -1,203 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 333.333 -%%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 1.5 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 3 def -/cols 1 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 -(peoAsyncIslandMig< EOT >) cw -(Cooperative) cw -(Communicable) 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 ----- - - (peoAsyncIslandMig< EOT >) 0 0 box - (Cooperative) 0 1 box - (Communicable) 0 2 box - -% ----- relations ----- - -solid -0 0 0 out -solid -1 0 1 in -solid -0 0 1 out -solid -1 0 2 in diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_async_island_mig.tex b/trunk/paradiseo-peo/examples/latex/classpeo_async_island_mig.tex deleted file mode 100755 index 67dfd30c2..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_async_island_mig.tex +++ /dev/null @@ -1,184 +0,0 @@ -\section{peo\-Async\-Island\-Mig$<$ EOT $>$ Class Template Reference} -\label{classpeo_async_island_mig}\index{peoAsyncIslandMig@{peoAsyncIslandMig}} -The \doxyref{peo\-Async\-Island\-Mig}{p.}{classpeo_async_island_mig} class offers the elementary basis for implementating an asynchronous island migration model - requires the specification of several basic parameters, i.e. - - -{\tt \#include $<$peo\-Async\-Island\-Mig.h$>$} - -Inheritance diagram for peo\-Async\-Island\-Mig$<$ EOT $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{classpeo_async_island_mig} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\bf{peo\-Async\-Island\-Mig} (eo\-Continue$<$ EOT $>$ \&\_\-\_\-cont, eo\-Select$<$ EOT $>$ \&\_\-\_\-select, eo\-Replacement$<$ EOT $>$ \&\_\-\_\-replace, \bf{Topology} \&\_\-\_\-topology, eo\-Pop$<$ EOT $>$ \&\_\-\_\-source, eo\-Pop$<$ EOT $>$ \&\_\-\_\-destination) -\begin{CompactList}\small\item\em Constructor for the \doxyref{peo\-Async\-Island\-Mig}{p.}{classpeo_async_island_mig} class; the characteristics of the migration model are defined through the specified parameters - out of the box objects provided in EO, etc., or custom, derived objects may be passed as parameters. \item\end{CompactList}\item -void \bf{operator()} () -\begin{CompactList}\small\item\em Function operator to be called as checkpoint for performing the migration step. \item\end{CompactList}\item -void \bf{pack} ()\label{classpeo_async_island_mig_6d790a5d0b6ac510cac4f61a1c0d8f16} - -\begin{CompactList}\small\item\em Auxiliary function dealing with sending the emigrant individuals. There is no need to explicitly call the function. \item\end{CompactList}\item -void \bf{unpack} ()\label{classpeo_async_island_mig_455501aee5db2bbfbae15779c8429369} - -\begin{CompactList}\small\item\em Auxiliary function dealing with receiving immigrant individuals. There is no need to explicitly call the function. \item\end{CompactList}\end{CompactItemize} -\subsection*{Private Member Functions} -\begin{CompactItemize} -\item -void \bf{emigrate} ()\label{classpeo_async_island_mig_87a4ef7d4bd30d349a801bf0f9e87c82} - -\item -void \bf{immigrate} ()\label{classpeo_async_island_mig_5a9a64ba51a696e45f91b362c39c9a64} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -eo\-Continue$<$ EOT $>$ \& \bf{cont}\label{classpeo_async_island_mig_2fc077d02ef9ea4595cfe883af0d4f83} - -\item -eo\-Select$<$ EOT $>$ \& \bf{select}\label{classpeo_async_island_mig_b1fa045094c8a411323e75b5820c80c2} - -\item -eo\-Replacement$<$ EOT $>$ \& \bf{replace}\label{classpeo_async_island_mig_b761dbd880ee32e170741ecd78da6f48} - -\item -\bf{Topology} \& \bf{topology}\label{classpeo_async_island_mig_e45e5a808a96f0853ab6ba42339fe679} - -\item -eo\-Pop$<$ EOT $>$ \& \bf{source}\label{classpeo_async_island_mig_8a502d82c773033e274dca932fc2d4ee} - -\item -eo\-Pop$<$ EOT $>$ \& \bf{destination}\label{classpeo_async_island_mig_e407f411d08ae7d96992603c145a7e43} - -\item -std::queue$<$ eo\-Pop$<$ EOT $>$ $>$ \bf{imm}\label{classpeo_async_island_mig_b8c76d98d9ae99dd930a77c12860519a} - -\item -std::queue$<$ eo\-Pop$<$ EOT $>$ $>$ \bf{em}\label{classpeo_async_island_mig_a9cc0e2d61cac6e11647b141962adc89} - -\item -std::queue$<$ \bf{Cooperative} $\ast$ $>$ \bf{coop\_\-em}\label{classpeo_async_island_mig_1a2c0004d23bc303420af137a8c8bd27} - -\end{CompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Async\-Island\-Mig$<$ EOT $>$} - -The \doxyref{peo\-Async\-Island\-Mig}{p.}{classpeo_async_island_mig} class offers the elementary basis for implementating an asynchronous island migration model - requires the specification of several basic parameters, i.e. - -continuation criterion, selection and replacement strategies, a topological model and the source and destination population for the migrating individuals. As opposed to the synchronous migration model, in the asynchronous migration approach, there is no synchronization step between islands after performing the emigration phase. - -The migration operator is called at the end of each generation of an evolutionary algorithms as a checkpoint object - the following code exposes the structure of a classic evolutionary algorithm: - -\begin{TabularC}{2} -\hline -{\bf do} \{ ~ &~ \\\hline -~~~~~~~~ select( population, offsprings ); ~ &// select the offsprings from the current population \\\hline -~~~~~~~~ transform( offsprings ); ~ &// crossover and mutation operators are applied on the selected offsprings \\\hline -~~~~~~~~ evaluate( offsprings ); ~ &// evaluation step of the resulting offspring \\\hline -~~~~~~~~ replace( population, offsprings ); ~ &// replace the individuals in the current population whith individuals from the offspring population, according to a specified replacement strategy \\\hline -\} {\bf while} ( ea\-Checkpoint\-Continue( population ) ); ~ &// checkpoint operators are applied on the current population, including the migration operator, if any specified \\\hline -\end{TabularC} - - -Constructing an asynchronous island migration model requires having defined (1) a topological migration model, (2) the control parameters of the migration process, (3) a checkpoint object associated with an evolutionary algorithm, and (4) an owner object must be set. The owner object must be derived from the {\bf \doxyref{Runner}{p.}{class_runner}} class (for example a \doxyref{peo\-EA}{p.}{classpeo_e_a} object represents a possible owner). A simple example is offered bellow: - -\begin{enumerate} -\item topological model to be followed when performing migrations: \par - \par - \begin{TabularC}{2} -\hline -\doxyref{Ring\-Topology}{p.}{class_ring_topology} mig\-Topology; ~ &// a simple ring topological model - each island communicates with two other islands \\\hline -\end{TabularC} - - -\item the continuation criterion, selection and replacement strategy etc. are defined: \par - \par - \begin{TabularC}{2} -\hline -eo\-Pop$<$ EOT $>$ population( POP\_\-SIZE, pop\-Initializer ); ~ &// population of individuals to be used for the evolutionary algorithm \\\hline -~ &~ \\\hline -eo\-Periodic\-Continue$<$ EOT $>$ mig\-Cont( MIG\_\-FREQ ); ~ &// migrations occur periodically at MIG\_\-FREQ iterations \\\hline -eo\-Random\-Select$<$ EOT $>$ mig\-Select\-Strategy; ~ &// selection strategy - in this case a random selection is applied \\\hline -eo\-Select\-Number$<$ EOT $>$ mig\-Select( mig\-Select\-Strategy, MIG\_\-SIZE ); ~ &// number of individuals to be selected using the specified strategy \\\hline -eo\-Plus\-Replacement$<$ EOT $>$ mig\-Replace; ~ &// immigration strategy - the worse individuals in the destination population are replaced by the immigrant individuals \\\hline -~ &~ \\\hline -peo\-Async\-Island\-Mig$<$ EOT $>$ async\-Migration( \par - ~~~~~~~~ mig\-Cont, mig\-Select, mig\-Replace, mig\-Topology, \par - ~~~~~~~~ population, population \par - ); ~ &// asynchronous migration object - the emigrant individuals are selected from the same from population in which the immigrant individuals are being integrated \\\hline -\end{TabularC} - - -\item creation of a checkpoint object as part of the definition of an evolutionary algoritm (details of th EA not given as being out of scope): \par - \par - \begin{TabularC}{2} -\hline -... ~ &~ \\\hline -eo\-Gen\-Continue$<$ EOT $>$ ea\-Cont( NUM\_\-GEN ); ~ &// the evolutionary algorithm will stop after NUM\_\-GEN generations \\\hline -eo\-Check\-Point$<$ EOT $>$ ea\-Checkpoint\-Continue( ea\-Cont ); ~ &// number of individuals to be selected using the specified strategy \\\hline -... ~ &~ \\\hline -ea\-Checkpoint\-Continue.add( async\-Migration ); ~ &// adding the migration operator as checkpoint element \\\hline -... ~ &~ \\\hline -\end{TabularC} - - -\item definition of an owner evolutionary algorithm (an object inheriting the {\bf \doxyref{Runner}{p.}{class_runner}} class): \par - \par - \begin{TabularC}{2} -\hline -peo\-EA$<$ EOT $>$ ea\-Alg( ea\-Checkpoint\-Continue, ea\-Pop\-Eval, ea\-Select, ea\-Transform, ea\-Replace); ~ &// evolutionary algorithm having as checkpoint the ea\-Checkpoint\-Continue object defined above \\\hline -async\-Migration.set\-Owner( ea\-Alg ); ~ &// setting the evolutionary algorithm as owner of the migration object \\\hline -ea\-Alg( population ); ~ &// applying the evolutionary algorithm on a given population \\\hline -\end{TabularC} -\end{enumerate} - - -The source and the destination population for the migration object were specified as being the same, in step no. 2, as we are usually interested in selecting the emigrants and integrating the immigrant individuals from and in, respectively, one unique population, iteratively evolved by an evolutionary algorithm. There is no restriction in having two distinct populations as source and destination for the emigrant and immigrant individuals respectively. - -The above steps only create an asynchronous migration object associated to an evolutionary algorithm. The creation of several islands requires the reiteration of the steps 2 through 4 for creating distinct algorithms, with distinct populations and the associated distinctly parametrized migration objects. The interconnecting element is the underlying topology, defined at step 1 (the same C++ mig\-Topology object has to be passed as parameter for all the migration objects, in order to interconnect them). - - - -Definition at line 127 of file peo\-Async\-Island\-Mig.h. - -\subsection{Constructor \& Destructor Documentation} -\index{peoAsyncIslandMig@{peo\-Async\-Island\-Mig}!peoAsyncIslandMig@{peoAsyncIslandMig}} -\index{peoAsyncIslandMig@{peoAsyncIslandMig}!peoAsyncIslandMig@{peo\-Async\-Island\-Mig}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \bf{peo\-Async\-Island\-Mig}$<$ EOT $>$::\bf{peo\-Async\-Island\-Mig} (eo\-Continue$<$ EOT $>$ \& {\em \_\-\_\-cont}, eo\-Select$<$ EOT $>$ \& {\em \_\-\_\-select}, eo\-Replacement$<$ EOT $>$ \& {\em \_\-\_\-replace}, \bf{Topology} \& {\em \_\-\_\-topology}, eo\-Pop$<$ EOT $>$ \& {\em \_\-\_\-source}, eo\-Pop$<$ EOT $>$ \& {\em \_\-\_\-destination})}\label{classpeo_async_island_mig_e0f706cbf4148d3ca327227a5c7a9fdf} - - -Constructor for the \doxyref{peo\-Async\-Island\-Mig}{p.}{classpeo_async_island_mig} class; the characteristics of the migration model are defined through the specified parameters - out of the box objects provided in EO, etc., or custom, derived objects may be passed as parameters. - -\begin{Desc} -\item[Parameters:] -\begin{description} -\item[{\em eo\-Continue$<$}]EOT $>$\& \_\-\_\-cont - continuation criterion specifying whether the migration is performed or not; \item[{\em eo\-Select$<$}]EOT $>$\& \_\-\_\-select - selection strategy to be applied for constructing a list of emigrant individuals out of the source population; \item[{\em eo\-Replacement$<$}]EOT $>$\& \_\-\_\-replace - replacement strategy used for integrating the immigrant individuals in the destination population; \item[{\em Topology\&}]\_\-\_\-topology - topological model to be followed when performing migrations; \item[{\em eo\-Pop$<$}]EOT $>$\& \_\-\_\-source - source population from which the emigrant individuals are selected; \item[{\em eo\-Pop$<$}]EOT $>$\& \_\-\_\-destination - destination population in which the immigrant population are integrated. \end{description} -\end{Desc} - - -Definition at line 186 of file peo\-Async\-Island\-Mig.h. - -References Topology::add(). - -\subsection{Member Function Documentation} -\index{peoAsyncIslandMig@{peo\-Async\-Island\-Mig}!operator()@{operator()}} -\index{operator()@{operator()}!peoAsyncIslandMig@{peo\-Async\-Island\-Mig}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Async\-Island\-Mig}$<$ EOT $>$::operator() ()}\label{classpeo_async_island_mig_13581e54425727a7f785ca8a6df527b5} - - -Function operator to be called as checkpoint for performing the migration step. - -The emigrant individuals are selected from the source population and sent to the next island (defined by the topology object) while the immigrant individuals are integrated in the destination population. There is no need to explicitly call the function - the wrapper checkpoint object (please refer to the above example) will perform the call when required. - -Definition at line 263 of file peo\-Async\-Island\-Mig.h. - -References peo\-Async\-Island\-Mig$<$ EOT $>$::cont, peo\-Async\-Island\-Mig$<$ EOT $>$::emigrate(), peo\-Async\-Island\-Mig$<$ EOT $>$::immigrate(), and peo\-Async\-Island\-Mig$<$ EOT $>$::source. - -The documentation for this class was generated from the following file:\begin{CompactItemize} -\item -peo\-Async\-Island\-Mig.h\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_e_a.eps b/trunk/paradiseo-peo/examples/latex/classpeo_e_a.eps deleted file mode 100755 index e4aabc826..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_e_a.eps +++ /dev/null @@ -1,209 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 280.374 -%%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 1.78333 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 3 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 -(peoEA< EOT >) cw -(Runner) cw -(Communicable) cw -(Thread) 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 ----- - - (peoEA< EOT >) 0.5 0 box - (Runner) 0.5 1 box - (Communicable) 0 2 box - (Thread) 1 2 box - -% ----- relations ----- - -solid -0 0.5 0 out -solid -1 0.5 1 in -solid -0 0.5 1 out -solid -0 1 2 conn -solid -1 0 2 in -solid -1 1 2 in diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_e_a.tex b/trunk/paradiseo-peo/examples/latex/classpeo_e_a.tex deleted file mode 100755 index 13cfcde7c..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_e_a.tex +++ /dev/null @@ -1,125 +0,0 @@ -\section{peo\-EA$<$ EOT $>$ Class Template Reference} -\label{classpeo_e_a}\index{peoEA@{peoEA}} -The \doxyref{peo\-EA}{p.}{classpeo_e_a} class offers an elementary evolutionary algorithm implementation. - - -{\tt \#include $<$peo\-EA.h$>$} - -Inheritance diagram for peo\-EA$<$ EOT $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{classpeo_e_a} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\bf{peo\-EA} (eo\-Continue$<$ EOT $>$ \&\_\-\_\-cont, \bf{peo\-Pop\-Eval}$<$ EOT $>$ \&\_\-\_\-pop\_\-eval, eo\-Select$<$ EOT $>$ \&\_\-\_\-select, \bf{peo\-Transform}$<$ EOT $>$ \&\_\-\_\-trans, eo\-Replacement$<$ EOT $>$ \&\_\-\_\-replace) -\begin{CompactList}\small\item\em Constructor for the evolutionary algorithm object - several basic parameters have to be specified, allowing for different levels of parallelism. \item\end{CompactList}\item -void \bf{run} ()\label{classpeo_e_a_6ab8c321d29350634143a2a01cf2ad24} - -\begin{CompactList}\small\item\em Evolutionary algorithm function - a side effect of the fact that the class is derived from the {\bf \doxyref{Runner}{p.}{class_runner}} class, thus requiring the existence of a {\em run\/} function, the algorithm being executed on a distinct thread. \item\end{CompactList}\item -void \bf{operator()} (eo\-Pop$<$ EOT $>$ \&\_\-\_\-pop) -\begin{CompactList}\small\item\em Function operator for specifying the population to be associated with the algorithm. \item\end{CompactList}\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -eo\-Continue$<$ EOT $>$ \& \bf{cont}\label{classpeo_e_a_5f015eebf42f176b9fe322488c446c2a} - -\item -\bf{peo\-Pop\-Eval}$<$ EOT $>$ \& \bf{pop\_\-eval}\label{classpeo_e_a_9140259f50c9186edcb062b023624c96} - -\item -eo\-Select$<$ EOT $>$ \& \bf{select}\label{classpeo_e_a_2d8428d69fdd6aefefbaf543fdd46d19} - -\item -\bf{peo\-Transform}$<$ EOT $>$ \& \bf{trans}\label{classpeo_e_a_713c77935eb8aafebfb9488cfaa4a363} - -\item -eo\-Replacement$<$ EOT $>$ \& \bf{replace}\label{classpeo_e_a_9bd2d4356cf7e69e3141dc269213aa8a} - -\item -eo\-Pop$<$ EOT $>$ $\ast$ \bf{pop}\label{classpeo_e_a_c0b110e410bc16283e8339f24b733772} - -\end{CompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-EA$<$ EOT $>$} - -The \doxyref{peo\-EA}{p.}{classpeo_e_a} class offers an elementary evolutionary algorithm implementation. - -In addition, as compared with the algorithms provided by the EO framework, the \doxyref{peo\-EA}{p.}{classpeo_e_a} class has the underlying necessary structure for including, for example, parallel evaluation and parallel transformation operators, migration operators etc. Although there is no restriction on using the algorithms provided by the EO framework, the drawback resides in the fact that the EO implementation is exclusively sequential and, in consequence, no parallelism is provided. A simple example for constructing a \doxyref{peo\-EA}{p.}{classpeo_e_a} object: - -\begin{TabularC}{2} -\hline -... ~ &~ \\\hline -eo\-Pop$<$ EOT $>$ population( POP\_\-SIZE, pop\-Initializer ); ~ &// creation of a population with POP\_\-SIZE individuals - the pop\-Initializer is a functor to be called for each individual \\\hline -~ &~ \\\hline -eo\-Gen\-Continue$<$ EOT $>$ ea\-Cont( NUM\_\-GEN ); ~ &// number of generations for the evolutionary algorithm \\\hline -eo\-Check\-Point$<$ EOT $>$ ea\-Checkpoint\-Continue( ea\-Cont ); ~ &// checkpoint incorporating the continuation criterion - startpoint for adding other checkpoint objects \\\hline -~ &~ \\\hline -peo\-Seq\-Pop\-Eval$<$ EOT $>$ ea\-Pop\-Eval( eval\-Function ); ~ &// sequential evaluation functor wrapper - eval\-Function represents the actual evaluation functor \\\hline -~ &~ \\\hline -eo\-Ranking\-Select$<$ EOT $>$ selection\-Strategy; ~ &// selection strategy for creating the offspring population - a simple ranking selection in this case \\\hline -eo\-Select\-Number$<$ EOT $>$ ea\-Select( selection\-Strategy, POP\_\-SIZE ); ~ &// the number of individuals to be selected for creating the offspring population \\\hline -eo\-Ranking\-Select$<$ EOT $>$ selection\-Strategy; ~ &// selection strategy for creating the offspring population - a simple ranking selection in this case \\\hline -~ &~ \\\hline -eo\-SGATransform$<$ EOT $>$ transform( crossover, CROSS\_\-RATE, mutation, MUT\_\-RATE ); ~ &// transformation operator - crossover and mutation operators with their associated probabilities \\\hline -peo\-Seq\-Transform$<$ EOT $>$ ea\-Transform( transform ); ~ &// Paradis\-EO specific sequential operator - a parallel version may be specified in the same manner \\\hline -~ &~ \\\hline -eo\-Plus\-Replacement$<$ EOT $>$ ea\-Replace; ~ &// replacement strategy - for integrating the offspring resulting individuals in the initial population \\\hline -~ &~ \\\hline -peo\-EA$<$ EOT $>$ ea\-Alg( ea\-Checkpoint\-Continue, ea\-Pop\-Eval, ea\-Select, ea\-Transform, ea\-Replace ); ~ &// Paradis\-EO evolutionary algorithm integrating the above defined objects \\\hline -ea\-Alg( population ); ~ &// specifying the initial population for the algorithm \\\hline -... ~ &~ \\\hline -\end{TabularC} - - - - -Definition at line 69 of file peo\-EA.h. - -\subsection{Constructor \& Destructor Documentation} -\index{peoEA@{peo\-EA}!peoEA@{peoEA}} -\index{peoEA@{peoEA}!peoEA@{peo\-EA}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \bf{peo\-EA}$<$ EOT $>$::\bf{peo\-EA} (eo\-Continue$<$ EOT $>$ \& {\em \_\-\_\-cont}, \bf{peo\-Pop\-Eval}$<$ EOT $>$ \& {\em \_\-\_\-pop\_\-eval}, eo\-Select$<$ EOT $>$ \& {\em \_\-\_\-select}, \bf{peo\-Transform}$<$ EOT $>$ \& {\em \_\-\_\-trans}, eo\-Replacement$<$ EOT $>$ \& {\em \_\-\_\-replace})}\label{classpeo_e_a_dbfc4f8907bef234602149229f132371} - - -Constructor for the evolutionary algorithm object - several basic parameters have to be specified, allowing for different levels of parallelism. - -Depending on the requirements, a sequential or a parallel evaluation operator may be specified or, in the same manner, a sequential or a parallel transformation operator may be given as parameter. Out of the box objects may be provided, from the EO package, for example, or custom defined ones may be specified, provided that they are derived from the correct base classes. - -\begin{Desc} -\item[Parameters:] -\begin{description} -\item[{\em eo\-Continue$<$}]EOT $>$\& \_\-\_\-cont - continuation criterion specifying whether the algorithm should continue or not; \item[{\em peo\-Pop\-Eval$<$}]EOT $>$\& \_\-\_\-pop\_\-eval - evaluation operator; it allows the specification of parallel evaluation operators, aggregate evaluation functions, etc.; \item[{\em eo\-Select$<$}]EOT $>$\& \_\-\_\-select - selection strategy to be applied for constructing a list of offspring individuals; \item[{\em peo\-Transform$<$}]EOT $>$\& \_\-\_\-trans - transformation operator, i.e. crossover and mutation; allows for sequential or parallel transform; \item[{\em eo\-Replacement$<$}]EOT $>$\& \_\-\_\-replace - replacement strategy for integrating the offspring individuals in the initial population; \end{description} -\end{Desc} - - -Definition at line 113 of file peo\-EA.h. - -References peo\-EA$<$ EOT $>$::pop\_\-eval, and peo\-EA$<$ EOT $>$::trans. - -\subsection{Member Function Documentation} -\index{peoEA@{peo\-EA}!operator()@{operator()}} -\index{operator()@{operator()}!peoEA@{peo\-EA}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-EA}$<$ EOT $>$::operator() (eo\-Pop$<$ EOT $>$ \& {\em \_\-\_\-pop})}\label{classpeo_e_a_3c709e3b2491147d26fee36138644613} - - -Function operator for specifying the population to be associated with the algorithm. - -\begin{Desc} -\item[Parameters:] -\begin{description} -\item[{\em eo\-Pop$<$}]EOT $>$\& \_\-\_\-pop - initial population of the algorithm, to be iteratively evolved; \end{description} -\end{Desc} - - -Definition at line 129 of file peo\-EA.h. - -References peo\-EA$<$ EOT $>$::pop. - -The documentation for this class was generated from the following file:\begin{CompactItemize} -\item -peo\-EA.h\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_no_agg_eval_func.eps b/trunk/paradiseo-peo/examples/latex/classpeo_no_agg_eval_func.eps deleted file mode 100755 index ead08b31e..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_no_agg_eval_func.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 218.579 -%%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 2.2875 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 1 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 -(peoNoAggEvalFunc< EOT >) cw -(peoAggEvalFunc< EOT >) 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 ----- - - (peoNoAggEvalFunc< EOT >) 0 0 box - (peoAggEvalFunc< EOT >) 0 1 box - -% ----- relations ----- - -solid -0 0 0 out -solid -1 0 1 in diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_no_agg_eval_func.tex b/trunk/paradiseo-peo/examples/latex/classpeo_no_agg_eval_func.tex deleted file mode 100755 index 1f95cb73b..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_no_agg_eval_func.tex +++ /dev/null @@ -1,35 +0,0 @@ -\section{peo\-No\-Agg\-Eval\-Func$<$ EOT $>$ Class Template Reference} -\label{classpeo_no_agg_eval_func}\index{peoNoAggEvalFunc@{peoNoAggEvalFunc}} -The \doxyref{peo\-No\-Agg\-Eval\-Func}{p.}{classpeo_no_agg_eval_func} class does nothing more than an association between a fitness value and a specified individual. - - -{\tt \#include $<$peo\-No\-Agg\-Eval\-Func.h$>$} - -Inheritance diagram for peo\-No\-Agg\-Eval\-Func$<$ EOT $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2cm]{classpeo_no_agg_eval_func} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -void \bf{operator()} (EOT \&\_\-\_\-sol, const typename EOT::Fitness \&\_\-\_\-fit)\label{classpeo_no_agg_eval_func_1a69ee1af8745ac75c864bf884436de5} - -\begin{CompactList}\small\item\em Operator which sets as fitness the {\bf \_\-\_\-fit} value for the {\bf \_\-\_\-sol} individual. \item\end{CompactList}\end{CompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-No\-Agg\-Eval\-Func$<$ EOT $>$} - -The \doxyref{peo\-No\-Agg\-Eval\-Func}{p.}{classpeo_no_agg_eval_func} class does nothing more than an association between a fitness value and a specified individual. - -The class is provided as a mean of declaring that no aggregation is required for the evaluation function - the fitness value is explicitly specified. - - - -Definition at line 34 of file peo\-No\-Agg\-Eval\-Func.h. - -The documentation for this class was generated from the following file:\begin{CompactItemize} -\item -peo\-No\-Agg\-Eval\-Func.h\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_para_pop_eval.eps b/trunk/paradiseo-peo/examples/latex/classpeo_para_pop_eval.eps deleted file mode 100755 index 25c8b8af1..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_para_pop_eval.eps +++ /dev/null @@ -1,209 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 487.805 -%%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 1.025 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 4 def -/cols 1 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 -(peoParaPopEval< EOT >) cw -(peoPopEval< EOT >) cw -(Service) cw -(Communicable) 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 ----- - - (peoParaPopEval< EOT >) 0 0 box - (peoPopEval< EOT >) 0 1 box - (Service) 0 2 box - (Communicable) 0 3 box - -% ----- relations ----- - -solid -0 0 0 out -solid -1 0 1 in -solid -0 0 1 out -solid -1 0 2 in -solid -0 0 2 out -solid -1 0 3 in diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_para_pop_eval.tex b/trunk/paradiseo-peo/examples/latex/classpeo_para_pop_eval.tex deleted file mode 100755 index 49b7f48c6..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_para_pop_eval.tex +++ /dev/null @@ -1,216 +0,0 @@ -\section{peo\-Para\-Pop\-Eval$<$ EOT $>$ Class Template Reference} -\label{classpeo_para_pop_eval}\index{peoParaPopEval@{peoParaPopEval}} -The \doxyref{peo\-Para\-Pop\-Eval}{p.}{classpeo_para_pop_eval} represents a wrapper for creating a functor capable of applying in parallel an EO-derived evaluation functor. - - -{\tt \#include $<$peo\-Para\-Pop\-Eval.h$>$} - -Inheritance diagram for peo\-Para\-Pop\-Eval$<$ EOT $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=4cm]{classpeo_para_pop_eval} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\bf{peo\-Para\-Pop\-Eval} (eo\-Eval\-Func$<$ EOT $>$ \&\_\-\_\-eval\_\-func) -\begin{CompactList}\small\item\em Constructor function - an EO-derived evaluation functor has to be specified; an internal reference is set towards the specified evaluation functor. \item\end{CompactList}\item -\bf{peo\-Para\-Pop\-Eval} (const std::vector$<$ eo\-Eval\-Func$<$ EOT $>$ $\ast$ $>$ \&\_\-\_\-funcs, \bf{peo\-Agg\-Eval\-Func}$<$ EOT $>$ \&\_\-\_\-merge\_\-eval) -\begin{CompactList}\small\item\em Constructor function - a vector of EO-derived evaluation functors has to be specified as well as an aggregation function. \item\end{CompactList}\item -void \bf{operator()} (eo\-Pop$<$ EOT $>$ \&\_\-\_\-pop) -\begin{CompactList}\small\item\em Operator for applying the evaluation functor (direct or aggregate) for each individual of the specified population. \item\end{CompactList}\item -void \bf{pack\-Data} () -\begin{CompactList}\small\item\em Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. \item\end{CompactList}\item -void \bf{unpack\-Data} () -\begin{CompactList}\small\item\em Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. \item\end{CompactList}\item -void \bf{execute} ()\label{classpeo_para_pop_eval_3af76378611eac5a36da9a0a00aeeb6c} - -\begin{CompactList}\small\item\em Auxiliary function - it calls the specified evaluation functor(s). There is no need to explicitly call the function. \item\end{CompactList}\item -void \bf{pack\-Result} () -\begin{CompactList}\small\item\em Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. \item\end{CompactList}\item -void \bf{unpack\-Result} () -\begin{CompactList}\small\item\em Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. \item\end{CompactList}\item -void \bf{notify\-Sending\-Data} () -\begin{CompactList}\small\item\em Auxiliary function for notifications between the process requesting an evaluation operation and the processes that performs the actual evaluation phase. \item\end{CompactList}\item -void \bf{notify\-Sending\-All\-Resource\-Requests} () -\begin{CompactList}\small\item\em Auxiliary function for notifications between the process requesting an evaluation operation and the processes that performs the actual evaluation phase. \item\end{CompactList}\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -const std::vector$<$ eo\-Eval\-Func$<$ EOT $>$ $\ast$ $>$ \& \bf{funcs}\label{classpeo_para_pop_eval_6d69b8f73c0b5d72baf75d6e53f025b7} - -\item -std::vector$<$ eo\-Eval\-Func$<$ EOT $>$ $\ast$ $>$ \bf{one\_\-func}\label{classpeo_para_pop_eval_f0e8af3ee442d2b6baf0bd122226be3c} - -\item -\bf{peo\-Agg\-Eval\-Func}$<$ EOT $>$ \& \bf{merge\_\-eval}\label{classpeo_para_pop_eval_b48bcd4e9f92f364118304535c089456} - -\item -\bf{peo\-No\-Agg\-Eval\-Func}$<$ EOT $>$ \bf{no\_\-merge\_\-eval}\label{classpeo_para_pop_eval_bf255dd5861e27108c2abae7309d7690} - -\item -std::queue$<$ EOT $\ast$ $>$ \bf{tasks}\label{classpeo_para_pop_eval_af76cd18368a0f6185878f37f0b5f272} - -\item -std::map$<$ EOT $\ast$, std::pair$<$ unsigned, unsigned $>$ $>$ \bf{progression}\label{classpeo_para_pop_eval_80e7e34bb1bb2d12f1f2eed3feac6ecf} - -\item -unsigned \bf{num\_\-func}\label{classpeo_para_pop_eval_87abb090c0de39f0ccc36af1f07cca0c} - -\item -EOT \bf{sol}\label{classpeo_para_pop_eval_fb6941e0455515a908eb82342b995163} - -\item -EOT $\ast$ \bf{ad\_\-sol}\label{classpeo_para_pop_eval_60cafeab376262af675fdff43434c8d8} - -\item -unsigned \bf{total}\label{classpeo_para_pop_eval_b528ad9dd9006c3dd57f149a3843e57d} - -\end{CompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Para\-Pop\-Eval$<$ EOT $>$} - -The \doxyref{peo\-Para\-Pop\-Eval}{p.}{classpeo_para_pop_eval} represents a wrapper for creating a functor capable of applying in parallel an EO-derived evaluation functor. - -The class offers the possibility of chosing between a single-function evaluation and an aggregate evaluation function, including several sub-evalution functions. - - - -Definition at line 41 of file peo\-Para\-Pop\-Eval.h. - -\subsection{Constructor \& Destructor Documentation} -\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!peoParaPopEval@{peoParaPopEval}} -\index{peoParaPopEval@{peoParaPopEval}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \bf{peo\-Para\-Pop\-Eval}$<$ EOT $>$::\bf{peo\-Para\-Pop\-Eval} (eo\-Eval\-Func$<$ EOT $>$ \& {\em \_\-\_\-eval\_\-func})}\label{classpeo_para_pop_eval_bcb540510a7038520bec41a7af332daf} - - -Constructor function - an EO-derived evaluation functor has to be specified; an internal reference is set towards the specified evaluation functor. - -\begin{Desc} -\item[Parameters:] -\begin{description} -\item[{\em eo\-Eval\-Func$<$}]EOT $>$\& \_\-\_\-eval\_\-func - EO-derived evaluation functor to be applied in parallel on each individual of a specified population \end{description} -\end{Desc} - - -Definition at line 117 of file peo\-Para\-Pop\-Eval.h. - -References peo\-Para\-Pop\-Eval$<$ EOT $>$::one\_\-func.\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!peoParaPopEval@{peoParaPopEval}} -\index{peoParaPopEval@{peoParaPopEval}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \bf{peo\-Para\-Pop\-Eval}$<$ EOT $>$::\bf{peo\-Para\-Pop\-Eval} (const std::vector$<$ eo\-Eval\-Func$<$ EOT $>$ $\ast$ $>$ \& {\em \_\-\_\-funcs}, \bf{peo\-Agg\-Eval\-Func}$<$ EOT $>$ \& {\em \_\-\_\-merge\_\-eval})}\label{classpeo_para_pop_eval_1cc13a1ec366f95d219d682eccb455bc} - - -Constructor function - a vector of EO-derived evaluation functors has to be specified as well as an aggregation function. - -\begin{Desc} -\item[Parameters:] -\begin{description} -\item[{\em const}]std :: vector$<$ eo\-Eval\-Func $<$ EOT $>$$\ast$ $>$\& \_\-\_\-funcs - vector of EO-derived partial evaluation functors; \item[{\em peo\-Agg\-Eval\-Func$<$}]EOT $>$\& \_\-\_\-merge\_\-eval - aggregation functor for creating a fitness value out of the partial fitness values. \end{description} -\end{Desc} - - -Definition at line 126 of file peo\-Para\-Pop\-Eval.h. - -\subsection{Member Function Documentation} -\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!operator()@{operator()}} -\index{operator()@{operator()}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Para\-Pop\-Eval}$<$ EOT $>$::operator() (eo\-Pop$<$ EOT $>$ \& {\em \_\-\_\-pop})\hspace{0.3cm}{\tt [virtual]}}\label{classpeo_para_pop_eval_aeaa4fca4f8650e453e308838b4a2cb5} - - -Operator for applying the evaluation functor (direct or aggregate) for each individual of the specified population. - -\begin{Desc} -\item[Parameters:] -\begin{description} -\item[{\em eo\-Pop$<$}]EOT $>$\& \_\-\_\-pop - population to be evaluated by applying the evaluation functor specified in the constructor. \end{description} -\end{Desc} - - -Implements \bf{peo\-Pop\-Eval$<$ EOT $>$} \doxyref{p.}{classpeo_pop_eval_2f208067a5e39c3b26c1234050a41e8f}. - -Definition at line 137 of file peo\-Para\-Pop\-Eval.h. - -References peo\-Para\-Pop\-Eval$<$ EOT $>$::funcs, peo\-Para\-Pop\-Eval$<$ EOT $>$::progression, Service::request\-Resource\-Request(), Communicable::stop(), peo\-Para\-Pop\-Eval$<$ EOT $>$::tasks, and peo\-Para\-Pop\-Eval$<$ EOT $>$::total.\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!packData@{packData}} -\index{packData@{packData}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Para\-Pop\-Eval}$<$ EOT $>$::pack\-Data ()\hspace{0.3cm}{\tt [virtual]}}\label{classpeo_para_pop_eval_fea632bd645ab11182782fd3c038d6d8} - - -Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. - -There is no need to explicitly call the function. - -Reimplemented from \bf{Service} \doxyref{p.}{class_service_aea4b8f7f8fb88e83862ee4bfd9ab207}. - -Definition at line 158 of file peo\-Para\-Pop\-Eval.h. - -References peo\-Para\-Pop\-Eval$<$ EOT $>$::progression, and peo\-Para\-Pop\-Eval$<$ EOT $>$::tasks.\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!unpackData@{unpackData}} -\index{unpackData@{unpackData}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Para\-Pop\-Eval}$<$ EOT $>$::unpack\-Data ()\hspace{0.3cm}{\tt [virtual]}}\label{classpeo_para_pop_eval_410bf4c173e2f36df82251cb16ce1b05} - - -Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. - -There is no need to explicitly call the function. - -Reimplemented from \bf{Service} \doxyref{p.}{class_service_3bd87b444710813d30fd754d4d0b4df3}. - -Definition at line 172 of file peo\-Para\-Pop\-Eval.h. - -References peo\-Para\-Pop\-Eval$<$ EOT $>$::ad\_\-sol, peo\-Para\-Pop\-Eval$<$ EOT $>$::num\_\-func, and peo\-Para\-Pop\-Eval$<$ EOT $>$::sol.\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!packResult@{packResult}} -\index{packResult@{packResult}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Para\-Pop\-Eval}$<$ EOT $>$::pack\-Result ()\hspace{0.3cm}{\tt [virtual]}}\label{classpeo_para_pop_eval_24bb4ae84b0b9f64e7170e3d2b0e1223} - - -Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. - -There is no need to explicitly call the function. - -Reimplemented from \bf{Service} \doxyref{p.}{class_service_e5e4f90b2315e15c2a2913bd370f4cf5}. - -Definition at line 189 of file peo\-Para\-Pop\-Eval.h. - -References peo\-Para\-Pop\-Eval$<$ EOT $>$::ad\_\-sol, and peo\-Para\-Pop\-Eval$<$ EOT $>$::sol.\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!unpackResult@{unpackResult}} -\index{unpackResult@{unpackResult}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Para\-Pop\-Eval}$<$ EOT $>$::unpack\-Result ()\hspace{0.3cm}{\tt [virtual]}}\label{classpeo_para_pop_eval_fd7f0afe9cba30be39269d16097e190e} - - -Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. - -There is no need to explicitly call the function. - -Reimplemented from \bf{Service} \doxyref{p.}{class_service_45c06344edbfa482b91f68e2035a6099}. - -Definition at line 198 of file peo\-Para\-Pop\-Eval.h. - -References peo\-Para\-Pop\-Eval$<$ EOT $>$::ad\_\-sol, Service::get\-Owner(), peo\-Para\-Pop\-Eval$<$ EOT $>$::merge\_\-eval, peo\-Para\-Pop\-Eval$<$ EOT $>$::progression, Communicable::resume(), Thread::set\-Active(), and peo\-Para\-Pop\-Eval$<$ EOT $>$::total.\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!notifySendingData@{notifySendingData}} -\index{notifySendingData@{notifySendingData}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Para\-Pop\-Eval}$<$ EOT $>$::notify\-Sending\-Data ()\hspace{0.3cm}{\tt [virtual]}}\label{classpeo_para_pop_eval_1f78c3cec2940af08a059cc1aa96a9c8} - - -Auxiliary function for notifications between the process requesting an evaluation operation and the processes that performs the actual evaluation phase. - -There is no need to explicitly call the function. - -Reimplemented from \bf{Service} \doxyref{p.}{class_service_81ad4d6ebb50045b8977e2ab74826f30}. - -Definition at line 229 of file peo\-Para\-Pop\-Eval.h.\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!notifySendingAllResourceRequests@{notifySendingAllResourceRequests}} -\index{notifySendingAllResourceRequests@{notifySendingAllResourceRequests}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Para\-Pop\-Eval}$<$ EOT $>$::notify\-Sending\-All\-Resource\-Requests ()\hspace{0.3cm}{\tt [virtual]}}\label{classpeo_para_pop_eval_b77031fc4807921ffaf7cf6b669a7665} - - -Auxiliary function for notifications between the process requesting an evaluation operation and the processes that performs the actual evaluation phase. - -There is no need to explicitly call the function. - -Reimplemented from \bf{Service} \doxyref{p.}{class_service_f94cc8a5c2665d4574041737e61e9ffc}. - -Definition at line 234 of file peo\-Para\-Pop\-Eval.h. - -References Service::get\-Owner(), and Thread::set\-Passive(). - -The documentation for this class was generated from the following file:\begin{CompactItemize} -\item -peo\-Para\-Pop\-Eval.h\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_para_s_g_a_transform.eps b/trunk/paradiseo-peo/examples/latex/classpeo_para_s_g_a_transform.eps deleted file mode 100755 index eee7ca312..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_para_s_g_a_transform.eps +++ /dev/null @@ -1,209 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 400 -%%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 1.25 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 4 def -/cols 1 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 -(peoParaSGATransform< EOT >) cw -(peoTransform< EOT >) cw -(Service) cw -(Communicable) 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 ----- - - (peoParaSGATransform< EOT >) 0 0 box - (peoTransform< EOT >) 0 1 box - (Service) 0 2 box - (Communicable) 0 3 box - -% ----- relations ----- - -solid -0 0 0 out -solid -1 0 1 in -solid -0 0 1 out -solid -1 0 2 in -solid -0 0 2 out -solid -1 0 3 in diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_para_s_g_a_transform.tex b/trunk/paradiseo-peo/examples/latex/classpeo_para_s_g_a_transform.tex deleted file mode 100755 index ca8183306..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_para_s_g_a_transform.tex +++ /dev/null @@ -1,82 +0,0 @@ -\section{peo\-Para\-SGATransform$<$ EOT $>$ Class Template Reference} -\label{classpeo_para_s_g_a_transform}\index{peoParaSGATransform@{peoParaSGATransform}} -Inheritance diagram for peo\-Para\-SGATransform$<$ EOT $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=4cm]{classpeo_para_s_g_a_transform} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\bf{peo\-Para\-SGATransform} (eo\-Quad\-Op$<$ EOT $>$ \&\_\-\_\-cross, double \_\-\_\-cross\_\-rate, eo\-Mon\-Op$<$ EOT $>$ \&\_\-\_\-mut, double \_\-\_\-mut\_\-rate)\label{classpeo_para_s_g_a_transform_2052bca82fbbfe5455bf6f69246d4dbf} - -\item -void \bf{operator()} (eo\-Pop$<$ EOT $>$ \&\_\-\_\-pop)\label{classpeo_para_s_g_a_transform_669de7f7c6316fa745a15b909efb6527} - -\item -void \bf{pack\-Data} ()\label{classpeo_para_s_g_a_transform_fd278bcde58d29c9a343d5cbead81a1e} - -\item -void \bf{unpack\-Data} ()\label{classpeo_para_s_g_a_transform_a43a487a6e81791c8bbf6ce30f4336ab} - -\item -void \bf{execute} ()\label{classpeo_para_s_g_a_transform_c9de2100fb897177a401c634002f6dd9} - -\item -void \bf{pack\-Result} ()\label{classpeo_para_s_g_a_transform_ba08e224ceaa4149e8e1a88694a2ccf2} - -\item -void \bf{unpack\-Result} ()\label{classpeo_para_s_g_a_transform_257663dcdc6cc95b6183d472ffba1b2f} - -\item -void \bf{notify\-Sending\-Data} ()\label{classpeo_para_s_g_a_transform_4e19dfc22b6f69fa8b93537226551866} - -\item -void \bf{notify\-Sending\-All\-Resource\-Requests} ()\label{classpeo_para_s_g_a_transform_8a0316e33897c395a81787f59ea7a1c8} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -eo\-Quad\-Op$<$ EOT $>$ \& \bf{cross}\label{classpeo_para_s_g_a_transform_c6f97deabe7502c84f5b6c479013f6dc} - -\item -double \bf{cross\_\-rate}\label{classpeo_para_s_g_a_transform_dfcf216e2df05016db4d57a5ffb0b0e2} - -\item -eo\-Mon\-Op$<$ EOT $>$ \& \bf{mut}\label{classpeo_para_s_g_a_transform_34ff5f9d285ca4879cf8865fb425a311} - -\item -double \bf{mut\_\-rate}\label{classpeo_para_s_g_a_transform_b9d3a2094737d0bbd034aac942cc53e3} - -\item -unsigned \bf{idx}\label{classpeo_para_s_g_a_transform_03972feadc86626e58fe60bd4061b57e} - -\item -eo\-Pop$<$ EOT $>$ $\ast$ \bf{pop}\label{classpeo_para_s_g_a_transform_94e10a1285e128aba6e71517c941f961} - -\item -EOT \bf{father}\label{classpeo_para_s_g_a_transform_9ef60190e2e3bd5961a93d1b52cb275d} - -\item -EOT \bf{mother}\label{classpeo_para_s_g_a_transform_e991ad2af6d116afd855de2db46e1d27} - -\item -unsigned \bf{num\_\-term}\label{classpeo_para_s_g_a_transform_589ea7cd72d522ae51a07de4d8ffbf11} - -\end{CompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Para\-SGATransform$<$ EOT $>$} - - - - - -Definition at line 36 of file peo\-Para\-SGATransform.h. - -The documentation for this class was generated from the following file:\begin{CompactItemize} -\item -peo\-Para\-SGATransform.h\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_pop_eval.eps b/trunk/paradiseo-peo/examples/latex/classpeo_pop_eval.eps deleted file mode 100755 index b486aceee..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_pop_eval.eps +++ /dev/null @@ -1,215 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 243.902 -%%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 2.05 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 4 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 -(peoPopEval< EOT >) cw -(Service) cw -(Communicable) cw -(peoParaPopEval< EOT >) cw -(peoSeqPopEval< EOT >) 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 ----- - - (peoPopEval< EOT >) 0.5 1 box - (Service) 0.5 2 box - (Communicable) 0.5 3 box - (peoParaPopEval< EOT >) 0 0 box - (peoSeqPopEval< EOT >) 1 0 box - -% ----- relations ----- - -solid -0 0.5 1 out -solid -1 0.5 2 in -solid -0 0.5 2 out -solid -1 0.5 3 in -solid -1 0.5 0.25 out -solid -0 1 1 conn -solid -0 0 0.75 in -solid -0 1 0.75 in diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_pop_eval.tex b/trunk/paradiseo-peo/examples/latex/classpeo_pop_eval.tex deleted file mode 100755 index 9781cccd1..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_pop_eval.tex +++ /dev/null @@ -1,35 +0,0 @@ -\section{peo\-Pop\-Eval$<$ EOT $>$ Class Template Reference} -\label{classpeo_pop_eval}\index{peoPopEval@{peoPopEval}} -The {\bf \doxyref{peo\-Pop\-Eval}{p.}{classpeo_pop_eval}} class provides the interface for constructing Paradis\-EO specific evaluation functors. - - -{\tt \#include $<$peo\-Pop\-Eval.h$>$} - -Inheritance diagram for peo\-Pop\-Eval$<$ EOT $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=4cm]{classpeo_pop_eval} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -virtual void \bf{operator()} (eo\-Pop$<$ EOT $>$ \&\_\-\_\-pop)=0\label{classpeo_pop_eval_2f208067a5e39c3b26c1234050a41e8f} - -\begin{CompactList}\small\item\em Interface function providing the signature for constructing an evaluation functor. \item\end{CompactList}\end{CompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Pop\-Eval$<$ EOT $>$} - -The {\bf \doxyref{peo\-Pop\-Eval}{p.}{classpeo_pop_eval}} class provides the interface for constructing Paradis\-EO specific evaluation functors. - -The derived classes may be used as wrappers for {\bf EO}-derived evaluation functors. In order to have an example, please refer to the implementation of the {\bf \doxyref{peo\-Seq\-Pop\-Eval}{p.}{classpeo_seq_pop_eval}} and {\bf \doxyref{peo\-Para\-Pop\-Eval}{p.}{classpeo_para_pop_eval}} classes. - - - -Definition at line 34 of file peo\-Pop\-Eval.h. - -The documentation for this class was generated from the following file:\begin{CompactItemize} -\item -peo\-Pop\-Eval.h\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_seq_pop_eval.eps b/trunk/paradiseo-peo/examples/latex/classpeo_seq_pop_eval.eps deleted file mode 100755 index e8cf5fd7e..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_seq_pop_eval.eps +++ /dev/null @@ -1,209 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 506.329 -%%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.9875 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 4 def -/cols 1 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 -(peoSeqPopEval< EOT >) cw -(peoPopEval< EOT >) cw -(Service) cw -(Communicable) 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 ----- - - (peoSeqPopEval< EOT >) 0 0 box - (peoPopEval< EOT >) 0 1 box - (Service) 0 2 box - (Communicable) 0 3 box - -% ----- relations ----- - -solid -0 0 0 out -solid -1 0 1 in -solid -0 0 1 out -solid -1 0 2 in -solid -0 0 2 out -solid -1 0 3 in diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_seq_pop_eval.tex b/trunk/paradiseo-peo/examples/latex/classpeo_seq_pop_eval.tex deleted file mode 100755 index 296adce63..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_seq_pop_eval.tex +++ /dev/null @@ -1,80 +0,0 @@ -\section{peo\-Seq\-Pop\-Eval$<$ EOT $>$ Class Template Reference} -\label{classpeo_seq_pop_eval}\index{peoSeqPopEval@{peoSeqPopEval}} -The \doxyref{peo\-Seq\-Pop\-Eval}{p.}{classpeo_seq_pop_eval} class acts only as a Paradis\-EO specific sequential evaluation functor - a wrapper for incorporating an {\bf eo\-Eval\-Func$<$ EOT $>$}-derived class as evaluation functor. - - -{\tt \#include $<$peo\-Seq\-Pop\-Eval.h$>$} - -Inheritance diagram for peo\-Seq\-Pop\-Eval$<$ EOT $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=4cm]{classpeo_seq_pop_eval} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\bf{peo\-Seq\-Pop\-Eval} (eo\-Eval\-Func$<$ EOT $>$ \&\_\-\_\-eval) -\begin{CompactList}\small\item\em Constructor function - it only sets an internal reference to point to the specified evaluation object. \item\end{CompactList}\item -void \bf{operator()} (eo\-Pop$<$ EOT $>$ \&\_\-\_\-pop) -\begin{CompactList}\small\item\em Operator for evaluating all the individuals of a given population - in a sequential iterative manner. \item\end{CompactList}\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -eo\-Eval\-Func$<$ EOT $>$ \& \bf{eval}\label{classpeo_seq_pop_eval_5465f31386c6b96bc8f7fb9393a28a2f} - -\end{CompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Seq\-Pop\-Eval$<$ EOT $>$} - -The \doxyref{peo\-Seq\-Pop\-Eval}{p.}{classpeo_seq_pop_eval} class acts only as a Paradis\-EO specific sequential evaluation functor - a wrapper for incorporating an {\bf eo\-Eval\-Func$<$ EOT $>$}-derived class as evaluation functor. - -The specified EO evaluation object is applyied in an iterative manner to each individual of a specified population. - - - -Definition at line 36 of file peo\-Seq\-Pop\-Eval.h. - -\subsection{Constructor \& Destructor Documentation} -\index{peoSeqPopEval@{peo\-Seq\-Pop\-Eval}!peoSeqPopEval@{peoSeqPopEval}} -\index{peoSeqPopEval@{peoSeqPopEval}!peoSeqPopEval@{peo\-Seq\-Pop\-Eval}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \bf{peo\-Seq\-Pop\-Eval}$<$ EOT $>$::\bf{peo\-Seq\-Pop\-Eval} (eo\-Eval\-Func$<$ EOT $>$ \& {\em \_\-\_\-eval})}\label{classpeo_seq_pop_eval_a41f91ab4b2aeb325ff75feb66d4e003} - - -Constructor function - it only sets an internal reference to point to the specified evaluation object. - -\begin{Desc} -\item[Parameters:] -\begin{description} -\item[{\em eo\-Eval\-Func$<$}]EOT $>$\& \_\-\_\-eval - evaluation object to be applied for each individual of a specified population \end{description} -\end{Desc} - - -Definition at line 56 of file peo\-Seq\-Pop\-Eval.h. - -\subsection{Member Function Documentation} -\index{peoSeqPopEval@{peo\-Seq\-Pop\-Eval}!operator()@{operator()}} -\index{operator()@{operator()}!peoSeqPopEval@{peo\-Seq\-Pop\-Eval}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Seq\-Pop\-Eval}$<$ EOT $>$::operator() (eo\-Pop$<$ EOT $>$ \& {\em \_\-\_\-pop})\hspace{0.3cm}{\tt [virtual]}}\label{classpeo_seq_pop_eval_b2c88b9a3ad9091949acf741844eb02f} - - -Operator for evaluating all the individuals of a given population - in a sequential iterative manner. - -\begin{Desc} -\item[Parameters:] -\begin{description} -\item[{\em eo\-Pop$<$}]EOT $>$\& \_\-\_\-pop - population to be evaluated. \end{description} -\end{Desc} - - -Implements \bf{peo\-Pop\-Eval$<$ EOT $>$} \doxyref{p.}{classpeo_pop_eval_2f208067a5e39c3b26c1234050a41e8f}. - -Definition at line 61 of file peo\-Seq\-Pop\-Eval.h. - -References peo\-Seq\-Pop\-Eval$<$ EOT $>$::eval. - -The documentation for this class was generated from the following file:\begin{CompactItemize} -\item -peo\-Seq\-Pop\-Eval.h\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_seq_transform.eps b/trunk/paradiseo-peo/examples/latex/classpeo_seq_transform.eps deleted file mode 100755 index 2b86c8a2d..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_seq_transform.eps +++ /dev/null @@ -1,209 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 476.19 -%%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 1.05 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 4 def -/cols 1 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 -(peoSeqTransform< EOT >) cw -(peoTransform< EOT >) cw -(Service) cw -(Communicable) 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 ----- - - (peoSeqTransform< EOT >) 0 0 box - (peoTransform< EOT >) 0 1 box - (Service) 0 2 box - (Communicable) 0 3 box - -% ----- relations ----- - -solid -0 0 0 out -solid -1 0 1 in -solid -0 0 1 out -solid -1 0 2 in -solid -0 0 2 out -solid -1 0 3 in diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_seq_transform.tex b/trunk/paradiseo-peo/examples/latex/classpeo_seq_transform.tex deleted file mode 100755 index e09f045bf..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_seq_transform.tex +++ /dev/null @@ -1,93 +0,0 @@ -\section{peo\-Seq\-Transform$<$ EOT $>$ Class Template Reference} -\label{classpeo_seq_transform}\index{peoSeqTransform@{peoSeqTransform}} -The \doxyref{peo\-Seq\-Transform}{p.}{classpeo_seq_transform} represent a wrapper for offering the possibility of using EO derived transform operators along with the Paradis\-EO evolutionary algorithms. - - -{\tt \#include $<$peo\-Seq\-Transform.h$>$} - -Inheritance diagram for peo\-Seq\-Transform$<$ EOT $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=4cm]{classpeo_seq_transform} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\bf{peo\-Seq\-Transform} (eo\-Transform$<$ EOT $>$ \&\_\-\_\-trans) -\begin{CompactList}\small\item\em Constructor function - sets an internal reference towards the specified EO-derived transform object. \item\end{CompactList}\item -void \bf{operator()} (eo\-Pop$<$ EOT $>$ \&\_\-\_\-pop) -\begin{CompactList}\small\item\em Operator for applying the specified transform operators on each individual of the given population. \item\end{CompactList}\item -virtual void \bf{pack\-Data} ()\label{classpeo_seq_transform_c4bf2724e9f6055f12bd169fad893be3} - -\begin{CompactList}\small\item\em Interface function for providing a link with the parallel architecture of the Paradis\-EO framework. \item\end{CompactList}\item -virtual void \bf{unpack\-Data} ()\label{classpeo_seq_transform_24e6cf15ef230ed538031b522ddd4ae6} - -\begin{CompactList}\small\item\em Interface function for providing a link with the parallel architecture of the Paradis\-EO framework. \item\end{CompactList}\item -virtual void \bf{execute} ()\label{classpeo_seq_transform_0294a2f9d6b44ec74d22eaceccdffc2b} - -\begin{CompactList}\small\item\em Interface function for providing a link with the parallel architecture of the Paradis\-EO framework. \item\end{CompactList}\item -virtual void \bf{pack\-Result} ()\label{classpeo_seq_transform_4861c61f9e46d83964ea8a156a9a3ee0} - -\begin{CompactList}\small\item\em Interface function for providing a link with the parallel architecture of the Paradis\-EO framework. \item\end{CompactList}\item -virtual void \bf{unpack\-Result} ()\label{classpeo_seq_transform_5dd029fc011eb2a810ca1140025129b1} - -\begin{CompactList}\small\item\em Interface function for providing a link with the parallel architecture of the Paradis\-EO framework. \item\end{CompactList}\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -eo\-Transform$<$ EOT $>$ \& \bf{trans}\label{classpeo_seq_transform_ad3e16c59dd6c46dfc1baf7b88af30cf} - -\end{CompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Seq\-Transform$<$ EOT $>$} - -The \doxyref{peo\-Seq\-Transform}{p.}{classpeo_seq_transform} represent a wrapper for offering the possibility of using EO derived transform operators along with the Paradis\-EO evolutionary algorithms. - -A minimal set of interface functions is also provided for creating the link with the parallel architecture of the Paradis\-EO framework. - - - -Definition at line 35 of file peo\-Seq\-Transform.h. - -\subsection{Constructor \& Destructor Documentation} -\index{peoSeqTransform@{peo\-Seq\-Transform}!peoSeqTransform@{peoSeqTransform}} -\index{peoSeqTransform@{peoSeqTransform}!peoSeqTransform@{peo\-Seq\-Transform}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \bf{peo\-Seq\-Transform}$<$ EOT $>$::\bf{peo\-Seq\-Transform} (eo\-Transform$<$ EOT $>$ \& {\em \_\-\_\-trans})}\label{classpeo_seq_transform_3b8e4ed19d9458938eb669d83a53c626} - - -Constructor function - sets an internal reference towards the specified EO-derived transform object. - -\begin{Desc} -\item[Parameters:] -\begin{description} -\item[{\em eo\-Transform$<$}]EOT $>$\& \_\-\_\-trans - EO-derived transform object including crossover and mutation operators. \end{description} -\end{Desc} - - -Definition at line 70 of file peo\-Seq\-Transform.h. - -\subsection{Member Function Documentation} -\index{peoSeqTransform@{peo\-Seq\-Transform}!operator()@{operator()}} -\index{operator()@{operator()}!peoSeqTransform@{peo\-Seq\-Transform}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Seq\-Transform}$<$ EOT $>$::operator() (eo\-Pop$<$ EOT $>$ \& {\em \_\-\_\-pop})}\label{classpeo_seq_transform_1ba63536abb6c4e1c369e0b7e066872e} - - -Operator for applying the specified transform operators on each individual of the given population. - -\begin{Desc} -\item[Parameters:] -\begin{description} -\item[{\em eo\-Pop$<$}]EOT $>$\& \_\-\_\-pop - population to be transformed by applying the crossover and mutation operators. \end{description} -\end{Desc} - - -Definition at line 75 of file peo\-Seq\-Transform.h. - -References peo\-Seq\-Transform$<$ EOT $>$::trans. - -The documentation for this class was generated from the following file:\begin{CompactItemize} -\item -peo\-Seq\-Transform.h\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_sync_island_mig.eps b/trunk/paradiseo-peo/examples/latex/classpeo_sync_island_mig.eps deleted file mode 100755 index ce426eb0b..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_sync_island_mig.eps +++ /dev/null @@ -1,203 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 346.821 -%%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 1.44167 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 3 def -/cols 1 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 -(peoSyncIslandMig< EOT >) cw -(Cooperative) cw -(Communicable) 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 ----- - - (peoSyncIslandMig< EOT >) 0 0 box - (Cooperative) 0 1 box - (Communicable) 0 2 box - -% ----- relations ----- - -solid -0 0 0 out -solid -1 0 1 in -solid -0 0 1 out -solid -1 0 2 in diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_sync_island_mig.tex b/trunk/paradiseo-peo/examples/latex/classpeo_sync_island_mig.tex deleted file mode 100755 index 42725fc27..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_sync_island_mig.tex +++ /dev/null @@ -1,189 +0,0 @@ -\section{peo\-Sync\-Island\-Mig$<$ EOT $>$ Class Template Reference} -\label{classpeo_sync_island_mig}\index{peoSyncIslandMig@{peoSyncIslandMig}} -The \doxyref{peo\-Sync\-Island\-Mig}{p.}{classpeo_sync_island_mig} class offers the elementary basis for implementating a synchronous island migration model - requires the specification of several basic parameters, i.e. - - -{\tt \#include $<$peo\-Sync\-Island\-Mig.h$>$} - -Inheritance diagram for peo\-Sync\-Island\-Mig$<$ EOT $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{classpeo_sync_island_mig} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\bf{peo\-Sync\-Island\-Mig} (unsigned \_\-\_\-frequency, eo\-Select$<$ EOT $>$ \&\_\-\_\-select, eo\-Replacement$<$ EOT $>$ \&\_\-\_\-replace, \bf{Topology} \&\_\-\_\-topology, eo\-Pop$<$ EOT $>$ \&\_\-\_\-source, eo\-Pop$<$ EOT $>$ \&\_\-\_\-destination) -\begin{CompactList}\small\item\em Constructor for the \doxyref{peo\-Sync\-Island\-Mig}{p.}{classpeo_sync_island_mig} class; the characteristics of the migration model are defined through the specified parameters - out of the box objects provided in EO, etc., or custom, derived objects may be passed as parameters. \item\end{CompactList}\item -void \bf{operator()} () -\begin{CompactList}\small\item\em Function operator to be called as checkpoint for performing the migration step. \item\end{CompactList}\item -void \bf{pack} ()\label{classpeo_sync_island_mig_e334188141eeba9f7b78bc6716f819ad} - -\begin{CompactList}\small\item\em Auxiliary function dealing with sending the emigrant individuals. There is no need to explicitly call the function. \item\end{CompactList}\item -void \bf{unpack} ()\label{classpeo_sync_island_mig_85777bd9f709c5d4107799e8619948d1} - -\begin{CompactList}\small\item\em Auxiliary function dealing with receiving immigrant individuals. There is no need to explicitly call the function. \item\end{CompactList}\item -void \bf{notify\-Sending} ()\label{classpeo_sync_island_mig_8c427b3f91c19ff85f86930366b96008} - -\begin{CompactList}\small\item\em Auxiliary function dealing with migration notifications. There is no need to explicitly call the function. \item\end{CompactList}\end{CompactItemize} -\subsection*{Private Member Functions} -\begin{CompactItemize} -\item -void \bf{emigrate} ()\label{classpeo_sync_island_mig_4c8416e3acce1a6e4c3b0a442d94b063} - -\item -void \bf{immigrate} ()\label{classpeo_sync_island_mig_38dd72312a3d16808af1aa7beb9ed4a7} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -eo\-Periodic\-Continue$<$ EOT $>$ \bf{cont}\label{classpeo_sync_island_mig_2d8ae9104376f3e073e0b250d9b425a2} - -\item -eo\-Select$<$ EOT $>$ \& \bf{select}\label{classpeo_sync_island_mig_5e9c9f5f65d6418ad46e647ee1804a3d} - -\item -eo\-Replacement$<$ EOT $>$ \& \bf{replace}\label{classpeo_sync_island_mig_cb6d2d909503a86415912900d6e1d891} - -\item -\bf{Topology} \& \bf{topology}\label{classpeo_sync_island_mig_ebfe6edb6be16d46bf6d71cb233fcace} - -\item -eo\-Pop$<$ EOT $>$ \& \bf{source}\label{classpeo_sync_island_mig_33fde1f09faf2a3f772d8b8f6a2615c6} - -\item -eo\-Pop$<$ EOT $>$ \& \bf{destination}\label{classpeo_sync_island_mig_a9bf4612c7c04da6cf69245c6617e6a6} - -\item -std::queue$<$ eo\-Pop$<$ EOT $>$ $>$ \bf{imm}\label{classpeo_sync_island_mig_088c1623f32668dcd3683fceff9426c3} - -\item -std::queue$<$ eo\-Pop$<$ EOT $>$ $>$ \bf{em}\label{classpeo_sync_island_mig_11d6dd3e4a6db710433f501af0988322} - -\item -std::queue$<$ \bf{Cooperative} $\ast$ $>$ \bf{coop\_\-em}\label{classpeo_sync_island_mig_2f7ca18d67ab7fb47a9851ab3179eb7d} - -\item -sem\_\-t \bf{sync}\label{classpeo_sync_island_mig_91e0e1ea59c2a6a66eb496bddd60a18f} - -\end{CompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Sync\-Island\-Mig$<$ EOT $>$} - -The \doxyref{peo\-Sync\-Island\-Mig}{p.}{classpeo_sync_island_mig} class offers the elementary basis for implementating a synchronous island migration model - requires the specification of several basic parameters, i.e. - -frequency of the migrations, selection and replacement strategies, a topological model and the source and destination population for the migrating individuals. The main difference as opposed to the asynchronous migration model is the synchronization step performed after selecting and sending the emigrant individuals. - -The migration operator is called at the end of each generation of an evolutionary algorithms as a checkpoint object - the following code exposes the structure of a classic evolutionary algorithm: - -\begin{TabularC}{2} -\hline -{\bf do} \{ ~ &~ \\\hline -~~~~~~~~ select( population, offsprings ); ~ &// select the offsprings from the current population \\\hline -~~~~~~~~ transform( offsprings ); ~ &// crossover and mutation operators are applied on the selected offsprings \\\hline -~~~~~~~~ evaluate( offsprings ); ~ &// evaluation step of the resulting offspring \\\hline -~~~~~~~~ replace( population, offsprings ); ~ &// replace the individuals in the current population whith individuals from the offspring population, according to a specified replacement strategy \\\hline -\} {\bf while} ( ea\-Checkpoint\-Continue( population ) ); ~ &// checkpoint operators are applied on the current population, including the migration operator, if any specified \\\hline -\end{TabularC} - - -Constructing a synchronous island migration model requires having defined (1) a topological migration model, (2) the control parameters of the migration process, (3) a checkpoint object associated with an evolutionary algorithm, and (4) an owner object must be set. The owner object must be derived from the {\bf \doxyref{Runner}{p.}{class_runner}} class (for example a \doxyref{peo\-EA}{p.}{classpeo_e_a} object represents a possible owner). A simple example is offered bellow: - -\begin{enumerate} -\item topological model to be followed when performing migrations: \par - \par - \begin{TabularC}{2} -\hline -\doxyref{Ring\-Topology}{p.}{class_ring_topology} mig\-Topology; ~ &// a simple ring topological model - each island communicates with two other islands \\\hline -\end{TabularC} - - -\item the continuation criterion, selection and replacement strategy etc. are defined: \par - \par - \begin{TabularC}{2} -\hline -eo\-Pop$<$ EOT $>$ population( POP\_\-SIZE, pop\-Initializer ); ~ &// population of individuals to be used for the evolutionary algorithm \\\hline -~ &~ \\\hline -eo\-Random\-Select$<$ EOT $>$ mig\-Select\-Strategy; ~ &// selection strategy - in this case a random selection is applied \\\hline -eo\-Select\-Number$<$ EOT $>$ mig\-Select( mig\-Select\-Strategy, MIG\_\-SIZE ); ~ &// number of individuals to be selected using the specified strategy \\\hline -eo\-Plus\-Replacement$<$ EOT $>$ mig\-Replace; ~ &// immigration strategy - the worse individuals in the destination population are replaced by the immigrant individuals \\\hline -~ &~ \\\hline -peo\-Sync\-Island\-Mig$<$ EOT $>$ sync\-Migration( \par - ~~~~~~~~ MIG\_\-FREQ, mig\-Select, mig\-Replace, mig\-Topology, \par - ~~~~~~~~ population, population \par - ); ~ &// synchronous migration object - the emigrant individuals are selected from the same from population in which the immigrant individuals are being integrated \\\hline -\end{TabularC} - - -\item creation of a checkpoint object as part of the definition of an evolutionary algoritm (details of th EA not given as being out of scope): \par - \par - \begin{TabularC}{2} -\hline -... ~ &~ \\\hline -eo\-Gen\-Continue$<$ EOT $>$ ea\-Cont( NUM\_\-GEN ); ~ &// the evolutionary algorithm will stop after NUM\_\-GEN generations \\\hline -eo\-Check\-Point$<$ EOT $>$ ea\-Checkpoint\-Continue( ea\-Cont ); ~ &// number of individuals to be selected using the specified strategy \\\hline -... ~ &~ \\\hline -ea\-Checkpoint\-Continue.add( sync\-Migration ); ~ &// adding the migration operator as checkpoint element \\\hline -... ~ &~ \\\hline -\end{TabularC} - - -\item definition of an owner evolutionary algorithm (an object inheriting the {\bf \doxyref{Runner}{p.}{class_runner}} class): \par - \par - \begin{TabularC}{2} -\hline -peo\-EA$<$ EOT $>$ ea\-Alg( ea\-Checkpoint\-Continue, ea\-Pop\-Eval, ea\-Select, ea\-Transform, ea\-Replace); ~ &// evolutionary algorithm having as checkpoint the ea\-Checkpoint\-Continue object defined above \\\hline -sync\-Migration.set\-Owner( ea\-Alg ); ~ &// setting the evolutionary algorithm as owner of the migration object \\\hline -ea\-Alg( population ); ~ &// applying the evolutionary algorithm on a given population \\\hline -\end{TabularC} -\end{enumerate} - - -The source and the destination population for the migration object were specified as being the same, in step no. 2, as we are usually interested in selecting the emigrants and integrating the immigrant individuals from and in, respectively, one unique population, iteratively evolved by an evolutionary algorithm. There is no restriction in having two distinct populations as source and destination for the emigrant and immigrant individuals respectively. - -The above steps only create a synchronous migration object associated to an evolutionary algorithm. The creation of several islands requires the reiteration of the steps 2 through 4 for creating distinct algorithms, with distinct populations and the associated distinctly parametrized migration objects. The interconnecting element is the underlying topology, defined at step 1 (the same C++ mig\-Topology object has to be passed as parameter for all the migration objects, in order to interconnect them). - - - -Definition at line 129 of file peo\-Sync\-Island\-Mig.h. - -\subsection{Constructor \& Destructor Documentation} -\index{peoSyncIslandMig@{peo\-Sync\-Island\-Mig}!peoSyncIslandMig@{peoSyncIslandMig}} -\index{peoSyncIslandMig@{peoSyncIslandMig}!peoSyncIslandMig@{peo\-Sync\-Island\-Mig}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \bf{peo\-Sync\-Island\-Mig}$<$ EOT $>$::\bf{peo\-Sync\-Island\-Mig} (unsigned {\em \_\-\_\-frequency}, eo\-Select$<$ EOT $>$ \& {\em \_\-\_\-select}, eo\-Replacement$<$ EOT $>$ \& {\em \_\-\_\-replace}, \bf{Topology} \& {\em \_\-\_\-topology}, eo\-Pop$<$ EOT $>$ \& {\em \_\-\_\-source}, eo\-Pop$<$ EOT $>$ \& {\em \_\-\_\-destination})}\label{classpeo_sync_island_mig_96b7b6de20b5e318a8b1cde76842305c} - - -Constructor for the \doxyref{peo\-Sync\-Island\-Mig}{p.}{classpeo_sync_island_mig} class; the characteristics of the migration model are defined through the specified parameters - out of the box objects provided in EO, etc., or custom, derived objects may be passed as parameters. - -\begin{Desc} -\item[Parameters:] -\begin{description} -\item[{\em unsigned}]\_\-\_\-frequency - frequency of the migrations - the migrations occur periodically; \item[{\em eo\-Select$<$}]EOT $>$\& \_\-\_\-select - selection strategy to be applied for constructing a list of emigrant individuals out of the source population; \item[{\em eo\-Replacement$<$}]EOT $>$\& \_\-\_\-replace - replacement strategy used for integrating the immigrant individuals in the destination population; \item[{\em Topology\&}]\_\-\_\-topology - topological model to be followed when performing migrations; \item[{\em eo\-Pop$<$}]EOT $>$\& \_\-\_\-source - source population from which the emigrant individuals are selected; \item[{\em eo\-Pop$<$}]EOT $>$\& \_\-\_\-destination - destination population in which the immigrant population are integrated. \end{description} -\end{Desc} - - -Definition at line 193 of file peo\-Sync\-Island\-Mig.h. - -References Topology::add(), and peo\-Sync\-Island\-Mig$<$ EOT $>$::sync. - -\subsection{Member Function Documentation} -\index{peoSyncIslandMig@{peo\-Sync\-Island\-Mig}!operator()@{operator()}} -\index{operator()@{operator()}!peoSyncIslandMig@{peo\-Sync\-Island\-Mig}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Sync\-Island\-Mig}$<$ EOT $>$::operator() ()}\label{classpeo_sync_island_mig_178476fd276f78b73607b33d19522c36} - - -Function operator to be called as checkpoint for performing the migration step. - -The emigrant individuals are selected from the source population and sent to the next island (defined by the topology object) while the immigrant individuals are integrated in the destination population. There is no need to explicitly call the function - the wrapper checkpoint object (please refer to the above example) will perform the call when required. - -Definition at line 267 of file peo\-Sync\-Island\-Mig.h. - -References peo\-Sync\-Island\-Mig$<$ EOT $>$::cont, peo\-Sync\-Island\-Mig$<$ EOT $>$::emigrate(), Cooperative::get\-Owner(), peo\-Sync\-Island\-Mig$<$ EOT $>$::immigrate(), Thread::set\-Active(), peo\-Sync\-Island\-Mig$<$ EOT $>$::source, Communicable::stop(), and peo\-Sync\-Island\-Mig$<$ EOT $>$::sync. - -The documentation for this class was generated from the following file:\begin{CompactItemize} -\item -peo\-Sync\-Island\-Mig.h\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_sync_multi_start.eps b/trunk/paradiseo-peo/examples/latex/classpeo_sync_multi_start.eps deleted file mode 100755 index 025e47565..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_sync_multi_start.eps +++ /dev/null @@ -1,203 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 348.837 -%%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 1.43333 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 3 def -/cols 1 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 -(peoSyncMultiStart< EOT >) cw -(Service) cw -(Communicable) 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 ----- - - (peoSyncMultiStart< EOT >) 0 0 box - (Service) 0 1 box - (Communicable) 0 2 box - -% ----- relations ----- - -solid -0 0 0 out -solid -1 0 1 in -solid -0 0 1 out -solid -1 0 2 in diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_sync_multi_start.tex b/trunk/paradiseo-peo/examples/latex/classpeo_sync_multi_start.tex deleted file mode 100755 index 79cdb625d..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_sync_multi_start.tex +++ /dev/null @@ -1,203 +0,0 @@ -\section{peo\-Sync\-Multi\-Start$<$ EOT $>$ Class Template Reference} -\label{classpeo_sync_multi_start}\index{peoSyncMultiStart@{peoSyncMultiStart}} -The \doxyref{peo\-Sync\-Multi\-Start}{p.}{classpeo_sync_multi_start} class provides the basis for implementing the synchronous multi-start model, for launching several solution-based algorithms in parallel on a specified initial population. - - -{\tt \#include $<$peo\-Sync\-Multi\-Start.h$>$} - -Inheritance diagram for peo\-Sync\-Multi\-Start$<$ EOT $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{classpeo_sync_multi_start} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\bf{peo\-Sync\-Multi\-Start} (eo\-Continue$<$ EOT $>$ \&\_\-\_\-cont, eo\-Select$<$ EOT $>$ \&\_\-\_\-select, eo\-Replacement$<$ EOT $>$ \&\_\-\_\-replace, mo\-Algo$<$ EOT $>$ \&\_\-\_\-ls, eo\-Pop$<$ EOT $>$ \&\_\-\_\-pop) -\begin{CompactList}\small\item\em Constructor function - several simple parameters are required for defining the characteristics of the multi-start model. \item\end{CompactList}\item -void \bf{operator()} () -\begin{CompactList}\small\item\em Operator which synchronously executes the specified algorithm on the individuals selected from the initial population. \item\end{CompactList}\item -void \bf{pack\-Data} () -\begin{CompactList}\small\item\em Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. \item\end{CompactList}\item -void \bf{unpack\-Data} () -\begin{CompactList}\small\item\em Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. \item\end{CompactList}\item -void \bf{execute} () -\begin{CompactList}\small\item\em Auxiliary function for actually executing the specified algorithm on one assigned individual. \item\end{CompactList}\item -void \bf{pack\-Result} () -\begin{CompactList}\small\item\em Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. \item\end{CompactList}\item -void \bf{unpack\-Result} () -\begin{CompactList}\small\item\em Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. \item\end{CompactList}\item -void \bf{notify\-Sending\-Data} () -\begin{CompactList}\small\item\em Auxiliary function for notifications between the process requesting the synchronous multi-start execution and the processes that performs the actual execution phase. \item\end{CompactList}\item -void \bf{notify\-Sending\-All\-Resource\-Requests} () -\begin{CompactList}\small\item\em Auxiliary function for notifications between the process requesting the synchronous multi-start execution and the processes that performs the actual execution phase. \item\end{CompactList}\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -eo\-Continue$<$ EOT $>$ \& \bf{cont}\label{classpeo_sync_multi_start_43f4fa9b125baef6fc8b968dfd16f437} - -\item -eo\-Select$<$ EOT $>$ \& \bf{select}\label{classpeo_sync_multi_start_8fc9a3d046023ddd077defec3c23ab3b} - -\item -eo\-Replacement$<$ EOT $>$ \& \bf{replace}\label{classpeo_sync_multi_start_a375ccea98e9bf2a0854dac27df4522f} - -\item -mo\-Algo$<$ EOT $>$ \& \bf{ls}\label{classpeo_sync_multi_start_4d317966de767dcc87eee0286ea7f95d} - -\item -eo\-Pop$<$ EOT $>$ \& \bf{pop}\label{classpeo_sync_multi_start_391178bd6b8a97a08ab4e345f070e967} - -\item -eo\-Pop$<$ EOT $>$ \bf{sel}\label{classpeo_sync_multi_start_dbcc1a069ec72ecd8d40c392640d84b3} - -\item -eo\-Pop$<$ EOT $>$ \bf{impr\_\-sel}\label{classpeo_sync_multi_start_ca10f6d258105e3c4f0d1660db5b7679} - -\item -EOT \bf{sol}\label{classpeo_sync_multi_start_2c2ebe46470d1425f0409897deab435b} - -\item -unsigned \bf{idx}\label{classpeo_sync_multi_start_64191ef79b7b589964ac9c3e23ae6718} - -\item -unsigned \bf{num\_\-term}\label{classpeo_sync_multi_start_773eb9097550d9444f25ca8f48997a30} - -\end{CompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Sync\-Multi\-Start$<$ EOT $>$} - -The \doxyref{peo\-Sync\-Multi\-Start}{p.}{classpeo_sync_multi_start} class provides the basis for implementing the synchronous multi-start model, for launching several solution-based algorithms in parallel on a specified initial population. - -As a simple example, several hill climbing algorithms may be synchronously launched on the specified population, each algorithm acting upon one individual only, the final result being integrated back in the population. A \doxyref{peo\-Sync\-Multi\-Start}{p.}{classpeo_sync_multi_start} object can be specified as checkpoint object for a classic Paradis\-EO evolutionary algorithm thus allowing for simple hybridization schemes which combine the evolutionary approach with a local search approach, for example, executed at the end of each generation. - - - -Definition at line 51 of file peo\-Sync\-Multi\-Start.h. - -\subsection{Constructor \& Destructor Documentation} -\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!peoSyncMultiStart@{peoSyncMultiStart}} -\index{peoSyncMultiStart@{peoSyncMultiStart}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \bf{peo\-Sync\-Multi\-Start}$<$ EOT $>$::\bf{peo\-Sync\-Multi\-Start} (eo\-Continue$<$ EOT $>$ \& {\em \_\-\_\-cont}, eo\-Select$<$ EOT $>$ \& {\em \_\-\_\-select}, eo\-Replacement$<$ EOT $>$ \& {\em \_\-\_\-replace}, mo\-Algo$<$ EOT $>$ \& {\em \_\-\_\-ls}, eo\-Pop$<$ EOT $>$ \& {\em \_\-\_\-pop})}\label{classpeo_sync_multi_start_d29f94aad3c1f443bfffc8b6aee0704c} - - -Constructor function - several simple parameters are required for defining the characteristics of the multi-start model. - -\begin{Desc} -\item[Parameters:] -\begin{description} -\item[{\em eo\-Continue$<$}]EOT $>$\& \_\-\_\-cont - defined for including further functionality - no semantics associated at this time; \item[{\em eo\-Select$<$}]EOT $>$\& \_\-\_\-select - selection strategy for obtaining a subset of the initial population on which to apply the specified algorithm; \item[{\em eo\-Replacement$<$}]EOT $>$\& \_\-\_\-replace - replacement strategy for integrating the resulting individuals in the initial population; \item[{\em mo\-Algo$<$}]EOT $>$\& \_\-\_\-ls - algorithm to be applied on each of the selected individuals - a {\bf mo\-Algo$<$ EOT $>$}-derived object must be specified; \item[{\em eo\-Pop$<$}]EOT $>$\& \_\-\_\-pop - the initial population from which the individuals are selected for applying the specified algorithm. \end{description} -\end{Desc} - - -Definition at line 121 of file peo\-Sync\-Multi\-Start.h. - -\subsection{Member Function Documentation} -\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!operator()@{operator()}} -\index{operator()@{operator()}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Sync\-Multi\-Start}$<$ EOT $>$::operator() ()}\label{classpeo_sync_multi_start_76385b33fe514f91cb83f0fbecbeb3c2} - - -Operator which synchronously executes the specified algorithm on the individuals selected from the initial population. - -There is no need to explicitly call the operator - automatically called as checkpoint operator. - -Definition at line 176 of file peo\-Sync\-Multi\-Start.h. - -References peo\-Sync\-Multi\-Start$<$ EOT $>$::idx, peo\-Sync\-Multi\-Start$<$ EOT $>$::impr\_\-sel, peo\-Sync\-Multi\-Start$<$ EOT $>$::num\_\-term, peo\-Sync\-Multi\-Start$<$ EOT $>$::pop, Service::request\-Resource\-Request(), peo\-Sync\-Multi\-Start$<$ EOT $>$::sel, peo\-Sync\-Multi\-Start$<$ EOT $>$::select, and Communicable::stop().\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!packData@{packData}} -\index{packData@{packData}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Sync\-Multi\-Start}$<$ EOT $>$::pack\-Data ()\hspace{0.3cm}{\tt [virtual]}}\label{classpeo_sync_multi_start_8becfab1922b64708dca5a53e2932a5a} - - -Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. - -There is no need to explicitly call the function. - -Reimplemented from \bf{Service} \doxyref{p.}{class_service_aea4b8f7f8fb88e83862ee4bfd9ab207}. - -Definition at line 135 of file peo\-Sync\-Multi\-Start.h. - -References peo\-Sync\-Multi\-Start$<$ EOT $>$::idx, and peo\-Sync\-Multi\-Start$<$ EOT $>$::sel.\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!unpackData@{unpackData}} -\index{unpackData@{unpackData}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Sync\-Multi\-Start}$<$ EOT $>$::unpack\-Data ()\hspace{0.3cm}{\tt [virtual]}}\label{classpeo_sync_multi_start_2903a441b77cded266b5fb651e17a5b5} - - -Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. - -There is no need to explicitly call the function. - -Reimplemented from \bf{Service} \doxyref{p.}{class_service_3bd87b444710813d30fd754d4d0b4df3}. - -Definition at line 141 of file peo\-Sync\-Multi\-Start.h. - -References peo\-Sync\-Multi\-Start$<$ EOT $>$::sol.\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!execute@{execute}} -\index{execute@{execute}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Sync\-Multi\-Start}$<$ EOT $>$::execute ()\hspace{0.3cm}{\tt [virtual]}}\label{classpeo_sync_multi_start_a4d1c2943c290de540800087b54dc49b} - - -Auxiliary function for actually executing the specified algorithm on one assigned individual. - -There is no need to explicitly call the function. - -Reimplemented from \bf{Service} \doxyref{p.}{class_service_e4f2894e6121e60f38d41cfbd7447ae4}. - -Definition at line 147 of file peo\-Sync\-Multi\-Start.h. - -References peo\-Sync\-Multi\-Start$<$ EOT $>$::ls, and peo\-Sync\-Multi\-Start$<$ EOT $>$::sol.\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!packResult@{packResult}} -\index{packResult@{packResult}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Sync\-Multi\-Start}$<$ EOT $>$::pack\-Result ()\hspace{0.3cm}{\tt [virtual]}}\label{classpeo_sync_multi_start_6c48eb0dae741cff7203b65e226f9616} - - -Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. - -There is no need to explicitly call the function. - -Reimplemented from \bf{Service} \doxyref{p.}{class_service_e5e4f90b2315e15c2a2913bd370f4cf5}. - -Definition at line 153 of file peo\-Sync\-Multi\-Start.h. - -References peo\-Sync\-Multi\-Start$<$ EOT $>$::sol.\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!unpackResult@{unpackResult}} -\index{unpackResult@{unpackResult}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Sync\-Multi\-Start}$<$ EOT $>$::unpack\-Result ()\hspace{0.3cm}{\tt [virtual]}}\label{classpeo_sync_multi_start_c3cbd1f10a89d1915c5ccf82a2c34a1d} - - -Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. - -There is no need to explicitly call the function. - -Reimplemented from \bf{Service} \doxyref{p.}{class_service_45c06344edbfa482b91f68e2035a6099}. - -Definition at line 159 of file peo\-Sync\-Multi\-Start.h. - -References Service::get\-Owner(), peo\-Sync\-Multi\-Start$<$ EOT $>$::impr\_\-sel, peo\-Sync\-Multi\-Start$<$ EOT $>$::num\_\-term, peo\-Sync\-Multi\-Start$<$ EOT $>$::pop, peo\-Sync\-Multi\-Start$<$ EOT $>$::replace, Communicable::resume(), peo\-Sync\-Multi\-Start$<$ EOT $>$::sel, Thread::set\-Active(), and peo\-Sync\-Multi\-Start$<$ EOT $>$::sol.\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!notifySendingData@{notifySendingData}} -\index{notifySendingData@{notifySendingData}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Sync\-Multi\-Start}$<$ EOT $>$::notify\-Sending\-Data ()\hspace{0.3cm}{\tt [virtual]}}\label{classpeo_sync_multi_start_32ec0d01d3fd8a9932abd68f4781fc94} - - -Auxiliary function for notifications between the process requesting the synchronous multi-start execution and the processes that performs the actual execution phase. - -There is no need to explicitly call the function. - -Reimplemented from \bf{Service} \doxyref{p.}{class_service_81ad4d6ebb50045b8977e2ab74826f30}. - -Definition at line 187 of file peo\-Sync\-Multi\-Start.h.\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!notifySendingAllResourceRequests@{notifySendingAllResourceRequests}} -\index{notifySendingAllResourceRequests@{notifySendingAllResourceRequests}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{peo\-Sync\-Multi\-Start}$<$ EOT $>$::notify\-Sending\-All\-Resource\-Requests ()\hspace{0.3cm}{\tt [virtual]}}\label{classpeo_sync_multi_start_fc90282cc4e93cdea8f82fd52dd78fb0} - - -Auxiliary function for notifications between the process requesting the synchronous multi-start execution and the processes that performs the actual execution phase. - -There is no need to explicitly call the function. - -Reimplemented from \bf{Service} \doxyref{p.}{class_service_f94cc8a5c2665d4574041737e61e9ffc}. - -Definition at line 192 of file peo\-Sync\-Multi\-Start.h. - -References Service::get\-Owner(), and Thread::set\-Passive(). - -The documentation for this class was generated from the following file:\begin{CompactItemize} -\item -peo\-Sync\-Multi\-Start.h\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_transform.eps b/trunk/paradiseo-peo/examples/latex/classpeo_transform.eps deleted file mode 100755 index 6dbaa126c..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_transform.eps +++ /dev/null @@ -1,215 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 200 -%%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 2.5 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 4 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 -(peoTransform< EOT >) cw -(Service) cw -(Communicable) cw -(peoParaSGATransform< EOT >) cw -(peoSeqTransform< EOT >) 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 ----- - - (peoTransform< EOT >) 0.5 1 box - (Service) 0.5 2 box - (Communicable) 0.5 3 box - (peoParaSGATransform< EOT >) 0 0 box - (peoSeqTransform< EOT >) 1 0 box - -% ----- relations ----- - -solid -0 0.5 1 out -solid -1 0.5 2 in -solid -0 0.5 2 out -solid -1 0.5 3 in -solid -1 0.5 0.25 out -solid -0 1 1 conn -solid -0 0 0.75 in -solid -0 1 0.75 in diff --git a/trunk/paradiseo-peo/examples/latex/classpeo_transform.tex b/trunk/paradiseo-peo/examples/latex/classpeo_transform.tex deleted file mode 100755 index c22eaa4a7..000000000 --- a/trunk/paradiseo-peo/examples/latex/classpeo_transform.tex +++ /dev/null @@ -1,27 +0,0 @@ -\section{peo\-Transform$<$ EOT $>$ Class Template Reference} -\label{classpeo_transform}\index{peoTransform@{peoTransform}} -The \doxyref{peo\-Transform}{p.}{classpeo_transform} class acts only as an interface for creating transform operators - for an example please refer to the {\bf \doxyref{peo\-Seq\-Transform}{p.}{classpeo_seq_transform}} and the {\bf \doxyref{peo\-Para\-SGATransform}{p.}{classpeo_para_s_g_a_transform}} classes. - - -{\tt \#include $<$peo\-Transform.h$>$} - -Inheritance diagram for peo\-Transform$<$ EOT $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=4cm]{classpeo_transform} -\end{center} -\end{figure} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Transform$<$ EOT $>$} - -The \doxyref{peo\-Transform}{p.}{classpeo_transform} class acts only as an interface for creating transform operators - for an example please refer to the {\bf \doxyref{peo\-Seq\-Transform}{p.}{classpeo_seq_transform}} and the {\bf \doxyref{peo\-Para\-SGATransform}{p.}{classpeo_para_s_g_a_transform}} classes. - - - -Definition at line 35 of file peo\-Transform.h. - -The documentation for this class was generated from the following file:\begin{CompactItemize} -\item -peo\-Transform.h\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/doxygen.sty b/trunk/paradiseo-peo/examples/latex/doxygen.sty deleted file mode 100755 index c84b98ab8..000000000 --- a/trunk/paradiseo-peo/examples/latex/doxygen.sty +++ /dev/null @@ -1,78 +0,0 @@ -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{doxygen} -\RequirePackage{calc} -\RequirePackage{array} -\pagestyle{fancyplain} -\newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}} -\renewcommand{\chaptermark}[1]{\markboth{#1}{}} -\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} -\lhead[\fancyplain{}{\bfseries\thepage}] - {\fancyplain{}{\bfseries\rightmark}} -\rhead[\fancyplain{}{\bfseries\leftmark}] - {\fancyplain{}{\bfseries\thepage}} -\rfoot[\fancyplain{}{\bfseries\scriptsize Generated on Fri Dec 22 16:54:58 2006 for Paradis\-EO by Doxygen }]{} -\lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Fri Dec 22 16:54:58 2006 for Paradis\-EO by Doxygen }} -\cfoot{} -\newenvironment{Code} -{\footnotesize} -{\normalsize} -\newcommand{\doxyref}[3]{\textbf{#1} (\textnormal{#2}\,\pageref{#3})} -\newenvironment{DocInclude} -{\footnotesize} -{\normalsize} -\newenvironment{VerbInclude} -{\footnotesize} -{\normalsize} -\newenvironment{Image} -{\begin{figure}[H]} -{\end{figure}} -\newenvironment{ImageNoCaption}{}{} -\newenvironment{CompactList} -{\begin{list}{}{ - \setlength{\leftmargin}{0.5cm} - \setlength{\itemsep}{0pt} - \setlength{\parsep}{0pt} - \setlength{\topsep}{0pt} - \renewcommand{\makelabel}{\hfill}}} -{\end{list}} -\newenvironment{CompactItemize} -{ - \begin{itemize} - \setlength{\itemsep}{-3pt} - \setlength{\parsep}{0pt} - \setlength{\topsep}{0pt} - \setlength{\partopsep}{0pt} -} -{\end{itemize}} -\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp} -\newlength{\tmplength} -\newenvironment{TabularC}[1] -{ -\setlength{\tmplength} - {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)} - \par\begin{tabular*}{\linewidth} - {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|} -} -{\end{tabular*}\par} -\newcommand{\entrylabel}[1]{ - {\parbox[b]{\labelwidth-4pt}{\makebox[0pt][l]{\textbf{#1}}\vspace{1.5\baselineskip}}}} -\newenvironment{Desc} -{\begin{list}{} - { - \settowidth{\labelwidth}{40pt} - \setlength{\leftmargin}{\labelwidth} - \setlength{\parsep}{0pt} - \setlength{\itemsep}{-4pt} - \renewcommand{\makelabel}{\entrylabel} - } -} -{\end{list}} -\newenvironment{Indent} - {\begin{list}{}{\setlength{\leftmargin}{0.5cm}} - \item[]\ignorespaces} - {\unskip\end{list}} -\setlength{\parindent}{0cm} -\setlength{\parskip}{0.2cm} -\addtocounter{secnumdepth}{1} -\sloppy -\usepackage[T1]{fontenc} diff --git a/trunk/paradiseo-peo/examples/latex/hierarchy.tex b/trunk/paradiseo-peo/examples/latex/hierarchy.tex deleted file mode 100755 index 7000e71a8..000000000 --- a/trunk/paradiseo-peo/examples/latex/hierarchy.tex +++ /dev/null @@ -1,66 +0,0 @@ -\section{Paradis\-EO Class Hierarchy} -This inheritance list is sorted roughly, but not completely, alphabetically:\begin{CompactList} -\item \contentsline{section}{City\-Swap}{\pageref{class_city_swap}}{} -\item \contentsline{section}{Communicable}{\pageref{class_communicable}}{} -\begin{CompactList} -\item \contentsline{section}{Cooperative}{\pageref{class_cooperative}}{} -\begin{CompactList} -\item \contentsline{section}{peo\-Async\-Island\-Mig$<$ EOT $>$}{\pageref{classpeo_async_island_mig}}{} -\item \contentsline{section}{peo\-Sync\-Island\-Mig$<$ EOT $>$}{\pageref{classpeo_sync_island_mig}}{} -\end{CompactList} -\item \contentsline{section}{Runner}{\pageref{class_runner}}{} -\begin{CompactList} -\item \contentsline{section}{peo\-EA$<$ EOT $>$}{\pageref{classpeo_e_a}}{} -\end{CompactList} -\item \contentsline{section}{Service}{\pageref{class_service}}{} -\begin{CompactList} -\item \contentsline{section}{peo\-Pop\-Eval$<$ EOT $>$}{\pageref{classpeo_pop_eval}}{} -\begin{CompactList} -\item \contentsline{section}{peo\-Para\-Pop\-Eval$<$ EOT $>$}{\pageref{classpeo_para_pop_eval}}{} -\item \contentsline{section}{peo\-Seq\-Pop\-Eval$<$ EOT $>$}{\pageref{classpeo_seq_pop_eval}}{} -\end{CompactList} -\item \contentsline{section}{peo\-Sync\-Multi\-Start$<$ EOT $>$}{\pageref{classpeo_sync_multi_start}}{} -\item \contentsline{section}{peo\-Transform$<$ EOT $>$}{\pageref{classpeo_transform}}{} -\begin{CompactList} -\item \contentsline{section}{peo\-Para\-SGATransform$<$ EOT $>$}{\pageref{classpeo_para_s_g_a_transform}}{} -\item \contentsline{section}{peo\-Seq\-Transform$<$ EOT $>$}{\pageref{classpeo_seq_transform}}{} -\end{CompactList} -\end{CompactList} -\item \contentsline{section}{Worker}{\pageref{class_worker}}{} -\end{CompactList} -\item \contentsline{section}{Display\-Best\-Route}{\pageref{class_display_best_route}}{} -\item \contentsline{section}{Edge\-Xover}{\pageref{class_edge_xover}}{} -\item eo\-BF\begin{CompactList} -\item \contentsline{section}{peo\-Agg\-Eval\-Func$<$ eo\-Vector$<$ int, Node $>$ $>$}{\pageref{classpeo_agg_eval_func}}{} -\end{CompactList} -\item \contentsline{section}{Node}{\pageref{struct_node}}{} -\item \contentsline{section}{Order\-Xover}{\pageref{class_order_xover}}{} -\item \contentsline{section}{Partial\-Mapped\-Xover}{\pageref{class_partial_mapped_xover}}{} -\item \contentsline{section}{Part\-Route\-Eval}{\pageref{class_part_route_eval}}{} -\item \contentsline{section}{peo\-Agg\-Eval\-Func$<$ EOT $>$}{\pageref{classpeo_agg_eval_func}}{} -\begin{CompactList} -\item \contentsline{section}{Merge\-Route\-Eval}{\pageref{class_merge_route_eval}}{} -\item \contentsline{section}{peo\-No\-Agg\-Eval\-Func$<$ EOT $>$}{\pageref{classpeo_no_agg_eval_func}}{} -\end{CompactList} -\item \contentsline{section}{Route\-Eval}{\pageref{class_route_eval}}{} -\item \contentsline{section}{Route\-Init}{\pageref{class_route_init}}{} -\item \contentsline{section}{SEND\_\-REQUEST}{\pageref{struct_s_e_n_d___r_e_q_u_e_s_t}}{} -\item \contentsline{section}{Thread}{\pageref{class_thread}}{} -\begin{CompactList} -\item \contentsline{section}{Reactive\-Thread}{\pageref{class_reactive_thread}}{} -\begin{CompactList} -\item \contentsline{section}{Communicator}{\pageref{class_communicator}}{} -\item \contentsline{section}{Worker}{\pageref{class_worker}}{} -\end{CompactList} -\item \contentsline{section}{Runner}{\pageref{class_runner}}{} -\end{CompactList} -\item \contentsline{section}{Topology}{\pageref{class_topology}}{} -\begin{CompactList} -\item \contentsline{section}{Ring\-Topology}{\pageref{class_ring_topology}}{} -\end{CompactList} -\item \contentsline{section}{Two\-Opt}{\pageref{class_two_opt}}{} -\item \contentsline{section}{Two\-Opt\-Incr\-Eval}{\pageref{class_two_opt_incr_eval}}{} -\item \contentsline{section}{Two\-Opt\-Init}{\pageref{class_two_opt_init}}{} -\item \contentsline{section}{Two\-Opt\-Next}{\pageref{class_two_opt_next}}{} -\item \contentsline{section}{Two\-Opt\-Rand}{\pageref{class_two_opt_rand}}{} -\end{CompactList} diff --git a/trunk/paradiseo-peo/examples/latex/main.tex b/trunk/paradiseo-peo/examples/latex/main.tex deleted file mode 100755 index 78fdbd411..000000000 --- a/trunk/paradiseo-peo/examples/latex/main.tex +++ /dev/null @@ -1,49 +0,0 @@ -\section{Introduction}\label{main_intro} -Paradis\-EO is a white-box object-oriented framework dedicated to the reusable design of parallel and distributed metaheuristics (PDM). Paradis\-EO provides a broad range of features including evolutionary algorithms (EA), local searches (LS), the most common parallel and distributed models and hybridization mechanisms, etc. This high content and utility encourages its use at European level. Paradis\-EO is based on a clear conceptual separation of the solution methods from the problems they are intended to solve. This separation confers to the user a maximum code and design reuse. Furthermore, the fine-grained nature of the classes provided by the framework allow a higher flexibility compared to other frameworks. Paradis\-EO is one of the rare frameworks that provide the most common parallel and distributed models. Their implementation is portable on distributed-memory machines as well as on shared-memory multiprocessors, as it uses standard libraries such as MPI, PVM and PThreads. The models can be exploited in a transparent way, one has just to instantiate their associated provided classes. Their experimentation on the radio network design real-world application demonstrate their efficiency. - -In practice, combinatorial optimization problems are often NP-hard, CPU time-consuming, and evolve over time. Unlike exact methods, metaheuristics allow to tackle large-size problems instances by delivering satisfactory solutions in a reasonable time. Metaheuristics are general-purpose heuristics that split in two categories: evolutionary algorithms (EA) and local search methods (LS). These two families have complementary characteristics: EA allow a better exploration of the search space, while LS have the power to intensify the search in promising regions. Their hybridization allows to deliver robust and better solutions - -Although serial metaheuristics have a polynomial temporal complexity, they remain unsatisfactory for industrial problems. Parallel and distributed computing is a powerful way to deal with the performance issue of these problems. Numerous parallel and distributed metaheuristics (PDM) and their implementations have been proposed, and are available on the\-Web. They can be reused and adapted to his/her own problems. However, the user has to deeply examine the code and rewrite its problem-specific sections. The task is tedious, errorprone, takes along time and makes harder the produced code maintenance. A better way to reuse the code of existing PDM is the reuse through libraries. These are often more reliable as they are more tested and documented. They allow a better maintainability and efficiency. However, libraries do not allow the reuse of design.\section{Parallel and distributed metaheuristics}\label{main_parallel_metaheuristics} -\subsection{Parallel distributed evolutionary algorithms}\label{main_parallel_distributed} -Evolutionary Algorithms (EA) are based on the iterative improvement of a population of solutions. At each step, individuals are selected, paired and recombined in order to generate new solutions that replace other ones, and so on. As the algorithm converges, the population is mainly composed of individuals well adapted to the \char`\"{}environment\char`\"{}, for instance the problem. The main features that characterize EA are the way the population is initialized, the selection strategy (deterministic/stochastic) by fostering \char`\"{}good\char`\"{} solutions, the replacement strategy that discards individuals, and the continuation/stopping criterion to decide whether the evolution should go on or not. - -Basically, three major parallel and distributed models for EA can been distinguished: the island (a)synchronous cooperative model, the parallel evaluation of the population, and the distributed evaluation of a single solution. \begin{itemize} -\item {\em Island (a)synchronous cooperative model\/}. Different EA are simultaneously deployed to cooperate for computing better and robust solutions. They exchange in an asynchronous way genetic stuff to diversify the search. The objective is to allow to delay the global convergence, especially when the\-EAare heterogeneous regarding the variation operators. The migration of individuals follows a policy defined by few parameters: the migration decision criterion, the exchange topology, the number of emigrants, the emigrants selection policy, and the replacement/integration policy. - -\item {\em Parallel evaluation of the population\/}. It is required as it is in general the most timeconsuming. The parallel evaluation follows the centralized model. The farmer applies the following operations: selection, transformation and replacement as they require a global management of the population. At each generation, it distributes the set of new solutions between differentworkers. These evaluate and return back the solutions and their quality values. An efficient execution is often obtained particularly when the evaluation of each solution is costly. The two main advantages of an asynchronous model over the synchronous model are: (1) the fault tolerance of the asynchronous model; (2) the robustness in case the fitness computation can take very different computation times (e.g. for nonlinear numerical optimization). Whereas some time-out detection can be used to address the former issue, the latter one can be partially overcome if the grain is set to very small values, as individuals will be sent out for evaluations upon request of the workers. - -\item {\em Distributed evaluation of a single solution\/}. The quality of each solution is evaluated in a parallel centralized way. That model is particularly interesting when the evaluation function can be itself parallelized as it is CPU time-consuming and/or IO intensive. In that case, the function can be viewed as an aggregation of a certain number of partial functions. The partial functions could also be identical if for example the problem to deal with is a data mining one. The evaluation is thus data parallel and the accesses to data base are performed in parallel. Furthermore, a reduction operation is performed on the results returned by the partial functions. As a summary, for this model the user has to indicate a set of partial functions and an aggregation operator of these. \end{itemize} -\subsection{Parallel distributed local searches}\label{main_parallel_ls} -\subsubsection{Local searches}\label{main_local_searches} -All metaheuristics dedicated to the improvement of a single solution are based on the concept of neighborhood. They start from a solution randomly generated or obtained from another optimization algorithm, and update it, step by step, by replacing the current solution by one of its neighboring candidates. Some criterion have been identified to differentiate such searches: the heuristic internal memory, the choice of the initial solution, the candidate solutions generator, and the selection strategy of candidate moves. Three main algorithms of local search stand out: Hill Climbing (HC), Simulated Annealing (SA) and Tabu Search (TS).\subsubsection{Parallel local searches}\label{main_parallel_local_searches} -Two parallel distributed models are commonly used in the literature: the parallel distributed exploration of neighboring candidate solutions model, and the multi-start model. \begin{itemize} -\item {\em Parallel exploration of neighboring candidates\/}. It is a low-level Farmer-Worker model that does not alter the behavior of the heuristic. A sequential search computes the same results slower.At the beginning of each iteration, the farmer duplicates the current solution between distributed nodes. Each one manages some candidates and the results are returned to the farmer. The model is efficient if the evaluation of a each solution is time-consuming and/or there are a great deal of candidate neighbors to evaluate. This is obviously not applicable to SA since only one candidate is evaluated at each iteration. Likewise, the efficiency of the model for HC is not always guaranteed as the number of neighboring solutions to process before finding one that improves the current objective function may be highly variable. - -\item {\em Multi-start model\/}. It consists in simultaneously launching several local searches. They may be heterogeneous, but no information is exchanged between them. The resultswould be identical as if the algorithms were sequentially run.Very often deterministic algorithms differ by the supplied initial solution and/or some other parameters. This trivial model is convenient for low-speed networks of workstations. \end{itemize} -\section{Hybridization}\label{main_hybridization} -Recently, hybrid metaheuristics have gained a considerable interest. For many practical or academic optimization problems, the best found solutions are obtained by hybrid algorithms. Combinations of different metaheuristics have provided very powerful search methods. Two levels and two modes of hybridization have been distinguished: Low and High levels, and Relay and \doxyref{Cooperative}{p.}{class_cooperative} modes. The low-level hybridization addresses the functional composition of a single optimization method. A function of a given metaheuristic is replaced by another metaheuristic. On the contrary, for high-level hybrid algorithms the different metaheuristics are self-containing, meaning no direct relationship to their internal working is considered. On the other hand, relay hybridization means a set of metaheuristics is applied in a pipeline way. The output of a metaheuristic (except the last) is the input of the following one (except the first). Conversely, co-evolutionist hybridization is a cooperative optimization model. Each metaheuristic performs a search in a solution space, and exchange solutions with others.\section{Paradiseo goals and architecture}\label{main_paradiseo_goals} -The \char`\"{}EO\char`\"{} part of Paradis\-EO means Evolving Objects. EO is a C++ LGPL open source framework and includes a paradigm-free Evolutionary Computation library (EOlib) dedicated to the flexible design of EA through evolving objects superseding the most common dialects (Genetic Algorithms, Evolution Strategies, Evolutionary Programming and Genetic Programming). Furthermore, EO integrates several services including visualization facilities, on-line definition of parameters, application check-pointing, etc. Paradis\-EO is an extended version of the EO framework. The extensions include local search methods, hybridization mechanisms, parallelism and distribution mechanisms, and other features that are not addressed in this paper such as multi-objective optimization and grid computing. In the next sections, we present the motivations and goals of Paradis\-EO, its architecture and some of its main implementation details and issues.\subsection{Motivations and goals}\label{main_motivation} -A framework is normally intended to be exploited by as many users as possible. Therefore, its exploitation could be successful only if some important user criteria are satisfied. The following criteria are the major of them and constitute the main objectives of the Paradis\-EO framework: - -\begin{itemize} -\item {\em Maximum design and code reuse\/}. The framework must provide for the user a whole architecture design of his/her solution method. Moreover, the programmer may redo as little code as possible. This objective requires a clear and maximal conceptual separation between the solution methods and the problems to be solved, and thus a deep domain analysis. The user might therefore develop only the minimal problem-specific code. - -\item {\em Flexibility and adaptability\/}. It must be possible for the user to easily add new features/ metaheuristics or change existing ones without implicating other components. Furthermore, as in practice existing problems evolve and new others arise these have to be tackled by specializing/adapting the framework components. - -\item {\em Utility\/}. The framework must allow the user to cover a broad range of metaheuristics, problems, parallel distributed models, hybridization mechanisms, etc. - -\item {\em Transparent and easy access to performance and robustness\/}. As the optimization applications are often time-consuming the performance issue is crucial. Parallelism and distribution are two important ways to achieve high performance execution. In order to facilitate its use it is implemented so that the user can deploy his/her parallel algorithms in a transparent manner. Moreover, the execution of the algorithms must be robust to guarantee the reliability and the quality of the results. The hybridization mechanism allows to obtain robust and better solutions. - -\item {\em Portability\/}. In order to satisfy a large number of users the framework must support different material architectures and their associated operating systems. \end{itemize} -\subsection{Paradis\-EO architecture}\label{main_architecture} -The architecture of Paradis\-EO is multi-layer and modular allowing to achieve the objectives quoted above. This allows particularly a high flexibility and adaptability, an easier hybridization, and more code and design reuse. The architecture has three layers identifying three major categories of classes: {\em Solvers\/}, {\em Runners\/} and {\em Helpers\/}. \begin{itemize} -\item {\em Helpers\/}. Helpers are low-level classes that perform specific actions related to the evolution or search process. They are split in two categories: {\em Evolutionary helpers (EH)\/} and {\em Local search helpers (LSH)\/}. EH include mainly the transformation, selection and replacement operations, the evaluation function and the stopping criterion. LSH can be generic such as the neighborhood explorer class, or specific to the local search metaheuristic like the tabu list manager class in the Tabu Search solution method. On the other hand, there are some special helpers dedicated to the management of parallel and distributed models 2 and 3, such as the communicators that embody the communication services. - -Helpers cooperate between them and interact with the components of the upper layer i.e. the runners. The runners invoke the helpers through function parameters. Indeed, helpers have not their own data, but they work on the internal data of the runners. - -\item {\em Runners\/}. The Runners layer contains a set of classes that implement the metaheuristics themselves. They perform the run of the metaheuristics from the initial state or population to the final one. One can distinguish the {\em Evolutionary runners (ER)\/} such as genetic algorithms, evolution strategies, etc., and {\em Local search runners (LSR)\/} like tabu search, simulated annealing and hill climbing. Runners invoke the helpers to perform specific actions on their data. For instance, an ER may ask the fitness function evaluation helper to evaluate its population. An LSR asks the movement helper to perform a given movement on the current state. Furthermore, runners can be serial or parallel distributed. - -\item {\em Solvers\/}. Solvers are devoted to control the evolution process and/or the search. They generate the initial state (solution or population) and define the strategy for combining and sequencing different metaheuristics. Two types of solvers can be distinguished. {\em Single metaheuristic solvers (SMS)\/} and {\em Multiple metaheuristics solvers (MMS)\/}. SMSs are dedicated to the execution of only one metaheuristic.MMS are more complex as they control and sequence several metaheuristics that can be heterogeneous. Solvers interact with the user by getting the input data and delivering the output (best solution, statistics, etc). \end{itemize} - - -According to the generality of their embedded features, the classes of the architecture split in two major categories: {\em Provided classes\/} and {\em Required classes\/}. Provided classes embody the factored out part of the metaheuristics. They are generic, implemented in the framework, and ensure the control at run time. Required classes are those that must be supplied by the user. They encapsulate the problem-specific aspects of the application. These classes are fixed but not implemented in Paradis\-EO. The programmer has the burden to develop them using the OO specialization mechanism. \ No newline at end of file diff --git a/trunk/paradiseo-peo/examples/latex/namespacepeo.tex b/trunk/paradiseo-peo/examples/latex/namespacepeo.tex deleted file mode 100755 index 192ad2c07..000000000 --- a/trunk/paradiseo-peo/examples/latex/namespacepeo.tex +++ /dev/null @@ -1,34 +0,0 @@ -\section{peo Namespace Reference} -\label{namespacepeo}\index{peo@{peo}} - - -\subsection*{Functions} -\begin{CompactItemize} -\item -void \bf{finalize} ()\label{namespacepeo_f90478489cc92d1e6abb222179163a30} - -\item -void \bf{init} (int \&\_\-\_\-argc, char $\ast$$\ast$\&\_\-\_\-argv)\label{namespacepeo_8184c3b1f7eecc68f69bb8e8b872a7d3} - -\item -void \bf{load\-Parameters} (int \&\_\-\_\-argc, char $\ast$$\ast$\&\_\-\_\-argv)\label{namespacepeo_2b496ee9b81d9ae322ae6edb9a93dc71} - -\item -void \bf{run} ()\label{namespacepeo_10819b2d60b37477c6a89b60c595c67c} - -\end{CompactItemize} -\subsection*{Variables} -\begin{CompactItemize} -\item -int $\ast$ \bf{argc}\label{namespacepeo_18a3998ce8b39c4e1143914fdd07b3d2} - -\item -char $\ast$$\ast$$\ast$ \bf{argv}\label{namespacepeo_d07043237d4d923125e38860ba9bbe20} - -\item -int $\ast$ \bf{argc}\label{namespacepeo_18a3998ce8b39c4e1143914fdd07b3d2} - -\item -char $\ast$$\ast$$\ast$ \bf{argv}\label{namespacepeo_d07043237d4d923125e38860ba9bbe20} - -\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/namespaces.tex b/trunk/paradiseo-peo/examples/latex/namespaces.tex deleted file mode 100755 index 6dff22114..000000000 --- a/trunk/paradiseo-peo/examples/latex/namespaces.tex +++ /dev/null @@ -1,4 +0,0 @@ -\section{Paradis\-EO Namespace List} -Here is a list of all documented namespaces with brief descriptions:\begin{CompactList} -\item\contentsline{section}{\bf{peo} }{\pageref{namespacepeo}}{} -\end{CompactList} diff --git a/trunk/paradiseo-peo/examples/latex/refman.tex b/trunk/paradiseo-peo/examples/latex/refman.tex deleted file mode 100755 index 71ce901ae..000000000 --- a/trunk/paradiseo-peo/examples/latex/refman.tex +++ /dev/null @@ -1,80 +0,0 @@ -\documentclass[a4paper]{book} -\usepackage{a4wide} -\usepackage{makeidx} -\usepackage{fancyhdr} -\usepackage{graphicx} -\usepackage{multicol} -\usepackage{float} -\usepackage{textcomp} -\usepackage{alltt} -\usepackage{doxygen} -\makeindex -\setcounter{tocdepth}{1} -\renewcommand{\footrulewidth}{0.4pt} -\begin{document} -\begin{titlepage} -\vspace*{7cm} -\begin{center} -{\Large Paradis\-EO Reference Manual}\\ -\vspace*{1cm} -{\large Generated by Doxygen 1.4.7}\\ -\vspace*{0.5cm} -{\small Fri Dec 22 16:54:58 2006}\\ -\end{center} -\end{titlepage} -\clearemptydoublepage -\pagenumbering{roman} -\tableofcontents -\clearemptydoublepage -\pagenumbering{arabic} -\chapter{The Paradis\-EO Framework } -\label{index}\input{main} -\chapter{Paradis\-EO Namespace Index} -\input{namespaces} -\chapter{Paradis\-EO Hierarchical Index} -\input{hierarchy} -\chapter{Paradis\-EO Class Index} -\input{annotated} -\chapter{Paradis\-EO Namespace Documentation} -\input{namespacepeo} -\chapter{Paradis\-EO Class Documentation} -\input{class_city_swap} -\include{class_communicable} -\include{class_communicator} -\include{class_cooperative} -\include{class_display_best_route} -\include{class_edge_xover} -\include{class_merge_route_eval} -\include{struct_node} -\include{class_order_xover} -\include{class_partial_mapped_xover} -\include{class_part_route_eval} -\include{classpeo_agg_eval_func} -\include{classpeo_async_island_mig} -\include{classpeo_e_a} -\include{classpeo_no_agg_eval_func} -\include{classpeo_para_pop_eval} -\include{classpeo_para_s_g_a_transform} -\include{classpeo_pop_eval} -\include{classpeo_seq_pop_eval} -\include{classpeo_seq_transform} -\include{classpeo_sync_island_mig} -\include{classpeo_sync_multi_start} -\include{classpeo_transform} -\include{class_reactive_thread} -\include{class_ring_topology} -\include{class_route_eval} -\include{class_route_init} -\include{class_runner} -\include{struct_s_e_n_d___r_e_q_u_e_s_t} -\include{class_service} -\include{class_thread} -\include{class_topology} -\include{class_two_opt} -\include{class_two_opt_incr_eval} -\include{class_two_opt_init} -\include{class_two_opt_next} -\include{class_two_opt_rand} -\include{class_worker} -\printindex -\end{document} diff --git a/trunk/paradiseo-peo/examples/latex/struct_node.tex b/trunk/paradiseo-peo/examples/latex/struct_node.tex deleted file mode 100755 index 729fad9da..000000000 --- a/trunk/paradiseo-peo/examples/latex/struct_node.tex +++ /dev/null @@ -1,32 +0,0 @@ -\section{Node Struct Reference} -\label{struct_node}\index{Node@{Node}} -\subsection*{Public Attributes} -\begin{CompactItemize} -\item -RANK\_\-ID \bf{rk}\label{struct_node_7de6f254b6b8c3f9f8287af0bb742e9b} - -\item -std::string \bf{name}\label{struct_node_3c4318d71ca9a44fe33edcf8b7f26863} - -\item -unsigned \bf{num\_\-workers}\label{struct_node_01fec86d75332858b158c810d57caee3} - -\item -int \bf{rk\_\-sched}\label{struct_node_98deed2036c3dd8fc0f4fe8dacf56a92} - -\item -std::vector$<$ RUNNER\_\-ID $>$ \bf{id\_\-run}\label{struct_node_a90013b890888d3d252a71cb4fe48934} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 35 of file schema.h. - -The documentation for this struct was generated from the following file:\begin{CompactItemize} -\item -schema.h\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/latex/struct_s_e_n_d___r_e_q_u_e_s_t.tex b/trunk/paradiseo-peo/examples/latex/struct_s_e_n_d___r_e_q_u_e_s_t.tex deleted file mode 100755 index 2136b479e..000000000 --- a/trunk/paradiseo-peo/examples/latex/struct_s_e_n_d___r_e_q_u_e_s_t.tex +++ /dev/null @@ -1,26 +0,0 @@ -\section{SEND\_\-REQUEST Struct Reference} -\label{struct_s_e_n_d___r_e_q_u_e_s_t}\index{SEND_REQUEST@{SEND\_\-REQUEST}} -\subsection*{Public Attributes} -\begin{CompactItemize} -\item -\bf{Communicable} $\ast$ \bf{comm}\label{struct_s_e_n_d___r_e_q_u_e_s_t_1ad8f7233fa3ff13262e783a9153920f} - -\item -int \bf{to}\label{struct_s_e_n_d___r_e_q_u_e_s_t_93e2a6a71d2a91aa2b7bdd050ee59b4d} - -\item -int \bf{tag}\label{struct_s_e_n_d___r_e_q_u_e_s_t_3126b3ef9d6533d3086760e413a7f23f} - -\end{CompactItemize} - - -\subsection{Detailed Description} - - - - -Definition at line 39 of file send.cpp. - -The documentation for this struct was generated from the following file:\begin{CompactItemize} -\item -send.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-peo/examples/lesson1/Makefile.am b/trunk/paradiseo-peo/examples/lesson1/Makefile.am deleted file mode 100755 index 206ce2f9e..000000000 --- a/trunk/paradiseo-peo/examples/lesson1/Makefile.am +++ /dev/null @@ -1,25 +0,0 @@ -CXX=mpicxx - -INCLUDES = \ - -I$(EO_DIR)/src/ \ - -I$(MO_DIR)/src/ \ - -I../../src/ - -AM_CXXFLAGS = \ - -Wall -g - -bin_PROGRAMS = \ - tspExample - -tspExample_SOURCES = \ - main.cpp - -tspExample_LDFLAGS = \ - -L$(EO_DIR)/src/ \ - -L$(EO_DIR)/src/utils \ - -L../../src/ \ - -L../../src/rmc/mpi/ \ - `xml2-config --libs` - -tspExample_LDADD = -lparadiseo -lrmc_mpi -leoutils -leo -ltsp_shared - diff --git a/trunk/paradiseo-peo/examples/lesson1/Makefile.in b/trunk/paradiseo-peo/examples/lesson1/Makefile.in deleted file mode 100755 index a4adcc916..000000000 --- a/trunk/paradiseo-peo/examples/lesson1/Makefile.in +++ /dev/null @@ -1,424 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = ../.. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -bin_PROGRAMS = tspExample$(EXEEXT) -subdir = examples/lesson1 -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_CLEAN_FILES = -am__installdirs = "$(DESTDIR)$(bindir)" -binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) -PROGRAMS = $(bin_PROGRAMS) -am_tspExample_OBJECTS = main.$(OBJEXT) -tspExample_OBJECTS = $(am_tspExample_OBJECTS) -tspExample_DEPENDENCIES = -DEFAULT_INCLUDES = -I. -I$(srcdir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ - -o $@ -SOURCES = $(tspExample_SOURCES) -DIST_SOURCES = $(tspExample_SOURCES) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = mpicxx -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EO_DIR = @EO_DIR@ -EXEEXT = @EXEEXT@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MOEO_DIR = @MOEO_DIR@ -MO_DIR = @MO_DIR@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -RANLIB = @RANLIB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build_alias = @build_alias@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host_alias = @host_alias@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -INCLUDES = \ - -I$(EO_DIR)/src/ \ - -I$(MO_DIR)/src/ \ - -I../../src/ - -AM_CXXFLAGS = \ - -Wall -g - -tspExample_SOURCES = \ - main.cpp - -tspExample_LDFLAGS = \ - -L$(EO_DIR)/src/ \ - -L$(EO_DIR)/src/utils \ - -L../../src/ \ - -L../../src/rmc/mpi/ \ - `xml2-config --libs` - -tspExample_LDADD = -lparadiseo -lrmc_mpi -leoutils -leo -ltsp_shared -all: all-am - -.SUFFIXES: -.SUFFIXES: .cpp .o .obj -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/lesson1/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu examples/lesson1/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - if test -f $$p \ - ; then \ - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ - echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ - $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ - else :; fi; \ - done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ - rm -f "$(DESTDIR)$(bindir)/$$f"; \ - done - -clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) -tspExample$(EXEEXT): $(tspExample_OBJECTS) $(tspExample_DEPENDENCIES) - @rm -f tspExample$(EXEEXT) - $(CXXLINK) $(tspExample_LDFLAGS) $(tspExample_OBJECTS) $(tspExample_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ - -.cpp.o: -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cpp.obj: -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` -uninstall-info-am: - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(PROGRAMS) -installdirs: - for dir in "$(DESTDIR)$(bindir)"; do \ - test -z "$$dir" || $(mkdir_p) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-binPROGRAMS clean-generic mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: install-binPROGRAMS - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-binPROGRAMS uninstall-info-am - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ - clean-generic ctags distclean distclean-compile \ - distclean-generic distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-binPROGRAMS \ - install-data install-data-am install-exec install-exec-am \ - install-info install-info-am install-man install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ - uninstall-am uninstall-binPROGRAMS uninstall-info-am - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/trunk/paradiseo-peo/examples/lesson1/main.cpp b/trunk/paradiseo-peo/examples/lesson1/main.cpp deleted file mode 100755 index dede90152..000000000 --- a/trunk/paradiseo-peo/examples/lesson1/main.cpp +++ /dev/null @@ -1,177 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "main_ga.cpp" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "param.h" -#include "route_init.h" -#include "route_eval.h" - -#include "order_xover.h" -#include "edge_xover.h" -#include "partial_mapped_xover.h" -#include "city_swap.h" -#include "part_route_eval.h" -#include "merge_route_eval.h" -#include "two_opt_init.h" -#include "two_opt_next.h" -#include "two_opt_incr_eval.h" - -#include - -#define POP_SIZE 10 -#define NUM_GEN 100 -#define CROSS_RATE 1.0 -#define MUT_RATE 0.01 -#define NUM_PART_EVALS 2 - -#define MIG_FREQ 10 -#define MIG_SIZE 10 -#define HYBRID_SIZE 3 - -int main (int __argc, char * * __argv) { - - peo :: init (__argc, __argv); - - loadParameters (__argc, __argv); /* Processing some parameters relative to the tackled - problem (TSP) */ - - RouteInit route_init; /* Its builds random routes */ - RouteEval full_eval; /* Full route evaluator */ - - MergeRouteEval merge_eval; - - std :: vector *> part_eval; - for (unsigned i = 1 ; i <= NUM_PART_EVALS ; i ++) - part_eval.push_back (new PartRouteEval ((float) (i - 1) / NUM_PART_EVALS, (float) i / NUM_PART_EVALS)); - - OrderXover order_cross; /* Recombination */ - PartialMappedXover pm_cross; - EdgeXover edge_cross; - CitySwap city_swap_mut; /* Mutation */ - - RingTopology topo; - - /** The first EA **/ - - eoPop ox_pop (POP_SIZE, route_init); /* Population */ - - eoGenContinue ox_cont (NUM_GEN); /* A fixed number of iterations */ - eoCheckPoint ox_checkpoint (ox_cont); /* Checkpoint */ - peoParaPopEval ox_pop_eval (part_eval, merge_eval); - eoStochTournamentSelect ox_select_one; - eoSelectNumber ox_select (ox_select_one, POP_SIZE); - eoSGATransform ox_transform (order_cross, CROSS_RATE, city_swap_mut, MUT_RATE); - peoSeqTransform ox_para_transform (ox_transform); - eoEPReplacement ox_replace (2); - - /* The migration policy */ - eoPeriodicContinue ox_mig_cont (MIG_FREQ); /* Migration occurs periodically */ - eoRandomSelect ox_mig_select_one; /* Emigrants are randomly selected */ - eoSelectNumber ox_mig_select (ox_mig_select_one, MIG_SIZE); - eoPlusReplacement ox_mig_replace; /* Immigrants replace the worse individuals */ - - peoAsyncIslandMig ox_mig (ox_mig_cont, ox_mig_select, ox_mig_replace, topo, ox_pop, ox_pop); - //peoSyncIslandMig ox_mig (MIG_FREQ, ox_mig_select, ox_mig_replace, topo, ox_pop, ox_pop); - - ox_checkpoint.add (ox_mig); - - peoEA ox_ea (ox_checkpoint, ox_pop_eval, ox_select, ox_para_transform, ox_replace); - ox_mig.setOwner (ox_ea); - - ox_ea (ox_pop); /* Application to the given population */ - - /** The second EA **/ - - eoPop pmx_pop (POP_SIZE, route_init); /* Population */ - - eoGenContinue pmx_cont (NUM_GEN); /* A fixed number of iterations */ - eoCheckPoint pmx_checkpoint (pmx_cont); /* Checkpoint */ - peoSeqPopEval pmx_pop_eval (full_eval); - eoRankingSelect pmx_select_one; - eoSelectNumber pmx_select (pmx_select_one, POP_SIZE); - eoSGATransform pmx_transform (pm_cross, CROSS_RATE, city_swap_mut, MUT_RATE); - peoSeqTransform pmx_para_transform (pmx_transform); - eoPlusReplacement pmx_replace; - - /* The migration policy */ - eoPeriodicContinue pmx_mig_cont (MIG_FREQ); /* Migration occurs periodically */ - eoRandomSelect pmx_mig_select_one; /* Emigrants are randomly selected */ - eoSelectNumber pmx_mig_select (pmx_mig_select_one, MIG_SIZE); - eoPlusReplacement pmx_mig_replace; /* Immigrants replace the worse individuals */ - peoAsyncIslandMig pmx_mig (pmx_mig_cont, pmx_mig_select, pmx_mig_replace, topo, pmx_pop, pmx_pop); - //peoSyncIslandMig pmx_mig (MIG_FREQ, pmx_mig_select, pmx_mig_replace, topo, pmx_pop, pmx_pop); - pmx_checkpoint.add (pmx_mig); - - /* Hybridization with a Local Search */ - TwoOptInit pmx_two_opt_init; - TwoOptNext pmx_two_opt_next; - TwoOptIncrEval pmx_two_opt_incr_eval; - moBestImprSelect pmx_two_opt_move_select; - moHC hc (pmx_two_opt_init, pmx_two_opt_next, pmx_two_opt_incr_eval, pmx_two_opt_move_select, full_eval); - - eoPeriodicContinue pmx_ls_cont (MIG_FREQ); /* Hybridization occurs periodically */ - eoRandomSelect pmx_ls_select_one; /* ? */ - eoSelectNumber pmx_ls_select (pmx_ls_select_one, HYBRID_SIZE); - eoPlusReplacement pmx_ls_replace; - - peoSyncMultiStart pmx_ls (pmx_ls_cont, pmx_ls_select, pmx_ls_replace, hc, pmx_pop); - pmx_checkpoint.add (pmx_ls); - - peoEA pmx_ea (pmx_checkpoint, pmx_pop_eval, pmx_select, pmx_para_transform, pmx_replace); - pmx_mig.setOwner (pmx_ea); - pmx_ls.setOwner (pmx_ea); - - pmx_ea (pmx_pop); /* Application to the given population */ - - /** The third EA **/ - - eoPop edge_pop (POP_SIZE, route_init); /* Population */ - - eoGenContinue edge_cont (NUM_GEN); /* A fixed number of iterations */ - eoCheckPoint edge_checkpoint (edge_cont); /* Checkpoint */ - peoSeqPopEval edge_pop_eval (full_eval); - eoRankingSelect edge_select_one; - eoSelectNumber edge_select (edge_select_one, POP_SIZE); - peoParaSGATransform edge_para_transform (edge_cross, CROSS_RATE, city_swap_mut, MUT_RATE); - eoPlusReplacement edge_replace; - - /* The migration policy */ - eoPeriodicContinue edge_mig_cont (MIG_FREQ); /* Migration occurs periodically */ - eoRandomSelect edge_mig_select_one; /* Emigrants are randomly selected */ - eoSelectNumber edge_mig_select (edge_mig_select_one, MIG_SIZE); - eoPlusReplacement edge_mig_replace; /* Immigrants replace the worse individuals */ - peoAsyncIslandMig edge_mig (edge_mig_cont, edge_mig_select, edge_mig_replace, topo, edge_pop, edge_pop); - //peoSyncIslandMig edge_mig (MIG_FREQ, edge_mig_select, edge_mig_replace, topo, edge_pop, edge_pop); - edge_checkpoint.add (edge_mig); - - peoEA edge_ea (edge_checkpoint, edge_pop_eval, edge_select, edge_para_transform, edge_replace); - - edge_mig.setOwner (edge_ea); - - edge_ea (edge_pop); /* Application to the given population */ - - peo :: run (); - - peo :: finalize (); /* Termination */ - - return 0; -} diff --git a/trunk/paradiseo-peo/examples/man/man3/CitySwap.3 b/trunk/paradiseo-peo/examples/man/man3/CitySwap.3 deleted file mode 100755 index 27327b9b6..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/CitySwap.3 +++ /dev/null @@ -1,28 +0,0 @@ -.TH "CitySwap" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -CitySwap \- Its swaps two vertices randomly choosen. - -.PP -.SH SYNOPSIS -.br -.PP -\fC#include \fP -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "bool \fBoperator()\fP (Route &__route)" -.br -.in -1c -.SH "Detailed Description" -.PP -Its swaps two vertices randomly choosen. -.PP -Definition at line 33 of file city_swap.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/Communicable.3 b/trunk/paradiseo-peo/examples/man/man3/Communicable.3 deleted file mode 100755 index 0d6d0d4df..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/Communicable.3 +++ /dev/null @@ -1,62 +0,0 @@ -.TH "Communicable" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -Communicable \- -.SH SYNOPSIS -.br -.PP -Inherited by \fBCooperative\fP, \fBRunner\fP, \fBService\fP, and \fBWorker\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "\fBCommunicable\fP ()" -.br -.ti -1c -.RI "virtual \fB~Communicable\fP ()" -.br -.ti -1c -.RI "COMM_ID \fBgetKey\fP ()" -.br -.ti -1c -.RI "void \fBlock\fP ()" -.br -.ti -1c -.RI "void \fBunlock\fP ()" -.br -.ti -1c -.RI "void \fBstop\fP ()" -.br -.ti -1c -.RI "void \fBresume\fP ()" -.br -.in -1c -.SS "Protected Attributes" - -.in +1c -.ti -1c -.RI "COMM_ID \fBkey\fP" -.br -.ti -1c -.RI "sem_t \fBsem_lock\fP" -.br -.ti -1c -.RI "sem_t \fBsem_stop\fP" -.br -.in -1c -.SS "Static Protected Attributes" - -.in +1c -.ti -1c -.RI "static unsigned \fBnum_comm\fP = 0" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 31 of file communicable.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/Communicator.3 b/trunk/paradiseo-peo/examples/man/man3/Communicator.3 deleted file mode 100755 index 0949a9893..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/Communicator.3 +++ /dev/null @@ -1,27 +0,0 @@ -.TH "Communicator" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -Communicator \- -.SH SYNOPSIS -.br -.PP -Inherits \fBReactiveThread\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "\fBCommunicator\fP (int *__argc, char ***__argv)" -.br -.ti -1c -.RI "void \fBstart\fP ()" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 30 of file comm.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/Cooperative.3 b/trunk/paradiseo-peo/examples/man/man3/Cooperative.3 deleted file mode 100755 index 0a7926210..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/Cooperative.3 +++ /dev/null @@ -1,48 +0,0 @@ -.TH "Cooperative" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -Cooperative \- -.SH SYNOPSIS -.br -.PP -Inherits \fBCommunicable\fP. -.PP -Inherited by \fBpeoAsyncIslandMig< EOT >\fP, and \fBpeoSyncIslandMig< EOT >\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "\fBRunner\fP * \fBgetOwner\fP ()" -.br -.ti -1c -.RI "void \fBsetOwner\fP (\fBRunner\fP &__runner)" -.br -.ti -1c -.RI "virtual void \fBpack\fP ()=0" -.br -.ti -1c -.RI "virtual void \fBunpack\fP ()=0" -.br -.ti -1c -.RI "void \fBsend\fP (\fBCooperative\fP *__coop)" -.br -.ti -1c -.RI "virtual void \fBnotifySending\fP ()" -.br -.in -1c -.SS "Private Attributes" - -.in +1c -.ti -1c -.RI "\fBRunner\fP * \fBowner\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 32 of file cooperative.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/DisplayBestRoute.3 b/trunk/paradiseo-peo/examples/man/man3/DisplayBestRoute.3 deleted file mode 100755 index 8a0ab8280..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/DisplayBestRoute.3 +++ /dev/null @@ -1,32 +0,0 @@ -.TH "DisplayBestRoute" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -DisplayBestRoute \- -.SH SYNOPSIS -.br -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "\fBDisplayBestRoute\fP (eoPop< Route > &__pop)" -.br -.ti -1c -.RI "void \fBoperator()\fP ()" -.br -.in -1c -.SS "Private Attributes" - -.in +1c -.ti -1c -.RI "eoPop< Route > & \fBpop\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 33 of file display_best_route.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/EdgeXover.3 b/trunk/paradiseo-peo/examples/man/man3/EdgeXover.3 deleted file mode 100755 index 2567e8cc8..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/EdgeXover.3 +++ /dev/null @@ -1,54 +0,0 @@ -.TH "EdgeXover" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -EdgeXover \- Edge Crossover. - -.PP -.SH SYNOPSIS -.br -.PP -\fC#include \fP -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "bool \fBoperator()\fP (Route &__route1, Route &__route2)" -.br -.in -1c -.SS "Private Member Functions" - -.in +1c -.ti -1c -.RI "void \fBcross\fP (const Route &__par1, const Route &__par2, Route &__child)" -.br -.ti -1c -.RI "void \fBremove_entry\fP (unsigned __vertex, std::vector< std::set< unsigned > > &__map)" -.br -.ti -1c -.RI "void \fBbuild_map\fP (const Route &__par1, const Route &__par2)" -.br -.ti -1c -.RI "void \fBadd_vertex\fP (unsigned __vertex, Route &__child)" -.br -.in -1c -.SS "Private Attributes" - -.in +1c -.ti -1c -.RI "std::vector< std::set< unsigned > > \fB_map\fP" -.br -.ti -1c -.RI "std::vector< bool > \fBvisited\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -Edge Crossover. -.PP -Definition at line 35 of file edge_xover.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/MergeRouteEval.3 b/trunk/paradiseo-peo/examples/man/man3/MergeRouteEval.3 deleted file mode 100755 index c648f0402..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/MergeRouteEval.3 +++ /dev/null @@ -1,24 +0,0 @@ -.TH "MergeRouteEval" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -MergeRouteEval \- -.SH SYNOPSIS -.br -.PP -Inherits \fBpeoAggEvalFunc< EOT >< eoVector< int, Node > >\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "void \fBoperator()\fP (Route &__route, const int &__part_fit)" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 31 of file merge_route_eval.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/Node.3 b/trunk/paradiseo-peo/examples/man/man3/Node.3 deleted file mode 100755 index 8fa80e3f8..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/Node.3 +++ /dev/null @@ -1,34 +0,0 @@ -.TH "Node" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -Node \- -.SH SYNOPSIS -.br -.PP -.SS "Public Attributes" - -.in +1c -.ti -1c -.RI "RANK_ID \fBrk\fP" -.br -.ti -1c -.RI "std::string \fBname\fP" -.br -.ti -1c -.RI "unsigned \fBnum_workers\fP" -.br -.ti -1c -.RI "int \fBrk_sched\fP" -.br -.ti -1c -.RI "std::vector< RUNNER_ID > \fBid_run\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 35 of file schema.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/OrderXover.3 b/trunk/paradiseo-peo/examples/man/man3/OrderXover.3 deleted file mode 100755 index d487610ad..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/OrderXover.3 +++ /dev/null @@ -1,35 +0,0 @@ -.TH "OrderXover" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -OrderXover \- Order Crossover. - -.PP -.SH SYNOPSIS -.br -.PP -\fC#include \fP -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "bool \fBoperator()\fP (Route &__route1, Route &__route2)" -.br -.in -1c -.SS "Private Member Functions" - -.in +1c -.ti -1c -.RI "void \fBcross\fP (const Route &__par1, const Route &__par2, Route &__child)" -.br -.in -1c -.SH "Detailed Description" -.PP -Order Crossover. -.PP -Definition at line 32 of file order_xover.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/PartRouteEval.3 b/trunk/paradiseo-peo/examples/man/man3/PartRouteEval.3 deleted file mode 100755 index 06272036e..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/PartRouteEval.3 +++ /dev/null @@ -1,42 +0,0 @@ -.TH "PartRouteEval" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -PartRouteEval \- Route Evaluator. - -.PP -.SH SYNOPSIS -.br -.PP -\fC#include \fP -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "\fBPartRouteEval\fP (float __from, float __to)" -.br -.RI "\fIConstructor. \fP" -.ti -1c -.RI "void \fBoperator()\fP (Route &__route)" -.br -.in -1c -.SS "Private Attributes" - -.in +1c -.ti -1c -.RI "float \fBfrom\fP" -.br -.ti -1c -.RI "float \fBto\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -Route Evaluator. -.PP -Definition at line 32 of file part_route_eval.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/PartialMappedXover.3 b/trunk/paradiseo-peo/examples/man/man3/PartialMappedXover.3 deleted file mode 100755 index 0c10d5ef9..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/PartialMappedXover.3 +++ /dev/null @@ -1,35 +0,0 @@ -.TH "PartialMappedXover" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -PartialMappedXover \- Partial Mapped Crossover. - -.PP -.SH SYNOPSIS -.br -.PP -\fC#include \fP -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "bool \fBoperator()\fP (Route &__route1, Route &__route2)" -.br -.in -1c -.SS "Private Member Functions" - -.in +1c -.ti -1c -.RI "void \fBrepair\fP (Route &__route, unsigned __cut1, unsigned __cut2)" -.br -.in -1c -.SH "Detailed Description" -.PP -Partial Mapped Crossover. -.PP -Definition at line 32 of file partial_mapped_xover.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/ReactiveThread.3 b/trunk/paradiseo-peo/examples/man/man3/ReactiveThread.3 deleted file mode 100755 index 445e08c42..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/ReactiveThread.3 +++ /dev/null @@ -1,39 +0,0 @@ -.TH "ReactiveThread" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -ReactiveThread \- -.SH SYNOPSIS -.br -.PP -Inherits \fBThread\fP. -.PP -Inherited by \fBCommunicator\fP, and \fBWorker\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "\fBReactiveThread\fP ()" -.br -.ti -1c -.RI "void \fBsleep\fP ()" -.br -.ti -1c -.RI "void \fBwakeUp\fP ()" -.br -.in -1c -.SS "Private Attributes" - -.in +1c -.ti -1c -.RI "sem_t \fBsem\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 31 of file reac_thread.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/RingTopology.3 b/trunk/paradiseo-peo/examples/man/man3/RingTopology.3 deleted file mode 100755 index 4cab74842..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/RingTopology.3 +++ /dev/null @@ -1,24 +0,0 @@ -.TH "RingTopology" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -RingTopology \- -.SH SYNOPSIS -.br -.PP -Inherits \fBTopology\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "void \fBsetNeighbors\fP (\fBCooperative\fP *__mig, std::vector< \fBCooperative\fP * > &__from, std::vector< \fBCooperative\fP * > &__to)" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 29 of file ring_topo.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/RouteEval.3 b/trunk/paradiseo-peo/examples/man/man3/RouteEval.3 deleted file mode 100755 index b1a9f2dec..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/RouteEval.3 +++ /dev/null @@ -1,22 +0,0 @@ -.TH "RouteEval" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -RouteEval \- -.SH SYNOPSIS -.br -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "void \fBoperator()\fP (Route &__route)" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 31 of file route_eval.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/RouteInit.3 b/trunk/paradiseo-peo/examples/man/man3/RouteInit.3 deleted file mode 100755 index 6fe733485..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/RouteInit.3 +++ /dev/null @@ -1,22 +0,0 @@ -.TH "RouteInit" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -RouteInit \- -.SH SYNOPSIS -.br -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "void \fBoperator()\fP (Route &__route)" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 31 of file route_init.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/Runner.3 b/trunk/paradiseo-peo/examples/man/man3/Runner.3 deleted file mode 100755 index cd6d66cdb..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/Runner.3 +++ /dev/null @@ -1,60 +0,0 @@ -.TH "Runner" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -Runner \- -.SH SYNOPSIS -.br -.PP -Inherits \fBCommunicable\fP, and \fBThread\fP. -.PP -Inherited by \fBpeoEA< EOT >\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "\fBRunner\fP ()" -.br -.ti -1c -.RI "void \fBstart\fP ()" -.br -.ti -1c -.RI "void \fBwaitStarting\fP ()" -.br -.ti -1c -.RI "bool \fBisLocal\fP ()" -.br -.ti -1c -.RI "void \fBterminate\fP ()" -.br -.ti -1c -.RI "virtual void \fBrun\fP ()=0" -.br -.ti -1c -.RI "RUNNER_ID \fBgetID\fP ()" -.br -.ti -1c -.RI "void \fBpackTermination\fP ()" -.br -.ti -1c -.RI "void \fBnotifySendingTermination\fP ()" -.br -.in -1c -.SS "Private Attributes" - -.in +1c -.ti -1c -.RI "sem_t \fBsem_start\fP" -.br -.ti -1c -.RI "unsigned \fBid\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 34 of file runner.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/SEND_REQUEST.3 b/trunk/paradiseo-peo/examples/man/man3/SEND_REQUEST.3 deleted file mode 100755 index 748892ec9..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/SEND_REQUEST.3 +++ /dev/null @@ -1,28 +0,0 @@ -.TH "SEND_REQUEST" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -SEND_REQUEST \- -.SH SYNOPSIS -.br -.PP -.SS "Public Attributes" - -.in +1c -.ti -1c -.RI "\fBCommunicable\fP * \fBcomm\fP" -.br -.ti -1c -.RI "int \fBto\fP" -.br -.ti -1c -.RI "int \fBtag\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 39 of file send.cpp. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/Service.3 b/trunk/paradiseo-peo/examples/man/man3/Service.3 deleted file mode 100755 index 9de659c99..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/Service.3 +++ /dev/null @@ -1,69 +0,0 @@ -.TH "Service" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -Service \- -.SH SYNOPSIS -.br -.PP -Inherits \fBCommunicable\fP. -.PP -Inherited by \fBpeoPopEval< EOT >\fP, \fBpeoSyncMultiStart< EOT >\fP, and \fBpeoTransform< EOT >\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "void \fBsetOwner\fP (\fBThread\fP &__owner)" -.br -.ti -1c -.RI "\fBThread\fP * \fBgetOwner\fP ()" -.br -.ti -1c -.RI "void \fBrequestResourceRequest\fP (unsigned __how_many=1)" -.br -.ti -1c -.RI "void \fBpackResourceRequest\fP ()" -.br -.ti -1c -.RI "virtual void \fBpackData\fP ()" -.br -.ti -1c -.RI "virtual void \fBunpackData\fP ()" -.br -.ti -1c -.RI "virtual void \fBexecute\fP ()" -.br -.ti -1c -.RI "virtual void \fBpackResult\fP ()" -.br -.ti -1c -.RI "virtual void \fBunpackResult\fP ()" -.br -.ti -1c -.RI "virtual void \fBnotifySendingData\fP ()" -.br -.ti -1c -.RI "virtual void \fBnotifySendingResourceRequest\fP ()" -.br -.ti -1c -.RI "virtual void \fBnotifySendingAllResourceRequests\fP ()" -.br -.in -1c -.SS "Private Attributes" - -.in +1c -.ti -1c -.RI "\fBThread\fP * \fBowner\fP" -.br -.ti -1c -.RI "unsigned \fBnum_sent_rr\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 32 of file service.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/Thread.3 b/trunk/paradiseo-peo/examples/man/man3/Thread.3 deleted file mode 100755 index 9cc015af3..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/Thread.3 +++ /dev/null @@ -1,43 +0,0 @@ -.TH "Thread" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -Thread \- -.SH SYNOPSIS -.br -.PP -Inherited by \fBReactiveThread\fP, and \fBRunner\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "\fBThread\fP ()" -.br -.ti -1c -.RI "virtual \fB~Thread\fP ()" -.br -.ti -1c -.RI "virtual void \fBstart\fP ()=0" -.br -.ti -1c -.RI "void \fBsetActive\fP ()" -.br -.ti -1c -.RI "void \fBsetPassive\fP ()" -.br -.in -1c -.SS "Private Attributes" - -.in +1c -.ti -1c -.RI "bool \fBact\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 31 of file thread.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/Topology.3 b/trunk/paradiseo-peo/examples/man/man3/Topology.3 deleted file mode 100755 index 3e4b9d61e..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/Topology.3 +++ /dev/null @@ -1,37 +0,0 @@ -.TH "Topology" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -Topology \- -.SH SYNOPSIS -.br -.PP -Inherited by \fBRingTopology\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "virtual \fB~Topology\fP ()" -.br -.ti -1c -.RI "void \fBadd\fP (\fBCooperative\fP &__mig)" -.br -.ti -1c -.RI "virtual void \fBsetNeighbors\fP (\fBCooperative\fP *__mig, std::vector< \fBCooperative\fP * > &__from, std::vector< \fBCooperative\fP * > &__to)=0" -.br -.in -1c -.SS "Protected Attributes" - -.in +1c -.ti -1c -.RI "std::vector< \fBCooperative\fP * > \fBmig\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 31 of file topology.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/TwoOpt.3 b/trunk/paradiseo-peo/examples/man/man3/TwoOpt.3 deleted file mode 100755 index 38723c4f8..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/TwoOpt.3 +++ /dev/null @@ -1,22 +0,0 @@ -.TH "TwoOpt" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -TwoOpt \- -.SH SYNOPSIS -.br -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "void \fBoperator()\fP (Route &__route)" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 32 of file two_opt.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/TwoOptIncrEval.3 b/trunk/paradiseo-peo/examples/man/man3/TwoOptIncrEval.3 deleted file mode 100755 index 2f682bbb9..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/TwoOptIncrEval.3 +++ /dev/null @@ -1,22 +0,0 @@ -.TH "TwoOptIncrEval" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -TwoOptIncrEval \- -.SH SYNOPSIS -.br -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "int \fBoperator()\fP (const \fBTwoOpt\fP &__move, const Route &__route)" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 30 of file two_opt_incr_eval.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/TwoOptInit.3 b/trunk/paradiseo-peo/examples/man/man3/TwoOptInit.3 deleted file mode 100755 index 5faf5ff17..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/TwoOptInit.3 +++ /dev/null @@ -1,22 +0,0 @@ -.TH "TwoOptInit" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -TwoOptInit \- -.SH SYNOPSIS -.br -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "void \fBoperator()\fP (\fBTwoOpt\fP &__move, const Route &__route)" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 32 of file two_opt_init.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/TwoOptNext.3 b/trunk/paradiseo-peo/examples/man/man3/TwoOptNext.3 deleted file mode 100755 index e6757c4a5..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/TwoOptNext.3 +++ /dev/null @@ -1,22 +0,0 @@ -.TH "TwoOptNext" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -TwoOptNext \- -.SH SYNOPSIS -.br -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "bool \fBoperator()\fP (\fBTwoOpt\fP &__move, const Route &__route)" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 31 of file two_opt_next.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/TwoOptRand.3 b/trunk/paradiseo-peo/examples/man/man3/TwoOptRand.3 deleted file mode 100755 index d8c14edb8..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/TwoOptRand.3 +++ /dev/null @@ -1,22 +0,0 @@ -.TH "TwoOptRand" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -TwoOptRand \- -.SH SYNOPSIS -.br -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "void \fBoperator()\fP (\fBTwoOpt\fP &__move, const Route &__route)" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 31 of file two_opt_rand.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/Worker.3 b/trunk/paradiseo-peo/examples/man/man3/Worker.3 deleted file mode 100755 index d221efa2f..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/Worker.3 +++ /dev/null @@ -1,64 +0,0 @@ -.TH "Worker" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -Worker \- -.SH SYNOPSIS -.br -.PP -Inherits \fBCommunicable\fP, and \fBReactiveThread\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "\fBWorker\fP ()" -.br -.ti -1c -.RI "void \fBstart\fP ()" -.br -.ti -1c -.RI "void \fBpackResult\fP ()" -.br -.ti -1c -.RI "void \fBunpackData\fP ()" -.br -.ti -1c -.RI "void \fBpackTaskDone\fP ()" -.br -.ti -1c -.RI "void \fBnotifySendingResult\fP ()" -.br -.ti -1c -.RI "void \fBnotifySendingTaskDone\fP ()" -.br -.ti -1c -.RI "void \fBsetSource\fP (int __rank)" -.br -.in -1c -.SS "Private Attributes" - -.in +1c -.ti -1c -.RI "WORKER_ID \fBid\fP" -.br -.ti -1c -.RI "SERVICE_ID \fBserv_id\fP" -.br -.ti -1c -.RI "\fBService\fP * \fBserv\fP" -.br -.ti -1c -.RI "int \fBsrc\fP" -.br -.ti -1c -.RI "bool \fBtoto\fP" -.br -.in -1c -.SH "Detailed Description" -.PP -Definition at line 33 of file worker.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/peo.3 b/trunk/paradiseo-peo/examples/man/man3/peo.3 deleted file mode 100755 index aefa5ea2d..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/peo.3 +++ /dev/null @@ -1,43 +0,0 @@ -.TH "peo" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -peo \- -.SH SYNOPSIS -.br -.PP -.SS "Functions" - -.in +1c -.ti -1c -.RI "void \fBfinalize\fP ()" -.br -.ti -1c -.RI "void \fBinit\fP (int &__argc, char **&__argv)" -.br -.ti -1c -.RI "void \fBloadParameters\fP (int &__argc, char **&__argv)" -.br -.ti -1c -.RI "void \fBrun\fP ()" -.br -.in -1c -.SS "Variables" - -.in +1c -.ti -1c -.RI "int * \fBargc\fP" -.br -.ti -1c -.RI "char *** \fBargv\fP" -.br -.ti -1c -.RI "int * \fBargc\fP" -.br -.ti -1c -.RI "char *** \fBargv\fP" -.br -.in -1c -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/peoAggEvalFunc.3 b/trunk/paradiseo-peo/examples/man/man3/peoAggEvalFunc.3 deleted file mode 100755 index f8eb01049..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/peoAggEvalFunc.3 +++ /dev/null @@ -1,31 +0,0 @@ -.TH "peoAggEvalFunc" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -peoAggEvalFunc \- The \fBpeoAggEvalFunc\fP class offers only the interface for creating aggregate evaluation functions - there are no direct internal functions provided. - -.PP -.SH SYNOPSIS -.br -.PP -\fC#include \fP -.PP -Inherited by \fBMergeRouteEval\fP, and \fBpeoNoAggEvalFunc< EOT >\fP. -.PP -.SH "Detailed Description" -.PP - -.SS "template class peoAggEvalFunc< EOT >" -The \fBpeoAggEvalFunc\fP class offers only the interface for creating aggregate evaluation functions - there are no direct internal functions provided. - -The class inherits \fBpublic eoBF< EOT&, const typename EOT :: Fitness&, void >\fP thus requiring, for the derived classes, the creation of a function having the following signature: -.PP -void operator()( EOT& __eot, const typename EOT :: Fitness& __partial_fittness ); -.PP -The aggregation object is called in an iterative manner for each of the results obtained by applying partial evaluation functions. -.PP -Definition at line 40 of file peoAggEvalFunc.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/peoAsyncIslandMig.3 b/trunk/paradiseo-peo/examples/man/man3/peoAsyncIslandMig.3 deleted file mode 100755 index b27c38b0d..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/peoAsyncIslandMig.3 +++ /dev/null @@ -1,174 +0,0 @@ -.TH "peoAsyncIslandMig" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -peoAsyncIslandMig \- The \fBpeoAsyncIslandMig\fP class offers the elementary basis for implementating an asynchronous island migration model - requires the specification of several basic parameters, i.e. - -.PP -.SH SYNOPSIS -.br -.PP -\fC#include \fP -.PP -Inherits \fBCooperative\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "\fBpeoAsyncIslandMig\fP (eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, \fBTopology\fP &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination)" -.br -.RI "\fIConstructor for the \fBpeoAsyncIslandMig\fP class; the characteristics of the migration model are defined through the specified parameters - out of the box objects provided in EO, etc., or custom, derived objects may be passed as parameters. \fP" -.ti -1c -.RI "void \fBoperator()\fP ()" -.br -.RI "\fIFunction operator to be called as checkpoint for performing the migration step. \fP" -.ti -1c -.RI "void \fBpack\fP ()" -.br -.RI "\fIAuxiliary function dealing with sending the emigrant individuals. There is no need to explicitly call the function. \fP" -.ti -1c -.RI "void \fBunpack\fP ()" -.br -.RI "\fIAuxiliary function dealing with receiving immigrant individuals. There is no need to explicitly call the function. \fP" -.in -1c -.SS "Private Member Functions" - -.in +1c -.ti -1c -.RI "void \fBemigrate\fP ()" -.br -.ti -1c -.RI "void \fBimmigrate\fP ()" -.br -.in -1c -.SS "Private Attributes" - -.in +1c -.ti -1c -.RI "eoContinue< EOT > & \fBcont\fP" -.br -.ti -1c -.RI "eoSelect< EOT > & \fBselect\fP" -.br -.ti -1c -.RI "eoReplacement< EOT > & \fBreplace\fP" -.br -.ti -1c -.RI "\fBTopology\fP & \fBtopology\fP" -.br -.ti -1c -.RI "eoPop< EOT > & \fBsource\fP" -.br -.ti -1c -.RI "eoPop< EOT > & \fBdestination\fP" -.br -.ti -1c -.RI "std::queue< eoPop< EOT > > \fBimm\fP" -.br -.ti -1c -.RI "std::queue< eoPop< EOT > > \fBem\fP" -.br -.ti -1c -.RI "std::queue< \fBCooperative\fP * > \fBcoop_em\fP" -.br -.in -1c -.SH "Detailed Description" -.PP - -.SS "template class peoAsyncIslandMig< EOT >" -The \fBpeoAsyncIslandMig\fP class offers the elementary basis for implementating an asynchronous island migration model - requires the specification of several basic parameters, i.e. - -continuation criterion, selection and replacement strategies, a topological model and the source and destination population for the migrating individuals. As opposed to the synchronous migration model, in the asynchronous migration approach, there is no synchronization step between islands after performing the emigration phase. -.PP -The migration operator is called at the end of each generation of an evolutionary algorithms as a checkpoint object - the following code exposes the structure of a classic evolutionary algorithm: -.PP -\fBdo\fP { select( population, offsprings ); // select the offsprings from the current population transform( offsprings ); // crossover and mutation operators are applied on the selected offsprings evaluate( offsprings ); // evaluation step of the resulting offspring replace( population, offsprings ); // replace the individuals in the current population whith individuals from the offspring population, according to a specified replacement strategy } \fBwhile\fP ( eaCheckpointContinue( population ) ); // checkpoint operators are applied on the current population, including the migration operator, if any specified -.PP -Constructing an asynchronous island migration model requires having defined (1) a topological migration model, (2) the control parameters of the migration process, (3) a checkpoint object associated with an evolutionary algorithm, and (4) an owner object must be set. The owner object must be derived from the \fB\fBRunner\fP\fP class (for example a \fBpeoEA\fP object represents a possible owner). A simple example is offered bellow: -.PP -.PD 0 -.IP "1." 4 -topological model to be followed when performing migrations: -.br - -.br - \fBRingTopology\fP migTopology; // a simple ring topological model - each island communicates with two other islands -.PP - -.IP "2." 4 -the continuation criterion, selection and replacement strategy etc. are defined: -.br - -.br - eoPop< EOT > population( POP_SIZE, popInitializer ); // population of individuals to be used for the evolutionary algorithm eoPeriodicContinue< EOT > migCont( MIG_FREQ ); // migrations occur periodically at MIG_FREQ iterations eoRandomSelect< EOT > migSelectStrategy; // selection strategy - in this case a random selection is applied eoSelectNumber< EOT > migSelect( migSelectStrategy, MIG_SIZE ); // number of individuals to be selected using the specified strategy eoPlusReplacement< EOT > migReplace; // immigration strategy - the worse individuals in the destination population are replaced by the immigrant individuals peoAsyncIslandMig< EOT > asyncMigration( -.br - migCont, migSelect, migReplace, migTopology, -.br - population, population -.br - ); // asynchronous migration object - the emigrant individuals are selected from the same from population in which the immigrant individuals are being integrated -.PP - -.IP "3." 4 -creation of a checkpoint object as part of the definition of an evolutionary algoritm (details of th EA not given as being out of scope): -.br - -.br - ... eoGenContinue< EOT > eaCont( NUM_GEN ); // the evolutionary algorithm will stop after NUM_GEN generations eoCheckPoint< EOT > eaCheckpointContinue( eaCont ); // number of individuals to be selected using the specified strategy ... eaCheckpointContinue.add( asyncMigration ); // adding the migration operator as checkpoint element ... -.PP - -.IP "4." 4 -definition of an owner evolutionary algorithm (an object inheriting the \fB\fBRunner\fP\fP class): -.br - -.br - peoEA< EOT > eaAlg( eaCheckpointContinue, eaPopEval, eaSelect, eaTransform, eaReplace); // evolutionary algorithm having as checkpoint the eaCheckpointContinue object defined above asyncMigration.setOwner( eaAlg ); // setting the evolutionary algorithm as owner of the migration object eaAlg( population ); // applying the evolutionary algorithm on a given population -.PP -.PP -The source and the destination population for the migration object were specified as being the same, in step no. 2, as we are usually interested in selecting the emigrants and integrating the immigrant individuals from and in, respectively, one unique population, iteratively evolved by an evolutionary algorithm. There is no restriction in having two distinct populations as source and destination for the emigrant and immigrant individuals respectively. -.PP -The above steps only create an asynchronous migration object associated to an evolutionary algorithm. The creation of several islands requires the reiteration of the steps 2 through 4 for creating distinct algorithms, with distinct populations and the associated distinctly parametrized migration objects. The interconnecting element is the underlying topology, defined at step 1 (the same C++ migTopology object has to be passed as parameter for all the migration objects, in order to interconnect them). -.PP -Definition at line 127 of file peoAsyncIslandMig.h. -.SH "Constructor & Destructor Documentation" -.PP -.SS "template \fBpeoAsyncIslandMig\fP< EOT >::\fBpeoAsyncIslandMig\fP (eoContinue< EOT > & __cont, eoSelect< EOT > & __select, eoReplacement< EOT > & __replace, \fBTopology\fP & __topology, eoPop< EOT > & __source, eoPop< EOT > & __destination)" -.PP -Constructor for the \fBpeoAsyncIslandMig\fP class; the characteristics of the migration model are defined through the specified parameters - out of the box objects provided in EO, etc., or custom, derived objects may be passed as parameters. -.PP -\fBParameters:\fP -.RS 4 -\fIeoContinue<\fP EOT >& __cont - continuation criterion specifying whether the migration is performed or not; -.br -\fIeoSelect<\fP EOT >& __select - selection strategy to be applied for constructing a list of emigrant individuals out of the source population; -.br -\fIeoReplacement<\fP EOT >& __replace - replacement strategy used for integrating the immigrant individuals in the destination population; -.br -\fITopology&\fP __topology - topological model to be followed when performing migrations; -.br -\fIeoPop<\fP EOT >& __source - source population from which the emigrant individuals are selected; -.br -\fIeoPop<\fP EOT >& __destination - destination population in which the immigrant population are integrated. -.RE -.PP - -.PP -Definition at line 186 of file peoAsyncIslandMig.h. -.PP -References Topology::add(). -.SH "Member Function Documentation" -.PP -.SS "template void \fBpeoAsyncIslandMig\fP< EOT >::operator() ()" -.PP -Function operator to be called as checkpoint for performing the migration step. -.PP -The emigrant individuals are selected from the source population and sent to the next island (defined by the topology object) while the immigrant individuals are integrated in the destination population. There is no need to explicitly call the function - the wrapper checkpoint object (please refer to the above example) will perform the call when required. -.PP -Definition at line 263 of file peoAsyncIslandMig.h. -.PP -References peoAsyncIslandMig< EOT >::cont, peoAsyncIslandMig< EOT >::emigrate(), peoAsyncIslandMig< EOT >::immigrate(), and peoAsyncIslandMig< EOT >::source. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/peoEA.3 b/trunk/paradiseo-peo/examples/man/man3/peoEA.3 deleted file mode 100755 index f632d161a..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/peoEA.3 +++ /dev/null @@ -1,109 +0,0 @@ -.TH "peoEA" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -peoEA \- The \fBpeoEA\fP class offers an elementary evolutionary algorithm implementation. - -.PP -.SH SYNOPSIS -.br -.PP -\fC#include \fP -.PP -Inherits \fBRunner\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "\fBpeoEA\fP (eoContinue< EOT > &__cont, \fBpeoPopEval\fP< EOT > &__pop_eval, eoSelect< EOT > &__select, \fBpeoTransform\fP< EOT > &__trans, eoReplacement< EOT > &__replace)" -.br -.RI "\fIConstructor for the evolutionary algorithm object - several basic parameters have to be specified, allowing for different levels of parallelism. \fP" -.ti -1c -.RI "void \fBrun\fP ()" -.br -.RI "\fIEvolutionary algorithm function - a side effect of the fact that the class is derived from the \fB\fBRunner\fP\fP class, thus requiring the existence of a \fIrun\fP function, the algorithm being executed on a distinct thread. \fP" -.ti -1c -.RI "void \fBoperator()\fP (eoPop< EOT > &__pop)" -.br -.RI "\fIFunction operator for specifying the population to be associated with the algorithm. \fP" -.in -1c -.SS "Private Attributes" - -.in +1c -.ti -1c -.RI "eoContinue< EOT > & \fBcont\fP" -.br -.ti -1c -.RI "\fBpeoPopEval\fP< EOT > & \fBpop_eval\fP" -.br -.ti -1c -.RI "eoSelect< EOT > & \fBselect\fP" -.br -.ti -1c -.RI "\fBpeoTransform\fP< EOT > & \fBtrans\fP" -.br -.ti -1c -.RI "eoReplacement< EOT > & \fBreplace\fP" -.br -.ti -1c -.RI "eoPop< EOT > * \fBpop\fP" -.br -.in -1c -.SH "Detailed Description" -.PP - -.SS "template class peoEA< EOT >" -The \fBpeoEA\fP class offers an elementary evolutionary algorithm implementation. - -In addition, as compared with the algorithms provided by the EO framework, the \fBpeoEA\fP class has the underlying necessary structure for including, for example, parallel evaluation and parallel transformation operators, migration operators etc. Although there is no restriction on using the algorithms provided by the EO framework, the drawback resides in the fact that the EO implementation is exclusively sequential and, in consequence, no parallelism is provided. A simple example for constructing a \fBpeoEA\fP object: -.PP -... eoPop< EOT > population( POP_SIZE, popInitializer ); // creation of a population with POP_SIZE individuals - the popInitializer is a functor to be called for each individual eoGenContinue< EOT > eaCont( NUM_GEN ); // number of generations for the evolutionary algorithm eoCheckPoint< EOT > eaCheckpointContinue( eaCont ); // checkpoint incorporating the continuation criterion - startpoint for adding other checkpoint objects peoSeqPopEval< EOT > eaPopEval( evalFunction ); // sequential evaluation functor wrapper - evalFunction represents the actual evaluation functor eoRankingSelect< EOT > selectionStrategy; // selection strategy for creating the offspring population - a simple ranking selection in this case eoSelectNumber< EOT > eaSelect( selectionStrategy, POP_SIZE ); // the number of individuals to be selected for creating the offspring population eoRankingSelect< EOT > selectionStrategy; // selection strategy for creating the offspring population - a simple ranking selection in this case eoSGATransform< EOT > transform( crossover, CROSS_RATE, mutation, MUT_RATE ); // transformation operator - crossover and mutation operators with their associated probabilities peoSeqTransform< EOT > eaTransform( transform ); // ParadisEO specific sequential operator - a parallel version may be specified in the same manner eoPlusReplacement< EOT > eaReplace; // replacement strategy - for integrating the offspring resulting individuals in the initial population peoEA< EOT > eaAlg( eaCheckpointContinue, eaPopEval, eaSelect, eaTransform, eaReplace ); // ParadisEO evolutionary algorithm integrating the above defined objects eaAlg( population ); // specifying the initial population for the algorithm ... -.PP -Definition at line 69 of file peoEA.h. -.SH "Constructor & Destructor Documentation" -.PP -.SS "template \fBpeoEA\fP< EOT >::\fBpeoEA\fP (eoContinue< EOT > & __cont, \fBpeoPopEval\fP< EOT > & __pop_eval, eoSelect< EOT > & __select, \fBpeoTransform\fP< EOT > & __trans, eoReplacement< EOT > & __replace)" -.PP -Constructor for the evolutionary algorithm object - several basic parameters have to be specified, allowing for different levels of parallelism. -.PP -Depending on the requirements, a sequential or a parallel evaluation operator may be specified or, in the same manner, a sequential or a parallel transformation operator may be given as parameter. Out of the box objects may be provided, from the EO package, for example, or custom defined ones may be specified, provided that they are derived from the correct base classes. -.PP -\fBParameters:\fP -.RS 4 -\fIeoContinue<\fP EOT >& __cont - continuation criterion specifying whether the algorithm should continue or not; -.br -\fIpeoPopEval<\fP EOT >& __pop_eval - evaluation operator; it allows the specification of parallel evaluation operators, aggregate evaluation functions, etc.; -.br -\fIeoSelect<\fP EOT >& __select - selection strategy to be applied for constructing a list of offspring individuals; -.br -\fIpeoTransform<\fP EOT >& __trans - transformation operator, i.e. crossover and mutation; allows for sequential or parallel transform; -.br -\fIeoReplacement<\fP EOT >& __replace - replacement strategy for integrating the offspring individuals in the initial population; -.RE -.PP - -.PP -Definition at line 113 of file peoEA.h. -.PP -References peoEA< EOT >::pop_eval, and peoEA< EOT >::trans. -.SH "Member Function Documentation" -.PP -.SS "template void \fBpeoEA\fP< EOT >::operator() (eoPop< EOT > & __pop)" -.PP -Function operator for specifying the population to be associated with the algorithm. -.PP -\fBParameters:\fP -.RS 4 -\fIeoPop<\fP EOT >& __pop - initial population of the algorithm, to be iteratively evolved; -.RE -.PP - -.PP -Definition at line 129 of file peoEA.h. -.PP -References peoEA< EOT >::pop. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/peoNoAggEvalFunc.3 b/trunk/paradiseo-peo/examples/man/man3/peoNoAggEvalFunc.3 deleted file mode 100755 index e4918df9b..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/peoNoAggEvalFunc.3 +++ /dev/null @@ -1,35 +0,0 @@ -.TH "peoNoAggEvalFunc" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -peoNoAggEvalFunc \- The \fBpeoNoAggEvalFunc\fP class does nothing more than an association between a fitness value and a specified individual. - -.PP -.SH SYNOPSIS -.br -.PP -\fC#include \fP -.PP -Inherits \fBpeoAggEvalFunc< EOT >< EOT >\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "void \fBoperator()\fP (EOT &__sol, const typename EOT::Fitness &__fit)" -.br -.RI "\fIOperator which sets as fitness the \fB__fit\fP value for the \fB__sol\fP individual. \fP" -.in -1c -.SH "Detailed Description" -.PP - -.SS "template class peoNoAggEvalFunc< EOT >" -The \fBpeoNoAggEvalFunc\fP class does nothing more than an association between a fitness value and a specified individual. - -The class is provided as a mean of declaring that no aggregation is required for the evaluation function - the fitness value is explicitly specified. -.PP -Definition at line 34 of file peoNoAggEvalFunc.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/peoParaPopEval.3 b/trunk/paradiseo-peo/examples/man/man3/peoParaPopEval.3 deleted file mode 100755 index 21abba849..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/peoParaPopEval.3 +++ /dev/null @@ -1,217 +0,0 @@ -.TH "peoParaPopEval" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -peoParaPopEval \- The \fBpeoParaPopEval\fP represents a wrapper for creating a functor capable of applying in parallel an EO-derived evaluation functor. - -.PP -.SH SYNOPSIS -.br -.PP -\fC#include \fP -.PP -Inherits \fBpeoPopEval< EOT >< EOT >\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "\fBpeoParaPopEval\fP (eoEvalFunc< EOT > &__eval_func)" -.br -.RI "\fIConstructor function - an EO-derived evaluation functor has to be specified; an internal reference is set towards the specified evaluation functor. \fP" -.ti -1c -.RI "\fBpeoParaPopEval\fP (const std::vector< eoEvalFunc< EOT > * > &__funcs, \fBpeoAggEvalFunc\fP< EOT > &__merge_eval)" -.br -.RI "\fIConstructor function - a vector of EO-derived evaluation functors has to be specified as well as an aggregation function. \fP" -.ti -1c -.RI "void \fBoperator()\fP (eoPop< EOT > &__pop)" -.br -.RI "\fIOperator for applying the evaluation functor (direct or aggregate) for each individual of the specified population. \fP" -.ti -1c -.RI "void \fBpackData\fP ()" -.br -.RI "\fIAuxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. \fP" -.ti -1c -.RI "void \fBunpackData\fP ()" -.br -.RI "\fIAuxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. \fP" -.ti -1c -.RI "void \fBexecute\fP ()" -.br -.RI "\fIAuxiliary function - it calls the specified evaluation functor(s). There is no need to explicitly call the function. \fP" -.ti -1c -.RI "void \fBpackResult\fP ()" -.br -.RI "\fIAuxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. \fP" -.ti -1c -.RI "void \fBunpackResult\fP ()" -.br -.RI "\fIAuxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. \fP" -.ti -1c -.RI "void \fBnotifySendingData\fP ()" -.br -.RI "\fIAuxiliary function for notifications between the process requesting an evaluation operation and the processes that performs the actual evaluation phase. \fP" -.ti -1c -.RI "void \fBnotifySendingAllResourceRequests\fP ()" -.br -.RI "\fIAuxiliary function for notifications between the process requesting an evaluation operation and the processes that performs the actual evaluation phase. \fP" -.in -1c -.SS "Private Attributes" - -.in +1c -.ti -1c -.RI "const std::vector< eoEvalFunc< EOT > * > & \fBfuncs\fP" -.br -.ti -1c -.RI "std::vector< eoEvalFunc< EOT > * > \fBone_func\fP" -.br -.ti -1c -.RI "\fBpeoAggEvalFunc\fP< EOT > & \fBmerge_eval\fP" -.br -.ti -1c -.RI "\fBpeoNoAggEvalFunc\fP< EOT > \fBno_merge_eval\fP" -.br -.ti -1c -.RI "std::queue< EOT * > \fBtasks\fP" -.br -.ti -1c -.RI "std::map< EOT *, std::pair< unsigned, unsigned > > \fBprogression\fP" -.br -.ti -1c -.RI "unsigned \fBnum_func\fP" -.br -.ti -1c -.RI "EOT \fBsol\fP" -.br -.ti -1c -.RI "EOT * \fBad_sol\fP" -.br -.ti -1c -.RI "unsigned \fBtotal\fP" -.br -.in -1c -.SH "Detailed Description" -.PP - -.SS "template class peoParaPopEval< EOT >" -The \fBpeoParaPopEval\fP represents a wrapper for creating a functor capable of applying in parallel an EO-derived evaluation functor. - -The class offers the possibility of chosing between a single-function evaluation and an aggregate evaluation function, including several sub-evalution functions. -.PP -Definition at line 41 of file peoParaPopEval.h. -.SH "Constructor & Destructor Documentation" -.PP -.SS "template \fBpeoParaPopEval\fP< EOT >::\fBpeoParaPopEval\fP (eoEvalFunc< EOT > & __eval_func)" -.PP -Constructor function - an EO-derived evaluation functor has to be specified; an internal reference is set towards the specified evaluation functor. -.PP -\fBParameters:\fP -.RS 4 -\fIeoEvalFunc<\fP EOT >& __eval_func - EO-derived evaluation functor to be applied in parallel on each individual of a specified population -.RE -.PP - -.PP -Definition at line 117 of file peoParaPopEval.h. -.PP -References peoParaPopEval< EOT >::one_func. -.SS "template \fBpeoParaPopEval\fP< EOT >::\fBpeoParaPopEval\fP (const std::vector< eoEvalFunc< EOT > * > & __funcs, \fBpeoAggEvalFunc\fP< EOT > & __merge_eval)" -.PP -Constructor function - a vector of EO-derived evaluation functors has to be specified as well as an aggregation function. -.PP -\fBParameters:\fP -.RS 4 -\fIconst\fP std :: vector< eoEvalFunc < EOT >* >& __funcs - vector of EO-derived partial evaluation functors; -.br -\fIpeoAggEvalFunc<\fP EOT >& __merge_eval - aggregation functor for creating a fitness value out of the partial fitness values. -.RE -.PP - -.PP -Definition at line 126 of file peoParaPopEval.h. -.SH "Member Function Documentation" -.PP -.SS "template void \fBpeoParaPopEval\fP< EOT >::operator() (eoPop< EOT > & __pop)\fC [virtual]\fP" -.PP -Operator for applying the evaluation functor (direct or aggregate) for each individual of the specified population. -.PP -\fBParameters:\fP -.RS 4 -\fIeoPop<\fP EOT >& __pop - population to be evaluated by applying the evaluation functor specified in the constructor. -.RE -.PP - -.PP -Implements \fBpeoPopEval< EOT >\fP. -.PP -Definition at line 137 of file peoParaPopEval.h. -.PP -References peoParaPopEval< EOT >::funcs, peoParaPopEval< EOT >::progression, Service::requestResourceRequest(), Communicable::stop(), peoParaPopEval< EOT >::tasks, and peoParaPopEval< EOT >::total. -.SS "template void \fBpeoParaPopEval\fP< EOT >::packData ()\fC [virtual]\fP" -.PP -Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. -.PP -There is no need to explicitly call the function. -.PP -Reimplemented from \fBService\fP. -.PP -Definition at line 158 of file peoParaPopEval.h. -.PP -References peoParaPopEval< EOT >::progression, and peoParaPopEval< EOT >::tasks. -.SS "template void \fBpeoParaPopEval\fP< EOT >::unpackData ()\fC [virtual]\fP" -.PP -Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. -.PP -There is no need to explicitly call the function. -.PP -Reimplemented from \fBService\fP. -.PP -Definition at line 172 of file peoParaPopEval.h. -.PP -References peoParaPopEval< EOT >::ad_sol, peoParaPopEval< EOT >::num_func, and peoParaPopEval< EOT >::sol. -.SS "template void \fBpeoParaPopEval\fP< EOT >::packResult ()\fC [virtual]\fP" -.PP -Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. -.PP -There is no need to explicitly call the function. -.PP -Reimplemented from \fBService\fP. -.PP -Definition at line 189 of file peoParaPopEval.h. -.PP -References peoParaPopEval< EOT >::ad_sol, and peoParaPopEval< EOT >::sol. -.SS "template void \fBpeoParaPopEval\fP< EOT >::unpackResult ()\fC [virtual]\fP" -.PP -Auxiliary function for transferring data between the process requesting an evaluation operation and the process that performs the actual evaluation phase. -.PP -There is no need to explicitly call the function. -.PP -Reimplemented from \fBService\fP. -.PP -Definition at line 198 of file peoParaPopEval.h. -.PP -References peoParaPopEval< EOT >::ad_sol, Service::getOwner(), peoParaPopEval< EOT >::merge_eval, peoParaPopEval< EOT >::progression, Communicable::resume(), Thread::setActive(), and peoParaPopEval< EOT >::total. -.SS "template void \fBpeoParaPopEval\fP< EOT >::notifySendingData ()\fC [virtual]\fP" -.PP -Auxiliary function for notifications between the process requesting an evaluation operation and the processes that performs the actual evaluation phase. -.PP -There is no need to explicitly call the function. -.PP -Reimplemented from \fBService\fP. -.PP -Definition at line 229 of file peoParaPopEval.h. -.SS "template void \fBpeoParaPopEval\fP< EOT >::notifySendingAllResourceRequests ()\fC [virtual]\fP" -.PP -Auxiliary function for notifications between the process requesting an evaluation operation and the processes that performs the actual evaluation phase. -.PP -There is no need to explicitly call the function. -.PP -Reimplemented from \fBService\fP. -.PP -Definition at line 234 of file peoParaPopEval.h. -.PP -References Service::getOwner(), and Thread::setPassive(). - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/peoParaSGATransform.3 b/trunk/paradiseo-peo/examples/man/man3/peoParaSGATransform.3 deleted file mode 100755 index 49cca1290..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/peoParaSGATransform.3 +++ /dev/null @@ -1,83 +0,0 @@ -.TH "peoParaSGATransform" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -peoParaSGATransform \- -.SH SYNOPSIS -.br -.PP -Inherits \fBpeoTransform< EOT >< EOT >\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "\fBpeoParaSGATransform\fP (eoQuadOp< EOT > &__cross, double __cross_rate, eoMonOp< EOT > &__mut, double __mut_rate)" -.br -.ti -1c -.RI "void \fBoperator()\fP (eoPop< EOT > &__pop)" -.br -.ti -1c -.RI "void \fBpackData\fP ()" -.br -.ti -1c -.RI "void \fBunpackData\fP ()" -.br -.ti -1c -.RI "void \fBexecute\fP ()" -.br -.ti -1c -.RI "void \fBpackResult\fP ()" -.br -.ti -1c -.RI "void \fBunpackResult\fP ()" -.br -.ti -1c -.RI "void \fBnotifySendingData\fP ()" -.br -.ti -1c -.RI "void \fBnotifySendingAllResourceRequests\fP ()" -.br -.in -1c -.SS "Private Attributes" - -.in +1c -.ti -1c -.RI "eoQuadOp< EOT > & \fBcross\fP" -.br -.ti -1c -.RI "double \fBcross_rate\fP" -.br -.ti -1c -.RI "eoMonOp< EOT > & \fBmut\fP" -.br -.ti -1c -.RI "double \fBmut_rate\fP" -.br -.ti -1c -.RI "unsigned \fBidx\fP" -.br -.ti -1c -.RI "eoPop< EOT > * \fBpop\fP" -.br -.ti -1c -.RI "EOT \fBfather\fP" -.br -.ti -1c -.RI "EOT \fBmother\fP" -.br -.ti -1c -.RI "unsigned \fBnum_term\fP" -.br -.in -1c -.SH "Detailed Description" -.PP - -.SS "template class peoParaSGATransform< EOT >" - -.PP -Definition at line 36 of file peoParaSGATransform.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/peoPopEval.3 b/trunk/paradiseo-peo/examples/man/man3/peoPopEval.3 deleted file mode 100755 index 627caa31c..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/peoPopEval.3 +++ /dev/null @@ -1,37 +0,0 @@ -.TH "peoPopEval" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -peoPopEval \- The \fB\fBpeoPopEval\fP\fP class provides the interface for constructing ParadisEO specific evaluation functors. - -.PP -.SH SYNOPSIS -.br -.PP -\fC#include \fP -.PP -Inherits \fBService\fP. -.PP -Inherited by \fBpeoParaPopEval< EOT >\fP, and \fBpeoSeqPopEval< EOT >\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "virtual void \fBoperator()\fP (eoPop< EOT > &__pop)=0" -.br -.RI "\fIInterface function providing the signature for constructing an evaluation functor. \fP" -.in -1c -.SH "Detailed Description" -.PP - -.SS "template class peoPopEval< EOT >" -The \fB\fBpeoPopEval\fP\fP class provides the interface for constructing ParadisEO specific evaluation functors. - -The derived classes may be used as wrappers for \fBEO\fP-derived evaluation functors. In order to have an example, please refer to the implementation of the \fB\fBpeoSeqPopEval\fP\fP and \fB\fBpeoParaPopEval\fP\fP classes. -.PP -Definition at line 34 of file peoPopEval.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/peoSeqPopEval.3 b/trunk/paradiseo-peo/examples/man/man3/peoSeqPopEval.3 deleted file mode 100755 index ab34cb44f..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/peoSeqPopEval.3 +++ /dev/null @@ -1,78 +0,0 @@ -.TH "peoSeqPopEval" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -peoSeqPopEval \- The \fBpeoSeqPopEval\fP class acts only as a ParadisEO specific sequential evaluation functor - a wrapper for incorporating an \fBeoEvalFunc< EOT >\fP-derived class as evaluation functor. - -.PP -.SH SYNOPSIS -.br -.PP -\fC#include \fP -.PP -Inherits \fBpeoPopEval< EOT >< EOT >\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "\fBpeoSeqPopEval\fP (eoEvalFunc< EOT > &__eval)" -.br -.RI "\fIConstructor function - it only sets an internal reference to point to the specified evaluation object. \fP" -.ti -1c -.RI "void \fBoperator()\fP (eoPop< EOT > &__pop)" -.br -.RI "\fIOperator for evaluating all the individuals of a given population - in a sequential iterative manner. \fP" -.in -1c -.SS "Private Attributes" - -.in +1c -.ti -1c -.RI "eoEvalFunc< EOT > & \fBeval\fP" -.br -.in -1c -.SH "Detailed Description" -.PP - -.SS "template class peoSeqPopEval< EOT >" -The \fBpeoSeqPopEval\fP class acts only as a ParadisEO specific sequential evaluation functor - a wrapper for incorporating an \fBeoEvalFunc< EOT >\fP-derived class as evaluation functor. - -The specified EO evaluation object is applyied in an iterative manner to each individual of a specified population. -.PP -Definition at line 36 of file peoSeqPopEval.h. -.SH "Constructor & Destructor Documentation" -.PP -.SS "template \fBpeoSeqPopEval\fP< EOT >::\fBpeoSeqPopEval\fP (eoEvalFunc< EOT > & __eval)" -.PP -Constructor function - it only sets an internal reference to point to the specified evaluation object. -.PP -\fBParameters:\fP -.RS 4 -\fIeoEvalFunc<\fP EOT >& __eval - evaluation object to be applied for each individual of a specified population -.RE -.PP - -.PP -Definition at line 56 of file peoSeqPopEval.h. -.SH "Member Function Documentation" -.PP -.SS "template void \fBpeoSeqPopEval\fP< EOT >::operator() (eoPop< EOT > & __pop)\fC [virtual]\fP" -.PP -Operator for evaluating all the individuals of a given population - in a sequential iterative manner. -.PP -\fBParameters:\fP -.RS 4 -\fIeoPop<\fP EOT >& __pop - population to be evaluated. -.RE -.PP - -.PP -Implements \fBpeoPopEval< EOT >\fP. -.PP -Definition at line 61 of file peoSeqPopEval.h. -.PP -References peoSeqPopEval< EOT >::eval. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/peoSeqTransform.3 b/trunk/paradiseo-peo/examples/man/man3/peoSeqTransform.3 deleted file mode 100755 index 8b6a988b5..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/peoSeqTransform.3 +++ /dev/null @@ -1,96 +0,0 @@ -.TH "peoSeqTransform" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -peoSeqTransform \- The \fBpeoSeqTransform\fP represent a wrapper for offering the possibility of using EO derived transform operators along with the ParadisEO evolutionary algorithms. - -.PP -.SH SYNOPSIS -.br -.PP -\fC#include \fP -.PP -Inherits \fBpeoTransform< EOT >< EOT >\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "\fBpeoSeqTransform\fP (eoTransform< EOT > &__trans)" -.br -.RI "\fIConstructor function - sets an internal reference towards the specified EO-derived transform object. \fP" -.ti -1c -.RI "void \fBoperator()\fP (eoPop< EOT > &__pop)" -.br -.RI "\fIOperator for applying the specified transform operators on each individual of the given population. \fP" -.ti -1c -.RI "virtual void \fBpackData\fP ()" -.br -.RI "\fIInterface function for providing a link with the parallel architecture of the ParadisEO framework. \fP" -.ti -1c -.RI "virtual void \fBunpackData\fP ()" -.br -.RI "\fIInterface function for providing a link with the parallel architecture of the ParadisEO framework. \fP" -.ti -1c -.RI "virtual void \fBexecute\fP ()" -.br -.RI "\fIInterface function for providing a link with the parallel architecture of the ParadisEO framework. \fP" -.ti -1c -.RI "virtual void \fBpackResult\fP ()" -.br -.RI "\fIInterface function for providing a link with the parallel architecture of the ParadisEO framework. \fP" -.ti -1c -.RI "virtual void \fBunpackResult\fP ()" -.br -.RI "\fIInterface function for providing a link with the parallel architecture of the ParadisEO framework. \fP" -.in -1c -.SS "Private Attributes" - -.in +1c -.ti -1c -.RI "eoTransform< EOT > & \fBtrans\fP" -.br -.in -1c -.SH "Detailed Description" -.PP - -.SS "template class peoSeqTransform< EOT >" -The \fBpeoSeqTransform\fP represent a wrapper for offering the possibility of using EO derived transform operators along with the ParadisEO evolutionary algorithms. - -A minimal set of interface functions is also provided for creating the link with the parallel architecture of the ParadisEO framework. -.PP -Definition at line 35 of file peoSeqTransform.h. -.SH "Constructor & Destructor Documentation" -.PP -.SS "template \fBpeoSeqTransform\fP< EOT >::\fBpeoSeqTransform\fP (eoTransform< EOT > & __trans)" -.PP -Constructor function - sets an internal reference towards the specified EO-derived transform object. -.PP -\fBParameters:\fP -.RS 4 -\fIeoTransform<\fP EOT >& __trans - EO-derived transform object including crossover and mutation operators. -.RE -.PP - -.PP -Definition at line 70 of file peoSeqTransform.h. -.SH "Member Function Documentation" -.PP -.SS "template void \fBpeoSeqTransform\fP< EOT >::operator() (eoPop< EOT > & __pop)" -.PP -Operator for applying the specified transform operators on each individual of the given population. -.PP -\fBParameters:\fP -.RS 4 -\fIeoPop<\fP EOT >& __pop - population to be transformed by applying the crossover and mutation operators. -.RE -.PP - -.PP -Definition at line 75 of file peoSeqTransform.h. -.PP -References peoSeqTransform< EOT >::trans. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/peoSyncIslandMig.3 b/trunk/paradiseo-peo/examples/man/man3/peoSyncIslandMig.3 deleted file mode 100755 index 739084001..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/peoSyncIslandMig.3 +++ /dev/null @@ -1,181 +0,0 @@ -.TH "peoSyncIslandMig" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -peoSyncIslandMig \- The \fBpeoSyncIslandMig\fP class offers the elementary basis for implementating a synchronous island migration model - requires the specification of several basic parameters, i.e. - -.PP -.SH SYNOPSIS -.br -.PP -\fC#include \fP -.PP -Inherits \fBCooperative\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "\fBpeoSyncIslandMig\fP (unsigned __frequency, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, \fBTopology\fP &__topology, eoPop< EOT > &__source, eoPop< EOT > &__destination)" -.br -.RI "\fIConstructor for the \fBpeoSyncIslandMig\fP class; the characteristics of the migration model are defined through the specified parameters - out of the box objects provided in EO, etc., or custom, derived objects may be passed as parameters. \fP" -.ti -1c -.RI "void \fBoperator()\fP ()" -.br -.RI "\fIFunction operator to be called as checkpoint for performing the migration step. \fP" -.ti -1c -.RI "void \fBpack\fP ()" -.br -.RI "\fIAuxiliary function dealing with sending the emigrant individuals. There is no need to explicitly call the function. \fP" -.ti -1c -.RI "void \fBunpack\fP ()" -.br -.RI "\fIAuxiliary function dealing with receiving immigrant individuals. There is no need to explicitly call the function. \fP" -.ti -1c -.RI "void \fBnotifySending\fP ()" -.br -.RI "\fIAuxiliary function dealing with migration notifications. There is no need to explicitly call the function. \fP" -.in -1c -.SS "Private Member Functions" - -.in +1c -.ti -1c -.RI "void \fBemigrate\fP ()" -.br -.ti -1c -.RI "void \fBimmigrate\fP ()" -.br -.in -1c -.SS "Private Attributes" - -.in +1c -.ti -1c -.RI "eoPeriodicContinue< EOT > \fBcont\fP" -.br -.ti -1c -.RI "eoSelect< EOT > & \fBselect\fP" -.br -.ti -1c -.RI "eoReplacement< EOT > & \fBreplace\fP" -.br -.ti -1c -.RI "\fBTopology\fP & \fBtopology\fP" -.br -.ti -1c -.RI "eoPop< EOT > & \fBsource\fP" -.br -.ti -1c -.RI "eoPop< EOT > & \fBdestination\fP" -.br -.ti -1c -.RI "std::queue< eoPop< EOT > > \fBimm\fP" -.br -.ti -1c -.RI "std::queue< eoPop< EOT > > \fBem\fP" -.br -.ti -1c -.RI "std::queue< \fBCooperative\fP * > \fBcoop_em\fP" -.br -.ti -1c -.RI "sem_t \fBsync\fP" -.br -.in -1c -.SH "Detailed Description" -.PP - -.SS "template class peoSyncIslandMig< EOT >" -The \fBpeoSyncIslandMig\fP class offers the elementary basis for implementating a synchronous island migration model - requires the specification of several basic parameters, i.e. - -frequency of the migrations, selection and replacement strategies, a topological model and the source and destination population for the migrating individuals. The main difference as opposed to the asynchronous migration model is the synchronization step performed after selecting and sending the emigrant individuals. -.PP -The migration operator is called at the end of each generation of an evolutionary algorithms as a checkpoint object - the following code exposes the structure of a classic evolutionary algorithm: -.PP -\fBdo\fP { select( population, offsprings ); // select the offsprings from the current population transform( offsprings ); // crossover and mutation operators are applied on the selected offsprings evaluate( offsprings ); // evaluation step of the resulting offspring replace( population, offsprings ); // replace the individuals in the current population whith individuals from the offspring population, according to a specified replacement strategy } \fBwhile\fP ( eaCheckpointContinue( population ) ); // checkpoint operators are applied on the current population, including the migration operator, if any specified -.PP -Constructing a synchronous island migration model requires having defined (1) a topological migration model, (2) the control parameters of the migration process, (3) a checkpoint object associated with an evolutionary algorithm, and (4) an owner object must be set. The owner object must be derived from the \fB\fBRunner\fP\fP class (for example a \fBpeoEA\fP object represents a possible owner). A simple example is offered bellow: -.PP -.PD 0 -.IP "1." 4 -topological model to be followed when performing migrations: -.br - -.br - \fBRingTopology\fP migTopology; // a simple ring topological model - each island communicates with two other islands -.PP - -.IP "2." 4 -the continuation criterion, selection and replacement strategy etc. are defined: -.br - -.br - eoPop< EOT > population( POP_SIZE, popInitializer ); // population of individuals to be used for the evolutionary algorithm eoRandomSelect< EOT > migSelectStrategy; // selection strategy - in this case a random selection is applied eoSelectNumber< EOT > migSelect( migSelectStrategy, MIG_SIZE ); // number of individuals to be selected using the specified strategy eoPlusReplacement< EOT > migReplace; // immigration strategy - the worse individuals in the destination population are replaced by the immigrant individuals peoSyncIslandMig< EOT > syncMigration( -.br - MIG_FREQ, migSelect, migReplace, migTopology, -.br - population, population -.br - ); // synchronous migration object - the emigrant individuals are selected from the same from population in which the immigrant individuals are being integrated -.PP - -.IP "3." 4 -creation of a checkpoint object as part of the definition of an evolutionary algoritm (details of th EA not given as being out of scope): -.br - -.br - ... eoGenContinue< EOT > eaCont( NUM_GEN ); // the evolutionary algorithm will stop after NUM_GEN generations eoCheckPoint< EOT > eaCheckpointContinue( eaCont ); // number of individuals to be selected using the specified strategy ... eaCheckpointContinue.add( syncMigration ); // adding the migration operator as checkpoint element ... -.PP - -.IP "4." 4 -definition of an owner evolutionary algorithm (an object inheriting the \fB\fBRunner\fP\fP class): -.br - -.br - peoEA< EOT > eaAlg( eaCheckpointContinue, eaPopEval, eaSelect, eaTransform, eaReplace); // evolutionary algorithm having as checkpoint the eaCheckpointContinue object defined above syncMigration.setOwner( eaAlg ); // setting the evolutionary algorithm as owner of the migration object eaAlg( population ); // applying the evolutionary algorithm on a given population -.PP -.PP -The source and the destination population for the migration object were specified as being the same, in step no. 2, as we are usually interested in selecting the emigrants and integrating the immigrant individuals from and in, respectively, one unique population, iteratively evolved by an evolutionary algorithm. There is no restriction in having two distinct populations as source and destination for the emigrant and immigrant individuals respectively. -.PP -The above steps only create a synchronous migration object associated to an evolutionary algorithm. The creation of several islands requires the reiteration of the steps 2 through 4 for creating distinct algorithms, with distinct populations and the associated distinctly parametrized migration objects. The interconnecting element is the underlying topology, defined at step 1 (the same C++ migTopology object has to be passed as parameter for all the migration objects, in order to interconnect them). -.PP -Definition at line 129 of file peoSyncIslandMig.h. -.SH "Constructor & Destructor Documentation" -.PP -.SS "template \fBpeoSyncIslandMig\fP< EOT >::\fBpeoSyncIslandMig\fP (unsigned __frequency, eoSelect< EOT > & __select, eoReplacement< EOT > & __replace, \fBTopology\fP & __topology, eoPop< EOT > & __source, eoPop< EOT > & __destination)" -.PP -Constructor for the \fBpeoSyncIslandMig\fP class; the characteristics of the migration model are defined through the specified parameters - out of the box objects provided in EO, etc., or custom, derived objects may be passed as parameters. -.PP -\fBParameters:\fP -.RS 4 -\fIunsigned\fP __frequency - frequency of the migrations - the migrations occur periodically; -.br -\fIeoSelect<\fP EOT >& __select - selection strategy to be applied for constructing a list of emigrant individuals out of the source population; -.br -\fIeoReplacement<\fP EOT >& __replace - replacement strategy used for integrating the immigrant individuals in the destination population; -.br -\fITopology&\fP __topology - topological model to be followed when performing migrations; -.br -\fIeoPop<\fP EOT >& __source - source population from which the emigrant individuals are selected; -.br -\fIeoPop<\fP EOT >& __destination - destination population in which the immigrant population are integrated. -.RE -.PP - -.PP -Definition at line 193 of file peoSyncIslandMig.h. -.PP -References Topology::add(), and peoSyncIslandMig< EOT >::sync. -.SH "Member Function Documentation" -.PP -.SS "template void \fBpeoSyncIslandMig\fP< EOT >::operator() ()" -.PP -Function operator to be called as checkpoint for performing the migration step. -.PP -The emigrant individuals are selected from the source population and sent to the next island (defined by the topology object) while the immigrant individuals are integrated in the destination population. There is no need to explicitly call the function - the wrapper checkpoint object (please refer to the above example) will perform the call when required. -.PP -Definition at line 267 of file peoSyncIslandMig.h. -.PP -References peoSyncIslandMig< EOT >::cont, peoSyncIslandMig< EOT >::emigrate(), Cooperative::getOwner(), peoSyncIslandMig< EOT >::immigrate(), Thread::setActive(), peoSyncIslandMig< EOT >::source, Communicable::stop(), and peoSyncIslandMig< EOT >::sync. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/peoSyncMultiStart.3 b/trunk/paradiseo-peo/examples/man/man3/peoSyncMultiStart.3 deleted file mode 100755 index eab8f736d..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/peoSyncMultiStart.3 +++ /dev/null @@ -1,209 +0,0 @@ -.TH "peoSyncMultiStart" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -peoSyncMultiStart \- The \fBpeoSyncMultiStart\fP class provides the basis for implementing the synchronous multi-start model, for launching several solution-based algorithms in parallel on a specified initial population. - -.PP -.SH SYNOPSIS -.br -.PP -\fC#include \fP -.PP -Inherits \fBService\fP. -.PP -.SS "Public Member Functions" - -.in +1c -.ti -1c -.RI "\fBpeoSyncMultiStart\fP (eoContinue< EOT > &__cont, eoSelect< EOT > &__select, eoReplacement< EOT > &__replace, moAlgo< EOT > &__ls, eoPop< EOT > &__pop)" -.br -.RI "\fIConstructor function - several simple parameters are required for defining the characteristics of the multi-start model. \fP" -.ti -1c -.RI "void \fBoperator()\fP ()" -.br -.RI "\fIOperator which synchronously executes the specified algorithm on the individuals selected from the initial population. \fP" -.ti -1c -.RI "void \fBpackData\fP ()" -.br -.RI "\fIAuxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. \fP" -.ti -1c -.RI "void \fBunpackData\fP ()" -.br -.RI "\fIAuxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. \fP" -.ti -1c -.RI "void \fBexecute\fP ()" -.br -.RI "\fIAuxiliary function for actually executing the specified algorithm on one assigned individual. \fP" -.ti -1c -.RI "void \fBpackResult\fP ()" -.br -.RI "\fIAuxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. \fP" -.ti -1c -.RI "void \fBunpackResult\fP ()" -.br -.RI "\fIAuxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. \fP" -.ti -1c -.RI "void \fBnotifySendingData\fP ()" -.br -.RI "\fIAuxiliary function for notifications between the process requesting the synchronous multi-start execution and the processes that performs the actual execution phase. \fP" -.ti -1c -.RI "void \fBnotifySendingAllResourceRequests\fP ()" -.br -.RI "\fIAuxiliary function for notifications between the process requesting the synchronous multi-start execution and the processes that performs the actual execution phase. \fP" -.in -1c -.SS "Private Attributes" - -.in +1c -.ti -1c -.RI "eoContinue< EOT > & \fBcont\fP" -.br -.ti -1c -.RI "eoSelect< EOT > & \fBselect\fP" -.br -.ti -1c -.RI "eoReplacement< EOT > & \fBreplace\fP" -.br -.ti -1c -.RI "moAlgo< EOT > & \fBls\fP" -.br -.ti -1c -.RI "eoPop< EOT > & \fBpop\fP" -.br -.ti -1c -.RI "eoPop< EOT > \fBsel\fP" -.br -.ti -1c -.RI "eoPop< EOT > \fBimpr_sel\fP" -.br -.ti -1c -.RI "EOT \fBsol\fP" -.br -.ti -1c -.RI "unsigned \fBidx\fP" -.br -.ti -1c -.RI "unsigned \fBnum_term\fP" -.br -.in -1c -.SH "Detailed Description" -.PP - -.SS "template class peoSyncMultiStart< EOT >" -The \fBpeoSyncMultiStart\fP class provides the basis for implementing the synchronous multi-start model, for launching several solution-based algorithms in parallel on a specified initial population. - -As a simple example, several hill climbing algorithms may be synchronously launched on the specified population, each algorithm acting upon one individual only, the final result being integrated back in the population. A \fBpeoSyncMultiStart\fP object can be specified as checkpoint object for a classic ParadisEO evolutionary algorithm thus allowing for simple hybridization schemes which combine the evolutionary approach with a local search approach, for example, executed at the end of each generation. -.PP -Definition at line 51 of file peoSyncMultiStart.h. -.SH "Constructor & Destructor Documentation" -.PP -.SS "template \fBpeoSyncMultiStart\fP< EOT >::\fBpeoSyncMultiStart\fP (eoContinue< EOT > & __cont, eoSelect< EOT > & __select, eoReplacement< EOT > & __replace, moAlgo< EOT > & __ls, eoPop< EOT > & __pop)" -.PP -Constructor function - several simple parameters are required for defining the characteristics of the multi-start model. -.PP -\fBParameters:\fP -.RS 4 -\fIeoContinue<\fP EOT >& __cont - defined for including further functionality - no semantics associated at this time; -.br -\fIeoSelect<\fP EOT >& __select - selection strategy for obtaining a subset of the initial population on which to apply the specified algorithm; -.br -\fIeoReplacement<\fP EOT >& __replace - replacement strategy for integrating the resulting individuals in the initial population; -.br -\fImoAlgo<\fP EOT >& __ls - algorithm to be applied on each of the selected individuals - a \fBmoAlgo< EOT >\fP-derived object must be specified; -.br -\fIeoPop<\fP EOT >& __pop - the initial population from which the individuals are selected for applying the specified algorithm. -.RE -.PP - -.PP -Definition at line 121 of file peoSyncMultiStart.h. -.SH "Member Function Documentation" -.PP -.SS "template void \fBpeoSyncMultiStart\fP< EOT >::operator() ()" -.PP -Operator which synchronously executes the specified algorithm on the individuals selected from the initial population. -.PP -There is no need to explicitly call the operator - automatically called as checkpoint operator. -.PP -Definition at line 176 of file peoSyncMultiStart.h. -.PP -References peoSyncMultiStart< EOT >::idx, peoSyncMultiStart< EOT >::impr_sel, peoSyncMultiStart< EOT >::num_term, peoSyncMultiStart< EOT >::pop, Service::requestResourceRequest(), peoSyncMultiStart< EOT >::sel, peoSyncMultiStart< EOT >::select, and Communicable::stop(). -.SS "template void \fBpeoSyncMultiStart\fP< EOT >::packData ()\fC [virtual]\fP" -.PP -Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. -.PP -There is no need to explicitly call the function. -.PP -Reimplemented from \fBService\fP. -.PP -Definition at line 135 of file peoSyncMultiStart.h. -.PP -References peoSyncMultiStart< EOT >::idx, and peoSyncMultiStart< EOT >::sel. -.SS "template void \fBpeoSyncMultiStart\fP< EOT >::unpackData ()\fC [virtual]\fP" -.PP -Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. -.PP -There is no need to explicitly call the function. -.PP -Reimplemented from \fBService\fP. -.PP -Definition at line 141 of file peoSyncMultiStart.h. -.PP -References peoSyncMultiStart< EOT >::sol. -.SS "template void \fBpeoSyncMultiStart\fP< EOT >::execute ()\fC [virtual]\fP" -.PP -Auxiliary function for actually executing the specified algorithm on one assigned individual. -.PP -There is no need to explicitly call the function. -.PP -Reimplemented from \fBService\fP. -.PP -Definition at line 147 of file peoSyncMultiStart.h. -.PP -References peoSyncMultiStart< EOT >::ls, and peoSyncMultiStart< EOT >::sol. -.SS "template void \fBpeoSyncMultiStart\fP< EOT >::packResult ()\fC [virtual]\fP" -.PP -Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. -.PP -There is no need to explicitly call the function. -.PP -Reimplemented from \fBService\fP. -.PP -Definition at line 153 of file peoSyncMultiStart.h. -.PP -References peoSyncMultiStart< EOT >::sol. -.SS "template void \fBpeoSyncMultiStart\fP< EOT >::unpackResult ()\fC [virtual]\fP" -.PP -Auxiliary function for transferring data between the process requesting the synchronous execution of the specified algorithm and the process which actually executes the algorithm. -.PP -There is no need to explicitly call the function. -.PP -Reimplemented from \fBService\fP. -.PP -Definition at line 159 of file peoSyncMultiStart.h. -.PP -References Service::getOwner(), peoSyncMultiStart< EOT >::impr_sel, peoSyncMultiStart< EOT >::num_term, peoSyncMultiStart< EOT >::pop, peoSyncMultiStart< EOT >::replace, Communicable::resume(), peoSyncMultiStart< EOT >::sel, Thread::setActive(), and peoSyncMultiStart< EOT >::sol. -.SS "template void \fBpeoSyncMultiStart\fP< EOT >::notifySendingData ()\fC [virtual]\fP" -.PP -Auxiliary function for notifications between the process requesting the synchronous multi-start execution and the processes that performs the actual execution phase. -.PP -There is no need to explicitly call the function. -.PP -Reimplemented from \fBService\fP. -.PP -Definition at line 187 of file peoSyncMultiStart.h. -.SS "template void \fBpeoSyncMultiStart\fP< EOT >::notifySendingAllResourceRequests ()\fC [virtual]\fP" -.PP -Auxiliary function for notifications between the process requesting the synchronous multi-start execution and the processes that performs the actual execution phase. -.PP -There is no need to explicitly call the function. -.PP -Reimplemented from \fBService\fP. -.PP -Definition at line 192 of file peoSyncMultiStart.h. -.PP -References Service::getOwner(), and Thread::setPassive(). - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/man/man3/peoTransform.3 b/trunk/paradiseo-peo/examples/man/man3/peoTransform.3 deleted file mode 100755 index 1cd4ed00d..000000000 --- a/trunk/paradiseo-peo/examples/man/man3/peoTransform.3 +++ /dev/null @@ -1,27 +0,0 @@ -.TH "peoTransform" 3 "22 Dec 2006" "ParadisEO" \" -*- nroff -*- -.ad l -.nh -.SH NAME -peoTransform \- The \fBpeoTransform\fP class acts only as an interface for creating transform operators - for an example please refer to the \fB\fBpeoSeqTransform\fP\fP and the \fB\fBpeoParaSGATransform\fP\fP classes. - -.PP -.SH SYNOPSIS -.br -.PP -\fC#include \fP -.PP -Inherits \fBService\fP. -.PP -Inherited by \fBpeoParaSGATransform< EOT >\fP, and \fBpeoSeqTransform< EOT >\fP. -.PP -.SH "Detailed Description" -.PP - -.SS "template class peoTransform< EOT >" -The \fBpeoTransform\fP class acts only as an interface for creating transform operators - for an example please refer to the \fB\fBpeoSeqTransform\fP\fP and the \fB\fBpeoParaSGATransform\fP\fP classes. -.PP -Definition at line 35 of file peoTransform.h. - -.SH "Author" -.PP -Generated automatically by Doxygen for ParadisEO from the source code. diff --git a/trunk/paradiseo-peo/examples/peoExamples.cfg b/trunk/paradiseo-peo/examples/peoExamples.cfg deleted file mode 100755 index 818338e30..000000000 --- a/trunk/paradiseo-peo/examples/peoExamples.cfg +++ /dev/null @@ -1,1119 +0,0 @@ -# Doxyfile 1.3.6 - -# This file describes the settings to be used by the documentation system -# doxygen (www.doxygen.org) for a project -# -# All text after a hash (#) is considered a comment and will be ignored -# The format is: -# TAG = value [value, ...] -# For lists items can also be appended using: -# TAG += value [value, ...] -# Values that contain spaces should be placed between quotes (" ") - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- - -# The PROJECT_NAME tag is a single word (or a sequence of words surrounded -# by quotes) that should identify the project. - -PROJECT_NAME = ParadisEO - -# The PROJECT_NUMBER tag can be used to enter a project or revision number. -# This could be handy for archiving the generated documentation or -# if some version control system is used. - -# PROJECT_NUMBER = 0.1 - -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) -# base path where the generated documentation will be put. -# If a relative path is entered, it will be relative to the location -# where doxygen was started. If left blank the current directory will be used. - -OUTPUT_DIRECTORY = - -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# The default language is English, other supported languages are: -# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, Dutch, -# Finnish, French, German, Greek, Hungarian, Italian, Japanese, Japanese-en -# (Japanese with English messages), Korean, Korean-en, Norwegian, Polish, Portuguese, -# Romanian, Russian, Serbian, Slovak, Slovene, Spanish, Swedish, and Ukrainian. - -OUTPUT_LANGUAGE = English - -# This tag can be used to specify the encoding used in the generated output. -# The encoding is not always determined by the language that is chosen, -# but also whether or not the output is meant for Windows or non-Windows users. -# In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES -# forces the Windows encoding (this is the default for the Windows binary), -# whereas setting the tag to NO uses a Unix-style encoding (the default for -# all platforms other than Windows). - -USE_WINDOWS_ENCODING = NO - -# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will -# include brief member descriptions after the members that are listed in -# the file and class documentation (similar to JavaDoc). -# Set to NO to disable this. - -BRIEF_MEMBER_DESC = YES - -# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend -# the brief description of a member or function before the detailed description. -# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the -# brief descriptions will be completely suppressed. - -REPEAT_BRIEF = YES - -# This tag implements a quasi-intelligent brief description abbreviator -# that is used to form the text in various listings. Each string -# in this list, if found as the leading text of the brief description, will be -# stripped from the text and the result after processing the whole list, is used -# as the annotated text. Otherwise, the brief description is used as-is. If left -# blank, the following values are used ("$name" is automatically replaced with the -# name of the entity): "The $name class" "The $name widget" "The $name file" -# "is" "provides" "specifies" "contains" "represents" "a" "an" "the" - -ABBREVIATE_BRIEF = - -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# Doxygen will generate a detailed section even if there is only a brief -# description. - -ALWAYS_DETAILED_SEC = NO - -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited -# members of a class in the documentation of that class as if those members were -# ordinary class members. Constructors, destructors and assignment operators of -# the base classes will not be shown. - -INLINE_INHERITED_MEMB = NO - -# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full -# path before files name in the file list and in the header files. If set -# to NO the shortest path that makes the file name unique will be used. - -FULL_PATH_NAMES = NO - -# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag -# can be used to strip a user-defined part of the path. Stripping is -# only done if one of the specified strings matches the left-hand part of -# the path. It is allowed to use relative paths in the argument list. -# If left blank the directory from which doxygen is run is used as the -# path to strip. - -STRIP_FROM_PATH = - -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter -# (but less readable) file names. This can be useful is your file systems -# doesn't support long names like on DOS, Mac, or CD-ROM. - -SHORT_NAMES = NO - -# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen -# will interpret the first line (until the first dot) of a JavaDoc-style -# comment as the brief description. If set to NO, the JavaDoc -# comments will behave just like the Qt-style comments (thus requiring an -# explicit @brief command for a brief description. - -JAVADOC_AUTOBRIEF = YES - -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen -# treat a multi-line C++ special comment block (i.e. a block of //! or /// -# comments) as a brief description. This used to be the default behaviour. -# The new default is to treat a multi-line C++ comment block as a detailed -# description. Set this tag to YES if you prefer the old behaviour instead. - -MULTILINE_CPP_IS_BRIEF = NO - -# If the DETAILS_AT_TOP tag is set to YES then Doxygen -# will output the detailed description near the top, like JavaDoc. -# If set to NO, the detailed description appears after the member -# documentation. - -DETAILS_AT_TOP = NO - -# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented -# member inherits the documentation from any documented member that it -# re-implements. - -INHERIT_DOCS = YES - -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES, then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default -# all members of a group must be documented explicitly. - -DISTRIBUTE_GROUP_DOC = NO - -# The TAB_SIZE tag can be used to set the number of spaces in a tab. -# Doxygen uses this value to replace tabs by spaces in code fragments. - -TAB_SIZE = 8 - -# This tag can be used to specify a number of aliases that acts -# as commands in the documentation. An alias has the form "name=value". -# For example adding "sideeffect=\par Side Effects:\n" will allow you to -# put the command \sideeffect (or @sideeffect) in the documentation, which -# will result in a user-defined paragraph with heading "Side Effects:". -# You can put \n's in the value part of an alias to insert newlines. - -ALIASES = - -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources -# only. Doxygen will then generate output that is more tailored for C. -# For instance, some of the names that are used will be different. The list -# of all members will be omitted, etc. - -OPTIMIZE_OUTPUT_FOR_C = NO - -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources -# only. Doxygen will then generate output that is more tailored for Java. -# For instance, namespaces will be presented as packages, qualified scopes -# will look different, etc. - -OPTIMIZE_OUTPUT_JAVA = NO - -# Set the SUBGROUPING tag to YES (the default) to allow class member groups of -# the same type (for instance a group of public functions) to be put as a -# subgroup of that type (e.g. under the Public Functions section). Set it to -# NO to prevent subgrouping. Alternatively, this can be done per class using -# the \nosubgrouping command. - -SUBGROUPING = YES - -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- - -# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in -# documentation are documented, even if no documentation was available. -# Private class members and static file members will be hidden unless -# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES - -EXTRACT_ALL = NO - -# If the EXTRACT_PRIVATE tag is set to YES all private members of a class -# will be included in the documentation. - -EXTRACT_PRIVATE = YES - -# If the EXTRACT_STATIC tag is set to YES all static members of a file -# will be included in the documentation. - -EXTRACT_STATIC = YES - -# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) -# defined locally in source files will be included in the documentation. -# If set to NO only classes defined in header files are included. - -EXTRACT_LOCAL_CLASSES = YES - -# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all -# undocumented members of documented classes, files or namespaces. -# If set to NO (the default) these members will be included in the -# various overviews, but no documentation section is generated. -# This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_MEMBERS = NO - -# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. -# If set to NO (the default) these classes will be included in the various -# overviews. This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_CLASSES = NO - -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all -# friend (class|struct|union) declarations. -# If set to NO (the default) these declarations will be included in the -# documentation. - -HIDE_FRIEND_COMPOUNDS = NO - -# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any -# documentation blocks found inside the body of a function. -# If set to NO (the default) these blocks will be appended to the -# function's detailed documentation block. - -HIDE_IN_BODY_DOCS = NO - -# The INTERNAL_DOCS tag determines if documentation -# that is typed after a \internal command is included. If the tag is set -# to NO (the default) then the documentation will be excluded. -# Set it to YES to include the internal documentation. - -INTERNAL_DOCS = NO - -# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate -# file names in lower-case letters. If set to YES upper-case letters are also -# allowed. This is useful if you have classes or files whose names only differ -# in case and if your file system supports case sensitive file names. Windows -# users are advised to set this option to NO. - -CASE_SENSE_NAMES = NO - -# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen -# will show members with their full class and namespace scopes in the -# documentation. If set to YES the scope will be hidden. - -HIDE_SCOPE_NAMES = NO - -# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen -# will put a list of the files that are included by a file in the documentation -# of that file. - -SHOW_INCLUDE_FILES = YES - -# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] -# is inserted in the documentation for inline members. - -INLINE_INFO = YES - -# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen -# will sort the (detailed) documentation of file and class members -# alphabetically by member name. If set to NO the members will appear in -# declaration order. - -SORT_MEMBER_DOCS = NO - -# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the -# brief documentation of file, namespace and class members alphabetically -# by member name. If set to NO (the default) the members will appear in -# declaration order. - -SORT_BRIEF_DOCS = NO - -# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be -# sorted by fully-qualified names, including namespaces. If set to -# NO (the default), the class list will be sorted only by class name, -# not including the namespace part. -# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. -# Note: This option applies only to the class list, not to the -# alphabetical list. - -SORT_BY_SCOPE_NAME = NO - -# The GENERATE_TODOLIST tag can be used to enable (YES) or -# disable (NO) the todo list. This list is created by putting \todo -# commands in the documentation. - -GENERATE_TODOLIST = YES - -# The GENERATE_TESTLIST tag can be used to enable (YES) or -# disable (NO) the test list. This list is created by putting \test -# commands in the documentation. - -GENERATE_TESTLIST = YES - -# The GENERATE_BUGLIST tag can be used to enable (YES) or -# disable (NO) the bug list. This list is created by putting \bug -# commands in the documentation. - -GENERATE_BUGLIST = YES - -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or -# disable (NO) the deprecated list. This list is created by putting -# \deprecated commands in the documentation. - -GENERATE_DEPRECATEDLIST= YES - -# The ENABLED_SECTIONS tag can be used to enable conditional -# documentation sections, marked by \if sectionname ... \endif. - -ENABLED_SECTIONS = - -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines -# the initial value of a variable or define consists of for it to appear in -# the documentation. If the initializer consists of more lines than specified -# here it will be hidden. Use a value of 0 to hide initializers completely. -# The appearance of the initializer of individual variables and defines in the -# documentation can be controlled using \showinitializer or \hideinitializer -# command in the documentation regardless of this setting. - -MAX_INITIALIZER_LINES = 30 - -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated -# at the bottom of the documentation of classes and structs. If set to YES the -# list will mention the files that were used to generate the documentation. - -SHOW_USED_FILES = YES - -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- - -# The QUIET tag can be used to turn on/off the messages that are generated -# by doxygen. Possible values are YES and NO. If left blank NO is used. - -QUIET = YES - -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated by doxygen. Possible values are YES and NO. If left blank -# NO is used. - -WARNINGS = YES - -# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings -# for undocumented members. If EXTRACT_ALL is set to YES then this flag will -# automatically be disabled. - -WARN_IF_UNDOCUMENTED = YES - -# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some -# parameters in a documented function, or documenting parameters that -# don't exist or using markup commands wrongly. - -WARN_IF_DOC_ERROR = YES - -# The WARN_FORMAT tag determines the format of the warning messages that -# doxygen can produce. The string should contain the $file, $line, and $text -# tags, which will be replaced by the file and line number from which the -# warning originated and the warning text. - -WARN_FORMAT = "$file:$line: $text" - -# The WARN_LOGFILE tag can be used to specify a file to which warning -# and error messages should be written. If left blank the output is written -# to stderr. - -WARN_LOGFILE = - -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- - -# The INPUT tag can be used to specify the files and/or directories that contain -# documented source files. You may enter file names like "myfile.cpp" or -# directories like "/usr/src/myproject". Separate the files or directories -# with spaces. - -INPUT = .. - -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank the following patterns are tested: -# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp -# *.h++ *.idl *.odl *.cs *.php *.php3 *.inc - -FILE_PATTERNS = *.cpp \ - *.h \ - NEWS README - -# The RECURSIVE tag can be used to turn specify whether or not subdirectories -# should be searched for input files as well. Possible values are YES and NO. -# If left blank NO is used. - -RECURSIVE = YES - -# The EXCLUDE tag can be used to specify files and/or directories that should -# excluded from the INPUT source files. This way you can easily exclude a -# subdirectory from a directory tree whose root is specified with the INPUT tag. - -EXCLUDE = ../src/obsolete - -# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories -# that are symbolic links (a Unix filesystem feature) are excluded from the input. - -EXCLUDE_SYMLINKS = NO - -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. - -EXCLUDE_PATTERNS = - -# The EXAMPLE_PATH tag can be used to specify one or more files or -# directories that contain example code fragments that are included (see -# the \include command). - -EXAMPLE_PATH = - -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank all files are included. - -EXAMPLE_PATTERNS = - -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude -# commands irrespective of the value of the RECURSIVE tag. -# Possible values are YES and NO. If left blank NO is used. - -EXAMPLE_RECURSIVE = NO - -# The IMAGE_PATH tag can be used to specify one or more files or -# directories that contain image that are included in the documentation (see -# the \image command). - -IMAGE_PATH = - -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command , where -# is the value of the INPUT_FILTER tag, and is the name of an -# input file. Doxygen will then use the output that the filter program writes -# to standard output. - -INPUT_FILTER = - -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will be used to filter the input files when producing source -# files to browse (i.e. when SOURCE_BROWSER is set to YES). - -FILTER_SOURCE_FILES = NO - -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- - -# If the SOURCE_BROWSER tag is set to YES then a list of source files will -# be generated. Documented entities will be cross-referenced with these sources. -# Note: To get rid of all source code in the generated output, make sure also -# VERBATIM_HEADERS is set to NO. - -SOURCE_BROWSER = YES - -# Setting the INLINE_SOURCES tag to YES will include the body -# of functions and classes directly in the documentation. - -INLINE_SOURCES = NO - -# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct -# doxygen to hide any special comment blocks from generated source code -# fragments. Normal C and C++ comments will always remain visible. - -STRIP_CODE_COMMENTS = YES - -# If the REFERENCED_BY_RELATION tag is set to YES (the default) -# then for each documented function all documented -# functions referencing it will be listed. - -REFERENCED_BY_RELATION = YES - -# If the REFERENCES_RELATION tag is set to YES (the default) -# then for each documented function all documented entities -# called/used by that function will be listed. - -REFERENCES_RELATION = YES - -# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen -# will generate a verbatim copy of the header file for each class for -# which an include is specified. Set to NO to disable this. - -VERBATIM_HEADERS = YES - -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- - -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index -# of all compounds will be generated. Enable this if the project -# contains a lot of classes, structs, unions or interfaces. - -ALPHABETICAL_INDEX = YES - -# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then -# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns -# in which this list will be split (can be a number in the range [1..20]) - -COLS_IN_ALPHA_INDEX = 3 - -# In case all classes in a project start with a common prefix, all -# classes will be put under the same header in the alphabetical index. -# The IGNORE_PREFIX tag can be used to specify one or more prefixes that -# should be ignored while generating the index headers. - -IGNORE_PREFIX = peo - -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES (the default) Doxygen will -# generate HTML output. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `html' will be used as the default path. - -HTML_OUTPUT = html - -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for -# each generated HTML page (for example: .htm,.php,.asp). If it is left blank -# doxygen will generate files with .html extension. - -HTML_FILE_EXTENSION = .html - -# The HTML_HEADER tag can be used to specify a personal HTML header for -# each generated HTML page. If it is left blank doxygen will generate a -# standard header. - -HTML_HEADER = - -# The HTML_FOOTER tag can be used to specify a personal HTML footer for -# each generated HTML page. If it is left blank doxygen will generate a -# standard footer. - -HTML_FOOTER = - -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading -# style sheet that is used by each HTML page. It can be used to -# fine-tune the look of the HTML output. If the tag is left blank doxygen -# will generate a default style sheet. Note that doxygen will try to copy -# the style sheet file to the HTML output directory, so don't put your own -# stylesheet in the HTML output directory as well, or it will be erased! - -HTML_STYLESHEET = - -# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, -# files or namespaces will be aligned in HTML using tables. If set to -# NO a bullet list will be used. - -HTML_ALIGN_MEMBERS = YES - -# If the GENERATE_HTMLHELP tag is set to YES, additional index files -# will be generated that can be used as input for tools like the -# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) -# of the generated HTML documentation. - -GENERATE_HTMLHELP = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can -# be used to specify the file name of the resulting .chm file. You -# can add a path in front of the file if the result should not be -# written to the html output directory. - -CHM_FILE = - -# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can -# be used to specify the location (absolute path including file name) of -# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run -# the HTML help compiler on the generated index.hhp. - -HHC_LOCATION = - -# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag -# controls if a separate .chi index file is generated (YES) or that -# it should be included in the master .chm file (NO). - -GENERATE_CHI = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag -# controls whether a binary table of contents is generated (YES) or a -# normal table of contents (NO) in the .chm file. - -BINARY_TOC = NO - -# The TOC_EXPAND flag can be set to YES to add extra items for group members -# to the contents of the HTML help documentation and to the tree view. - -TOC_EXPAND = NO - -# The DISABLE_INDEX tag can be used to turn on/off the condensed index at -# top of each HTML page. The value NO (the default) enables the index and -# the value YES disables it. - -DISABLE_INDEX = NO - -# This tag can be used to set the number of enum values (range [1..20]) -# that doxygen will group on one line in the generated HTML documentation. - -ENUM_VALUES_PER_LINE = 4 - -# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be -# generated containing a tree-like index structure (just like the one that -# is generated for HTML Help). For this to work a browser that supports -# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, -# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are -# probably better off using the HTML help feature. - -GENERATE_TREEVIEW = YES - -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be -# used to set the initial width (in pixels) of the frame in which the tree -# is shown. - -TREEVIEW_WIDTH = 250 - -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- - -# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will -# generate Latex output. - -GENERATE_LATEX = YES - -# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `latex' will be used as the default path. - -LATEX_OUTPUT = latex - -# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be -# invoked. If left blank `latex' will be used as the default command name. - -LATEX_CMD_NAME = latex - -# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to -# generate index for LaTeX. If left blank `makeindex' will be used as the -# default command name. - -MAKEINDEX_CMD_NAME = makeindex - -# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact -# LaTeX documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_LATEX = NO - -# The PAPER_TYPE tag can be used to set the paper type that is used -# by the printer. Possible values are: a4, a4wide, letter, legal and -# executive. If left blank a4wide will be used. - -PAPER_TYPE = a4wide - -# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX -# packages that should be included in the LaTeX output. - -EXTRA_PACKAGES = - -# The LATEX_HEADER tag can be used to specify a personal LaTeX header for -# the generated latex document. The header should contain everything until -# the first chapter. If it is left blank doxygen will generate a -# standard header. Notice: only use this tag if you know what you are doing! - -LATEX_HEADER = - -# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated -# is prepared for conversion to pdf (using ps2pdf). The pdf file will -# contain links (just like the HTML output) instead of page references -# This makes the output suitable for online browsing using a pdf viewer. - -PDF_HYPERLINKS = NO - -# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of -# plain latex in the generated Makefile. Set this option to YES to get a -# higher quality PDF documentation. - -USE_PDFLATEX = NO - -# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. -# command to the generated LaTeX files. This will instruct LaTeX to keep -# running if errors occur, instead of asking the user for help. -# This option is also used when generating formulas in HTML. - -LATEX_BATCHMODE = NO - -# If LATEX_HIDE_INDICES is set to YES then doxygen will not -# include the index chapters (such as File Index, Compound Index, etc.) -# in the output. - -LATEX_HIDE_INDICES = NO - -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- - -# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output -# The RTF output is optimized for Word 97 and may not look very pretty with -# other RTF readers or editors. - -GENERATE_RTF = NO - -# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `rtf' will be used as the default path. - -RTF_OUTPUT = rtf - -# If the COMPACT_RTF tag is set to YES Doxygen generates more compact -# RTF documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_RTF = NO - -# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated -# will contain hyperlink fields. The RTF file will -# contain links (just like the HTML output) instead of page references. -# This makes the output suitable for online browsing using WORD or other -# programs which support those fields. -# Note: wordpad (write) and others do not support links. - -RTF_HYPERLINKS = NO - -# Load stylesheet definitions from file. Syntax is similar to doxygen's -# config file, i.e. a series of assignments. You only have to provide -# replacements, missing definitions are set to their default value. - -RTF_STYLESHEET_FILE = - -# Set optional variables used in the generation of an rtf document. -# Syntax is similar to doxygen's config file. - -RTF_EXTENSIONS_FILE = - -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- - -# If the GENERATE_MAN tag is set to YES (the default) Doxygen will -# generate man pages - -GENERATE_MAN = YES - -# The MAN_OUTPUT tag is used to specify where the man pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `man' will be used as the default path. - -MAN_OUTPUT = man - -# The MAN_EXTENSION tag determines the extension that is added to -# the generated man pages (default is the subroutine's section .3) - -MAN_EXTENSION = .3 - -# If the MAN_LINKS tag is set to YES and Doxygen generates man output, -# then it will generate one additional man file for each entity -# documented in the real man page(s). These additional files -# only source the real man page, but without them the man command -# would be unable to find the correct page. The default is NO. - -MAN_LINKS = NO - -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- - -# If the GENERATE_XML tag is set to YES Doxygen will -# generate an XML file that captures the structure of -# the code including all documentation. - -GENERATE_XML = NO - -# The XML_OUTPUT tag is used to specify where the XML pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `xml' will be used as the default path. - -XML_OUTPUT = xml - -# The XML_SCHEMA tag can be used to specify an XML schema, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_SCHEMA = - -# The XML_DTD tag can be used to specify an XML DTD, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_DTD = - -# If the XML_PROGRAMLISTING tag is set to YES Doxygen will -# dump the program listings (including syntax highlighting -# and cross-referencing information) to the XML output. Note that -# enabling this will significantly increase the size of the XML output. - -XML_PROGRAMLISTING = YES - -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- - -# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will -# generate an AutoGen Definitions (see autogen.sf.net) file -# that captures the structure of the code including all -# documentation. Note that this feature is still experimental -# and incomplete at the moment. - -GENERATE_AUTOGEN_DEF = NO - -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- - -# If the GENERATE_PERLMOD tag is set to YES Doxygen will -# generate a Perl module file that captures the structure of -# the code including all documentation. Note that this -# feature is still experimental and incomplete at the -# moment. - -GENERATE_PERLMOD = NO - -# If the PERLMOD_LATEX tag is set to YES Doxygen will generate -# the necessary Makefile rules, Perl scripts and LaTeX code to be able -# to generate PDF and DVI output from the Perl module output. - -PERLMOD_LATEX = NO - -# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be -# nicely formatted so it can be parsed by a human reader. This is useful -# if you want to understand what is going on. On the other hand, if this -# tag is set to NO the size of the Perl module output will be much smaller -# and Perl will parse it just the same. - -PERLMOD_PRETTY = YES - -# The names of the make variables in the generated doxyrules.make file -# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. -# This is useful so different doxyrules.make files included by the same -# Makefile don't overwrite each other's variables. - -PERLMOD_MAKEVAR_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- - -# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will -# evaluate all C-preprocessor directives found in the sources and include -# files. - -ENABLE_PREPROCESSING = YES - -# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro -# names in the source code. If set to NO (the default) only conditional -# compilation will be performed. Macro expansion can be done in a controlled -# way by setting EXPAND_ONLY_PREDEF to YES. - -MACRO_EXPANSION = NO - -# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES -# then the macro expansion is limited to the macros specified with the -# PREDEFINED and EXPAND_AS_PREDEFINED tags. - -EXPAND_ONLY_PREDEF = NO - -# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files -# in the INCLUDE_PATH (see below) will be search if a #include is found. - -SEARCH_INCLUDES = YES - -# The INCLUDE_PATH tag can be used to specify one or more directories that -# contain include files that are not input files but should be processed by -# the preprocessor. - -INCLUDE_PATH = - -# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard -# patterns (like *.h and *.hpp) to filter out the header-files in the -# directories. If left blank, the patterns specified with FILE_PATTERNS will -# be used. - -INCLUDE_FILE_PATTERNS = - -# The PREDEFINED tag can be used to specify one or more macro names that -# are defined before the preprocessor is started (similar to the -D option of -# gcc). The argument of the tag is a list of macros of the form: name -# or name=definition (no spaces). If the definition and the = are -# omitted =1 is assumed. - -PREDEFINED = - -# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then -# this tag can be used to specify a list of macro names that should be expanded. -# The macro definition that is found in the sources will be used. -# Use the PREDEFINED tag if you want to use a different macro definition. - -EXPAND_AS_DEFINED = - -# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then -# doxygen's preprocessor will remove all function-like macros that are alone -# on a line, have an all uppercase name, and do not end with a semicolon. Such -# function macros are typically used for boiler-plate code, and will confuse the -# parser if not removed. - -SKIP_FUNCTION_MACROS = YES - -#--------------------------------------------------------------------------- -# Configuration::additions related to external references -#--------------------------------------------------------------------------- - -# The TAGFILES option can be used to specify one or more tagfiles. -# Optionally an initial location of the external documentation -# can be added for each tagfile. The format of a tag file without -# this location is as follows: -# TAGFILES = file1 file2 ... -# Adding location for the tag files is done as follows: -# TAGFILES = file1=loc1 "file2 = loc2" ... -# where "loc1" and "loc2" can be relative or absolute paths or -# URLs. If a location is present for each tag, the installdox tool -# does not have to be run to correct the links. -# Note that each tag file must have a unique name -# (where the name does NOT include the path) -# If a tag file is not located in the directory in which doxygen -# is run, you must also specify the path to the tagfile here. - -TAGFILES = - -# When a file name is specified after GENERATE_TAGFILE, doxygen will create -# a tag file that is based on the input files it reads. - -GENERATE_TAGFILE = ParadisEO.doxytag - -# If the ALLEXTERNALS tag is set to YES all external classes will be listed -# in the class index. If set to NO only the inherited external classes -# will be listed. - -ALLEXTERNALS = NO - -# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed -# in the modules index. If set to NO, only the current project's groups will -# be listed. - -EXTERNAL_GROUPS = YES - -# The PERL_PATH should be the absolute path and name of the perl script -# interpreter (i.e. the result of `which perl'). - -PERL_PATH = /usr/bin/perl - -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- - -# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will -# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base or -# super classes. Setting the tag to NO turns the diagrams off. Note that this -# option is superseded by the HAVE_DOT option below. This is only a fallback. It is -# recommended to install and use dot, since it yields more powerful graphs. - -CLASS_DIAGRAMS = YES - -# If set to YES, the inheritance and collaboration graphs will hide -# inheritance and usage relations if the target is undocumented -# or is not a class. - -HIDE_UNDOC_RELATIONS = YES - -# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is -# available from the path. This tool is part of Graphviz, a graph visualization -# toolkit from AT&T and Lucent Bell Labs. The other options in this section -# have no effect if this option is set to NO (the default) - -HAVE_DOT = NO - -# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect inheritance relations. Setting this tag to YES will force the -# the CLASS_DIAGRAMS tag to NO. - -CLASS_GRAPH = YES - -# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect implementation dependencies (inheritance, containment, and -# class references variables) of the class with other documented classes. - -COLLABORATION_GRAPH = YES - -# If the UML_LOOK tag is set to YES doxygen will generate inheritance and -# collaboration diagrams in a style similar to the OMG's Unified Modeling -# Language. - -UML_LOOK = NO - -# If set to YES, the inheritance and collaboration graphs will show the -# relations between templates and their instances. - -TEMPLATE_RELATIONS = NO - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT -# tags are set to YES then doxygen will generate a graph for each documented -# file showing the direct and indirect include dependencies of the file with -# other documented files. - -INCLUDE_GRAPH = YES - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and -# HAVE_DOT tags are set to YES then doxygen will generate a graph for each -# documented header file showing the documented files that directly or -# indirectly include this file. - -INCLUDED_BY_GRAPH = YES - -# If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will -# generate a call dependency graph for every global function or class method. -# Note that enabling this option will significantly increase the time of a run. -# So in most cases it will be better to enable call graphs for selected -# functions only using the \callgraph command. - -CALL_GRAPH = NO - -# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen -# will graphical hierarchy of all classes instead of a textual one. - -GRAPHICAL_HIERARCHY = YES - -# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images -# generated by dot. Possible values are png, jpg, or gif -# If left blank png will be used. - -DOT_IMAGE_FORMAT = png - -# The tag DOT_PATH can be used to specify the path where the dot tool can be -# found. If left blank, it is assumed the dot tool can be found on the path. - -DOT_PATH = - -# The DOTFILE_DIRS tag can be used to specify one or more directories that -# contain dot files that are included in the documentation (see the -# \dotfile command). - -DOTFILE_DIRS = - -# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width -# (in pixels) of the graphs generated by dot. If a graph becomes larger than -# this value, doxygen will try to truncate the graph, so that it fits within -# the specified constraint. Beware that most browsers cannot cope with very -# large images. - -MAX_DOT_GRAPH_WIDTH = 1024 - -# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height -# (in pixels) of the graphs generated by dot. If a graph becomes larger than -# this value, doxygen will try to truncate the graph, so that it fits within -# the specified constraint. Beware that most browsers cannot cope with very -# large images. - -MAX_DOT_GRAPH_HEIGHT = 1024 - -# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the -# graphs generated by dot. A depth value of 3 means that only nodes reachable -# from the root by following a path via at most 3 edges will be shown. Nodes that -# lay further from the root node will be omitted. Note that setting this option to -# 1 or 2 may greatly reduce the computation time needed for large code bases. Also -# note that a graph may be further truncated if the graph's image dimensions are -# not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH and MAX_DOT_GRAPH_HEIGHT). -# If 0 is used for the depth value (the default), the graph is not depth-constrained. - -MAX_DOT_GRAPH_DEPTH = 0 - -# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will -# generate a legend page explaining the meaning of the various boxes and -# arrows in the dot generated graphs. - -GENERATE_LEGEND = YES - -# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will -# remove the intermediate dot files that are used to generate -# the various graphs. - -DOT_CLEANUP = YES - -#--------------------------------------------------------------------------- -# Configuration::additions related to the search engine -#--------------------------------------------------------------------------- - -# The SEARCHENGINE tag specifies whether or not a search engine should be -# used. If set to NO the values of all tags below this one will be ignored. - -SEARCHENGINE = YES diff --git a/trunk/paradiseo-peo/examples/shared/Makefile.am b/trunk/paradiseo-peo/examples/shared/Makefile.am deleted file mode 100755 index 6a4bd0613..000000000 --- a/trunk/paradiseo-peo/examples/shared/Makefile.am +++ /dev/null @@ -1,59 +0,0 @@ -CXX=mpicxx - -INCLUDES = \ - -I$(EO_DIR)/src/ \ - -I$(MO_DIR)/src/ \ - -I$(MOEO_DIR)/src/ \ - -I../../src/ - -AM_CXXFLAGS = \ - -Wall -g - -lib_LIBRARIES = \ - libtsp_shared.a - -libtsp_shared_a_SOURCES = \ - data.h \ - data.cpp \ - opt_route.h \ - opt_route.cpp \ - param.h \ - param.cpp \ - node.h \ - node.cpp \ - route.h \ - route.cpp \ - route_init.h \ - route_init.cpp \ - route_eval.h \ - route_eval.cpp \ - two_opt.h \ - two_opt.cpp \ - two_opt_init.h \ - two_opt_init.cpp \ - two_opt_incr_eval.h \ - two_opt_incr_eval.cpp \ - two_opt_next.h \ - two_opt_next.cpp \ - order_xover.h \ - order_xover.cpp \ - partial_mapped_xover.h \ - partial_mapped_xover.cpp \ - edge_xover.h \ - edge_xover.cpp \ - city_swap.h \ - city_swap.cpp \ - part_route_eval.h \ - part_route_eval.cpp \ - merge_route_eval.h \ - merge_route_eval.cpp -## - -#tspExample_LDFLAGS = \ -# -L$(EO_DIR)/src/ \ -# -L$(EO_DIR)/src/utils \ -# -L../src/ \ -# -L../src/rmc/mpi/ \ -# `xml2-config --libs` - -#tspExample_LDADD = -lparadiseo -lrmc_mpi -leoutils -leo \ No newline at end of file diff --git a/trunk/paradiseo-peo/examples/shared/Makefile.in b/trunk/paradiseo-peo/examples/shared/Makefile.in deleted file mode 100755 index b0eef97ef..000000000 --- a/trunk/paradiseo-peo/examples/shared/Makefile.in +++ /dev/null @@ -1,504 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = ../.. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -subdir = examples/shared -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_CLEAN_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(libdir)" -libLIBRARIES_INSTALL = $(INSTALL_DATA) -LIBRARIES = $(lib_LIBRARIES) -AR = ar -ARFLAGS = cru -libtsp_shared_a_AR = $(AR) $(ARFLAGS) -libtsp_shared_a_LIBADD = -am_libtsp_shared_a_OBJECTS = data.$(OBJEXT) opt_route.$(OBJEXT) \ - param.$(OBJEXT) node.$(OBJEXT) route.$(OBJEXT) \ - route_init.$(OBJEXT) route_eval.$(OBJEXT) two_opt.$(OBJEXT) \ - two_opt_init.$(OBJEXT) two_opt_incr_eval.$(OBJEXT) \ - two_opt_next.$(OBJEXT) order_xover.$(OBJEXT) \ - partial_mapped_xover.$(OBJEXT) edge_xover.$(OBJEXT) \ - city_swap.$(OBJEXT) part_route_eval.$(OBJEXT) \ - merge_route_eval.$(OBJEXT) -libtsp_shared_a_OBJECTS = $(am_libtsp_shared_a_OBJECTS) -DEFAULT_INCLUDES = -I. -I$(srcdir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ - -o $@ -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -SOURCES = $(libtsp_shared_a_SOURCES) -DIST_SOURCES = $(libtsp_shared_a_SOURCES) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = mpicxx -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EO_DIR = @EO_DIR@ -EXEEXT = @EXEEXT@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MOEO_DIR = @MOEO_DIR@ -MO_DIR = @MO_DIR@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -RANLIB = @RANLIB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build_alias = @build_alias@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host_alias = @host_alias@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -INCLUDES = \ - -I$(EO_DIR)/src/ \ - -I$(MO_DIR)/src/ \ - -I$(MOEO_DIR)/src/ \ - -I../../src/ - -AM_CXXFLAGS = \ - -Wall -g - -lib_LIBRARIES = \ - libtsp_shared.a - -libtsp_shared_a_SOURCES = \ - data.h \ - data.cpp \ - opt_route.h \ - opt_route.cpp \ - param.h \ - param.cpp \ - node.h \ - node.cpp \ - route.h \ - route.cpp \ - route_init.h \ - route_init.cpp \ - route_eval.h \ - route_eval.cpp \ - two_opt.h \ - two_opt.cpp \ - two_opt_init.h \ - two_opt_init.cpp \ - two_opt_incr_eval.h \ - two_opt_incr_eval.cpp \ - two_opt_next.h \ - two_opt_next.cpp \ - order_xover.h \ - order_xover.cpp \ - partial_mapped_xover.h \ - partial_mapped_xover.cpp \ - edge_xover.h \ - edge_xover.cpp \ - city_swap.h \ - city_swap.cpp \ - part_route_eval.h \ - part_route_eval.cpp \ - merge_route_eval.h \ - merge_route_eval.cpp - -all: all-am - -.SUFFIXES: -.SUFFIXES: .cpp .o .obj -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/shared/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu examples/shared/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -install-libLIBRARIES: $(lib_LIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" - @list='$(lib_LIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - f=$(am__strip_dir) \ - echo " $(libLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ - $(libLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ - else :; fi; \ - done - @$(POST_INSTALL) - @list='$(lib_LIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - p=$(am__strip_dir) \ - echo " $(RANLIB) '$(DESTDIR)$(libdir)/$$p'"; \ - $(RANLIB) "$(DESTDIR)$(libdir)/$$p"; \ - else :; fi; \ - done - -uninstall-libLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LIBRARIES)'; for p in $$list; do \ - p=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(libdir)/$$p'"; \ - rm -f "$(DESTDIR)$(libdir)/$$p"; \ - done - -clean-libLIBRARIES: - -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES) -libtsp_shared.a: $(libtsp_shared_a_OBJECTS) $(libtsp_shared_a_DEPENDENCIES) - -rm -f libtsp_shared.a - $(libtsp_shared_a_AR) libtsp_shared.a $(libtsp_shared_a_OBJECTS) $(libtsp_shared_a_LIBADD) - $(RANLIB) libtsp_shared.a - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/city_swap.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/data.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/edge_xover.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/merge_route_eval.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/node.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/opt_route.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/order_xover.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/param.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/part_route_eval.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/partial_mapped_xover.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/route.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/route_eval.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/route_init.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/two_opt.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/two_opt_incr_eval.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/two_opt_init.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/two_opt_next.Po@am__quote@ - -.cpp.o: -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cpp.obj: -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` -uninstall-info-am: - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(LIBRARIES) -installdirs: - for dir in "$(DESTDIR)$(libdir)"; do \ - test -z "$$dir" || $(mkdir_p) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libLIBRARIES mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: install-libLIBRARIES - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-info-am uninstall-libLIBRARIES - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libLIBRARIES ctags distclean distclean-compile \ - distclean-generic distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-exec install-exec-am install-info \ - install-info-am install-libLIBRARIES install-man install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ - uninstall-am uninstall-info-am uninstall-libLIBRARIES - - -#tspExample_LDFLAGS = \ -# -L$(EO_DIR)/src/ \ -# -L$(EO_DIR)/src/utils \ -# -L../src/ \ -# -L../src/rmc/mpi/ \ -# `xml2-config --libs` - -#tspExample_LDADD = -lparadiseo -lrmc_mpi -leoutils -leo -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/trunk/paradiseo-peo/examples/shared/city_swap.cpp b/trunk/paradiseo-peo/examples/shared/city_swap.cpp deleted file mode 100755 index 300bb09a1..000000000 --- a/trunk/paradiseo-peo/examples/shared/city_swap.cpp +++ /dev/null @@ -1,36 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "city_swap.cpp" - -// (c) OPAC Team, LIFL, 2002 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include - -#include "city_swap.h" - -bool CitySwap :: operator () (Route & __route) { - - std :: swap (__route [rng.random (__route.size ())], - __route [rng.random (__route.size ())]) ; - - __route.invalidate () ; - - return true ; -} diff --git a/trunk/paradiseo-peo/examples/shared/city_swap.h b/trunk/paradiseo-peo/examples/shared/city_swap.h deleted file mode 100755 index 51ed6265a..000000000 --- a/trunk/paradiseo-peo/examples/shared/city_swap.h +++ /dev/null @@ -1,41 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "city_swap.h" - -// (c) OPAC Team, LIFL, 2002 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef city_swap_h -#define city_swap_h - -#include - -#include "route.h" - -/** Its swaps two vertices - randomly choosen */ -class CitySwap : public eoMonOp { - -public : - - bool operator () (Route & __route) ; - -} ; - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/data.cpp b/trunk/paradiseo-peo/examples/shared/data.cpp deleted file mode 100755 index 9d413d3b0..000000000 --- a/trunk/paradiseo-peo/examples/shared/data.cpp +++ /dev/null @@ -1,113 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "data.cpp" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include -#include -#include -#include - -#include - -#include "data.h" -#include "node.h" - -#define MAX_TRASH_LENGTH 1000 -#define MAX_FIELD_LENGTH 1000 -#define MAX_LINE_LENGTH 1000 - -static void getNextField (FILE * __f, char * __buff) { - - char trash [MAX_TRASH_LENGTH]; - - fscanf (__f, "%[ \t:\n]", trash); /* Discarding sep. */ - fscanf (__f, "%[^:\n]", __buff); /* Reading the field */ - fgetc (__f); -} - -static void getLine (FILE * __f, char * __buff) { - - char trash [MAX_TRASH_LENGTH]; - - fscanf (__f, "%[ \t:\n]", trash); /* Discarding sep. */ - fscanf (__f, "%[^\n]", __buff); /* Reading the line */ -} - -void loadData (const char * __filename) { - - FILE * f = fopen (__filename, "r"); - - if (f) { - - printf ("Loading '%s'.\n", __filename); - - char field [MAX_FIELD_LENGTH]; - - getNextField (f, field); /* Name */ - assert (strstr (field, "NAME")); - getNextField (f, field); - printf ("NAME: %s.\n", field); - - getNextField (f, field); /* Comment */ - assert (strstr (field, "COMMENT")); - getLine (f, field); - printf ("COMMENT: %s.\n", field); - - getNextField (f, field); /* Type */ - assert (strstr (field, "TYPE")); - getNextField (f, field); - printf ("TYPE: %s.\n", field); - - getNextField (f, field); /* Dimension */ - assert (strstr (field, "DIMENSION")); - getNextField (f, field); - printf ("DIMENSION: %s.\n", field); - numNodes = atoi (field); - - getNextField (f, field); /* Edge weight type */ - assert (strstr (field, "EDGE_WEIGHT_TYPE")); - getNextField (f, field); - printf ("EDGE_WEIGHT_TYPE: %s.\n", field); - - getNextField (f, field); /* Node coord section */ - assert (strstr (field, "NODE_COORD_SECTION")); - loadNodes (f); - - getNextField (f, field); /* End of file */ - assert (strstr (field, "EOF")); - printf ("EOF.\n"); - } - else { - - fprintf (stderr, "Can't open '%s'.\n", __filename); - exit (1); - } -} - -void loadData (eoParser & __parser) { - - /* Getting the path of the instance */ - - eoValueParam param ("", "inst", "Path of the instance") ; - __parser.processParam (param) ; - loadData (param.value ().c_str ()); -} diff --git a/trunk/paradiseo-peo/examples/shared/data.h b/trunk/paradiseo-peo/examples/shared/data.h deleted file mode 100755 index b844df3ea..000000000 --- a/trunk/paradiseo-peo/examples/shared/data.h +++ /dev/null @@ -1,33 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "data.h" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __data_h -#define __data_h - -#include - -extern void loadData (const char * __filename); - -extern void loadData (eoParser & __parser); - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/display.cpp b/trunk/paradiseo-peo/examples/shared/display.cpp deleted file mode 100755 index 536f629e8..000000000 --- a/trunk/paradiseo-peo/examples/shared/display.cpp +++ /dev/null @@ -1,132 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "display.cpp" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include -#include - -#include - -#include "display.h" -#include "node.h" -#include "opt_route.h" - -#define BORDER 20 -#define RATIO 0.5 - -#define screen_width 1024 -#define screen_height 768 - -static const char * filename; - -/* Computed coordinates */ -static unsigned * X_new_coord, * Y_new_coord ; - -/* this variable will contain the handle to the returned graphics context. */ -static GC gc; - -/* this variable will contain the pointer to the Display structure */ -static Display* disp; - -/* this variable will store the ID of the newly created window. */ -static Window win; - -static int screen; - -/* Create a new backing pixmap of the appropriate size */ - - /* Best tour */ - /* - gdk_gc_set_line_attributes (gc, 2, GDK_LINE_ON_OFF_DASH, GDK_CAP_NOT_LAST, GDK_JOIN_MITER) ; - - gdk_gc_set_foreground (gc, & color_green) ; - - for (int i = 0 ; i < (int) numNodes ; i ++) { - - gdk_draw_line (pixmap, gc, - X_new_coord [opt_route [i]], - Y_new_coord [opt_route [i]], - X_new_coord [opt_route [(i + 1) % numNodes]], - Y_new_coord [opt_route [(i + 1) % numNodes]]); - - }*/ - -void openMainWindow (const char * __filename) { - - filename = __filename; - - /* Map */ - int map_width = (int) (X_max - X_min); - int map_height = (int) (Y_max - Y_min); - int map_side = std :: max (map_width, map_height); - - /* Calculate the window's width and height. */ - int win_width = (int) (screen_width * RATIO * map_width / map_side); - int win_height = (int) (screen_height * RATIO * map_height / map_side); - - /* Computing the coordinates */ - X_new_coord = new unsigned [numNodes]; - Y_new_coord = new unsigned [numNodes]; - - for (unsigned i = 0; i < numNodes; i ++) { - X_new_coord [i] = (unsigned) (win_width * (1.0 - (X_coord [i] - X_min) / map_width) + BORDER); - Y_new_coord [i] = (unsigned) (win_height * (1.0 - (Y_coord [i] - Y_min) / map_height) + BORDER); - } - - /* Initialisation */ - XGCValues val ; - - disp = XOpenDisplay (NULL) ; - screen = DefaultScreen (disp) ; - win = XCreateSimpleWindow (disp, RootWindow (disp, screen), 0, 0, win_width + 2 * BORDER, win_height + 2 * BORDER, 2, BlackPixel (disp, screen), WhitePixel (disp, screen)) ; - val.foreground = BlackPixel(disp, screen) ; - val.background = WhitePixel(disp, screen) ; - gc = XCreateGC (disp, win, GCForeground | GCBackground, & val) ; - - XMapWindow (disp, win) ; - XFlush (disp) ; - - while (true) { - XClearWindow (disp, win) ; - - /* Vertices as circles */ - for (unsigned i = 1 ; i < numNodes ; i ++) - XDrawArc (disp, win, gc, X_new_coord [i] - 1, Y_new_coord [i] - 1, 3, 3, 0, 364 * 64) ; - - /* New tour */ - std :: ifstream f (filename); - if (f) { - Route route; - f >> route; - f.close (); - - for (int i = 0; i < (int) numNodes; i ++) - XDrawLine (disp, win, gc, - X_new_coord [route [i]], - Y_new_coord [route [i]], - X_new_coord [route [(i + 1) % numNodes]], - Y_new_coord [route [(i + 1) % numNodes]]); - } - XFlush (disp) ; - sleep (1) ; - } -} diff --git a/trunk/paradiseo-peo/examples/shared/display.h b/trunk/paradiseo-peo/examples/shared/display.h deleted file mode 100755 index 0defe975d..000000000 --- a/trunk/paradiseo-peo/examples/shared/display.h +++ /dev/null @@ -1,31 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "display.h" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __display_h -#define __display_h - -#include "route.h" - -extern void openMainWindow (const char * __filename); - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/display_best_route.cpp b/trunk/paradiseo-peo/examples/shared/display_best_route.cpp deleted file mode 100755 index 4196074aa..000000000 --- a/trunk/paradiseo-peo/examples/shared/display_best_route.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "display_best_route.cpp" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "display_best_route.h" -#include "display.h" - -DisplayBestRoute :: DisplayBestRoute (eoPop & __pop - ) : pop (__pop) { - - -} - -void DisplayBestRoute :: operator () () { - - displayRoute (pop.best_element ()); -} - diff --git a/trunk/paradiseo-peo/examples/shared/display_best_route.h b/trunk/paradiseo-peo/examples/shared/display_best_route.h deleted file mode 100755 index 71ac1b53c..000000000 --- a/trunk/paradiseo-peo/examples/shared/display_best_route.h +++ /dev/null @@ -1,47 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "display_best_route.h" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __display_best_route_h -#define __display_best_route_h - -#include - -#include - -#include "route.h" - -class DisplayBestRoute : public eoUpdater { - -public : - - DisplayBestRoute (eoPop & __pop); - - void operator () (); - -private : - - eoPop & pop; - -}; - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/edge_xover.cpp b/trunk/paradiseo-peo/examples/shared/edge_xover.cpp deleted file mode 100755 index afe9eba38..000000000 --- a/trunk/paradiseo-peo/examples/shared/edge_xover.cpp +++ /dev/null @@ -1,133 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "edge_xover.cpp" - -// (c) OPAC Team, LIFL, 2003 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include -#include - -#include - -#include "edge_xover.h" - -void EdgeXover :: build_map (const Route & __par1, const Route & __par2) { - - unsigned len = __par1.size () ; - - /* Initialization */ - _map.clear () ; - _map.resize (len) ; - - for (unsigned i = 0 ; i < len ; i ++) { - _map [__par1 [i]].insert (__par1 [(i + 1) % len]) ; - _map [__par2 [i]].insert (__par2 [(i + 1) % len]) ; - _map [__par1 [i]].insert (__par1 [(i - 1 + len) % len]) ; - _map [__par2 [i]].insert (__par2 [(i - 1 + len) % len]) ; - } - - visited.clear () ; - visited.resize (len, false) ; -} - -void EdgeXover :: remove_entry (unsigned __vertex, std :: vector > & __map) { - - std :: set & neigh = __map [__vertex] ; - - for (std :: set :: iterator it = neigh.begin () ; - it != neigh.end () ; - it ++) - __map [* it].erase (__vertex) ; - -} - -void EdgeXover :: add_vertex (unsigned __vertex, Route & __child) { - - visited [__vertex] = true ; - __child.push_back (__vertex) ; - remove_entry (__vertex, _map) ; /* Removing entries */ -} - -void EdgeXover :: cross (const Route & __par1, const Route & __par2, Route & __child) { - - build_map (__par1, __par2) ; - - unsigned len = __par1.size () ; - - /* Go ! */ - __child.clear () ; - - unsigned cur_vertex = rng.random (len) ; - - add_vertex (cur_vertex, __child) ; - - for (unsigned i = 1 ; i < len ; i ++) { - - unsigned len_min_entry = MAXINT ; - - std :: set & neigh = _map [cur_vertex] ; - - for (std :: set :: iterator it = neigh.begin () ; - it != neigh.end () ; - it ++) { - unsigned l = _map [* it].size () ; - if (len_min_entry > l) - len_min_entry = l ; - } - - std :: vector cand ; /* Candidates */ - - for (std :: set :: iterator it = neigh.begin () ; - it != neigh.end () ; - it ++) { - unsigned l = _map [* it].size () ; - if (len_min_entry == l) - cand.push_back (* it) ; - } - - if (! cand.size ()) { - - /* Oh no ! Implicit mutation */ - for (unsigned j = 0 ; j < len ; j ++) - if (! visited [j]) - cand.push_back (j) ; - } - - cur_vertex = cand [rng.random (cand.size ())] ; - - add_vertex (cur_vertex, __child) ; - } -} - -bool EdgeXover :: operator () (Route & __route1, Route & __route2) { - - // Init. copy - Route par [2] ; - par [0] = __route1 ; - par [1] = __route2 ; - - cross (par [0], par [1], __route1) ; - cross (par [1], par [0], __route2) ; - - __route1.invalidate () ; - __route2.invalidate () ; - - return true ; -} diff --git a/trunk/paradiseo-peo/examples/shared/edge_xover.h b/trunk/paradiseo-peo/examples/shared/edge_xover.h deleted file mode 100755 index 9b3813c82..000000000 --- a/trunk/paradiseo-peo/examples/shared/edge_xover.h +++ /dev/null @@ -1,58 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "edge_xover.h" - -// (c) OPAC Team, LIFL, 2003 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef edge_xover_h -#define edge_xover_h - -#include -#include - -#include - -#include "route.h" - -/** Edge Crossover */ -class EdgeXover : public eoQuadOp { - -public : - - bool operator () (Route & __route1, Route & __route2) ; - -private : - - void cross (const Route & __par1, const Route & __par2, Route & __child) ; /* Binary */ - - void remove_entry (unsigned __vertex, std :: vector > & __map) ; - /* Updating the map of entries */ - - void build_map (const Route & __par1, const Route & __par2) ; - - void add_vertex (unsigned __vertex, Route & __child) ; - - std :: vector > _map ; /* The handled map */ - - std :: vector visited ; /* Vertices that are already visited */ - -} ; - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/merge_route_eval.cpp b/trunk/paradiseo-peo/examples/shared/merge_route_eval.cpp deleted file mode 100755 index a8c94aa84..000000000 --- a/trunk/paradiseo-peo/examples/shared/merge_route_eval.cpp +++ /dev/null @@ -1,32 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "merge_route_eval.cpp" - -// (c) OPAC Team, LIFL, 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "merge_route_eval.h" - -void MergeRouteEval :: operator () (Route & __route, const int & __part_fit) { - - int len = __route.fitness (); - len += __part_fit; - __route.fitness (len); -} - diff --git a/trunk/paradiseo-peo/examples/shared/merge_route_eval.h b/trunk/paradiseo-peo/examples/shared/merge_route_eval.h deleted file mode 100755 index d610ec95c..000000000 --- a/trunk/paradiseo-peo/examples/shared/merge_route_eval.h +++ /dev/null @@ -1,39 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "merge_route_eval.h" - -// (c) OPAC Team, LIFL, 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __merge_route_eval_h -#define __merge_route_eval_h - -#include - -#include "route.h" - -class MergeRouteEval : public peoAggEvalFunc { - -public : - - void operator () (Route & __route, const int & __part_fit) ; - -}; - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/mix.h b/trunk/paradiseo-peo/examples/shared/mix.h deleted file mode 100755 index 9a98023f4..000000000 --- a/trunk/paradiseo-peo/examples/shared/mix.h +++ /dev/null @@ -1,25 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -/* - file: 'mix.h' - author: S. CAHON - mail: cahon@lifl.fr - date: dec. 2005 -*/ - -#ifndef __mix_h -#define __mix_h - -#include - -#include - -template void mix (std :: vector & __v) { - - unsigned len = __v.size () ; - - for (unsigned i = 0 ; i < len ; i ++) - std :: swap (__v [i], __v [rng.random (len)]) ; -} - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/node.cpp b/trunk/paradiseo-peo/examples/shared/node.cpp deleted file mode 100755 index c043f8bf3..000000000 --- a/trunk/paradiseo-peo/examples/shared/node.cpp +++ /dev/null @@ -1,92 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "node.cpp" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include -#include - -#include "node.h" - -unsigned numNodes; /* Number of nodes */ - -//static unsigned * * dist; /* Square matrix of distances */ - -double * X_coord, * Y_coord; - -double X_min = MAXDOUBLE, X_max = MINDOUBLE, Y_min = MAXDOUBLE, Y_max = MINDOUBLE; - -void loadNodes (FILE * __f) { - - /* Coord */ - - X_coord = new double [numNodes]; - - Y_coord = new double [numNodes]; - - unsigned num; - - for (unsigned i = 0; i < numNodes; i ++) { - - fscanf (__f, "%u%lf%lf", & num, X_coord + i, Y_coord + i); - - if (X_coord [i] < X_min) - X_min = X_coord [i]; - if (X_coord [i] > X_max) - X_max = X_coord [i]; - if (Y_coord [i] < Y_min) - Y_min = Y_coord [i]; - if (Y_coord [i] > Y_max) - Y_max = Y_coord [i]; - } - - /* Allocation */ - /* - dist = new unsigned * [numNodes]; - - for (unsigned i = 0; i < numNodes; i ++) - dist [i] = new unsigned [numNodes]; - */ - /* Computation of the distances */ - - /* - for (unsigned i = 0; i < numNodes; i ++) { - - dist [i] [i] = 0; - - for (unsigned j = 0; j < numNodes; j ++) { - - double dx = X_coord [i] - X_coord [j], dy = Y_coord [i] - Y_coord [j]; - - dist [i] [j] = dist [j] [i] = (unsigned) (sqrt (dx * dx + dy * dy) + 0.5) ; - } - }*/ -} - -unsigned distance (Node __from, Node __to) { - - // return dist [__from] [__to]; - - double dx = X_coord [__from] - X_coord [__to], dy = Y_coord [__from] - Y_coord [__to]; - - return (unsigned) (sqrt (dx * dx + dy * dy) + 0.5) ; -} - diff --git a/trunk/paradiseo-peo/examples/shared/node.h b/trunk/paradiseo-peo/examples/shared/node.h deleted file mode 100755 index 8bceac268..000000000 --- a/trunk/paradiseo-peo/examples/shared/node.h +++ /dev/null @@ -1,41 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "node.h" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __node_h -#define __node_h - -#include - -typedef unsigned Node; - -extern double X_min, X_max, Y_min, Y_max; - -extern double * X_coord, * Y_coord; - -extern unsigned numNodes; /* Number of nodes */ - -extern void loadNodes (FILE * __f); - -extern unsigned distance (Node __from, Node __to); - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/opt_route.cpp b/trunk/paradiseo-peo/examples/shared/opt_route.cpp deleted file mode 100755 index fd27ae49c..000000000 --- a/trunk/paradiseo-peo/examples/shared/opt_route.cpp +++ /dev/null @@ -1,122 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "opt_route.cpp" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "opt_route.h" - -#define MAX_TRASH_LENGTH 1000 -#define MAX_FIELD_LENGTH 1000 -#define MAX_LINE_LENGTH 1000 - -static void getNextField (FILE * __f, char * __buff) { - - char trash [MAX_TRASH_LENGTH]; - - fscanf (__f, "%[ \t:\n]", trash); /* Discarding sep. */ - fscanf (__f, "%[^:\n]", __buff); /* Reading the field */ - fgetc (__f); -} - -static void getLine (FILE * __f, char * __buff) { - - char trash [MAX_TRASH_LENGTH]; - - fscanf (__f, "%[ \t:\n]", trash); /* Discarding sep. */ - fscanf (__f, "%[^\n]", __buff); /* Reading the line */ -} - -static void loadBestRoute (FILE * __f) { - - opt_route.clear (); - - for (unsigned i = 0; i < numNodes; i ++) { - Node node; - fscanf (__f, "%u", & node); - opt_route.push_back (node - 1); - } - int d; /* -1 ! */ - fscanf (__f, "%d", & d); -} - -void loadOptimumRoute (const char * __filename) { - - FILE * f = fopen (__filename, "r"); - - if (f) { - - printf ("Loading '%s'.\n", __filename); - - char field [MAX_FIELD_LENGTH]; - - getNextField (f, field); /* Name */ - assert (strstr (field, "NAME")); - getNextField (f, field); - //printf ("NAME: %s.\n", field); - - getNextField (f, field); /* Comment */ - assert (strstr (field, "COMMENT")); - getLine (f, field); - // printf ("COMMENT: %s.\n", field); - - getNextField (f, field); /* Type */ - assert (strstr (field, "TYPE")); - getNextField (f, field); - //printf ("TYPE: %s.\n", field); - - getNextField (f, field); /* Dimension */ - assert (strstr (field, "DIMENSION")); - getNextField (f, field); - // printf ("DIMENSION: %s.\n", field); - numNodes = atoi (field); - - getNextField (f, field); /* Tour section */ - assert (strstr (field, "TOUR_SECTION")); - loadBestRoute (f); - - getNextField (f, field); /* End of file */ - assert (strstr (field, "EOF")); - //printf ("EOF.\n"); - - printf ("The length of the best route is %u.\n", length (opt_route)); - } - else { - - fprintf (stderr, "Can't open '%s'.\n", __filename); - exit (1); - } -} - -void loadOptimumRoute (eoParser & __parser) { - - /* Getting the path of the instance */ - - eoValueParam param ("", "optimumTour", "Optimum tour") ; - __parser.processParam (param) ; - if (strlen (param.value ().c_str ())) - loadOptimumRoute (param.value ().c_str ()); - else - opt_route.fitness (0); -} - -Route opt_route; /* Optimum route */ - - diff --git a/trunk/paradiseo-peo/examples/shared/opt_route.h b/trunk/paradiseo-peo/examples/shared/opt_route.h deleted file mode 100755 index 901e93f0b..000000000 --- a/trunk/paradiseo-peo/examples/shared/opt_route.h +++ /dev/null @@ -1,38 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "opt_route.h" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __opt_route_h -#define __opt_route_h - -#include -#include - -#include "route.h" - -extern void loadOptimumRoute (const char * __filename); - -extern void loadOptimumRoute (eoParser & __parser); - -extern Route opt_route; /* Optimum route */ - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/order_xover.cpp b/trunk/paradiseo-peo/examples/shared/order_xover.cpp deleted file mode 100755 index 1f59eba2f..000000000 --- a/trunk/paradiseo-peo/examples/shared/order_xover.cpp +++ /dev/null @@ -1,79 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "order_xover.cpp" - -// (c) OPAC Team, LIFL, 2002 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include - -#include - -#include "order_xover.h" - -void OrderXover :: cross (const Route & __par1, const Route & __par2, Route & __child) { - - unsigned cut2 = 1 + rng.random (numNodes) ; - unsigned cut1 = rng.random (cut2); - unsigned l = 0; - - /* To store vertices that have already been crossed */ - std :: vector v (numNodes, false); - - /* Copy of the left partial route of the first parent */ - for (unsigned i = cut1 ; i < cut2 ; i ++) { - __child [l ++] = __par1 [i] ; - v [__par1 [i]] = true ; - } - - /* Searching the vertex of the second path, that ended the previous first one */ - unsigned from = 0 ; - for (unsigned i = 0; i < numNodes; i ++) - if (__par2 [i] == __child [cut2 - 1]) { - from = i ; - break ; - } - - /* Selecting a direction (Left or Right) */ - char direct = rng.flip () ? 1 : -1 ; - - for (unsigned i = 0; i < numNodes + 1; i ++) { - unsigned bidule = (direct * i + from + numNodes) % numNodes; - if (! v [__par2 [bidule]]) { - __child [l ++] = __par2 [bidule] ; - v [__par2 [bidule]] = true ; - } - } -} - -bool OrderXover :: operator () (Route & __route1, Route & __route2) { - - // Init. copy - Route par [2] ; - par [0] = __route1 ; - par [1] = __route2 ; - - cross (par [0], par [1], __route1) ; - cross (par [1], par [0], __route2) ; - - __route1.invalidate () ; - __route2.invalidate () ; - - return true ; -} diff --git a/trunk/paradiseo-peo/examples/shared/order_xover.h b/trunk/paradiseo-peo/examples/shared/order_xover.h deleted file mode 100755 index 67c16c7c2..000000000 --- a/trunk/paradiseo-peo/examples/shared/order_xover.h +++ /dev/null @@ -1,43 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "order_xover.h" - -// (c) OPAC Team, LIFL, 2003 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef order_xover_h -#define order_xover_h - -#include - -#include "route.h" - -/** Order Crossover */ -class OrderXover : public eoQuadOp { - -public : - - bool operator () (Route & __route1, Route & __route2) ; - -private : - - void cross (const Route & __par1, const Route & __par2, Route & __child) ; -} ; - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/param.cpp b/trunk/paradiseo-peo/examples/shared/param.cpp deleted file mode 100755 index 1841a4daf..000000000 --- a/trunk/paradiseo-peo/examples/shared/param.cpp +++ /dev/null @@ -1,38 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "param.cpp" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include - -#include "data.h" -#include "opt_route.h" - -void loadParameters (int __argc, char * * __argv) { - - eoParser parser (__argc, __argv); - - loadData (parser); - - loadOptimumRoute (parser); -} - - diff --git a/trunk/paradiseo-peo/examples/shared/param.h b/trunk/paradiseo-peo/examples/shared/param.h deleted file mode 100755 index 45081f96f..000000000 --- a/trunk/paradiseo-peo/examples/shared/param.h +++ /dev/null @@ -1,29 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "param.h" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __param_h -#define __param_h - -extern void loadParameters (int __argc, char * * __argv); - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/part_route_eval.cpp b/trunk/paradiseo-peo/examples/shared/part_route_eval.cpp deleted file mode 100755 index 6ff426298..000000000 --- a/trunk/paradiseo-peo/examples/shared/part_route_eval.cpp +++ /dev/null @@ -1,45 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "part_route_eval.cpp" - -// (c) OPAC Team, LIFL, 2003 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "part_route_eval.h" -#include "node.h" - -PartRouteEval :: PartRouteEval (float __from, - float __to - ) : from (__from), - to (__to) { - -} - -void PartRouteEval :: operator () (Route & __route) { - - - unsigned len = 0 ; - - for (unsigned i = (unsigned) (__route.size () * from) ; - i < (unsigned) (__route.size () * to) ; - i ++) - len += distance (__route [i], __route [(i + 1) % numNodes]) ; - - __route.fitness (- (int) len) ; -} diff --git a/trunk/paradiseo-peo/examples/shared/part_route_eval.h b/trunk/paradiseo-peo/examples/shared/part_route_eval.h deleted file mode 100755 index a34d498ed..000000000 --- a/trunk/paradiseo-peo/examples/shared/part_route_eval.h +++ /dev/null @@ -1,48 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "part_route_eval.h" - -// (c) OPAC Team, LIFL, 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __part_route_eval_h -#define __part_route_eval_h - -#include - -#include "route.h" - -/** Route Evaluator */ -class PartRouteEval : public eoEvalFunc { - -public : - - /** Constructor */ - PartRouteEval (float __from, float __to) ; - - void operator () (Route & __route) ; - -private : - - float from, to ; - -} ; - - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/partial_mapped_xover.cpp b/trunk/paradiseo-peo/examples/shared/partial_mapped_xover.cpp deleted file mode 100755 index 2c29a8a7a..000000000 --- a/trunk/paradiseo-peo/examples/shared/partial_mapped_xover.cpp +++ /dev/null @@ -1,76 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "partial_mapped_xover.cpp" - -// (c) OPAC Team, LIFL, 2003 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include - -#include - -#include "partial_mapped_xover.h" -#include "mix.h" - -void PartialMappedXover :: repair (Route & __route, unsigned __cut1, unsigned __cut2) { - - unsigned v [__route.size ()] ; // Number of times a cities are visited ... - - for (unsigned i = 0 ; i < __route.size () ; i ++) - v [i] = 0 ; - - for (unsigned i = 0 ; i < __route.size () ; i ++) - v [__route [i]] ++ ; - - std :: vector vert ; - - for (unsigned i = 0 ; i < __route.size () ; i ++) - if (! v [i]) - vert.push_back (i) ; - - mix (vert) ; - - for (unsigned i = 0 ; i < __route.size () ; i ++) - if (i < __cut1 || i >= __cut2) - if (v [__route [i]] > 1) { - __route [i] = vert.back () ; - vert.pop_back () ; - } -} - -bool PartialMappedXover :: operator () (Route & __route1, Route & __route2) { - - unsigned cut1 = rng.random (__route1.size ()), cut2 = rng.random (__route2.size ()) ; - - if (cut2 < cut1) - std :: swap (cut1, cut2) ; - - // Between the cuts - for (unsigned i = cut1 ; i < cut2 ; i ++) - std :: swap (__route1 [i], __route2 [i]) ; - - // Outside the cuts - repair (__route1, cut1, cut2) ; - repair (__route2, cut1, cut2) ; - - __route1.invalidate () ; - __route2.invalidate () ; - - return true ; -} diff --git a/trunk/paradiseo-peo/examples/shared/partial_mapped_xover.h b/trunk/paradiseo-peo/examples/shared/partial_mapped_xover.h deleted file mode 100755 index addf66311..000000000 --- a/trunk/paradiseo-peo/examples/shared/partial_mapped_xover.h +++ /dev/null @@ -1,43 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "partial_mapped_xover.h" - -// (c) OPAC Team, LIFL, 2003 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef partial_mapped_xover_h -#define partial_mapped_xover_h - -#include - -#include "route.h" - -/** Partial Mapped Crossover */ -class PartialMappedXover : public eoQuadOp { - -public : - - bool operator () (Route & __route1, Route & __route2) ; - -private : - - void repair (Route & __route, unsigned __cut1, unsigned __cut2) ; -} ; - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/route.cpp b/trunk/paradiseo-peo/examples/shared/route.cpp deleted file mode 100755 index 3303495fb..000000000 --- a/trunk/paradiseo-peo/examples/shared/route.cpp +++ /dev/null @@ -1,36 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "route.cpp" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "route.h" - -unsigned length (const Route & __route) { - - unsigned len = 0 ; - - for (unsigned i = 0; i < numNodes; i ++) - len += distance (__route [i], __route [(i + 1) % numNodes]) ; - - return len; -} - - diff --git a/trunk/paradiseo-peo/examples/shared/route.h b/trunk/paradiseo-peo/examples/shared/route.h deleted file mode 100755 index eba19f10e..000000000 --- a/trunk/paradiseo-peo/examples/shared/route.h +++ /dev/null @@ -1,35 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "route.h" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __route_h -#define __route_h - -#include - -#include "node.h" - -typedef eoVector Route; - -unsigned length (const Route & __route); - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/route_eval.cpp b/trunk/paradiseo-peo/examples/shared/route_eval.cpp deleted file mode 100755 index 2fb0f3b32..000000000 --- a/trunk/paradiseo-peo/examples/shared/route_eval.cpp +++ /dev/null @@ -1,29 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "route_eval.cpp" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "route_eval.h" - -void RouteEval :: operator () (Route & __route) { - - __route.fitness (- (int) length (__route)); -} diff --git a/trunk/paradiseo-peo/examples/shared/route_eval.h b/trunk/paradiseo-peo/examples/shared/route_eval.h deleted file mode 100755 index 19c74d0cc..000000000 --- a/trunk/paradiseo-peo/examples/shared/route_eval.h +++ /dev/null @@ -1,38 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "route_eval.h" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __route_eval_h -#define __route_eval_h - -#include - -#include "route.h" - -class RouteEval : public eoEvalFunc { - -public : - - void operator () (Route & __route) ; -} ; - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/route_init.cpp b/trunk/paradiseo-peo/examples/shared/route_init.cpp deleted file mode 100755 index 58ef99c4c..000000000 --- a/trunk/paradiseo-peo/examples/shared/route_init.cpp +++ /dev/null @@ -1,38 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "route_init.cpp" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include - -#include "route_init.h" -#include "node.h" - -void RouteInit :: operator () (Route & __route) { - - __route.clear (); - - for (unsigned i = 0 ; i < numNodes ; i ++) - __route.push_back (i); - - for (unsigned i = 0 ; i < numNodes ; i ++) - std :: swap (__route [i], __route [rng.random (numNodes)]); -} diff --git a/trunk/paradiseo-peo/examples/shared/route_init.h b/trunk/paradiseo-peo/examples/shared/route_init.h deleted file mode 100755 index 6e524b68f..000000000 --- a/trunk/paradiseo-peo/examples/shared/route_init.h +++ /dev/null @@ -1,38 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "route_init.h" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __route_init_h -#define __route_init_h - -#include - -#include "route.h" - -class RouteInit : public eoInit { - -public : - - void operator () (Route & __route); -} ; - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/two_opt.cpp b/trunk/paradiseo-peo/examples/shared/two_opt.cpp deleted file mode 100755 index a1dcae6a5..000000000 --- a/trunk/paradiseo-peo/examples/shared/two_opt.cpp +++ /dev/null @@ -1,35 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "two_opt.cpp" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "two_opt.h" - -void TwoOpt :: operator () (Route & __route) { - - unsigned i = 0; - - while ((2 * i) < (second - first)) { - - std :: swap (__route [first + i], __route [second - i]); - i ++; - } -} diff --git a/trunk/paradiseo-peo/examples/shared/two_opt.h b/trunk/paradiseo-peo/examples/shared/two_opt.h deleted file mode 100755 index f24e897b1..000000000 --- a/trunk/paradiseo-peo/examples/shared/two_opt.h +++ /dev/null @@ -1,40 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "two_opt.h" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __two_opt_h -#define __two_opt_h - -#include -#include - -#include "route.h" - -class TwoOpt : public moMove , public std :: pair { - -public : - - void operator () (Route & __route); - -} ; - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/two_opt_incr_eval.cpp b/trunk/paradiseo-peo/examples/shared/two_opt_incr_eval.cpp deleted file mode 100755 index 6221a4714..000000000 --- a/trunk/paradiseo-peo/examples/shared/two_opt_incr_eval.cpp +++ /dev/null @@ -1,39 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "TwoOptIncrEval.cpp" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "two_opt_incr_eval.h" -#include "node.h" - -int TwoOptIncrEval :: operator () (const TwoOpt & __move, const Route & __route) { - - /* From */ - Node v1 = __route [__move.first], v1_left = __route [(__move.first - 1 + numNodes) % numNodes]; - - /* To */ - Node v2 = __route [__move.second], v2_right = __route [(__move.second + 1) % numNodes]; - - if (v1 == v2 || v2_right == v1) - return __route.fitness (); - else - return __route.fitness () - distance (v1_left, v2) - distance (v1, v2_right) + distance (v1_left, v1) + distance (v2, v2_right); -} diff --git a/trunk/paradiseo-peo/examples/shared/two_opt_incr_eval.h b/trunk/paradiseo-peo/examples/shared/two_opt_incr_eval.h deleted file mode 100755 index cb6a69b75..000000000 --- a/trunk/paradiseo-peo/examples/shared/two_opt_incr_eval.h +++ /dev/null @@ -1,38 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "TwoOptIncrEval.h" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __two_opt_incr_eval_h -#define __two_opt_incr_eval_h - -#include -#include "two_opt.h" - -class TwoOptIncrEval : public moMoveIncrEval { - -public : - - int operator () (const TwoOpt & __move, const Route & __route) ; - -} ; - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/two_opt_init.cpp b/trunk/paradiseo-peo/examples/shared/two_opt_init.cpp deleted file mode 100755 index 6a2dbdef0..000000000 --- a/trunk/paradiseo-peo/examples/shared/two_opt_init.cpp +++ /dev/null @@ -1,29 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "two_opt_init.cpp" - -// (c) OPAC Team, LIFL, 2003 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "two_opt_init.h" - -void TwoOptInit :: operator () (TwoOpt & __move, const Route & __route) { - - __move.first = __move.second = 0; -} diff --git a/trunk/paradiseo-peo/examples/shared/two_opt_init.h b/trunk/paradiseo-peo/examples/shared/two_opt_init.h deleted file mode 100755 index 77062a76c..000000000 --- a/trunk/paradiseo-peo/examples/shared/two_opt_init.h +++ /dev/null @@ -1,40 +0,0 @@ - -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "two_opt_init.h" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __two_opt_init_h -#define __two_opt_init_h - -#include - -#include "two_opt.h" - -class TwoOptInit : public moMoveInit { - -public : - - void operator () (TwoOpt & __move, const Route & __route) ; - -} ; - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/two_opt_next.cpp b/trunk/paradiseo-peo/examples/shared/two_opt_next.cpp deleted file mode 100755 index 9e83b4bef..000000000 --- a/trunk/paradiseo-peo/examples/shared/two_opt_next.cpp +++ /dev/null @@ -1,42 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "two_opt_next.cpp" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "two_opt_next.h" -#include "node.h" - -bool TwoOptNext :: operator () (TwoOpt & __move, const Route & __route) { - - if (__move.first == numNodes - 1 && __move.second == numNodes - 1) - return false; - - else { - - __move.second ++; - if (__move.second == numNodes) { - - __move.first ++; - __move.second = __move.first; - } - return true ; - } -} diff --git a/trunk/paradiseo-peo/examples/shared/two_opt_next.h b/trunk/paradiseo-peo/examples/shared/two_opt_next.h deleted file mode 100755 index 8a63dbfc8..000000000 --- a/trunk/paradiseo-peo/examples/shared/two_opt_next.h +++ /dev/null @@ -1,39 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "two_opt_next.h" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __two_opt_next_h -#define __two_opt_next_h - -#include - -#include "two_opt.h" - -class TwoOptNext : public moNextMove { - -public : - - bool operator () (TwoOpt & __move, const Route & __route); - -}; - -#endif diff --git a/trunk/paradiseo-peo/examples/shared/two_opt_rand.cpp b/trunk/paradiseo-peo/examples/shared/two_opt_rand.cpp deleted file mode 100755 index 2e123f77d..000000000 --- a/trunk/paradiseo-peo/examples/shared/two_opt_rand.cpp +++ /dev/null @@ -1,36 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "two_opt_rand.cpp" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include - -#include "two_opt_rand.h" -#include "node.h" - -void TwoOptRand :: operator () (TwoOpt & __move, const Route & __route) { - - __move.second = rng.random (numNodes); - - __move.first = rng.random (__move.second); -} - - diff --git a/trunk/paradiseo-peo/examples/shared/two_opt_rand.h b/trunk/paradiseo-peo/examples/shared/two_opt_rand.h deleted file mode 100755 index 540d884d4..000000000 --- a/trunk/paradiseo-peo/examples/shared/two_opt_rand.h +++ /dev/null @@ -1,39 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "two_opt_rand.h" - -// (c) OPAC Team, LIFL, January 2006 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __two_opt_rand_h -#define __two_opt_rand_h - -#include - -#include "two_opt.h" - -class TwoOptRand : public eoMoveRand { - -public : - - void operator () (TwoOpt & __move, const Route & __route) ; - -} ; - -#endif diff --git a/trunk/paradiseo-peo/src/Makefile.am b/trunk/paradiseo-peo/src/Makefile.am deleted file mode 100755 index 2bc845dc8..000000000 --- a/trunk/paradiseo-peo/src/Makefile.am +++ /dev/null @@ -1,71 +0,0 @@ -# Process this file with automake to produce Makefile.in - -CXX=g++ - -INCLUDES = \ - -I$(EO_DIR)/src \ - -I$(MO_DIR)/src \ - -I$(MOEO_DIR)/src - -AM_CXXFLAGS =\ - -Wall\ - -g - -SUBDIRS= rmc - -lib_LIBRARIES = libparadiseo.a - -#bin_PROGRAMS = peodeploy essai - -## Shared sources - -shared_SOURCES = \ - paradiseo \ - paradiseo.h \ - core/peo_init.h \ - core/peo_init.cpp \ - core/peo_fin.h \ - core/peo_fin.cpp \ - core/peo_run.h \ - core/peo_run.cpp \ - core/peo_param.h \ - core/peo_param.cpp \ - core/peo_debug.h \ - core/peo_debug.cpp \ - core/thread.h \ - core/thread.cpp \ - core/reac_thread.h \ - core/reac_thread.cpp \ - core/service.h \ - core/service.cpp \ - core/runner.h \ - core/runner.cpp \ - core/communicable.h \ - core/communicable.cpp \ - core/cooperative.h \ - core/rmc.h \ - core/messaging.h \ - core/topology.h \ - core/topology.cpp \ - core/ring_topo.h \ - core/ring_topo.cpp \ - core/eoPop_comm.h \ - peoEA.h \ - peoTransform.h \ - peoSeqTransform.h \ - peoParaTransform.h \ - peoPopEval.h\ - peoSeqPopEval.h \ - peoAggEvalFunc.h \ - peoParaPopEval.h - -## Main library - -libparadiseo_a_SOURCES = \ - $(shared_SOURCES) - -#libparadiseo_a_LIBADD = - -## Miscellaneous Tools - -# peodeploy \ No newline at end of file diff --git a/trunk/paradiseo-peo/src/Makefile.in b/trunk/paradiseo-peo/src/Makefile.in deleted file mode 100755 index 65d1bdada..000000000 --- a/trunk/paradiseo-peo/src/Makefile.in +++ /dev/null @@ -1,781 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -# Process this file with automake to produce Makefile.in - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = .. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -subdir = src -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_CLEAN_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(libdir)" -libLIBRARIES_INSTALL = $(INSTALL_DATA) -LIBRARIES = $(lib_LIBRARIES) -AR = ar -ARFLAGS = cru -libparadiseo_a_AR = $(AR) $(ARFLAGS) -libparadiseo_a_LIBADD = -am__objects_1 = peo_init.$(OBJEXT) peo_fin.$(OBJEXT) peo_run.$(OBJEXT) \ - peo_param.$(OBJEXT) peo_debug.$(OBJEXT) thread.$(OBJEXT) \ - reac_thread.$(OBJEXT) service.$(OBJEXT) runner.$(OBJEXT) \ - communicable.$(OBJEXT) topology.$(OBJEXT) ring_topo.$(OBJEXT) -am_libparadiseo_a_OBJECTS = $(am__objects_1) -libparadiseo_a_OBJECTS = $(am_libparadiseo_a_OBJECTS) -DEFAULT_INCLUDES = -I. -I$(srcdir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ - -o $@ -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -SOURCES = $(libparadiseo_a_SOURCES) -DIST_SOURCES = $(libparadiseo_a_SOURCES) -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-exec-recursive install-info-recursive \ - install-recursive installcheck-recursive installdirs-recursive \ - pdf-recursive ps-recursive uninstall-info-recursive \ - uninstall-recursive -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = g++ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EO_DIR = @EO_DIR@ -EXEEXT = @EXEEXT@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MOEO_DIR = @MOEO_DIR@ -MO_DIR = @MO_DIR@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -RANLIB = @RANLIB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build_alias = @build_alias@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host_alias = @host_alias@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -INCLUDES = \ - -I$(EO_DIR)/src \ - -I$(MO_DIR)/src \ - -I$(MOEO_DIR)/src - -AM_CXXFLAGS = \ - -Wall\ - -g - -SUBDIRS = rmc -lib_LIBRARIES = libparadiseo.a - -#bin_PROGRAMS = peodeploy essai -shared_SOURCES = \ - paradiseo \ - paradiseo.h \ - core/peo_init.h \ - core/peo_init.cpp \ - core/peo_fin.h \ - core/peo_fin.cpp \ - core/peo_run.h \ - core/peo_run.cpp \ - core/peo_param.h \ - core/peo_param.cpp \ - core/peo_debug.h \ - core/peo_debug.cpp \ - core/thread.h \ - core/thread.cpp \ - core/reac_thread.h \ - core/reac_thread.cpp \ - core/service.h \ - core/service.cpp \ - core/runner.h \ - core/runner.cpp \ - core/communicable.h \ - core/communicable.cpp \ - core/cooperative.h \ - core/rmc.h \ - core/messaging.h \ - core/topology.h \ - core/topology.cpp \ - core/ring_topo.h \ - core/ring_topo.cpp \ - core/eoPop_comm.h \ - peoEA.h \ - peoTransform.h \ - peoSeqTransform.h \ - peoParaTransform.h \ - peoPopEval.h\ - peoSeqPopEval.h \ - peoAggEvalFunc.h \ - peoParaPopEval.h - -libparadiseo_a_SOURCES = \ - $(shared_SOURCES) - -all: all-recursive - -.SUFFIXES: -.SUFFIXES: .cpp .o .obj -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu src/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -install-libLIBRARIES: $(lib_LIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" - @list='$(lib_LIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - f=$(am__strip_dir) \ - echo " $(libLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ - $(libLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ - else :; fi; \ - done - @$(POST_INSTALL) - @list='$(lib_LIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - p=$(am__strip_dir) \ - echo " $(RANLIB) '$(DESTDIR)$(libdir)/$$p'"; \ - $(RANLIB) "$(DESTDIR)$(libdir)/$$p"; \ - else :; fi; \ - done - -uninstall-libLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LIBRARIES)'; for p in $$list; do \ - p=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(libdir)/$$p'"; \ - rm -f "$(DESTDIR)$(libdir)/$$p"; \ - done - -clean-libLIBRARIES: - -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES) -libparadiseo.a: $(libparadiseo_a_OBJECTS) $(libparadiseo_a_DEPENDENCIES) - -rm -f libparadiseo.a - $(libparadiseo_a_AR) libparadiseo.a $(libparadiseo_a_OBJECTS) $(libparadiseo_a_LIBADD) - $(RANLIB) libparadiseo.a - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/communicable.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/peo_debug.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/peo_fin.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/peo_init.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/peo_param.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/peo_run.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reac_thread.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ring_topo.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runner.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/service.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thread.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/topology.Po@am__quote@ - -.cpp.o: -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cpp.obj: -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -peo_init.o: core/peo_init.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT peo_init.o -MD -MP -MF "$(DEPDIR)/peo_init.Tpo" -c -o peo_init.o `test -f 'core/peo_init.cpp' || echo '$(srcdir)/'`core/peo_init.cpp; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/peo_init.Tpo" "$(DEPDIR)/peo_init.Po"; else rm -f "$(DEPDIR)/peo_init.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/peo_init.cpp' object='peo_init.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o peo_init.o `test -f 'core/peo_init.cpp' || echo '$(srcdir)/'`core/peo_init.cpp - -peo_init.obj: core/peo_init.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT peo_init.obj -MD -MP -MF "$(DEPDIR)/peo_init.Tpo" -c -o peo_init.obj `if test -f 'core/peo_init.cpp'; then $(CYGPATH_W) 'core/peo_init.cpp'; else $(CYGPATH_W) '$(srcdir)/core/peo_init.cpp'; fi`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/peo_init.Tpo" "$(DEPDIR)/peo_init.Po"; else rm -f "$(DEPDIR)/peo_init.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/peo_init.cpp' object='peo_init.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o peo_init.obj `if test -f 'core/peo_init.cpp'; then $(CYGPATH_W) 'core/peo_init.cpp'; else $(CYGPATH_W) '$(srcdir)/core/peo_init.cpp'; fi` - -peo_fin.o: core/peo_fin.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT peo_fin.o -MD -MP -MF "$(DEPDIR)/peo_fin.Tpo" -c -o peo_fin.o `test -f 'core/peo_fin.cpp' || echo '$(srcdir)/'`core/peo_fin.cpp; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/peo_fin.Tpo" "$(DEPDIR)/peo_fin.Po"; else rm -f "$(DEPDIR)/peo_fin.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/peo_fin.cpp' object='peo_fin.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o peo_fin.o `test -f 'core/peo_fin.cpp' || echo '$(srcdir)/'`core/peo_fin.cpp - -peo_fin.obj: core/peo_fin.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT peo_fin.obj -MD -MP -MF "$(DEPDIR)/peo_fin.Tpo" -c -o peo_fin.obj `if test -f 'core/peo_fin.cpp'; then $(CYGPATH_W) 'core/peo_fin.cpp'; else $(CYGPATH_W) '$(srcdir)/core/peo_fin.cpp'; fi`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/peo_fin.Tpo" "$(DEPDIR)/peo_fin.Po"; else rm -f "$(DEPDIR)/peo_fin.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/peo_fin.cpp' object='peo_fin.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o peo_fin.obj `if test -f 'core/peo_fin.cpp'; then $(CYGPATH_W) 'core/peo_fin.cpp'; else $(CYGPATH_W) '$(srcdir)/core/peo_fin.cpp'; fi` - -peo_run.o: core/peo_run.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT peo_run.o -MD -MP -MF "$(DEPDIR)/peo_run.Tpo" -c -o peo_run.o `test -f 'core/peo_run.cpp' || echo '$(srcdir)/'`core/peo_run.cpp; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/peo_run.Tpo" "$(DEPDIR)/peo_run.Po"; else rm -f "$(DEPDIR)/peo_run.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/peo_run.cpp' object='peo_run.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o peo_run.o `test -f 'core/peo_run.cpp' || echo '$(srcdir)/'`core/peo_run.cpp - -peo_run.obj: core/peo_run.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT peo_run.obj -MD -MP -MF "$(DEPDIR)/peo_run.Tpo" -c -o peo_run.obj `if test -f 'core/peo_run.cpp'; then $(CYGPATH_W) 'core/peo_run.cpp'; else $(CYGPATH_W) '$(srcdir)/core/peo_run.cpp'; fi`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/peo_run.Tpo" "$(DEPDIR)/peo_run.Po"; else rm -f "$(DEPDIR)/peo_run.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/peo_run.cpp' object='peo_run.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o peo_run.obj `if test -f 'core/peo_run.cpp'; then $(CYGPATH_W) 'core/peo_run.cpp'; else $(CYGPATH_W) '$(srcdir)/core/peo_run.cpp'; fi` - -peo_param.o: core/peo_param.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT peo_param.o -MD -MP -MF "$(DEPDIR)/peo_param.Tpo" -c -o peo_param.o `test -f 'core/peo_param.cpp' || echo '$(srcdir)/'`core/peo_param.cpp; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/peo_param.Tpo" "$(DEPDIR)/peo_param.Po"; else rm -f "$(DEPDIR)/peo_param.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/peo_param.cpp' object='peo_param.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o peo_param.o `test -f 'core/peo_param.cpp' || echo '$(srcdir)/'`core/peo_param.cpp - -peo_param.obj: core/peo_param.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT peo_param.obj -MD -MP -MF "$(DEPDIR)/peo_param.Tpo" -c -o peo_param.obj `if test -f 'core/peo_param.cpp'; then $(CYGPATH_W) 'core/peo_param.cpp'; else $(CYGPATH_W) '$(srcdir)/core/peo_param.cpp'; fi`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/peo_param.Tpo" "$(DEPDIR)/peo_param.Po"; else rm -f "$(DEPDIR)/peo_param.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/peo_param.cpp' object='peo_param.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o peo_param.obj `if test -f 'core/peo_param.cpp'; then $(CYGPATH_W) 'core/peo_param.cpp'; else $(CYGPATH_W) '$(srcdir)/core/peo_param.cpp'; fi` - -peo_debug.o: core/peo_debug.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT peo_debug.o -MD -MP -MF "$(DEPDIR)/peo_debug.Tpo" -c -o peo_debug.o `test -f 'core/peo_debug.cpp' || echo '$(srcdir)/'`core/peo_debug.cpp; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/peo_debug.Tpo" "$(DEPDIR)/peo_debug.Po"; else rm -f "$(DEPDIR)/peo_debug.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/peo_debug.cpp' object='peo_debug.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o peo_debug.o `test -f 'core/peo_debug.cpp' || echo '$(srcdir)/'`core/peo_debug.cpp - -peo_debug.obj: core/peo_debug.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT peo_debug.obj -MD -MP -MF "$(DEPDIR)/peo_debug.Tpo" -c -o peo_debug.obj `if test -f 'core/peo_debug.cpp'; then $(CYGPATH_W) 'core/peo_debug.cpp'; else $(CYGPATH_W) '$(srcdir)/core/peo_debug.cpp'; fi`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/peo_debug.Tpo" "$(DEPDIR)/peo_debug.Po"; else rm -f "$(DEPDIR)/peo_debug.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/peo_debug.cpp' object='peo_debug.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o peo_debug.obj `if test -f 'core/peo_debug.cpp'; then $(CYGPATH_W) 'core/peo_debug.cpp'; else $(CYGPATH_W) '$(srcdir)/core/peo_debug.cpp'; fi` - -thread.o: core/thread.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT thread.o -MD -MP -MF "$(DEPDIR)/thread.Tpo" -c -o thread.o `test -f 'core/thread.cpp' || echo '$(srcdir)/'`core/thread.cpp; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/thread.Tpo" "$(DEPDIR)/thread.Po"; else rm -f "$(DEPDIR)/thread.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/thread.cpp' object='thread.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o thread.o `test -f 'core/thread.cpp' || echo '$(srcdir)/'`core/thread.cpp - -thread.obj: core/thread.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT thread.obj -MD -MP -MF "$(DEPDIR)/thread.Tpo" -c -o thread.obj `if test -f 'core/thread.cpp'; then $(CYGPATH_W) 'core/thread.cpp'; else $(CYGPATH_W) '$(srcdir)/core/thread.cpp'; fi`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/thread.Tpo" "$(DEPDIR)/thread.Po"; else rm -f "$(DEPDIR)/thread.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/thread.cpp' object='thread.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o thread.obj `if test -f 'core/thread.cpp'; then $(CYGPATH_W) 'core/thread.cpp'; else $(CYGPATH_W) '$(srcdir)/core/thread.cpp'; fi` - -reac_thread.o: core/reac_thread.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT reac_thread.o -MD -MP -MF "$(DEPDIR)/reac_thread.Tpo" -c -o reac_thread.o `test -f 'core/reac_thread.cpp' || echo '$(srcdir)/'`core/reac_thread.cpp; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/reac_thread.Tpo" "$(DEPDIR)/reac_thread.Po"; else rm -f "$(DEPDIR)/reac_thread.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/reac_thread.cpp' object='reac_thread.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o reac_thread.o `test -f 'core/reac_thread.cpp' || echo '$(srcdir)/'`core/reac_thread.cpp - -reac_thread.obj: core/reac_thread.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT reac_thread.obj -MD -MP -MF "$(DEPDIR)/reac_thread.Tpo" -c -o reac_thread.obj `if test -f 'core/reac_thread.cpp'; then $(CYGPATH_W) 'core/reac_thread.cpp'; else $(CYGPATH_W) '$(srcdir)/core/reac_thread.cpp'; fi`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/reac_thread.Tpo" "$(DEPDIR)/reac_thread.Po"; else rm -f "$(DEPDIR)/reac_thread.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/reac_thread.cpp' object='reac_thread.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o reac_thread.obj `if test -f 'core/reac_thread.cpp'; then $(CYGPATH_W) 'core/reac_thread.cpp'; else $(CYGPATH_W) '$(srcdir)/core/reac_thread.cpp'; fi` - -service.o: core/service.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT service.o -MD -MP -MF "$(DEPDIR)/service.Tpo" -c -o service.o `test -f 'core/service.cpp' || echo '$(srcdir)/'`core/service.cpp; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/service.Tpo" "$(DEPDIR)/service.Po"; else rm -f "$(DEPDIR)/service.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/service.cpp' object='service.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o service.o `test -f 'core/service.cpp' || echo '$(srcdir)/'`core/service.cpp - -service.obj: core/service.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT service.obj -MD -MP -MF "$(DEPDIR)/service.Tpo" -c -o service.obj `if test -f 'core/service.cpp'; then $(CYGPATH_W) 'core/service.cpp'; else $(CYGPATH_W) '$(srcdir)/core/service.cpp'; fi`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/service.Tpo" "$(DEPDIR)/service.Po"; else rm -f "$(DEPDIR)/service.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/service.cpp' object='service.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o service.obj `if test -f 'core/service.cpp'; then $(CYGPATH_W) 'core/service.cpp'; else $(CYGPATH_W) '$(srcdir)/core/service.cpp'; fi` - -runner.o: core/runner.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT runner.o -MD -MP -MF "$(DEPDIR)/runner.Tpo" -c -o runner.o `test -f 'core/runner.cpp' || echo '$(srcdir)/'`core/runner.cpp; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/runner.Tpo" "$(DEPDIR)/runner.Po"; else rm -f "$(DEPDIR)/runner.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/runner.cpp' object='runner.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o runner.o `test -f 'core/runner.cpp' || echo '$(srcdir)/'`core/runner.cpp - -runner.obj: core/runner.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT runner.obj -MD -MP -MF "$(DEPDIR)/runner.Tpo" -c -o runner.obj `if test -f 'core/runner.cpp'; then $(CYGPATH_W) 'core/runner.cpp'; else $(CYGPATH_W) '$(srcdir)/core/runner.cpp'; fi`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/runner.Tpo" "$(DEPDIR)/runner.Po"; else rm -f "$(DEPDIR)/runner.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/runner.cpp' object='runner.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o runner.obj `if test -f 'core/runner.cpp'; then $(CYGPATH_W) 'core/runner.cpp'; else $(CYGPATH_W) '$(srcdir)/core/runner.cpp'; fi` - -communicable.o: core/communicable.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT communicable.o -MD -MP -MF "$(DEPDIR)/communicable.Tpo" -c -o communicable.o `test -f 'core/communicable.cpp' || echo '$(srcdir)/'`core/communicable.cpp; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/communicable.Tpo" "$(DEPDIR)/communicable.Po"; else rm -f "$(DEPDIR)/communicable.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/communicable.cpp' object='communicable.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o communicable.o `test -f 'core/communicable.cpp' || echo '$(srcdir)/'`core/communicable.cpp - -communicable.obj: core/communicable.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT communicable.obj -MD -MP -MF "$(DEPDIR)/communicable.Tpo" -c -o communicable.obj `if test -f 'core/communicable.cpp'; then $(CYGPATH_W) 'core/communicable.cpp'; else $(CYGPATH_W) '$(srcdir)/core/communicable.cpp'; fi`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/communicable.Tpo" "$(DEPDIR)/communicable.Po"; else rm -f "$(DEPDIR)/communicable.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/communicable.cpp' object='communicable.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o communicable.obj `if test -f 'core/communicable.cpp'; then $(CYGPATH_W) 'core/communicable.cpp'; else $(CYGPATH_W) '$(srcdir)/core/communicable.cpp'; fi` - -topology.o: core/topology.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT topology.o -MD -MP -MF "$(DEPDIR)/topology.Tpo" -c -o topology.o `test -f 'core/topology.cpp' || echo '$(srcdir)/'`core/topology.cpp; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/topology.Tpo" "$(DEPDIR)/topology.Po"; else rm -f "$(DEPDIR)/topology.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/topology.cpp' object='topology.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o topology.o `test -f 'core/topology.cpp' || echo '$(srcdir)/'`core/topology.cpp - -topology.obj: core/topology.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT topology.obj -MD -MP -MF "$(DEPDIR)/topology.Tpo" -c -o topology.obj `if test -f 'core/topology.cpp'; then $(CYGPATH_W) 'core/topology.cpp'; else $(CYGPATH_W) '$(srcdir)/core/topology.cpp'; fi`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/topology.Tpo" "$(DEPDIR)/topology.Po"; else rm -f "$(DEPDIR)/topology.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/topology.cpp' object='topology.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o topology.obj `if test -f 'core/topology.cpp'; then $(CYGPATH_W) 'core/topology.cpp'; else $(CYGPATH_W) '$(srcdir)/core/topology.cpp'; fi` - -ring_topo.o: core/ring_topo.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ring_topo.o -MD -MP -MF "$(DEPDIR)/ring_topo.Tpo" -c -o ring_topo.o `test -f 'core/ring_topo.cpp' || echo '$(srcdir)/'`core/ring_topo.cpp; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/ring_topo.Tpo" "$(DEPDIR)/ring_topo.Po"; else rm -f "$(DEPDIR)/ring_topo.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/ring_topo.cpp' object='ring_topo.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ring_topo.o `test -f 'core/ring_topo.cpp' || echo '$(srcdir)/'`core/ring_topo.cpp - -ring_topo.obj: core/ring_topo.cpp -@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ring_topo.obj -MD -MP -MF "$(DEPDIR)/ring_topo.Tpo" -c -o ring_topo.obj `if test -f 'core/ring_topo.cpp'; then $(CYGPATH_W) 'core/ring_topo.cpp'; else $(CYGPATH_W) '$(srcdir)/core/ring_topo.cpp'; fi`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/ring_topo.Tpo" "$(DEPDIR)/ring_topo.Po"; else rm -f "$(DEPDIR)/ring_topo.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='core/ring_topo.cpp' object='ring_topo.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ring_topo.obj `if test -f 'core/ring_topo.cpp'; then $(CYGPATH_W) 'core/ring_topo.cpp'; else $(CYGPATH_W) '$(srcdir)/core/ring_topo.cpp'; fi` -uninstall-info-am: - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(mkdir_p) "$(distdir)/$$subdir" \ - || exit 1; \ - distdir=`$(am__cd) $(distdir) && pwd`; \ - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ - (cd $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$top_distdir" \ - distdir="$$distdir/$$subdir" \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-recursive -all-am: Makefile $(LIBRARIES) -installdirs: installdirs-recursive -installdirs-am: - for dir in "$(DESTDIR)$(libdir)"; do \ - test -z "$$dir" || $(mkdir_p) "$$dir"; \ - done -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic clean-libLIBRARIES mostlyclean-am - -distclean: distclean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -info: info-recursive - -info-am: - -install-data-am: - -install-exec-am: install-libLIBRARIES - -install-info: install-info-recursive - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-compile mostlyclean-generic - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-info-am uninstall-libLIBRARIES - -uninstall-info: uninstall-info-recursive - -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ - clean clean-generic clean-libLIBRARIES clean-recursive ctags \ - ctags-recursive distclean distclean-compile distclean-generic \ - distclean-recursive distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-exec install-exec-am install-info \ - install-info-am install-libLIBRARIES install-man install-strip \ - installcheck installcheck-am installdirs installdirs-am \ - maintainer-clean maintainer-clean-generic \ - maintainer-clean-recursive mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-recursive pdf pdf-am ps ps-am \ - tags tags-recursive uninstall uninstall-am uninstall-info-am \ - uninstall-libLIBRARIES - - -#libparadiseo_a_LIBADD = - -# peodeploy -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/trunk/paradiseo-peo/src/core/communicable.cpp b/trunk/paradiseo-peo/src/core/communicable.cpp deleted file mode 100755 index 6d70d22df..000000000 --- a/trunk/paradiseo-peo/src/core/communicable.cpp +++ /dev/null @@ -1,85 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "comm.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include -#include -#include - -#include "communicable.h" - -static std :: vector key_to_comm (1); /* Vector of registered cooperators */ - -static std :: map comm_to_key; /* Map of registered cooperators */ - -unsigned Communicable :: num_comm = 0; - -Communicable :: Communicable () { - - comm_to_key [this] = key = ++ num_comm; - key_to_comm.push_back (this); - sem_init (& sem_lock, 0, 1); - sem_init (& sem_stop, 0, 0); -} - -Communicable :: ~ Communicable () { - -} - -COMM_ID Communicable :: getKey () { - - return key; -} - -Communicable * getCommunicable (COMM_ID __key) { - - assert (__key < key_to_comm.size ()); - return key_to_comm [__key]; -} - -COMM_ID getKey (const Communicable * __comm) { - - return comm_to_key [__comm]; -} - -void Communicable :: lock () { - - sem_wait (& sem_lock); -} - -void Communicable :: unlock () { - - sem_post (& sem_lock); -} - -void Communicable :: stop () { - - sem_wait (& sem_stop); -} - -void Communicable :: resume () { - - sem_post (& sem_stop); -} - - - diff --git a/trunk/paradiseo-peo/src/core/communicable.h b/trunk/paradiseo-peo/src/core/communicable.h deleted file mode 100755 index 4cbf61916..000000000 --- a/trunk/paradiseo-peo/src/core/communicable.h +++ /dev/null @@ -1,62 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "communicable.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __communicable_h -#define __communicable_h - -#include - -typedef unsigned COMM_ID; - -class Communicable { - -public : - - Communicable (); - - virtual ~ Communicable (); - - COMM_ID getKey (); - - void lock (); /* It suspends the current process if the semaphore is locked */ - void unlock (); /* It unlocks the shared semaphore */ - - void stop (); /* It suspends the current process */ - void resume (); /* It resumes ___________ */ - -protected : - - COMM_ID key; - - sem_t sem_lock; - - sem_t sem_stop; - - static unsigned num_comm; -}; - -extern Communicable * getCommunicable (COMM_ID __key); - -//extern COMM_ID getKey (const Communicable * __comm); - -#endif diff --git a/trunk/paradiseo-peo/src/core/cooperative.h b/trunk/paradiseo-peo/src/core/cooperative.h deleted file mode 100755 index 0acbd5db3..000000000 --- a/trunk/paradiseo-peo/src/core/cooperative.h +++ /dev/null @@ -1,56 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "cooperative.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __cooperative_h -#define __cooperative_h - -#include "communicable.h" -#include "runner.h" - -typedef unsigned COOP_ID; - -class Cooperative : public Communicable { - -public : - - Runner * getOwner (); - - void setOwner (Runner & __runner); - - virtual void pack () = 0; - - virtual void unpack () = 0; - - void send (Cooperative * __coop); - - virtual void notifySending (); - -private : - - Runner * owner; - -}; - -extern Cooperative * getCooperative (COOP_ID __key); - -#endif diff --git a/trunk/paradiseo-peo/src/core/eoPop_comm.h b/trunk/paradiseo-peo/src/core/eoPop_comm.h deleted file mode 100755 index 300cd6ac7..000000000 --- a/trunk/paradiseo-peo/src/core/eoPop_comm.h +++ /dev/null @@ -1,47 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "eoPop_comm.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __eoPop_comm_h -#define __eoPop_comm_h - -#include - -#include "messaging.h" - -template void pack (const eoPop & __pop) { - - pack ((unsigned) __pop.size ()); - for (unsigned i = 0; i < __pop.size (); i ++) - pack (__pop [i]); -} - -template void unpack (eoPop & __pop) { - - unsigned n; - - unpack (n); - __pop.resize (n); - for (unsigned i = 0; i < n; i ++) - unpack (__pop [i]); -} -#endif diff --git a/trunk/paradiseo-peo/src/core/eoVector_comm.h b/trunk/paradiseo-peo/src/core/eoVector_comm.h deleted file mode 100755 index ff90a9b54..000000000 --- a/trunk/paradiseo-peo/src/core/eoVector_comm.h +++ /dev/null @@ -1,53 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "eoVector_comm.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __eoVector_comm_h -#define __eoVector_comm_h - -#include - -#include "messaging.h" - -template void pack (const eoVector & __v) { - - pack (__v.fitness ()) ; - unsigned len = __v.size (); - pack (len); - for (unsigned i = 0 ; i < len; i ++) - pack (__v [i]); -} - -template void unpack (eoVector & __v) { - - F fit; - unpack (fit); - __v.fitness (fit); - - unsigned len; - unpack (len); - __v.resize (len); - for (unsigned i = 0 ; i < len; i ++) - unpack (__v [i]); -} - -#endif diff --git a/trunk/paradiseo-peo/src/core/messaging.h b/trunk/paradiseo-peo/src/core/messaging.h deleted file mode 100755 index be1e66769..000000000 --- a/trunk/paradiseo-peo/src/core/messaging.h +++ /dev/null @@ -1,119 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "messaging.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __mess_h -#define __mess_h - -#include - -/* Char */ -extern void pack (const char & __c); - -/* Float */ -extern void pack (const float & __f, int __nitem = 1); - -/* Double */ -extern void pack (const double & __d, int __nitem = 1); - -/* Integer */ -extern void pack (const int & __i, int __nitem = 1); - -/* Unsigned int. */ -extern void pack (const unsigned int & __ui, int __nitem = 1); - -/* Short int. */ -extern void pack (const short & __sh, int __nitem = 1); - -/* Unsigned short */ -extern void pack (const unsigned short & __ush, int __nitem = 1); - -/* Long */ -extern void pack (const long & __l, int __nitem = 1); - -/* Unsigned long */ -extern void pack (const unsigned long & __ul, int __nitem = 1); - -/* String */ -extern void pack (const char * __str); - -/* Pointer */ -template void pack (const T * __ptr) { - - pack ((unsigned long) __ptr); -} - -/* Pair */ -template void pack (const std :: pair & __pair) { - - pack (__pair.first); - pack (__pair.second); -} - -// - -/* Float */ -extern void unpack (char & __c); - -/* Float */ -extern void unpack (float & __f, int __nitem = 1); - -/* Double */ -extern void unpack (double & __d, int __nitem = 1); - -/* Integer */ -extern void unpack (int & __i, int __nitem = 1); - -/* Unsigned int. */ -extern void unpack (unsigned int & __ui, int __nitem = 1); - -/* Short int. */ -extern void unpack (short & __sh, int __nitem = 1); - -/* Unsigned short */ -extern void unpack (unsigned short & __ush, int __nitem = 1); - -/* Long */ -extern void unpack (long & __l, int __nitem = 1); - -/* Unsigned long */ -extern void unpack (unsigned long & __ul, int __nitem = 1); - -/* String */ -extern void unpack (char * __str); - -/* Pointer */ -template void unpack (T * & __ptr) { - - unsigned long p; - unpack (p); - __ptr = (T *) p; -} - -/* Pair */ -template void unpack (std :: pair & __pair) { - - unpack (__pair.first); - unpack (__pair.second); -} - -#endif diff --git a/trunk/paradiseo-peo/src/core/peo_debug.cpp b/trunk/paradiseo-peo/src/core/peo_debug.cpp deleted file mode 100755 index f564d52a8..000000000 --- a/trunk/paradiseo-peo/src/core/peo_debug.cpp +++ /dev/null @@ -1,92 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peo_debug.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "peo_debug.h" - -#include -#include -#include -#include -#include -#include -#include - -#include "peo_debug.h" - -#define MAX_BUFF_SIZE 1000 - -#define DEBUG_PATH "./log/" - -static bool debug = true; - -static char host [MAX_BUFF_SIZE]; - -std :: vector files; - -void setDebugMode (bool __dbg) { - - debug = __dbg; - gethostname (host, MAX_BUFF_SIZE); -} - -extern int getNodeRank (); - -void initDebugging () { - - mkdir (DEBUG_PATH, S_IRWXU); - // files.push_back (stdout); - char buff [MAX_BUFF_SIZE]; - sprintf (buff, "%s/%d", DEBUG_PATH, getNodeRank ()); - files.push_back (fopen (buff, "w")); -} - -void endDebugging () { - - for (unsigned i = 0; i < files.size (); i ++) - if (files [i] != stdout) - fclose (files [i]); -} - -void printDebugMessage (const char * __mess) { - - if (debug) { - - char buff [MAX_BUFF_SIZE]; - time_t t = time (0); - - /* Date */ - sprintf (buff, "[%s][%s: ", host, ctime (& t)); - * strchr (buff, '\n') = ']'; - for (unsigned i = 0; i < files.size (); i ++) - fprintf (files [i], buff); - - /* Message */ - sprintf (buff, "%s", __mess); - - for (unsigned i = 0; i < files.size (); i ++) { - fputs (buff, files [i]); - fputs ("\n", files [i]); - fflush (files [i]); - } - } -} diff --git a/trunk/paradiseo-peo/src/core/peo_debug.h b/trunk/paradiseo-peo/src/core/peo_debug.h deleted file mode 100755 index 30c23a269..000000000 --- a/trunk/paradiseo-peo/src/core/peo_debug.h +++ /dev/null @@ -1,37 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peo_debug.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __peo_debug_h -#define __peo_debug_h - -extern void initDebugging (); - -extern void endDebugging (); - -extern void setDebugMode (bool __dbg = true); /* (Des)activating the Debugging mode */ - -extern void printDebugMessage (const char * __mess); /* Print a new message both on the - standard output and a target - text-file in a subdirectory) */ - -#endif diff --git a/trunk/paradiseo-peo/src/core/peo_fin.cpp b/trunk/paradiseo-peo/src/core/peo_fin.cpp deleted file mode 100755 index c3fbb4be2..000000000 --- a/trunk/paradiseo-peo/src/core/peo_fin.cpp +++ /dev/null @@ -1,39 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peo_finalize.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "peo_fin.h" -#include "peo_debug.h" -#include "runner.h" -#include "rmc.h" - -void peo :: finalize () { - - printDebugMessage ("waiting for the termination of all threads"); - - joinRunners (); - - finalizeRMC (); - - printDebugMessage ("this is the end"); - endDebugging (); -} diff --git a/trunk/paradiseo-peo/src/core/peo_fin.h b/trunk/paradiseo-peo/src/core/peo_fin.h deleted file mode 100755 index 11c627cf3..000000000 --- a/trunk/paradiseo-peo/src/core/peo_fin.h +++ /dev/null @@ -1,32 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peo_finalize.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __peo_finalize_h -#define __peo_finalize_h - -namespace peo { - - extern void finalize (); -} - -#endif diff --git a/trunk/paradiseo-peo/src/core/peo_init.cpp b/trunk/paradiseo-peo/src/core/peo_init.cpp deleted file mode 100755 index d5861c6d7..000000000 --- a/trunk/paradiseo-peo/src/core/peo_init.cpp +++ /dev/null @@ -1,52 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peo_init.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include - -#include "peo_init.h" -#include "peo_param.h" -#include "peo_debug.h" -#include "rmc.h" - -namespace peo { - - int * argc; - - char * * * argv; - - void init (int & __argc, char * * & __argv) { - - argc = & __argc; - - argv = & __argv; - - /* Initializing the the Resource Management and Communication */ - initRMC (__argc, __argv); - - /* Loading the common parameters */ - loadParameters (__argc, __argv); - - /* */ - initDebugging (); - } -} diff --git a/trunk/paradiseo-peo/src/core/peo_init.h b/trunk/paradiseo-peo/src/core/peo_init.h deleted file mode 100755 index deb283d71..000000000 --- a/trunk/paradiseo-peo/src/core/peo_init.h +++ /dev/null @@ -1,36 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peo_init.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __peo_init_h -#define __peo_init_h - -namespace peo { - - extern int * argc; - - extern char * * * argv; - - extern void init (int & __argc, char * * & __argv); -} - -#endif diff --git a/trunk/paradiseo-peo/src/core/peo_param.cpp b/trunk/paradiseo-peo/src/core/peo_param.cpp deleted file mode 100755 index 5c77cf268..000000000 --- a/trunk/paradiseo-peo/src/core/peo_param.cpp +++ /dev/null @@ -1,40 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peo_param.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include - -#include "peo_param.h" -#include "peo_debug.h" - - - -void peo :: loadParameters (int & __argc, char * * & __argv) { - - eoParser parser (__argc, __argv); - - /* Debug */ - eoValueParam debug_param ("false", "debug", "?"); - parser.processParam (debug_param); - if (debug_param.value () == "true") - setDebugMode (); -} diff --git a/trunk/paradiseo-peo/src/core/peo_param.h b/trunk/paradiseo-peo/src/core/peo_param.h deleted file mode 100755 index 791314859..000000000 --- a/trunk/paradiseo-peo/src/core/peo_param.h +++ /dev/null @@ -1,32 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peo_param.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __peo_param_h -#define __peo_param_h - -namespace peo { - - extern void loadParameters (int & __argc, char * * & __argv); -} - -#endif diff --git a/trunk/paradiseo-peo/src/core/peo_run.cpp b/trunk/paradiseo-peo/src/core/peo_run.cpp deleted file mode 100755 index 41d709b13..000000000 --- a/trunk/paradiseo-peo/src/core/peo_run.cpp +++ /dev/null @@ -1,34 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peo_run.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "peo_init.h" -#include "peo_run.h" -#include "rmc.h" -#include "runner.h" - -void peo :: run () { - - startRunners (); - - runRMC (); -} diff --git a/trunk/paradiseo-peo/src/core/peo_run.h b/trunk/paradiseo-peo/src/core/peo_run.h deleted file mode 100755 index 4a7fc4324..000000000 --- a/trunk/paradiseo-peo/src/core/peo_run.h +++ /dev/null @@ -1,32 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peo_run.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __peo_run_h -#define __peo_run_h - -namespace peo { - - extern void run (); -} - -#endif diff --git a/trunk/paradiseo-peo/src/core/reac_thread.cpp b/trunk/paradiseo-peo/src/core/reac_thread.cpp deleted file mode 100755 index 963d59316..000000000 --- a/trunk/paradiseo-peo/src/core/reac_thread.cpp +++ /dev/null @@ -1,51 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "reac_thread.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "reac_thread.h" - -static bool the_end = false; - -static std :: vector reac_threads; - -ReactiveThread :: ReactiveThread () { - - reac_threads.push_back (this); - sem_init (& sem, 0, 0); -} - -void ReactiveThread :: sleep () { - - sem_wait (& sem); -} - -void ReactiveThread :: wakeUp () { - - sem_post (& sem); -} - -void stopReactiveThreads () { - - the_end = true; - for (unsigned i = 0; i < reac_threads.size (); i ++) - reac_threads [i] -> wakeUp (); -} diff --git a/trunk/paradiseo-peo/src/core/reac_thread.h b/trunk/paradiseo-peo/src/core/reac_thread.h deleted file mode 100755 index 2e44d6f49..000000000 --- a/trunk/paradiseo-peo/src/core/reac_thread.h +++ /dev/null @@ -1,50 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "reac_thread.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef REAC_THREAD_H_ -#define REAC_THREAD_H_ - -#include - -#include "thread.h" - -class ReactiveThread : public Thread { - -public: - - /* Ctor */ - ReactiveThread (); - - void sleep (); - - void wakeUp (); - -private: - - sem_t sem; - -}; - -extern void stopReactiveThreads (); - -#endif /*THREAD_H_*/ diff --git a/trunk/paradiseo-peo/src/core/ring_topo.cpp b/trunk/paradiseo-peo/src/core/ring_topo.cpp deleted file mode 100755 index 549af8ce3..000000000 --- a/trunk/paradiseo-peo/src/core/ring_topo.cpp +++ /dev/null @@ -1,40 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "ring_topo.cpp" - -// (c) OPAC Team, LIFL, September 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "ring_topo.h" - -void RingTopology :: setNeighbors (Cooperative * __mig, - std :: vector & __from, - std :: vector & __to) { - __from.clear () ; - __to.clear () ; - - int len = mig.size () ; - - for (int i = 0 ; i < len ; i ++) - if (mig [i] == __mig) { - __from.push_back (mig [(i - 1 + len) % len]) ; - __to.push_back (mig [(i + 1) % len]) ; - break; - } -} diff --git a/trunk/paradiseo-peo/src/core/ring_topo.h b/trunk/paradiseo-peo/src/core/ring_topo.h deleted file mode 100755 index 96efcd734..000000000 --- a/trunk/paradiseo-peo/src/core/ring_topo.h +++ /dev/null @@ -1,39 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "ring_topo.h" - -// (c) OPAC Team, LIFL, September 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __ring_topo_h -#define __ring_topo_h - -#include "topology.h" - -class RingTopology : public Topology { - -public : - - void setNeighbors (Cooperative * __mig, - std :: vector & __from, - std :: vector & __to); - -}; - -#endif diff --git a/trunk/paradiseo-peo/src/core/rmc.h b/trunk/paradiseo-peo/src/core/rmc.h deleted file mode 100755 index cf43704f6..000000000 --- a/trunk/paradiseo-peo/src/core/rmc.h +++ /dev/null @@ -1,33 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "rmc.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __rmc_h -#define __rmc_h - -extern void initRMC (int & __argc, char * * & __argv); - -extern void runRMC (); /* Resource Management and Communication */ - -extern void finalizeRMC (); - -#endif diff --git a/trunk/paradiseo-peo/src/core/runner.cpp b/trunk/paradiseo-peo/src/core/runner.cpp deleted file mode 100755 index 519fc00d5..000000000 --- a/trunk/paradiseo-peo/src/core/runner.cpp +++ /dev/null @@ -1,119 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "runner.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include - -#include "runner.h" -#include "reac_thread.h" -#include "peo_debug.h" -#include "messaging.h" - -static unsigned num_act = 0; /* Number of active runners */ - -static std :: vector ll_threads; /* Low-level runner threads */ - -static std :: vector the_runners; - -static unsigned num_runners = 0; - -Runner :: Runner () { - - id = ++ num_runners; - the_runners.push_back (this); - sem_init (& sem_start, 0, 0); - num_act ++; -} - -extern int getNodeRank (); - -extern int getNumberOfNodes (); - -void unpackTerminationOfRunner () { - - RUNNER_ID id; - unpack (id); - num_act --; - printDebugMessage ("I'm noticed of the termination of a runner"); - if (! num_act) { - printDebugMessage ("all the runners have terminated. Now stopping the reactive threads."); - stopReactiveThreads (); - } -} - -bool atLeastOneActiveRunner () { - - return num_act; -} - -RUNNER_ID Runner :: getID () { - - return id; -} - -void Runner :: start () { - - setActive (); - sem_post (& sem_start); - run (); - terminate (); -} - -void Runner :: notifySendingTermination () { - - /* - char b [1000]; - sprintf (b, "Il reste encore %d !!!!!!!!!!!!", n); - printDebugMessage (b); - */ - printDebugMessage ("je suis informe que tout le monde a recu ma terminaison"); - setPassive (); - -} - -void Runner :: waitStarting () { - - sem_wait (& sem_start); -} - -Runner * getRunner (RUNNER_ID __key) { - - return dynamic_cast (getCommunicable (__key)); -} - -void startRunners () { - - /* Runners */ - for (unsigned i = 0; i < the_runners.size (); i ++) - if (the_runners [i] -> isLocal ()) { - addThread (the_runners [i], ll_threads); - the_runners [i] -> waitStarting (); - } - printDebugMessage ("launched the parallel runners"); -} - - -void joinRunners () { - - - joinThreads (ll_threads); -} diff --git a/trunk/paradiseo-peo/src/core/runner.h b/trunk/paradiseo-peo/src/core/runner.h deleted file mode 100755 index 4ad08fe06..000000000 --- a/trunk/paradiseo-peo/src/core/runner.h +++ /dev/null @@ -1,73 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "runner.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __runner_h -#define __runner_h - -#include - -#include "communicable.h" -#include "thread.h" - -typedef unsigned RUNNER_ID; - -class Runner : public Communicable, public Thread { - -public : - - Runner (); - - void start (); - - void waitStarting (); - - bool isLocal (); - - void terminate (); - - virtual void run () = 0; - - RUNNER_ID getID (); - - void packTermination (); - - void notifySendingTermination (); - -private : - - sem_t sem_start; - - unsigned id; -}; - -extern bool atLeastOneActiveRunner (); - -extern void unpackTerminationOfRunner (); - -extern Runner * getRunner (RUNNER_ID __key); - -extern void startRunners (); - -extern void joinRunners (); - -#endif diff --git a/trunk/paradiseo-peo/src/core/service.cpp b/trunk/paradiseo-peo/src/core/service.cpp deleted file mode 100755 index 4274cd2f4..000000000 --- a/trunk/paradiseo-peo/src/core/service.cpp +++ /dev/null @@ -1,73 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "service.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "service.h" - -void Service :: setOwner (Thread & __owner) { - - owner = & __owner; -} - -Thread * Service :: getOwner () { - - return owner; -} - -Service * getService (SERVICE_ID __key) { - - return dynamic_cast (getCommunicable (__key)); -} - -void Service :: notifySendingData () { - -} -void Service :: notifySendingResourceRequest () { - - num_sent_rr --; - if (! num_sent_rr) - notifySendingAllResourceRequests (); -} - -void Service :: notifySendingAllResourceRequests () { - -} - -void Service :: packData () { - -} - -void Service :: unpackData () { - -} - -void Service :: execute () { - -} - -void Service :: packResult () { - -} - -void Service :: unpackResult () { - -} diff --git a/trunk/paradiseo-peo/src/core/service.h b/trunk/paradiseo-peo/src/core/service.h deleted file mode 100755 index dc146b5f5..000000000 --- a/trunk/paradiseo-peo/src/core/service.h +++ /dev/null @@ -1,65 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "service.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __service_h -#define __service_h - -#include "communicable.h" -#include "thread.h" - -typedef unsigned SERVICE_ID; - -class Service : public Communicable { - -public : - - void setOwner (Thread & __owner); - - Thread * getOwner (); - - void requestResourceRequest (unsigned __how_many = 1); - void packResourceRequest (); - - virtual void packData (); - virtual void unpackData (); - - virtual void execute (); - - virtual void packResult (); - virtual void unpackResult (); - - virtual void notifySendingData (); - virtual void notifySendingResourceRequest (); - virtual void notifySendingAllResourceRequests (); - -private : - - Thread * owner; /* Owner thread (i.e. 'uses' that service) */ - - unsigned num_sent_rr; /* Number of RR not really sent (i.e. still in the sending queue)*/ - -}; - -extern Service * getService (SERVICE_ID __key); - -#endif diff --git a/trunk/paradiseo-peo/src/core/thread.cpp b/trunk/paradiseo-peo/src/core/thread.cpp deleted file mode 100755 index f8d6a89d6..000000000 --- a/trunk/paradiseo-peo/src/core/thread.cpp +++ /dev/null @@ -1,96 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "thread.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include - -#include "thread.h" - -static std :: vector threads; - -unsigned num_act = 0; - -Thread :: Thread () { - - threads.push_back (this); - act = false; -} - -Thread :: ~ Thread () { - - /* Nothing ! */ -} - -extern int getNodeRank (); - -void Thread :: setActive () { - - if (! act ) { - - act = true; - num_act ++; - // if (getNodeRank () == 1) - // printf ("On passe a %d\n", num_act); - } -} - -void Thread :: setPassive () { - - if (act) { - - act = false; - num_act --; - // if (getNodeRank () == 1) - // printf ("On passe a %d\n", num_act); - - } -} - -bool atLeastOneActiveThread () { - - return num_act; -} - -unsigned numberOfActiveThreads () { - - return num_act; -} - -static void * launch (void * __arg) { - - Thread * thr = (Thread *) __arg; - thr -> start (); - return 0; -} - -void addThread (Thread * __hl_thread, std :: vector & __ll_threads) { - - pthread_t * ll_thr = new pthread_t; - __ll_threads.push_back (ll_thr); - pthread_create (ll_thr, 0, launch, __hl_thread); -} - -void joinThreads (std :: vector & __threads) { - - for (unsigned i = 0; i < __threads.size (); i ++) - pthread_join (* __threads [i], 0); -} diff --git a/trunk/paradiseo-peo/src/core/thread.h b/trunk/paradiseo-peo/src/core/thread.h deleted file mode 100755 index 90675cb0a..000000000 --- a/trunk/paradiseo-peo/src/core/thread.h +++ /dev/null @@ -1,63 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "thread.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef THREAD_H_ -#define THREAD_H_ - -#include - -/* A high-level thread */ - -class Thread { - -public: - - /* Ctor */ - Thread (); - - /* Dtor */ - virtual ~ Thread (); - - /* Go ! */ - virtual void start () = 0; - - void setActive ();/* It means the current process is going to send messages soon */ - void setPassive ();/* The current process is not going to perform send operations - (but it may receive messages) */ - -private : - - bool act; -}; - -extern void addThread (Thread * __hl_thread, std :: vector & __ll_threads); - -extern void joinThreads (std :: vector & __ll_threads); - -extern bool atLeastOneActiveThread (); /* It returns 'true' iff at least one process is going - to send messages */ - -extern unsigned numberOfActiveThreads (); - - -#endif /*THREAD_H_*/ diff --git a/trunk/paradiseo-peo/src/core/topology.cpp b/trunk/paradiseo-peo/src/core/topology.cpp deleted file mode 100755 index 7df08f735..000000000 --- a/trunk/paradiseo-peo/src/core/topology.cpp +++ /dev/null @@ -1,35 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "topo.cpp" - -// (c) OPAC Team, LIFL, September 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "topology.h" - -Topology :: ~ Topology () { - - /* Nothing ! */ -} - -void Topology :: add (Cooperative & __mig) { - - mig.push_back (& __mig) ; -} - diff --git a/trunk/paradiseo-peo/src/core/topology.h b/trunk/paradiseo-peo/src/core/topology.h deleted file mode 100755 index 66d74657a..000000000 --- a/trunk/paradiseo-peo/src/core/topology.h +++ /dev/null @@ -1,48 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "topology.h" - -// (c) OPAC Team, LIFL, September 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __topology_h -#define __topology_h - -#include - -#include "cooperative.h" - -class Topology { - -public: - - virtual ~Topology (); - - void add (Cooperative & __mig); - - virtual void setNeighbors (Cooperative * __mig, - std :: vector & __from, - std :: vector & __to) = 0; - -protected: - - std :: vector mig ; -}; - -#endif diff --git a/trunk/paradiseo-peo/src/paradiseo b/trunk/paradiseo-peo/src/paradiseo deleted file mode 100755 index 1721ddc8f..000000000 --- a/trunk/paradiseo-peo/src/paradiseo +++ /dev/null @@ -1,29 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "paradiseo" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __paradiseo_ -#define __paradiseo_ - -#include "paradiseo.h" - -#endif diff --git a/trunk/paradiseo-peo/src/paradiseo.h b/trunk/paradiseo-peo/src/paradiseo.h deleted file mode 100755 index 7bc77ab7d..000000000 --- a/trunk/paradiseo-peo/src/paradiseo.h +++ /dev/null @@ -1,286 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "paradiseo.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __paradiseo_h_ -#define __paradiseo_h_ - -#include -#include - - -//! \mainpage The ParadisEO Framework -//! -//! \section intro Introduction -//! -//! ParadisEO is a white-box object-oriented framework dedicated to the reusable design -//! of parallel and distributed metaheuristics (PDM). ParadisEO provides a broad range of features including evolutionary -//! algorithms (EA), local searches (LS), the most common parallel and distributed models and hybridization -//! mechanisms, etc. This high content and utility encourages its use at European level. ParadisEO is based on a -//! clear conceptual separation of the solution methods from the problems they are intended to solve. This separation -//! confers to the user a maximum code and design reuse. Furthermore, the fine-grained nature of the classes -//! provided by the framework allow a higher flexibility compared to other frameworks. ParadisEO is one of the rare -//! frameworks that provide the most common parallel and distributed models. Their implementation is portable on -//! distributed-memory machines as well as on shared-memory multiprocessors, as it uses standard libraries such as -//! MPI, PVM and PThreads. The models can be exploited in a transparent way, one has just to instantiate their associated -//! provided classes. Their experimentation on the radio network design real-world application demonstrate their -//! efficiency. -//! -//! In practice, combinatorial optimization problems are often NP-hard, CPU time-consuming, -//! and evolve over time. Unlike exact methods, metaheuristics allow to tackle large-size problems -//! instances by delivering satisfactory solutions in a reasonable time. Metaheuristics are -//! general-purpose heuristics that split in two categories: evolutionary algorithms (EA) and local -//! search methods (LS). These two families have complementary characteristics: EA allow -//! a better exploration of the search space, while LS have the power to intensify the search in -//! promising regions. Their hybridization allows to deliver robust and better solutions -//! -//! Although serial metaheuristics have a polynomial temporal complexity, they remain -//! unsatisfactory for industrial problems. Parallel and distributed computing is a powerful way -//! to deal with the performance issue of these problems. Numerous parallel and distributed -//! metaheuristics (PDM) and their implementations have been proposed, and are available on -//! theWeb. They can be reused and adapted to his/her own problems. However, the user has to -//! deeply examine the code and rewrite its problem-specific sections. The task is tedious, errorprone, -//! takes along time and makes harder the produced code maintenance. A better way to -//! reuse the code of existing PDM is the reuse through libraries. These are often -//! more reliable as they are more tested and documented. They allow a better maintainability -//! and efficiency. However, libraries do not allow the reuse of design. -//! -//! \section parallel_metaheuristics Parallel and distributed metaheuristics -//! -//! \subsection parallel_distributed Parallel distributed evolutionary algorithms -//! -//! Evolutionary Algorithms (EA) are based on the iterative improvement of a -//! population of solutions. At each step, individuals are selected, paired and recombined in order -//! to generate new solutions that replace other ones, and so on. As the algorithm converges, -//! the population is mainly composed of individuals well adapted to the "environment", for -//! instance the problem. The main features that characterize EA are the way the population is -//! initialized, the selection strategy (deterministic/stochastic) by fostering "good" solutions, -//! the replacement strategy that discards individuals, and the continuation/stopping criterion -//! to decide whether the evolution should go on or not. -//! -//! Basically, three major parallel and distributed models for EA can been distinguished: -//! the island (a)synchronous cooperative model, the parallel evaluation of the -//! population, and the distributed evaluation of a single solution. -//!
    -//!
  • Island (a)synchronous cooperative model. Different EA are simultaneously deployed to -//! cooperate for computing better and robust solutions. They exchange in an asynchronous -//! way genetic stuff to diversify the search. The objective is to allow to delay the global -//! convergence, especially when theEAare heterogeneous regarding the variation operators. -//! The migration of individuals follows a policy defined by few parameters: the migration -//! decision criterion, the exchange topology, the number of emigrants, the emigrants selection -//! policy, and the replacement/integration policy.
  • -//! -//!
  • Parallel evaluation of the population. It is required as it is in general the most timeconsuming. -//! The parallel evaluation follows the centralized model. The farmer applies -//! the following operations: selection, transformation and replacement as they require a -//! global management of the population. At each generation, it distributes the set of new -//! solutions between differentworkers. These evaluate and return back the solutions and their -//! quality values. An efficient execution is often obtained particularly when the evaluation -//! of each solution is costly. The two main advantages of an asynchronous model over -//! the synchronous model are: (1) the fault tolerance of the asynchronous model; (2) the -//! robustness in case the fitness computation can take very different computation times (e.g. -//! for nonlinear numerical optimization). Whereas some time-out detection can be used to -//! address the former issue, the latter one can be partially overcome if the grain is set to very -//! small values, as individuals will be sent out for evaluations upon request of the workers.
  • -//! -//!
  • Distributed evaluation of a single solution. The quality of each solution is evaluated in -//! a parallel centralized way. That model is particularly interesting when the evaluation -//! function can be itself parallelized as it is CPU time-consuming and/or IO intensive. In -//! that case, the function can be viewed as an aggregation of a certain number of partial -//! functions. The partial functions could also be identical if for example the problem to deal -//! with is a data mining one. The evaluation is thus data parallel and the accesses to data -//! base are performed in parallel. Furthermore, a reduction operation is performed on the -//! results returned by the partial functions. As a summary, for this model the user has to -//! indicate a set of partial functions and an aggregation operator of these.
  • -//!
-//! -//! \subsection parallel_ls Parallel distributed local searches -//! -//! \subsubsection local_searches Local searches -//! -//! All metaheuristics dedicated to the improvement of a single solution -//! are based on the concept of neighborhood. They start from a solution randomly generated or -//! obtained from another optimization algorithm, and update it, step by step, by replacing the -//! current solution by one of its neighboring candidates. Some criterion have been identified to -//! differentiate such searches: the heuristic internal memory, the choice of the initial solution, -//! the candidate solutions generator, and the selection strategy of candidate moves. Three main -//! algorithms of local search stand out: Hill Climbing (HC), Simulated -//! Annealing (SA) and Tabu Search (TS). -//! -//! \subsubsection parallel_local_searches Parallel local searches -//! -//! Two parallel distributed models are commonly used in the literature: the parallel distributed -//! exploration of neighboring candidate solutions model, and the multi-start model. -//!
    -//!
  • Parallel exploration of neighboring candidates. It is a low-level Farmer-Worker model -//! that does not alter the behavior of the heuristic. A sequential search computes the same -//! results slower.At the beginning of each iteration, the farmer duplicates the current solution -//! between distributed nodes. Each one manages some candidates and the results are returned to the farmer. -//! The model is efficient if the evaluation of a each solution is time-consuming and/or there are a great -//! deal of candidate neighbors to evaluate. This is obviously not applicable to SA since only one candidate -//! is evaluated at each iteration. Likewise, the efficiency of the model for HC is not always guaranteed as -//! the number of neighboring solutions to process before finding one that improves the current objective function may -//! be highly variable.
  • -//! -//!
  • Multi-start model. It consists in simultaneously launching several local searches. They -//! may be heterogeneous, but no information is exchanged between them. The resultswould -//! be identical as if the algorithms were sequentially run.Very often deterministic algorithms -//! differ by the supplied initial solution and/or some other parameters. This trivial model is -//! convenient for low-speed networks of workstations.
  • -//!
-//! -//! \section hybridization Hybridization -//! -//! Recently, hybrid metaheuristics have gained a considerable interest. For many -//! practical or academic optimization problems, the best found solutions are obtained by -//! hybrid algorithms. Combinations of different metaheuristics have provided very powerful -//! search methods. Two levels and two modes -//! of hybridization have been distinguished: Low and High levels, and Relay and Cooperative modes. -//! The low-level hybridization addresses the functional composition of a single optimization -//! method. A function of a given metaheuristic is replaced by another metaheuristic. On the -//! contrary, for high-level hybrid algorithms the different metaheuristics are self-containing, -//! meaning no direct relationship to their internal working is considered. On the other hand, -//! relay hybridization means a set of metaheuristics is applied in a pipeline way. The output -//! of a metaheuristic (except the last) is the input of the following one (except the first). -//! Conversely, co-evolutionist hybridization is a cooperative optimization model. Each metaheuristic -//! performs a search in a solution space, and exchange solutions with others. -//! -//! \section paradiseo_goals Paradiseo goals and architecture -//! -//! The "EO" part of ParadisEO means Evolving Objects. EO is a C++ LGPL open source -//! framework and includes a paradigm-free Evolutionary Computation library (EOlib) -//! dedicated to the flexible design of EA through evolving objects superseding the most common -//! dialects (Genetic Algorithms, Evolution Strategies, Evolutionary Programming and -//! Genetic Programming). Furthermore, EO integrates several services including visualization -//! facilities, on-line definition of parameters, application check-pointing, etc. ParadisEO is an -//! extended version of the EO framework. The extensions include local search methods, hybridization -//! mechanisms, parallelism and distribution mechanisms, and other features that -//! are not addressed in this paper such as multi-objective optimization and grid computing. In -//! the next sections, we present the motivations and goals of ParadisEO, its architecture and -//! some of its main implementation details and issues. -//! -//! \subsection motivation Motivations and goals -//! -//! A framework is normally intended to be exploited by as many users as possible. Therefore, -//! its exploitation could be successful only if some important user criteria are satisfied. The -//! following criteria are the major of them and constitute the main objectives of the ParadisEO -//! framework: -//! -//!
    -//!
  • Maximum design and code reuse. The framework must provide for the user a whole -//! architecture design of his/her solution method. Moreover, the programmer may redo as -//! little code as possible. This objective requires a clear and maximal conceptual separation -//! between the solution methods and the problems to be solved, and thus a deep domain -//! analysis. The user might therefore develop only the minimal problem-specific code.
  • -//! -//!
  • Flexibility and adaptability. It must be possible for the user to easily add new features/ -//! metaheuristics or change existing ones without implicating other components. Furthermore, -//! as in practice existing problems evolve and new others arise these have to be -//! tackled by specializing/adapting the framework components.
  • -//! -//!
  • Utility. The framework must allow the user to cover a broad range of metaheuristics, -//! problems, parallel distributed models, hybridization mechanisms, etc.
  • -//! -//!
  • Transparent and easy access to performance and robustness. As the optimization applications -//! are often time-consuming the performance issue is crucial. Parallelism and -//! distribution are two important ways to achieve high performance execution. In order to -//! facilitate its use it is implemented so that the user can deploy his/her parallel algorithms in -//! a transparent manner. Moreover, the execution of the algorithms must be robust to guarantee -//! the reliability and the quality of the results. The hybridization mechanism allows -//! to obtain robust and better solutions.
  • -//! -//!
  • Portability. In order to satisfy a large number of users the framework must support -//! different material architectures and their associated operating systems.
  • -//!
-//! -//! \subsection architecture ParadisEO architecture -//! -//! The architecture of ParadisEO is multi-layer and modular allowing to achieve the objectives -//! quoted above. This allows particularly a high flexibility and adaptability, an -//! easier hybridization, and more code and design reuse. The architecture has three layers -//! identifying three major categories of classes: Solvers, Runners and Helpers. -//!
    -//!
  • Helpers. Helpers are low-level classes that perform specific actions related to the evolution -//! or search process. They are split in two categories: Evolutionary helpers (EH) -//! and Local search helpers (LSH). EH include mainly the transformation, selection and -//! replacement operations, the evaluation function and the stopping criterion. LSH can be -//! generic such as the neighborhood explorer class, or specific to the local search metaheuristic -//! like the tabu list manager class in the Tabu Search solution method. On the -//! other hand, there are some special helpers dedicated to the management of parallel and -//! distributed models 2 and 3, such as the communicators that embody the communication -//! services. -//! -//! Helpers cooperate between them and interact with the components of the upper layer -//! i.e. the runners. The runners invoke the helpers through function parameters. Indeed, -//! helpers have not their own data, but they work on the internal data of the runners.
  • -//! -//!
  • Runners. The Runners layer contains a set of classes that implement the metaheuristics -//! themselves. They perform the run of the metaheuristics from the initial state or -//! population to the final one. One can distinguish the Evolutionary runners (ER) such as -//! genetic algorithms, evolution strategies, etc., and Local search runners (LSR) like tabu -//! search, simulated annealing and hill climbing. Runners invoke the helpers to perform -//! specific actions on their data. For instance, an ER may ask the fitness function evaluation -//! helper to evaluate its population. An LSR asks the movement helper to perform -//! a given movement on the current state. Furthermore, runners can be serial or parallel -//! distributed.
  • -//! -//!
  • Solvers. Solvers are devoted to control the evolution process and/or the search. They -//! generate the initial state (solution or population) and define the strategy for combining -//! and sequencing different metaheuristics. Two types of solvers can be distinguished. -//! Single metaheuristic solvers (SMS) and Multiple metaheuristics solvers (MMS). SMSs -//! are dedicated to the execution of only one metaheuristic.MMS are more complex as they -//! control and sequence several metaheuristics that can be heterogeneous. Solvers interact with -//! the user by getting the input data and delivering the output (best solution, statistics, -//! etc).
  • -//!
-//! -//! According to the generality of their embedded features, the classes of the architecture split -//! in two major categories: Provided classes and Required classes. Provided classes embody -//! the factored out part of the metaheuristics. They are generic, implemented in the framework, -//! and ensure the control at run time. Required classes are those that must be supplied by the -//! user. They encapsulate the problem-specific aspects of the application. These classes are -//! fixed but not implemented in ParadisEO. The programmer has the burden to develop them -//! using the OO specialization mechanism. - -#include "core/peo_init.h" -#include "core/peo_run.h" -#include "core/peo_fin.h" - -#include "core/eoVector_comm.h" - -#include "peoEA.h" - -/* Parallel steps of the E.A. */ -#include "peoSeqTransform.h" -#include "peoParaSGATransform.h" -#include "peoSeqPopEval.h" -#include "peoParaPopEval.h" - -/* Cooperative island model */ -#include "core/ring_topo.h" -#include "peoAsyncIslandMig.h" -#include "peoSyncIslandMig.h" - -/* Synchronous multi-start model */ -#include "peoSyncMultiStart.h" - -#endif diff --git a/trunk/paradiseo-peo/src/peoAggEvalFunc.h b/trunk/paradiseo-peo/src/peoAggEvalFunc.h deleted file mode 100755 index d361c8db3..000000000 --- a/trunk/paradiseo-peo/src/peoAggEvalFunc.h +++ /dev/null @@ -1,45 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peoAggEvalFunc.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __peoAggEvalFunc_h -#define __peoAggEvalFunc_h - -#include - -//! Interface class for creating an aggregate evaluation function. - -//! The peoAggEvalFunc class offers only the interface for creating aggregate evaluation functions - there -//! are no direct internal functions provided. The class inherits public eoBF< EOT&, const typename EOT :: Fitness&, void > -//! thus requiring, for the derived classes, the creation of a function having the following signature: -//! -//! -//! -//!
void operator()( EOT& __eot, const typename EOT :: Fitness& __partial_fittness );    
-//! -//! The aggregation object is called in an iterative manner for each of the results obtained by applying partial evaluation functions. -template< class EOT > class peoAggEvalFunc : public eoBF< EOT&, const typename EOT :: Fitness&, void > { - -}; - - -#endif diff --git a/trunk/paradiseo-peo/src/peoAsyncIslandMig.h b/trunk/paradiseo-peo/src/peoAsyncIslandMig.h deleted file mode 100755 index 94cb0758b..000000000 --- a/trunk/paradiseo-peo/src/peoAsyncIslandMig.h +++ /dev/null @@ -1,273 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peoAsyncIslandMig.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __peoAsyncIslandMig_h -#define __peoAsyncIslandMig_h - - -#include - -#include - -#include -#include -#include -#include - -#include "core/topology.h" -#include "core/cooperative.h" -#include "core/eoPop_comm.h" -#include "core/peo_debug.h" - - -//! Class providing the basis for the asynchronous island migration model. - -//! The peoAsyncIslandMig class offers the elementary basis for implementating an -//! asynchronous island migration model - requires the specification of several basic -//! parameters, i.e. continuation criterion, selection and replacement strategies, -//! a topological model and the source and destination population for the migrating individuals. -//! As opposed to the synchronous migration model, in the asynchronous migration approach, there is -//! no synchronization step between islands after performing the emigration phase. -//! -//! The migration operator is called at the end of each generation of an evolutionary algorithms -//! as a checkpoint object - the following code exposes the structure of a classic evolutionary algorithm: -//! -//! -//! -//! -//! -//! -//! -//! -//!
do {    
         select( population, offsprings );   // select the offsprings from the current population
         transform( offsprings );   // crossover and mutation operators are applied on the selected offsprings
         evaluate( offsprings );   // evaluation step of the resulting offspring
         replace( population, offsprings );   // replace the individuals in the current population whith individuals from the offspring population, according to a specified replacement strategy
} while ( eaCheckpointContinue( population ) );   // checkpoint operators are applied on the current population, including the migration operator, if any specified
-//! -//! Constructing an asynchronous island migration model requires having defined (1) a topological migration model, -//! (2) the control parameters of the migration process, (3) a checkpoint object associated with an evolutionary algorithm, -//! and (4) an owner object must be set. The owner object must be derived from the Runner class (for example -//! a peoEA object represents a possible owner). -//! A simple example is offered bellow: -//! -//!
    -//!
  1. topological model to be followed when performing migrations:
    -//!
    -//! -//! -//!
    RingTopology migTopology;   // a simple ring topological model - each island communicates with two other islands
    -//!
  2. -//! -//!
  3. the continuation criterion, selection and replacement strategy etc. are defined:
    -//!
    -//! -//! -//! -//! -//! -//! -//! -//! -//! -//! -//!
    eoPop< EOT > population( POP_SIZE, popInitializer );   // population of individuals to be used for the evolutionary algorithm
       
    eoPeriodicContinue< EOT > migCont( MIG_FREQ );   // migrations occur periodically at MIG_FREQ iterations
    eoRandomSelect< EOT > migSelectStrategy;   // selection strategy - in this case a random selection is applied
    eoSelectNumber< EOT > migSelect( migSelectStrategy, MIG_SIZE );   // number of individuals to be selected using the specified strategy
    eoPlusReplacement< EOT > migReplace;   // immigration strategy - the worse individuals in the destination population are replaced by the immigrant individuals
       
    peoAsyncIslandMig< EOT > asyncMigration( -//!
             migCont, migSelect, migReplace, migTopology, -//!
             population, population -//!
    );  
    // asynchronous migration object - the emigrant individuals are selected from the same from population in which the immigrant individuals are being integrated
    -//!
  4. -//! -//!
  5. creation of a checkpoint object as part of the definition of an evolutionary algoritm (details of th EA not given as being out of scope):
    -//!
    -//! -//! -//! -//! -//! -//! -//! -//!
    ...    
    eoGenContinue< EOT > eaCont( NUM_GEN );   // the evolutionary algorithm will stop after NUM_GEN generations
    eoCheckPoint< EOT > eaCheckpointContinue( eaCont );   // number of individuals to be selected using the specified strategy
    ...    
    eaCheckpointContinue.add( asyncMigration );   // adding the migration operator as checkpoint element
    ...    
    -//!
  6. -//! -//!
  7. definition of an owner evolutionary algorithm (an object inheriting the Runner class):
    -//!
    -//! -//! -//! -//! -//!
    peoEA< EOT > eaAlg( eaCheckpointContinue, eaPopEval, eaSelect, eaTransform, eaReplace);   // evolutionary algorithm having as checkpoint the eaCheckpointContinue object defined above
    asyncMigration.setOwner( eaAlg );   // setting the evolutionary algorithm as owner of the migration object
    eaAlg( population );   // applying the evolutionary algorithm on a given population
    -//!
  8. -//!
-//! -//! The source and the destination population for the migration object were specified as being the same, in step no. 2, -//! as we are usually interested in selecting the emigrants and integrating the immigrant individuals from and in, respectively, one unique -//! population, iteratively evolved by an evolutionary algorithm. There is no restriction in having two distinct populations -//! as source and destination for the emigrant and immigrant individuals respectively. -//! -//! The above steps only create an asynchronous migration object associated to an evolutionary algorithm. The creation of several -//! islands requires the reiteration of the steps 2 through 4 for creating distinct algorithms, with distinct populations and -//! the associated distinctly parametrized migration objects. The interconnecting element is the underlying topology, defined at step 1 -//! (the same C++ migTopology object has to be passed as parameter for all the migration objects, in order to interconnect them). -template< class EOT > class peoAsyncIslandMig : public Cooperative, public eoUpdater { - -public: - - //! Constructor for the peoAsyncIslandMig class; the characteristics of the migration model are defined - //! through the specified parameters - out of the box objects provided in EO, etc., or custom, derived objects may be passed as parameters. - //! - //! @param eoContinue< EOT >& __cont - continuation criterion specifying whether the migration is performed or not; - //! @param eoSelect< EOT >& __select - selection strategy to be applied for constructing a list of emigrant individuals out of the source population; - //! @param eoReplacement< EOT >& __replace - replacement strategy used for integrating the immigrant individuals in the destination population; - //! @param Topology& __topology - topological model to be followed when performing migrations; - //! @param eoPop< EOT >& __source - source population from which the emigrant individuals are selected; - //! @param eoPop< EOT >& __destination - destination population in which the immigrant population are integrated. - peoAsyncIslandMig( - eoContinue< EOT >& __cont, - eoSelect< EOT >& __select, - eoReplacement< EOT >& __replace, - Topology& __topology, - eoPop< EOT >& __source, - eoPop< EOT >& __destination - ); - - //! Function operator to be called as checkpoint for performing the migration step. The emigrant individuals are selected - //! from the source population and sent to the next island (defined by the topology object) while the immigrant - //! individuals are integrated in the destination population. There is no need to explicitly call the function - the - //! wrapper checkpoint object (please refer to the above example) will perform the call when required. - void operator()(); - - //! Auxiliary function dealing with sending the emigrant individuals. There is no need to explicitly call the function. - void pack(); - //! Auxiliary function dealing with receiving immigrant individuals. There is no need to explicitly call the function. - void unpack(); - - -private: - - void emigrate(); - void immigrate(); - - -private: - - eoContinue< EOT >& cont; // continuator - eoSelect< EOT >& select; // the selection strategy - eoReplacement< EOT >& replace; // the replacement strategy - Topology& topology; // the neighboring topology - - // source and destination populations - eoPop< EOT >& source; - eoPop< EOT >& destination; - - // immigrants & emigrants in the queue - std :: queue< eoPop< EOT > > imm; - std :: queue< eoPop< EOT > > em; - - std :: queue< Cooperative* > coop_em; -}; - - -template< class EOT > peoAsyncIslandMig< EOT > :: peoAsyncIslandMig( - - eoContinue< EOT >& __cont, - eoSelect< EOT >& __select, - eoReplacement< EOT >& __replace, - Topology& __topology, - eoPop< EOT >& __source, - eoPop< EOT >& __destination - - ) : cont( __cont ), select( __select ), replace( __replace ), topology( __topology ), source( __source ), destination( __destination ) -{ - - __topology.add( *this ); -} - - -template< class EOT > void peoAsyncIslandMig< EOT > :: pack() -{ - - lock(); { - - :: pack( coop_em.front()->getKey() ); - :: pack( em.front() ); - coop_em.pop(); - em.pop(); - } - unlock(); -} - - -template< class EOT > void peoAsyncIslandMig< EOT > :: unpack() -{ - - lock(); { - - eoPop< EOT > mig; - :: unpack( mig ); - imm.push( mig ); - } - unlock(); -} - - -template< class EOT > void peoAsyncIslandMig< EOT > :: emigrate() -{ - - std :: vector< Cooperative* >in, out; - topology.setNeighbors( this, in, out ); - - for ( unsigned i = 0; i < out.size(); i++ ) { - - eoPop< EOT > mig; - select( source, mig ); - em.push( mig ); - coop_em.push( out[i] ); - send( out[i] ); - printDebugMessage( "sending some emigrants." ); - } -} - - -template< class EOT > void peoAsyncIslandMig< EOT > :: immigrate() -{ - - lock(); { - - while ( !imm.empty() ) { - - replace( destination, imm.front() ); - imm.pop(); - printDebugMessage( "receiving some immigrants." ); - } - } - unlock(); -} - - -template< class EOT > void peoAsyncIslandMig< EOT > :: operator()() { - - if ( !cont( source ) ) { - - emigrate(); // sending emigrants - immigrate(); // receiving immigrants - } -} - - -#endif diff --git a/trunk/paradiseo-peo/src/peoEA.h b/trunk/paradiseo-peo/src/peoEA.h deleted file mode 100755 index 949354af1..000000000 --- a/trunk/paradiseo-peo/src/peoEA.h +++ /dev/null @@ -1,160 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peoEA.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __peoEA_h -#define __peoEA_h - -#include -#include -#include -#include -#include - -#include "peoPopEval.h" -#include "peoTransform.h" -#include "core/runner.h" -#include "core/peo_debug.h" - -//! Class providing an elementary ParadisEO evolutionary algorithm. - -//! The peoEA class offers an elementary evolutionary algorithm implementation. In addition, as compared -//! with the algorithms provided by the EO framework, the peoEA class has the underlying necessary structure -//! for including, for example, parallel evaluation and parallel transformation operators, migration operators -//! etc. Although there is no restriction on using the algorithms provided by the EO framework, the drawback resides -//! in the fact that the EO implementation is exclusively sequential and, in consequence, no parallelism is provided. -//! A simple example for constructing a peoEA object: -//! -//! -//! -//! -//! -//! -//! -//! -//! -//! -//! -//! -//! -//! -//! -//! -//! -//! -//! -//! -//! -//! -//!
...    
eoPop< EOT > population( POP_SIZE, popInitializer );   // creation of a population with POP_SIZE individuals - the popInitializer is a functor to be called for each individual
   
eoGenContinue< EOT > eaCont( NUM_GEN );   // number of generations for the evolutionary algorithm
eoCheckPoint< EOT > eaCheckpointContinue( eaCont );   // checkpoint incorporating the continuation criterion - startpoint for adding other checkpoint objects
   
peoSeqPopEval< EOT > eaPopEval( evalFunction );   // sequential evaluation functor wrapper - evalFunction represents the actual evaluation functor
   
eoRankingSelect< EOT > selectionStrategy;   // selection strategy for creating the offspring population - a simple ranking selection in this case
eoSelectNumber< EOT > eaSelect( selectionStrategy, POP_SIZE );   // the number of individuals to be selected for creating the offspring population
eoRankingSelect< EOT > selectionStrategy;   // selection strategy for creating the offspring population - a simple ranking selection in this case
   
eoSGATransform< EOT > transform( crossover, CROSS_RATE, mutation, MUT_RATE );   // transformation operator - crossover and mutation operators with their associated probabilities
peoSeqTransform< EOT > eaTransform( transform );   // ParadisEO specific sequential operator - a parallel version may be specified in the same manner
   
eoPlusReplacement< EOT > eaReplace;   // replacement strategy - for integrating the offspring resulting individuals in the initial population
   
peoEA< EOT > eaAlg( eaCheckpointContinue, eaPopEval, eaSelect, eaTransform, eaReplace );   // ParadisEO evolutionary algorithm integrating the above defined objects
eaAlg( population );   // specifying the initial population for the algorithm
...    
-template < class EOT > class peoEA : public Runner { - -public: - - //! Constructor for the evolutionary algorithm object - several basic parameters have to be specified, - //! allowing for different levels of parallelism. Depending on the requirements, a sequential or a parallel - //! evaluation operator may be specified or, in the same manner, a sequential or a parallel transformation - //! operator may be given as parameter. Out of the box objects may be provided, from the EO package, for example, - //! or custom defined ones may be specified, provided that they are derived from the correct base classes. - //! - //! @param eoContinue< EOT >& __cont - continuation criterion specifying whether the algorithm should continue or not; - //! @param peoPopEval< EOT >& __pop_eval - evaluation operator; it allows the specification of parallel evaluation operators, aggregate evaluation functions, etc.; - //! @param eoSelect< EOT >& __select - selection strategy to be applied for constructing a list of offspring individuals; - //! @param peoTransform< EOT >& __trans - transformation operator, i.e. crossover and mutation; allows for sequential or parallel transform; - //! @param eoReplacement< EOT >& __replace - replacement strategy for integrating the offspring individuals in the initial population; - peoEA( - eoContinue< EOT >& __cont, - peoPopEval< EOT >& __pop_eval, - eoSelect< EOT >& __select, - peoTransform< EOT >& __trans, - eoReplacement< EOT >& __replace - ); - - //! Evolutionary algorithm function - a side effect of the fact that the class is derived from the Runner class, - //! thus requiring the existence of a run function, the algorithm being executed on a distinct thread. - void run(); - - //! Function operator for specifying the population to be associated with the algorithm. - //! - //! @param eoPop< EOT >& __pop - initial population of the algorithm, to be iteratively evolved; - void operator()( eoPop< EOT >& __pop ); - -private: - - - eoContinue< EOT >& cont; - peoPopEval< EOT >& pop_eval; - eoSelect< EOT >& select; - peoTransform< EOT >& trans; - eoReplacement< EOT >& replace; - eoPop< EOT >* pop; -}; - - -template < class EOT > peoEA< EOT > :: peoEA( - - eoContinue< EOT >& __cont, - peoPopEval< EOT >& __pop_eval, - eoSelect< EOT >& __select, - peoTransform< EOT >& __trans, - eoReplacement< EOT >& __replace - - ) : cont( __cont ), pop_eval( __pop_eval ), select( __select ), trans( __trans ), replace( __replace ) -{ - - trans.setOwner( *this ); - pop_eval.setOwner( *this ); -} - - -template< class EOT > void peoEA< EOT > :: operator ()( eoPop< EOT >& __pop ) { - - pop = &__pop; -} - - -template< class EOT > void peoEA< EOT > :: run() { - - printDebugMessage( "performing the first evaluation of the population." ); - pop_eval( *pop ); - - do { - - eoPop< EOT > off; - - printDebugMessage( "performing the selection step." ); - select( *pop, off ); - trans( off ); - - printDebugMessage( "performing the evaluation of the population." ); - pop_eval( off ); - - printDebugMessage( "performing the replacement of the population." ); - replace( *pop, off ); - - printDebugMessage( "deciding of the continuation." ); - - } while ( cont( *pop ) ); -} - - -#endif diff --git a/trunk/paradiseo-peo/src/peoNoAggEvalFunc.h b/trunk/paradiseo-peo/src/peoNoAggEvalFunc.h deleted file mode 100755 index 35c89494e..000000000 --- a/trunk/paradiseo-peo/src/peoNoAggEvalFunc.h +++ /dev/null @@ -1,49 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peoNoAggEvalFunc.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __peoNoAggEvalFunc_h -#define __peoNoAggEvalFunc_h - -#include "peoAggEvalFunc.h" - -//! Class providing a simple interface for associating a fitness value to a specified individual. - -//! The peoNoAggEvalFunc class does nothing more than an association between a fitness value and a specified individual. -//! The class is provided as a mean of declaring that no aggregation is required for the evaluation function - the fitness -//! value is explicitly specified. -template< class EOT > class peoNoAggEvalFunc : public peoAggEvalFunc< EOT > { - -public : - - //! Operator which sets as fitness the __fit value for the __sol individual - void operator()( EOT& __sol, const typename EOT :: Fitness& __fit ); -}; - - -template< class EOT > void peoNoAggEvalFunc< EOT > :: operator()( EOT& __sol, const typename EOT :: Fitness& __fit ) { - - __sol.fitness( __fit ); -} - - -#endif diff --git a/trunk/paradiseo-peo/src/peoParaPopEval.h b/trunk/paradiseo-peo/src/peoParaPopEval.h deleted file mode 100755 index d3e47b512..000000000 --- a/trunk/paradiseo-peo/src/peoParaPopEval.h +++ /dev/null @@ -1,240 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peoParaPopEval.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __peoParaPopEval_h -#define __peoParaPopEval_h - -#include -#include - -#include "core/messaging.h" -#include "core/peo_debug.h" -#include "peoAggEvalFunc.h" -#include "peoNoAggEvalFunc.h" - - -//! Parallel evaluation functor wrapper. - -//! The peoParaPopEval represents a wrapper for creating a functor capable of applying in parallel -//! an EO-derived evaluation functor. The class offers the possibility of chosing between a single-function evaluation -//! and an aggregate evaluation function, including several sub-evalution functions. -template< class EOT > class peoParaPopEval : public peoPopEval< EOT > { - -public: - - using peoPopEval< EOT > :: requestResourceRequest; - using peoPopEval< EOT > :: resume; - using peoPopEval< EOT > :: stop; - using peoPopEval< EOT > :: getOwner; - - //! Constructor function - an EO-derived evaluation functor has to be specified; an internal reference - //! is set towards the specified evaluation functor. - //! - //! @param eoEvalFunc< EOT >& __eval_func - EO-derived evaluation functor to be applied in parallel on each individual of a specified population - peoParaPopEval( eoEvalFunc< EOT >& __eval_func ); - - //! Constructor function - a vector of EO-derived evaluation functors has to be specified as well as an aggregation function. - //! - //! @param const std :: vector< eoEvalFunc < EOT >* >& __funcs - vector of EO-derived partial evaluation functors; - //! @param peoAggEvalFunc< EOT >& __merge_eval - aggregation functor for creating a fitness value out of the partial fitness values. - peoParaPopEval( const std :: vector< eoEvalFunc < EOT >* >& __funcs, peoAggEvalFunc< EOT >& __merge_eval ); - - //! Operator for applying the evaluation functor (direct or aggregate) for each individual of the specified population. - //! - //! @param eoPop< EOT >& __pop - population to be evaluated by applying the evaluation functor specified in the constructor. - void operator()( eoPop< EOT >& __pop ); - - //! Auxiliary function for transferring data between the process requesting an evaluation operation and the process that - //! performs the actual evaluation phase. There is no need to explicitly call the function. - void packData(); - - //! Auxiliary function for transferring data between the process requesting an evaluation operation and the process that - //! performs the actual evaluation phase. There is no need to explicitly call the function. - void unpackData(); - - //! Auxiliary function - it calls the specified evaluation functor(s). There is no need to explicitly call the function. - void execute(); - - //! Auxiliary function for transferring data between the process requesting an evaluation operation and the process that - //! performs the actual evaluation phase. There is no need to explicitly call the function. - void packResult(); - - //! Auxiliary function for transferring data between the process requesting an evaluation operation and the process that - //! performs the actual evaluation phase. There is no need to explicitly call the function. - void unpackResult(); - - //! Auxiliary function for notifications between the process requesting an evaluation operation and the processes that - //! performs the actual evaluation phase. There is no need to explicitly call the function. - void notifySendingData(); - - //! Auxiliary function for notifications between the process requesting an evaluation operation and the processes that - //! performs the actual evaluation phase. There is no need to explicitly call the function. - void notifySendingAllResourceRequests(); - -private: - - - const std :: vector< eoEvalFunc < EOT >* >& funcs; - std :: vector< eoEvalFunc < EOT >* > one_func; - - peoAggEvalFunc< EOT >& merge_eval; - peoNoAggEvalFunc< EOT > no_merge_eval; - - std :: queue< EOT* >tasks; - - std :: map< EOT*, std :: pair< unsigned, unsigned > > progression; - - unsigned num_func; - - EOT sol; - - EOT *ad_sol; - - unsigned total; -}; - - -template< class EOT > peoParaPopEval< EOT > :: peoParaPopEval( eoEvalFunc< EOT >& __eval_func ) : - - funcs( one_func ), merge_eval( no_merge_eval ) -{ - - one_func.push_back( &__eval_func ); -} - - -template< class EOT > peoParaPopEval< EOT > :: peoParaPopEval( - - const std :: vector< eoEvalFunc< EOT >* >& __funcs, - peoAggEvalFunc< EOT >& __merge_eval - - ) : funcs( __funcs ), merge_eval( __merge_eval ) -{ - -} - - -template< class EOT > void peoParaPopEval< EOT >::operator()( eoPop< EOT >& __pop ) { - - for ( unsigned i = 0; i < __pop.size(); i++ ) { - - __pop[ i ].fitness( typename EOT :: Fitness() ); - - progression[ &__pop[ i ] ].first = funcs.size() - 1; - progression[ &__pop[ i ] ].second = funcs.size(); - - for ( unsigned j = 0; j < funcs.size(); j++ ) { - /* Queuing the 'invalid' solution and its associated owner */ - tasks.push( &__pop[ i ] ); - } - } - - total = funcs.size() * __pop.size(); - requestResourceRequest( funcs.size() * __pop.size() ); - stop(); -} - - -template< class EOT > void peoParaPopEval< EOT > :: packData() { - - // printDebugMessage ("debut pakc data"); - pack( progression[ tasks.front() ].first-- ); - - /* Packing the contents :-) of the solution */ - pack( *tasks.front() ); - - /* Packing the addresses of both the solution and the owner */ - pack( tasks.front() ); - tasks.pop( ); -} - - -template< class EOT > void peoParaPopEval< EOT > :: unpackData() { - - unpack( num_func ); - /* Unpacking the solution */ - unpack( sol ); - /* Unpacking the @ of that one */ - unpack( ad_sol ); -} - - -template< class EOT > void peoParaPopEval< EOT > :: execute() { - - /* Computing the fitness of the solution */ - funcs[ num_func ]->operator()( sol ); -} - - -template< class EOT > void peoParaPopEval< EOT > :: packResult() { - - /* Packing the fitness of the solution */ - pack( sol.fitness() ); - /* Packing the @ of the individual */ - pack( ad_sol ); -} - - -template< class EOT > void peoParaPopEval< EOT > :: unpackResult() { - - typename EOT :: Fitness fit; - - /* Unpacking the computed fitness */ - unpack( fit ); - - /* Unpacking the @ of the associated individual */ - unpack( ad_sol ); - - - /* Associating the fitness the local solution */ - merge_eval( *ad_sol, fit ); - - progression[ ad_sol ].second--; - - /* Notifying the container of the termination of the evaluation */ - if ( !progression[ ad_sol ].second ) { - - progression.erase( ad_sol ); - } - - total--; - if ( !total ) { - - getOwner()->setActive(); - resume(); - } -} - - -template< class EOT > void peoParaPopEval< EOT > :: notifySendingData() { - -} - - -template< class EOT > void peoParaPopEval< EOT > :: notifySendingAllResourceRequests() { - - getOwner()->setPassive(); -} - - -#endif diff --git a/trunk/paradiseo-peo/src/peoParaSGATransform.h b/trunk/paradiseo-peo/src/peoParaSGATransform.h deleted file mode 100755 index d971d32ba..000000000 --- a/trunk/paradiseo-peo/src/peoParaSGATransform.h +++ /dev/null @@ -1,170 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peoParaSGATransform.h" - -//(c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __peoParaSGATransform_h -#define __peoParaSGATransform_h - -#include "peoTransform.h" -#include "core/thread.h" -#include "core/messaging.h" -#include "core/peo_debug.h" - - -extern int getNodeRank(); - - -template< class EOT > class peoParaSGATransform : public peoTransform< EOT > { - -public: - - using peoTransform< EOT > :: requestResourceRequest; - using peoTransform< EOT > :: resume; - using peoTransform< EOT > :: stop; - using peoTransform< EOT > :: getOwner; - - peoParaSGATransform( - - eoQuadOp< EOT >& __cross, - double __cross_rate, - eoMonOp< EOT >& __mut, - double __mut_rate - ); - - void operator()( eoPop< EOT >& __pop ); - - void packData(); - - void unpackData(); - - void execute(); - - void packResult(); - - void unpackResult(); - - void notifySendingData(); - void notifySendingAllResourceRequests(); - -private: - - eoQuadOp< EOT >& cross; - double cross_rate; - - eoMonOp< EOT >& mut; - double mut_rate; - - unsigned idx; - - eoPop< EOT >* pop; - - EOT father, mother; - - unsigned num_term; -}; - -template< class EOT > peoParaSGATransform< EOT > :: peoParaSGATransform( - - eoQuadOp< EOT >& __cross, - double __cross_rate, - eoMonOp < EOT >& __mut, - double __mut_rate - - ) : cross( __cross ), cross_rate( __cross_rate ), mut( __mut ), mut_rate( __mut_rate ) -{ - -} - - -template< class EOT > void peoParaSGATransform< EOT > :: packData() { - - pack( idx ); - :: pack( pop->operator[]( idx++ ) ); - :: pack( pop->operator[]( idx++ ) ); -} - - -template< class EOT > void peoParaSGATransform< EOT > :: unpackData() { - - unpack( idx ); - :: unpack( father ); - :: unpack( mother ); -} - - -template< class EOT > void peoParaSGATransform< EOT > :: execute() { - - if( rng.uniform() < cross_rate ) cross( mother, father ); - - if( rng.uniform() < mut_rate ) mut( mother ); - if( rng.uniform() < mut_rate ) mut( father ); -} - - -template< class EOT > void peoParaSGATransform< EOT > :: packResult() { - - pack( idx ); - :: pack( father ); - :: pack( mother ); -} - - -template< class EOT > void peoParaSGATransform< EOT > :: unpackResult() { - - unsigned sidx; - - unpack( sidx ); - :: unpack( pop->operator[]( sidx++ ) ); - :: unpack( pop->operator[]( sidx ) ); - num_term += 2; - - if( num_term == pop->size() ) { - - getOwner()->setActive(); - resume(); - } -} - - -template< class EOT > void peoParaSGATransform< EOT > :: operator()( eoPop < EOT >& __pop ) { - - printDebugMessage( "performing the parallel transformation step." ); - pop = &__pop; - idx = 0; - num_term = 0; - requestResourceRequest( __pop.size() / 2 ); - stop(); -} - - -template< class EOT > void peoParaSGATransform< EOT > :: notifySendingData() { - -} - - -template< class EOT > void peoParaSGATransform< EOT > :: notifySendingAllResourceRequests() { - - getOwner()->setPassive(); -} - - -#endif diff --git a/trunk/paradiseo-peo/src/peoPopEval.h b/trunk/paradiseo-peo/src/peoPopEval.h deleted file mode 100755 index c9e132eb3..000000000 --- a/trunk/paradiseo-peo/src/peoPopEval.h +++ /dev/null @@ -1,43 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peoPopEval.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __peoPopEval_h -#define __peoPopEval_h - -#include "core/service.h" - -//! Interface for ParadisEO specific evaluation functors. - -//! The peoPopEval class provides the interface for constructing ParadisEO specific evaluation functors. -//! The derived classes may be used as wrappers for EO-derived evaluation functors. In order to have an example, -//! please refer to the implementation of the peoSeqPopEval and peoParaPopEval classes. -template< class EOT > class peoPopEval : public Service { - -public: - - //! Interface function providing the signature for constructing an evaluation functor. - virtual void operator()( eoPop< EOT >& __pop ) = 0; -}; - - -#endif diff --git a/trunk/paradiseo-peo/src/peoSeqPopEval.h b/trunk/paradiseo-peo/src/peoSeqPopEval.h deleted file mode 100755 index 2d01d9f58..000000000 --- a/trunk/paradiseo-peo/src/peoSeqPopEval.h +++ /dev/null @@ -1,68 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peoSeqPopEval.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __peoSeqPopEval_h -#define __peoSeqPopEval_h - -#include - -#include "peoPopEval.h" - -//! Sequential evaluation functor wrapper. - -//! The peoSeqPopEval class acts only as a ParadisEO specific sequential evaluation functor - a wrapper for incorporating -//! an eoEvalFunc< EOT >-derived class as evaluation functor. The specified EO evaluation object is applyied in an -//! iterative manner to each individual of a specified population. -template< class EOT > class peoSeqPopEval : public peoPopEval< EOT > { - -public: - - //! Constructor function - it only sets an internal reference to point to the specified evaluation object. - //! - //! @param eoEvalFunc< EOT >& __eval - evaluation object to be applied for each individual of a specified population - peoSeqPopEval( eoEvalFunc< EOT >& __eval ); - - //! Operator for evaluating all the individuals of a given population - in a sequential iterative manner. - //! - //! @param eoPop< EOT >& __pop - population to be evaluated. - void operator()( eoPop< EOT >& __pop ); - -private: - - eoEvalFunc< EOT >& eval; -}; - - -template< class EOT > peoSeqPopEval< EOT > :: peoSeqPopEval( eoEvalFunc< EOT >& __eval ) : eval( __eval ) { - -} - - -template< class EOT > void peoSeqPopEval< EOT > :: operator()( eoPop< EOT >& __pop ) { - - for ( unsigned i = 0; i < __pop.size(); i++ ) - eval( __pop[i] ); -} - - -#endif diff --git a/trunk/paradiseo-peo/src/peoSeqTransform.h b/trunk/paradiseo-peo/src/peoSeqTransform.h deleted file mode 100755 index f6172f9c8..000000000 --- a/trunk/paradiseo-peo/src/peoSeqTransform.h +++ /dev/null @@ -1,81 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peoSeqTransform.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __peoSeqTransform_h -#define __peoSeqTransform_h - -#include "peoTransform.h" - - -//! ParadisEO specific wrapper class offering the possibility of using EO derived transform operators. - -//! The peoSeqTransform represent a wrapper for offering the possibility of using EO derived transform operators -//! along with the ParadisEO evolutionary algorithms. A minimal set of interface functions is also provided for creating the -//! link with the parallel architecture of the ParadisEO framework. -template< class EOT > class peoSeqTransform : public peoTransform< EOT > { - -public: - - //! Constructor function - sets an internal reference towards the specified EO-derived transform object. - //! - //! @param eoTransform< EOT >& __trans - EO-derived transform object including crossover and mutation operators. - peoSeqTransform( eoTransform< EOT >& __trans ); - - //! Operator for applying the specified transform operators on each individual of the given population. - //! - //! @param eoPop< EOT >& __pop - population to be transformed by applying the crossover and mutation operators. - void operator()( eoPop< EOT >& __pop ); - - //! Interface function for providing a link with the parallel architecture of the ParadisEO framework. - virtual void packData() { } - - //! Interface function for providing a link with the parallel architecture of the ParadisEO framework. - virtual void unpackData() { } - - //! Interface function for providing a link with the parallel architecture of the ParadisEO framework. - virtual void execute() { } - - //! Interface function for providing a link with the parallel architecture of the ParadisEO framework. - virtual void packResult() { } - - //! Interface function for providing a link with the parallel architecture of the ParadisEO framework. - virtual void unpackResult() { } - -private: - - eoTransform< EOT >& trans; -}; - - -template< class EOT > peoSeqTransform< EOT > :: peoSeqTransform( eoTransform< EOT >& __trans ) : trans( __trans ) { - -} - - -template< class EOT > void peoSeqTransform< EOT > :: operator()( eoPop< EOT >& __pop ) { - - trans( __pop ); -} - - -#endif diff --git a/trunk/paradiseo-peo/src/peoSyncIslandMig.h b/trunk/paradiseo-peo/src/peoSyncIslandMig.h deleted file mode 100755 index 07b7082ae..000000000 --- a/trunk/paradiseo-peo/src/peoSyncIslandMig.h +++ /dev/null @@ -1,301 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peoSyncIslandMig.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __peoSyncIslandMig_h -#define __peoSyncIslandMig_h - - -#include -#include - -#include - -#include - -#include -#include -#include -#include - -#include "core/topology.h" -#include "core/thread.h" -#include "core/eoPop_comm.h" -#include "core/peo_debug.h" - - -//! Class providing the basis for the synchronous island migration model. - -//! The peoSyncIslandMig class offers the elementary basis for implementating a -//! synchronous island migration model - requires the specification of several basic -//! parameters, i.e. frequency of the migrations, selection and replacement strategies, -//! a topological model and the source and destination population for the migrating individuals. -//! The main difference as opposed to the asynchronous migration model is the synchronization step -//! performed after selecting and sending the emigrant individuals. -//! -//! The migration operator is called at the end of each generation of an evolutionary algorithms -//! as a checkpoint object - the following code exposes the structure of a classic evolutionary algorithm: -//! -//! -//! -//! -//! -//! -//! -//! -//!
do {    
         select( population, offsprings );   // select the offsprings from the current population
         transform( offsprings );   // crossover and mutation operators are applied on the selected offsprings
         evaluate( offsprings );   // evaluation step of the resulting offspring
         replace( population, offsprings );   // replace the individuals in the current population whith individuals from the offspring population, according to a specified replacement strategy
} while ( eaCheckpointContinue( population ) );   // checkpoint operators are applied on the current population, including the migration operator, if any specified
-//! -//! Constructing a synchronous island migration model requires having defined (1) a topological migration model, -//! (2) the control parameters of the migration process, (3) a checkpoint object associated with an evolutionary algorithm, -//! and (4) an owner object must be set. The owner object must be derived from the Runner class (for example -//! a peoEA object represents a possible owner). -//! A simple example is offered bellow: -//! -//!
    -//!
  1. topological model to be followed when performing migrations:
    -//!
    -//! -//! -//!
    RingTopology migTopology;   // a simple ring topological model - each island communicates with two other islands
    -//!
  2. -//! -//!
  3. the continuation criterion, selection and replacement strategy etc. are defined:
    -//!
    -//! -//! -//! -//! -//! -//! -//! -//! -//! -//!
    eoPop< EOT > population( POP_SIZE, popInitializer );   // population of individuals to be used for the evolutionary algorithm
       
    eoRandomSelect< EOT > migSelectStrategy;   // selection strategy - in this case a random selection is applied
    eoSelectNumber< EOT > migSelect( migSelectStrategy, MIG_SIZE );   // number of individuals to be selected using the specified strategy
    eoPlusReplacement< EOT > migReplace;   // immigration strategy - the worse individuals in the destination population are replaced by the immigrant individuals
       
    peoSyncIslandMig< EOT > syncMigration( -//!
             MIG_FREQ, migSelect, migReplace, migTopology, -//!
             population, population -//!
    );  
    // synchronous migration object - the emigrant individuals are selected from the same from population in which the immigrant individuals are being integrated
    -//!
  4. -//! -//!
  5. creation of a checkpoint object as part of the definition of an evolutionary algoritm (details of th EA not given as being out of scope):
    -//!
    -//! -//! -//! -//! -//! -//! -//! -//!
    ...    
    eoGenContinue< EOT > eaCont( NUM_GEN );   // the evolutionary algorithm will stop after NUM_GEN generations
    eoCheckPoint< EOT > eaCheckpointContinue( eaCont );   // number of individuals to be selected using the specified strategy
    ...    
    eaCheckpointContinue.add( syncMigration );   // adding the migration operator as checkpoint element
    ...    
    -//!
  6. -//! -//!
  7. definition of an owner evolutionary algorithm (an object inheriting the Runner class):
    -//!
    -//! -//! -//! -//! -//!
    peoEA< EOT > eaAlg( eaCheckpointContinue, eaPopEval, eaSelect, eaTransform, eaReplace);   // evolutionary algorithm having as checkpoint the eaCheckpointContinue object defined above
    syncMigration.setOwner( eaAlg );   // setting the evolutionary algorithm as owner of the migration object
    eaAlg( population );   // applying the evolutionary algorithm on a given population
    -//!
  8. -//!
-//! -//! The source and the destination population for the migration object were specified as being the same, in step no. 2, -//! as we are usually interested in selecting the emigrants and integrating the immigrant individuals from and in, respectively, one unique -//! population, iteratively evolved by an evolutionary algorithm. There is no restriction in having two distinct populations -//! as source and destination for the emigrant and immigrant individuals respectively. -//! -//! The above steps only create a synchronous migration object associated to an evolutionary algorithm. The creation of several -//! islands requires the reiteration of the steps 2 through 4 for creating distinct algorithms, with distinct populations and -//! the associated distinctly parametrized migration objects. The interconnecting element is the underlying topology, defined at step 1 -//! (the same C++ migTopology object has to be passed as parameter for all the migration objects, in order to interconnect them). -template< class EOT > class peoSyncIslandMig : public Cooperative, public eoUpdater { - -public: - - //! Constructor for the peoSyncIslandMig class; the characteristics of the migration model are defined - //! through the specified parameters - out of the box objects provided in EO, etc., or custom, derived objects may be passed as parameters. - //! - //! @param unsigned __frequency - frequency of the migrations - the migrations occur periodically; - //! @param eoSelect< EOT >& __select - selection strategy to be applied for constructing a list of emigrant individuals out of the source population; - //! @param eoReplacement< EOT >& __replace - replacement strategy used for integrating the immigrant individuals in the destination population; - //! @param Topology& __topology - topological model to be followed when performing migrations; - //! @param eoPop< EOT >& __source - source population from which the emigrant individuals are selected; - //! @param eoPop< EOT >& __destination - destination population in which the immigrant population are integrated. - peoSyncIslandMig( - unsigned __frequency, - eoSelect< EOT >& __select, - eoReplacement< EOT >& __replace, - Topology& __topology, - eoPop< EOT >& __source, - eoPop< EOT >& __destination - ); - - //! Function operator to be called as checkpoint for performing the migration step. The emigrant individuals are selected - //! from the source population and sent to the next island (defined by the topology object) while the immigrant - //! individuals are integrated in the destination population. There is no need to explicitly call the function - the - //! wrapper checkpoint object (please refer to the above example) will perform the call when required. - void operator()(); - - //! Auxiliary function dealing with sending the emigrant individuals. There is no need to explicitly call the function. - void pack(); - //! Auxiliary function dealing with receiving immigrant individuals. There is no need to explicitly call the function. - void unpack(); - - //! Auxiliary function dealing with migration notifications. There is no need to explicitly call the function. - void notifySending(); - - -private: - - void emigrate(); - void immigrate(); - - -private: - - eoPeriodicContinue< EOT > cont; - eoSelect< EOT >& select; // selection strategy - eoReplacement< EOT >& replace; // replacement strategy - Topology& topology; // neighboring topology - - // source and target populations - eoPop< EOT >& source; - eoPop< EOT >& destination; - - // immigrants & emigrants in the queue - std :: queue< eoPop< EOT > > imm; - std :: queue< eoPop< EOT > > em; - - std :: queue< Cooperative* > coop_em; - - sem_t sync; -}; - - -template< class EOT > peoSyncIslandMig< EOT > :: peoSyncIslandMig( - - unsigned __frequency, - eoSelect< EOT >& __select, - eoReplacement< EOT >& __replace, - Topology& __topology, - eoPop< EOT >& __source, - eoPop< EOT >& __destination - - ) : cont( __frequency ), select( __select ), replace( __replace ), topology( __topology ), source( __source ), destination( __destination ) -{ - - __topology.add( *this ); - sem_init( &sync, 0, 0 ); -} - - -template< class EOT > void peoSyncIslandMig< EOT > :: pack() { - - lock(); { - - :: pack( coop_em.front()->getKey() ); - :: pack( em.front() ); - coop_em.pop(); - em.pop(); - } - unlock(); -} - - -template< class EOT > void peoSyncIslandMig< EOT > :: unpack() { - - lock(); { - - eoPop< EOT > mig; - :: unpack( mig ); - imm.push( mig ); - } - unlock(); - - sem_post( &sync ); -} - - -template< class EOT > void peoSyncIslandMig< EOT > :: emigrate() { - - std :: vector< Cooperative* > in, out; - topology.setNeighbors( this, in, out ); - - for ( unsigned i = 0; i < out.size(); i ++ ) { - - eoPop< EOT > mig; - select( source, mig ); - em.push( mig ); - coop_em.push( out[ i ] ); - send( out[ i ] ); - printDebugMessage( "sending some emigrants." ); - } -} - - -template< class EOT > void peoSyncIslandMig< EOT > :: immigrate() { - - lock(); { - - assert( imm.size() ); - replace( destination, imm.front() ) ; - imm.pop(); - printDebugMessage( "receiving some immigrants." ); - } - unlock(); -} - - -template< class EOT > void peoSyncIslandMig< EOT > :: operator()() { - - if ( !cont( source ) ) { - - // sending emigrants - emigrate(); - stop(); - - // synchronizing - sem_wait( &sync ); - getOwner()->setActive(); - - // receiving immigrants - immigrate(); - } -} - - -template< class EOT > void peoSyncIslandMig< EOT > :: notifySending() { - - lock(); { - - if ( imm.empty() ) { - - printDebugMessage( "entering pasive mode\n" ); - getOwner()->setPassive(); - } - } - unlock(); - - resume(); -} - - -#endif diff --git a/trunk/paradiseo-peo/src/peoSyncMultiStart.h b/trunk/paradiseo-peo/src/peoSyncMultiStart.h deleted file mode 100755 index e654725cf..000000000 --- a/trunk/paradiseo-peo/src/peoSyncMultiStart.h +++ /dev/null @@ -1,198 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peoSyncMultiStart.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __peoSyncMultiStart_h -#define __peoSyncMultiStart_h - -#include -#include - -#include -#include -#include - -#include "core/service.h" -#include "core/messaging.h" -#include "core/peo_debug.h" - - -extern int getNodeRank(); - - -//! Class providing the basis for the synchronous multi-start model. - -//! The peoSyncMultiStart class provides the basis for implementing the synchronous multi-start model, -//! for launching several solution-based algorithms in parallel on a specified initial population. As a simple -//! example, several hill climbing algorithms may be synchronously launched on the specified population, each -//! algorithm acting upon one individual only, the final result being integrated back in the population. A -//! peoSyncMultiStart object can be specified as checkpoint object for a classic ParadisEO evolutionary algorithm -//! thus allowing for simple hybridization schemes which combine the evolutionary approach with a local search approach, -//! for example, executed at the end of each generation. -template< class EOT > class peoSyncMultiStart : public Service, public eoUpdater { - -public: - - //! Constructor function - several simple parameters are required for defining the characteristics of the multi-start model. - //! - //! @param eoContinue< EOT >& __cont - defined for including further functionality - no semantics associated at this time; - //! @param eoSelect< EOT >& __select - selection strategy for obtaining a subset of the initial population on which to apply the specified algorithm; - //! @param eoReplacement< EOT >& __replace - replacement strategy for integrating the resulting individuals in the initial population; - //! @param moAlgo< EOT >& __ls - algorithm to be applied on each of the selected individuals - a moAlgo< EOT >-derived object must be specified; - //! @param eoPop< EOT >& __pop - the initial population from which the individuals are selected for applying the specified algorithm. - peoSyncMultiStart( - - eoContinue< EOT >& __cont, - eoSelect< EOT >& __select, - eoReplacement< EOT >& __replace, - moAlgo< EOT >& __ls, - eoPop< EOT >& __pop - ); - - //! Operator which synchronously executes the specified algorithm on the individuals selected from the initial population. - //! There is no need to explicitly call the operator - automatically called as checkpoint operator. - void operator()(); - - //! Auxiliary function for transferring data between the process requesting the synchronous execution of the specified - //! algorithm and the process which actually executes the algorithm. There is no need to explicitly call the function. - void packData(); - - //! Auxiliary function for transferring data between the process requesting the synchronous execution of the specified - //! algorithm and the process which actually executes the algorithm. There is no need to explicitly call the function. - void unpackData(); - - //! Auxiliary function for actually executing the specified algorithm on one assigned individual. There is no need to - //! explicitly call the function. - void execute(); - - //! Auxiliary function for transferring data between the process requesting the synchronous execution of the specified - //! algorithm and the process which actually executes the algorithm. There is no need to explicitly call the function. - void packResult(); - - //! Auxiliary function for transferring data between the process requesting the synchronous execution of the specified - //! algorithm and the process which actually executes the algorithm. There is no need to explicitly call the function. - void unpackResult(); - - //! Auxiliary function for notifications between the process requesting the synchronous multi-start execution - //! and the processes that performs the actual execution phase. There is no need to explicitly call the function. - void notifySendingData(); - - //! Auxiliary function for notifications between the process requesting the synchronous multi-start execution - //! and the processes that performs the actual execution phase. There is no need to explicitly call the function. - void notifySendingAllResourceRequests(); - -private: - - eoContinue< EOT >& cont; - eoSelect< EOT >& select; - eoReplacement< EOT >& replace; - - moAlgo< EOT >& ls; - - eoPop< EOT >& pop; - eoPop< EOT > sel; - eoPop< EOT > impr_sel; - - EOT sol; - unsigned idx; - unsigned num_term; -}; - - -template< class EOT > peoSyncMultiStart< EOT > :: peoSyncMultiStart( - - eoContinue < EOT >& __cont, - eoSelect< EOT >& __select, - eoReplacement< EOT >& __replace, - moAlgo < EOT >& __ls, - eoPop< EOT >& __pop - - ) : cont( __cont ), select( __select ), replace( __replace ), ls( __ls ), pop( __pop ) -{ - -} - - -template< class EOT > void peoSyncMultiStart< EOT > :: packData() { - - :: pack( sel[ idx++ ] ); -} - - -template< class EOT > void peoSyncMultiStart< EOT > :: unpackData() { - - unpack( sol ); -} - - -template< class EOT > void peoSyncMultiStart< EOT > :: execute() { - - ls( sol ); -} - - -template< class EOT > void peoSyncMultiStart< EOT > :: packResult() { - - pack( sol ); -} - - -template< class EOT > void peoSyncMultiStart< EOT > :: unpackResult() { - - unpack( sol ); - impr_sel.push_back( sol ); - num_term++; - - if ( num_term == sel.size() ) { - - getOwner()->setActive(); - replace( pop, impr_sel ); - - printDebugMessage( "replacing the improved individuals in the population." ); - resume(); - } -} - - -template< class EOT > void peoSyncMultiStart< EOT > :: operator()() { - - printDebugMessage( "performing the parallel multi-start hybridization." ); - select( pop, sel ); - impr_sel.clear(); - idx = num_term = 0; - requestResourceRequest( sel.size() ); - stop(); -} - - -template< class EOT > void peoSyncMultiStart< EOT > :: notifySendingData() { - -} - - -template< class EOT > void peoSyncMultiStart< EOT > :: notifySendingAllResourceRequests() { - - getOwner()->setPassive(); -} - - -#endif diff --git a/trunk/paradiseo-peo/src/peoTransform.h b/trunk/paradiseo-peo/src/peoTransform.h deleted file mode 100755 index 9f2eb0c72..000000000 --- a/trunk/paradiseo-peo/src/peoTransform.h +++ /dev/null @@ -1,40 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "peoTransform.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __peoTransform_h -#define __peoTransform_h - -#include - -#include "core/service.h" - -//! Interface class for constructing more complex transformation operators. - -//! The peoTransform class acts only as an interface for creating transform operators - for an example -//! please refer to the peoSeqTransform and the peoParaSGATransform classes. -template< class EOT > class peoTransform : public Service, public eoTransform< EOT > { - -}; - - -#endif diff --git a/trunk/paradiseo-peo/src/rmc/Makefile.am b/trunk/paradiseo-peo/src/rmc/Makefile.am deleted file mode 100755 index c9ed98209..000000000 --- a/trunk/paradiseo-peo/src/rmc/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS= mpi diff --git a/trunk/paradiseo-peo/src/rmc/Makefile.in b/trunk/paradiseo-peo/src/rmc/Makefile.in deleted file mode 100755 index 0faa1b870..000000000 --- a/trunk/paradiseo-peo/src/rmc/Makefile.in +++ /dev/null @@ -1,445 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = ../.. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -subdir = src/rmc -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_CLEAN_FILES = -SOURCES = -DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-exec-recursive install-info-recursive \ - install-recursive installcheck-recursive installdirs-recursive \ - pdf-recursive ps-recursive uninstall-info-recursive \ - uninstall-recursive -ETAGS = etags -CTAGS = ctags -DIST_SUBDIRS = $(SUBDIRS) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EO_DIR = @EO_DIR@ -EXEEXT = @EXEEXT@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MOEO_DIR = @MOEO_DIR@ -MO_DIR = @MO_DIR@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -RANLIB = @RANLIB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build_alias = @build_alias@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host_alias = @host_alias@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -SUBDIRS = mpi -all: all-recursive - -.SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/rmc/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu src/rmc/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -uninstall-info-am: - -# This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - dot_seen=yes; \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done; \ - if test "$$dot_seen" = "no"; then \ - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ - fi; test -z "$$fail" - -mostlyclean-recursive clean-recursive distclean-recursive \ -maintainer-clean-recursive: - @failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ - include_option=--etags-include; \ - empty_fix=.; \ - else \ - include_option=--include; \ - empty_fix=; \ - fi; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test ! -f $$subdir/TAGS || \ - tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ - fi; \ - done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(mkdir_p) "$(distdir)/$$subdir" \ - || exit 1; \ - distdir=`$(am__cd) $(distdir) && pwd`; \ - top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ - (cd $$subdir && \ - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$$top_distdir" \ - distdir="$$distdir/$$subdir" \ - distdir) \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-recursive -all-am: Makefile -installdirs: installdirs-recursive -installdirs-am: -install: install-recursive -install-exec: install-exec-recursive -install-data: install-data-recursive -uninstall: uninstall-recursive - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-recursive -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-recursive - -clean-am: clean-generic mostlyclean-am - -distclean: distclean-recursive - -rm -f Makefile -distclean-am: clean-am distclean-generic distclean-tags - -dvi: dvi-recursive - -dvi-am: - -html: html-recursive - -info: info-recursive - -info-am: - -install-data-am: - -install-exec-am: - -install-info: install-info-recursive - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-recursive - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-recursive - -mostlyclean-am: mostlyclean-generic - -pdf: pdf-recursive - -pdf-am: - -ps: ps-recursive - -ps-am: - -uninstall-am: uninstall-info-am - -uninstall-info: uninstall-info-recursive - -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ - clean clean-generic clean-recursive ctags ctags-recursive \ - distclean distclean-generic distclean-recursive distclean-tags \ - distdir dvi dvi-am html html-am info info-am install \ - install-am install-data install-data-am install-exec \ - install-exec-am install-info install-info-am install-man \ - install-strip installcheck installcheck-am installdirs \ - installdirs-am maintainer-clean maintainer-clean-generic \ - maintainer-clean-recursive mostlyclean mostlyclean-generic \ - mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ - uninstall uninstall-am uninstall-info-am - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/trunk/paradiseo-peo/src/rmc/mpi/Makefile.am b/trunk/paradiseo-peo/src/rmc/mpi/Makefile.am deleted file mode 100755 index f26f2c413..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/Makefile.am +++ /dev/null @@ -1,39 +0,0 @@ -CXX=mpicxx - -INCLUDES = \ - `xml2-config --cflags` \ - -I$(EO_DIR)/src - -AM_CXXFLAGS =\ - -g \ - -Wall - -lib_LIBRARIES = librmc_mpi.a - -librmc_mpi_a_SOURCES = \ - node.h \ - node.cpp \ - param.h \ - param.cpp \ - comm.h \ - comm.cpp \ - coop.h \ - coop.cpp \ - mess.h \ - mess.cpp \ - rmc.cpp \ - scheduler.h \ - scheduler.cpp \ - worker.h \ - worker.cpp \ - send.h \ - send.cpp \ - recv.h \ - recv.cpp \ - xml_parser.h \ - xml_parser.cpp \ - schema.h \ - schema.cpp \ - runner.cpp \ - service.h \ - service.cpp diff --git a/trunk/paradiseo-peo/src/rmc/mpi/Makefile.in b/trunk/paradiseo-peo/src/rmc/mpi/Makefile.in deleted file mode 100755 index 6f972de7c..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/Makefile.in +++ /dev/null @@ -1,478 +0,0 @@ -# Makefile.in generated by automake 1.9.6 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005 Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = ../../.. -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -subdir = src/rmc/mpi -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ - $(top_srcdir)/configure.in -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_CLEAN_FILES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(libdir)" -libLIBRARIES_INSTALL = $(INSTALL_DATA) -LIBRARIES = $(lib_LIBRARIES) -AR = ar -ARFLAGS = cru -librmc_mpi_a_AR = $(AR) $(ARFLAGS) -librmc_mpi_a_LIBADD = -am_librmc_mpi_a_OBJECTS = node.$(OBJEXT) param.$(OBJEXT) \ - comm.$(OBJEXT) coop.$(OBJEXT) mess.$(OBJEXT) rmc.$(OBJEXT) \ - scheduler.$(OBJEXT) worker.$(OBJEXT) send.$(OBJEXT) \ - recv.$(OBJEXT) xml_parser.$(OBJEXT) schema.$(OBJEXT) \ - runner.$(OBJEXT) service.$(OBJEXT) -librmc_mpi_a_OBJECTS = $(am_librmc_mpi_a_OBJECTS) -DEFAULT_INCLUDES = -I. -I$(srcdir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -CXXLD = $(CXX) -CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ - -o $@ -COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -SOURCES = $(librmc_mpi_a_SOURCES) -DIST_SOURCES = $(librmc_mpi_a_SOURCES) -ETAGS = etags -CTAGS = ctags -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = mpicxx -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EO_DIR = @EO_DIR@ -EXEEXT = @EXEEXT@ -GREP = @GREP@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MOEO_DIR = @MOEO_DIR@ -MO_DIR = @MO_DIR@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -RANLIB = @RANLIB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build_alias = @build_alias@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host_alias = @host_alias@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -INCLUDES = \ - `xml2-config --cflags` \ - -I$(EO_DIR)/src - -AM_CXXFLAGS = \ - -g \ - -Wall - -lib_LIBRARIES = librmc_mpi.a -librmc_mpi_a_SOURCES = \ - node.h \ - node.cpp \ - param.h \ - param.cpp \ - comm.h \ - comm.cpp \ - coop.h \ - coop.cpp \ - mess.h \ - mess.cpp \ - rmc.cpp \ - scheduler.h \ - scheduler.cpp \ - worker.h \ - worker.cpp \ - send.h \ - send.cpp \ - recv.h \ - recv.cpp \ - xml_parser.h \ - xml_parser.cpp \ - schema.h \ - schema.cpp \ - runner.cpp \ - service.h \ - service.cpp - -all: all-am - -.SUFFIXES: -.SUFFIXES: .cpp .o .obj -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/rmc/mpi/Makefile'; \ - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu src/rmc/mpi/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -install-libLIBRARIES: $(lib_LIBRARIES) - @$(NORMAL_INSTALL) - test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" - @list='$(lib_LIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - f=$(am__strip_dir) \ - echo " $(libLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ - $(libLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ - else :; fi; \ - done - @$(POST_INSTALL) - @list='$(lib_LIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - p=$(am__strip_dir) \ - echo " $(RANLIB) '$(DESTDIR)$(libdir)/$$p'"; \ - $(RANLIB) "$(DESTDIR)$(libdir)/$$p"; \ - else :; fi; \ - done - -uninstall-libLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LIBRARIES)'; for p in $$list; do \ - p=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(libdir)/$$p'"; \ - rm -f "$(DESTDIR)$(libdir)/$$p"; \ - done - -clean-libLIBRARIES: - -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES) -librmc_mpi.a: $(librmc_mpi_a_OBJECTS) $(librmc_mpi_a_DEPENDENCIES) - -rm -f librmc_mpi.a - $(librmc_mpi_a_AR) librmc_mpi.a $(librmc_mpi_a_OBJECTS) $(librmc_mpi_a_LIBADD) - $(RANLIB) librmc_mpi.a - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/comm.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coop.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mess.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/node.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/param.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/recv.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rmc.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/runner.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scheduler.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/schema.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/send.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/service.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/worker.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xml_parser.Po@am__quote@ - -.cpp.o: -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< - -.cpp.obj: -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ -@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` -uninstall-info-am: - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique; \ - fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkdir_p) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(LIBRARIES) -installdirs: - for dir in "$(DESTDIR)$(libdir)"; do \ - test -z "$$dir" || $(mkdir_p) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libLIBRARIES mostlyclean-am - -distclean: distclean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: install-libLIBRARIES - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-info-am uninstall-libLIBRARIES - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libLIBRARIES ctags distclean distclean-compile \ - distclean-generic distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-exec install-exec-am install-info \ - install-info-am install-libLIBRARIES install-man install-strip \ - installcheck installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ - uninstall-am uninstall-info-am uninstall-libLIBRARIES - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/trunk/paradiseo-peo/src/rmc/mpi/comm.cpp b/trunk/paradiseo-peo/src/rmc/mpi/comm.cpp deleted file mode 100755 index b7f4ae382..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/comm.cpp +++ /dev/null @@ -1,82 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "comm.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - - -#include - -#include "comm.h" -#include "mess.h" -#include "node.h" -#include "param.h" -#include "../../core/peo_debug.h" -#include "../../core/runner.h" -#include "send.h" -#include "recv.h" -#include "scheduler.h" - -static sem_t sem_comm_init; - -static Communicator * the_thread; - -Communicator :: Communicator (int * __argc, char * * * __argv) { - - the_thread = this; - initNode (__argc, __argv); - loadRMCParameters (* __argc, * __argv); - sem_post (& sem_comm_init); -} - -void Communicator :: start () { - - while (true) { - - /* Zzz Zzz Zzz :-))) */ - sleep (); - sendMessages (); - - if (! atLeastOneActiveRunner ()) - break; - receiveMessages (); - } - waitBuffers (); - printDebugMessage ("finalizing"); - MPI_Finalize (); -} - -void initCommunication () { - - sem_init (& sem_comm_init, 0, 0); -} - -void waitNodeInitialization () { - - sem_wait (& sem_comm_init); -} - -void wakeUpCommunicator () { - - the_thread -> wakeUp (); -} - - - diff --git a/trunk/paradiseo-peo/src/rmc/mpi/comm.h b/trunk/paradiseo-peo/src/rmc/mpi/comm.h deleted file mode 100755 index 8e4ccced7..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/comm.h +++ /dev/null @@ -1,46 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "comm.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __comm_mpi_h -#define __comm_mpi_h - -#include "../../core/communicable.h" -#include "../../core/reac_thread.h" - -class Communicator : public ReactiveThread { - -public : - - /* Ctor */ - Communicator (int * __argc, char * * * __argv); - - void start (); -}; - -extern void initCommunication (); - -extern void waitNodeInitialization (); - -extern void wakeUpCommunicator (); - -#endif diff --git a/trunk/paradiseo-peo/src/rmc/mpi/coop.cpp b/trunk/paradiseo-peo/src/rmc/mpi/coop.cpp deleted file mode 100755 index 40263ccd4..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/coop.cpp +++ /dev/null @@ -1,57 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "coop.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "../../core/cooperative.h" -#include "send.h" -#include "tags.h" -#include "schema.h" -#include "mess.h" -#include "../../core/peo_debug.h" - -Runner * Cooperative :: getOwner () { - - return owner; -} - -void Cooperative :: setOwner (Runner & __runner) { - - owner = & __runner; -} - -void Cooperative :: send (Cooperative * __coop) { - - :: send (this, getRankOfRunner (__coop -> getOwner () -> getID ()), COOP_TAG); - // stop (); -} - -Cooperative * getCooperative (COOP_ID __key) { - - return dynamic_cast (getCommunicable (__key)); -} - -void Cooperative :: notifySending () { - - //getOwner -> setPassive (); - // resume (); - // printDebugMessage (b); -} diff --git a/trunk/paradiseo-peo/src/rmc/mpi/mess.cpp b/trunk/paradiseo-peo/src/rmc/mpi/mess.cpp deleted file mode 100755 index 67c1553ff..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/mess.cpp +++ /dev/null @@ -1,252 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "mess.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include -#include - -#include "mess.h" -#include "../../core/peo_debug.h" -#include "node.h" - -#define MPI_BUF_SIZE 1024*64 - -static char mpi_buf [MPI_BUF_SIZE]; - -static int pos_buf ; - -static std :: vector act_buf; /* Active buffers */ - -static std :: vector act_req; /* Active requests */ - -void cleanBuffers () { - - for (unsigned i = 0; i < act_req.size ();) { - - MPI_Status stat ; - int flag ; - MPI_Test (act_req [i], & flag, & stat) ; - if (flag) { - - delete act_buf [i] ; - delete act_req [i] ; - - act_buf [i] = act_buf.back () ; - act_buf.pop_back () ; - - act_req [i] = act_req.back () ; - act_req.pop_back () ; - } - else - i ++; - } -} - -void waitBuffers () { - - printDebugMessage ("waiting the termination of the asynchronous operations to complete"); - - for (unsigned i = 0; i < act_req.size (); i ++) { - - MPI_Status stat ; - - MPI_Wait (act_req [i], & stat) ; - - delete act_buf [i] ; - delete act_req [i] ; - } -} - -bool probeMessage (int & __src, int & __tag) { - - int flag; - - MPI_Status stat; - - MPI_Iprobe (MPI_ANY_SOURCE, MPI_ANY_TAG, MPI_COMM_WORLD, & flag, & stat); - - __src = stat.MPI_SOURCE; - __tag = stat.MPI_TAG; - - return flag; -} - -void waitMessage () { - - MPI_Status stat; - - MPI_Probe (MPI_ANY_SOURCE, MPI_ANY_TAG, MPI_COMM_WORLD, & stat); -} - -void initMessage () { - - pos_buf = 0; -} - -void sendMessage (int __to, int __tag) { - - cleanBuffers (); - act_buf.push_back (new char [pos_buf]); - act_req.push_back (new MPI_Request); - memcpy (act_buf.back (), mpi_buf, pos_buf); - MPI_Isend (act_buf.back (), pos_buf, MPI_PACKED, __to, __tag, MPI_COMM_WORLD, act_req.back ()); -} - -void sendMessageToAll (int __tag) { - - for (int i = 0; i < getNumberOfNodes (); i ++) - sendMessage (i, __tag); -} - -void receiveMessage (int __from, int __tag) { - - MPI_Status stat; - MPI_Request req; - - MPI_Irecv (mpi_buf, MPI_BUF_SIZE, MPI_PACKED, __from, __tag, MPI_COMM_WORLD, & req) ; - MPI_Wait (& req, & stat) ; -} - -/* Char */ -void pack (const char & __c) { - - MPI_Pack ((void *) & __c, 1, MPI_CHAR, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD); -} - -/* Float */ -void pack (const float & __f, int __nitem) { - - MPI_Pack ((void *) & __f, __nitem, MPI_FLOAT, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD); -} - -/* Double */ -void pack (const double & __d, int __nitem) { - - MPI_Pack ((void *) & __d, __nitem, MPI_DOUBLE, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD); -} - -/* Integer */ -void pack (const int & __i, int __nitem) { - - MPI_Pack ((void *) & __i, __nitem, MPI_INT, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD); -} - -/* Unsigned int. */ -void pack (const unsigned int & __ui, int __nitem) { - - MPI_Pack ((void *) & __ui, __nitem, MPI_UNSIGNED, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD); -} - -/* Short int. */ -void pack (const short & __sh, int __nitem) { - - MPI_Pack ((void *) & __sh, __nitem, MPI_SHORT, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD); -} - -/* Unsigned short */ -void pack (const unsigned short & __ush, int __nitem) { - - MPI_Pack ((void *) & __ush, __nitem, MPI_UNSIGNED_SHORT, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD); -} - -/* Long */ -void pack (const long & __l, int __nitem) { - - MPI_Pack ((void *) & __l, __nitem, MPI_LONG, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD); -} - -/* Unsigned long */ -void pack (const unsigned long & __ul, int __nitem) { - - MPI_Pack ((void *) & __ul, __nitem, MPI_UNSIGNED_LONG, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD); -} - -/* String */ -void pack (const char * __str) { - - int len = strlen (__str) + 1; - MPI_Pack (& len, 1, MPI_INT, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD); - MPI_Pack ((void *) __str, len, MPI_CHAR, mpi_buf, MPI_BUF_SIZE, & pos_buf, MPI_COMM_WORLD); -} - -/* Char */ -void unpack (char & __c) { - - MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __c, 1, MPI_CHAR, MPI_COMM_WORLD); -} - -/* Float */ -void unpack (float & __f, int __nitem) { - - MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __f, __nitem, MPI_FLOAT, MPI_COMM_WORLD); -} - -/* Double */ -void unpack (double & __d, int __nitem) { - - MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __d, __nitem, MPI_DOUBLE, MPI_COMM_WORLD); -} - -/* Integer */ -void unpack (int & __i, int __nitem) { - - MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __i, __nitem, MPI_INT, MPI_COMM_WORLD); -} - -/* Unsigned int. */ -void unpack (unsigned int & __ui, int __nitem) { - - MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __ui, __nitem, MPI_UNSIGNED, MPI_COMM_WORLD); -} - -/* Short int. */ -void unpack (short & __sh, int __nitem) { - - MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __sh, __nitem, MPI_SHORT, MPI_COMM_WORLD); -} - -/* Unsigned short */ -void unpack (unsigned short & __ush, int __nitem) { - - MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __ush, __nitem, MPI_UNSIGNED_SHORT, MPI_COMM_WORLD); -} - -/* Long */ -void unpack (long & __l, int __nitem) { - - MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __l, __nitem, MPI_LONG, MPI_COMM_WORLD); -} - -/* Unsigned long */ -void unpack (unsigned long & __ul, int __nitem) { - - MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & __ul, __nitem, MPI_UNSIGNED_LONG, MPI_COMM_WORLD); -} - -/* String */ -void unpack (char * __str) { - - int len; - MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, & len, 1, MPI_INT, MPI_COMM_WORLD); - MPI_Unpack (mpi_buf, MPI_BUF_SIZE, & pos_buf, __str, len, MPI_CHAR, MPI_COMM_WORLD); -} - diff --git a/trunk/paradiseo-peo/src/rmc/mpi/mess.h b/trunk/paradiseo-peo/src/rmc/mpi/mess.h deleted file mode 100755 index 2f8c00f34..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/mess.h +++ /dev/null @@ -1,46 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "mess.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __mess_rmc_h -#define __mess_rmc_h - -#include "../../core/messaging.h" - -extern void initMessage (); - -extern void sendMessage (int __to, int __tag); - -extern void sendMessageToAll (int __tag); - -extern void receiveMessage (int __from, int __tag); - -extern void cleanBuffers (); - -extern void waitBuffers (); - -extern bool probeMessage (int & __src, int & __tag); - -extern void waitMessage (); - -#endif - diff --git a/trunk/paradiseo-peo/src/rmc/mpi/node.cpp b/trunk/paradiseo-peo/src/rmc/mpi/node.cpp deleted file mode 100755 index b42538a2d..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/node.cpp +++ /dev/null @@ -1,73 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "node.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include -#include -#include -#include -#include - -static int rk, sz; /* Rank & size */ - -static std :: map name_to_rk; - -static std :: vector rk_to_name; - -int getNodeRank () { - - return rk; -} - -int getNumberOfNodes () { - - return sz; -} - -int getRankFromName (const std :: string & __name) { - - return atoi (__name.c_str ()); -} - -void initNode (int * __argc, char * * * __argv) { - - int provided; - MPI_Init_thread (__argc, __argv, MPI_THREAD_FUNNELED, & provided); - assert (provided == MPI_THREAD_FUNNELED); /* The MPI implementation must be multi-threaded. - Yet, only one thread performs the comm. - operations */ - MPI_Comm_rank (MPI_COMM_WORLD, & rk); /* Who ? */ - MPI_Comm_size (MPI_COMM_WORLD, & sz); /* How many ? */ - - char names [sz] [MPI_MAX_PROCESSOR_NAME]; - int len; - - /* Processor names */ - MPI_Get_processor_name (names [0], & len); /* Me */ - MPI_Allgather (names, MPI_MAX_PROCESSOR_NAME, MPI_CHAR, names, MPI_MAX_PROCESSOR_NAME, MPI_CHAR, MPI_COMM_WORLD); /* Broadcast */ - - for (int i = 0; i < sz; i ++) { - rk_to_name.push_back (names [i]); - name_to_rk [names [i]] = i; - } -} - diff --git a/trunk/paradiseo-peo/src/rmc/mpi/node.h b/trunk/paradiseo-peo/src/rmc/mpi/node.h deleted file mode 100755 index df5fd6cd1..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/node.h +++ /dev/null @@ -1,39 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "node.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __node_h -#define __node_h - -#include -#include - -extern int getNodeRank (); /* It gives the rank of the calling process */ - -extern int getNumberOfNodes (); /* It gives the size of the environment (Total number of nodes) */ - -extern int getRankFromName (const std :: string & __name); /* It gives the rank of the process - expressed by its name */ - -extern void initNode (int * __argc, char * * * __argv); - -#endif diff --git a/trunk/paradiseo-peo/src/rmc/mpi/param.cpp b/trunk/paradiseo-peo/src/rmc/mpi/param.cpp deleted file mode 100755 index 75fe894b8..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/param.cpp +++ /dev/null @@ -1,36 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "param.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include - -#include "schema.h" - -void loadRMCParameters (int & __argc, char * * & __argv) { - - eoParser parser (__argc, __argv); - - /* Schema */ - eoValueParam schema_param ("schema.xml", "schema", "?"); - parser.processParam (schema_param); - loadSchema (schema_param.value ().c_str ()); -} diff --git a/trunk/paradiseo-peo/src/rmc/mpi/param.h b/trunk/paradiseo-peo/src/rmc/mpi/param.h deleted file mode 100755 index bc1c30445..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/param.h +++ /dev/null @@ -1,29 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "param.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __rmc_param_h -#define __rmc_param_h - -extern void loadRMCParameters (int & __argc, char * * & __argv); - -#endif diff --git a/trunk/paradiseo-peo/src/rmc/mpi/recv.cpp b/trunk/paradiseo-peo/src/rmc/mpi/recv.cpp deleted file mode 100755 index 1ca5d6514..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/recv.cpp +++ /dev/null @@ -1,127 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "recv.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "comm.h" -#include "tags.h" -#include "worker.h" -#include "scheduler.h" -#include "mess.h" -#include "node.h" -#include "../../core/runner.h" -#include "../../core/cooperative.h" -#include "../../core/peo_debug.h" - -void receiveMessages () { - - cleanBuffers (); - - do { - - if (! atLeastOneActiveThread ()) { - // printDebugMessage ("debut wait"); - waitMessage (); - //printDebugMessage ("fin wait"); - } - - int src, tag; - - while (probeMessage (src, tag)) { - - receiveMessage (src, tag); - initMessage (); - /* - char b [1000]; - sprintf (b, "traitement recv %d\n", tag); - printDebugMessage (b); - */ - - switch (tag) { - - case RUNNER_STOP_TAG: - unpackTerminationOfRunner (); - wakeUpCommunicator (); - break; - - case COOP_TAG: - // printDebugMessage ("reception de message de cooperation"); - COOP_ID coop_id; - unpack (coop_id); - getCooperative (coop_id) -> unpack (); - break; - - case SCHED_REQUEST_TAG: - unpackResourceRequest (); - break; - - case SCHED_RESULT_TAG: - { - /* Unpacking the resource */ - SERVICE_ID serv_id; - unpack (serv_id); - Service * serv = getService (serv_id); - int dest; - unpack (dest); - WORKER_ID worker_id; - unpack (worker_id); - - /* Going back ... */ - initMessage (); - pack (worker_id); - pack (serv_id); - serv -> packData (); - serv -> notifySendingData (); - sendMessage (dest, TASK_DATA_TAG); - break; - } - - case TASK_DATA_TAG: - { - WORKER_ID worker_id; - unpack (worker_id); - Worker * worker = getWorker (worker_id); - worker -> setSource (src); - worker -> unpackData (); - worker -> wakeUp (); - break; - } - - case TASK_RESULT_TAG: - { - SERVICE_ID serv_id; - unpack (serv_id); - Service * serv = getService (serv_id); - serv -> unpackResult (); - break; - } - - case TASK_DONE_TAG: - unpackTaskDone (); - break; - - default: - ; - }; - } - - } while (! atLeastOneActiveThread () && atLeastOneActiveRunner () /*&& ! allResourcesFree ()*/); -} diff --git a/trunk/paradiseo-peo/src/rmc/mpi/recv.h b/trunk/paradiseo-peo/src/rmc/mpi/recv.h deleted file mode 100755 index 20caa230b..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/recv.h +++ /dev/null @@ -1,29 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "recv.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __recv_h -#define __recv_h - -extern void receiveMessages (); - -#endif diff --git a/trunk/paradiseo-peo/src/rmc/mpi/rmc.cpp b/trunk/paradiseo-peo/src/rmc/mpi/rmc.cpp deleted file mode 100755 index 02832ee9c..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/rmc.cpp +++ /dev/null @@ -1,62 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; messent-column: 35; -*- - -// "rmc.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "send.h" -#include "worker.h" -#include "schema.h" -#include "comm.h" -#include "scheduler.h" -#include "../../core/peo_debug.h" - -static std :: vector ll_threads; /* Low level threads */ - -void runRMC () { - - /* Worker(s) ? */ - for (unsigned i = 0; i < my_node -> num_workers; i ++) - addThread (new Worker, ll_threads); - - wakeUpCommunicator (); -} - -void initRMC (int & __argc, char * * & __argv) { - - /* Communication */ - initCommunication (); - addThread (new Communicator (& __argc, & __argv), ll_threads); - waitNodeInitialization (); - initSending (); - - /* Scheduler */ - if (isScheduleNode ()) - initScheduler (); - - /// -} - -void finalizeRMC () { - - printDebugMessage ("before join threads RMC"); - joinThreads (ll_threads); - printDebugMessage ("after join threads RMC"); -} diff --git a/trunk/paradiseo-peo/src/rmc/mpi/runner.cpp b/trunk/paradiseo-peo/src/rmc/mpi/runner.cpp deleted file mode 100755 index a322948b6..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/runner.cpp +++ /dev/null @@ -1,48 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "runner.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "../../core/messaging.h" -#include "../../core/runner.h" -#include "node.h" -#include "send.h" -#include "tags.h" -#include "schema.h" - -bool Runner :: isLocal () { - - for (unsigned i = 0; i < my_node -> id_run.size (); i ++) - if (my_node -> id_run [i] == id) - return true; - return false; -} - -void Runner :: packTermination () { - - pack (id); -} - -void Runner :: terminate () { - - sendToAll (this, RUNNER_STOP_TAG); -} - diff --git a/trunk/paradiseo-peo/src/rmc/mpi/scheduler.cpp b/trunk/paradiseo-peo/src/rmc/mpi/scheduler.cpp deleted file mode 100755 index def107f07..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/scheduler.cpp +++ /dev/null @@ -1,93 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "sched_thread.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include - -#include "scheduler.h" -#include "tags.h" -#include "mess.h" -#include "../../core/peo_debug.h" - -static std :: queue resources; /* Free resources */ - -static std :: queue requests; /* Requests */ - -static unsigned initNumberOfRes = 0; - -void initScheduler () { - - for (unsigned i = 0; i < the_schema.size (); i ++) { - - const Node & node = the_schema [i]; - - if (node.rk_sched == my_node -> rk) - for (unsigned j = 0; j < node.num_workers; j ++) - resources.push (std :: pair (i, j + 1)); - } - initNumberOfRes = resources.size (); -} - -bool allResourcesFree () { - - return resources.size () == initNumberOfRes; -} - -static void update () { - - unsigned num_alloc = std :: min (resources.size (), requests.size ()); - - for (unsigned i = 0; i < num_alloc; i ++) { - - SCHED_REQUEST req = requests.front (); - requests.pop (); - - SCHED_RESOURCE res = resources.front (); - resources.pop (); - - printDebugMessage ("allocating a resource."); - initMessage (); - pack (req.second); - pack (res); - sendMessage (req.first, SCHED_RESULT_TAG); - } -} - -void unpackResourceRequest () { - - printDebugMessage ("queuing a resource request."); - SCHED_REQUEST req; - unpack (req); - requests.push (req); - update (); -} - -void unpackTaskDone () { - - printDebugMessage ("I'm notified a worker is now idle."); - SCHED_RESOURCE res; - unpack (res); - resources.push (res); - if (resources.size () == initNumberOfRes) - printDebugMessage ("all the resources are now free."); - update (); -} diff --git a/trunk/paradiseo-peo/src/rmc/mpi/scheduler.h b/trunk/paradiseo-peo/src/rmc/mpi/scheduler.h deleted file mode 100755 index 9182e0f7f..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/scheduler.h +++ /dev/null @@ -1,47 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "scheduler.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __scheduler_h -#define __scheduler_h - -#include - -#include "schema.h" -#include "worker.h" - -typedef std :: pair SCHED_RESOURCE; - -typedef std :: pair SCHED_REQUEST; - -/* Initializing the list of available workers */ -extern void initScheduler (); - -/* Processing a resource request from a service */ -extern void unpackResourceRequest (); - -/* Being known a worker is now idle :-) */ -extern void unpackTaskDone (); - -extern bool allResourcesFree (); - -#endif diff --git a/trunk/paradiseo-peo/src/rmc/mpi/schema.cpp b/trunk/paradiseo-peo/src/rmc/mpi/schema.cpp deleted file mode 100755 index e28ac274d..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/schema.cpp +++ /dev/null @@ -1,150 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "schema.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include -#include - -#include "schema.h" -#include "xml_parser.h" -#include "comm.h" -#include "node.h" -#include "../../core/peo_debug.h" - -std :: vector the_schema; - -Node * my_node; - -RANK_ID getRankOfRunner (RUNNER_ID __key) { - - for (unsigned i = 0; i < the_schema.size (); i ++) - for (unsigned j = 0; j < the_schema [i].id_run.size (); j ++) - if (the_schema [i].id_run [j] == __key) - return the_schema [i].rk; - assert (false); - return 0; -} - -static void loadNode (int __rk_sched) { - - Node node; - - node.rk_sched = __rk_sched; - - /* ATT: name*/ - node.rk = getRankFromName (getAttributeValue ("name")); - /* ATT: num_workers */ - node.num_workers = atoi (getAttributeValue ("num_workers").c_str ()); - - while (true) { - - /* TAG: | */ - std :: string name = getNextNode (); - assert (name == "runner" || name == "node"); - if (name == "runner") { - /* TAG: */ - node.id_run.push_back (atoi (getNextNode ().c_str ())); - /* TAG:
*/ - assert (getNextNode () == "runner"); - } - else { - /* TAG: */ - the_schema.push_back (node); - break; - } - } -} - -static void loadGroup () { - - std :: string name; - - /* ATT: scheduler*/ - int rk_sched = getRankFromName (getAttributeValue ("scheduler")); - - while (true) { - - /* TAG: | */ - name = getNextNode (); - assert (name == "node" || name == "group"); - if (name == "node") - /* TAG: */ - loadNode (rk_sched); - else - /* TAG: */ - break; - } -} - -bool isScheduleNode () { - - return my_node -> rk == my_node -> rk_sched; -} - -void loadSchema (const char * __filename) { - - openXMLDocument (__filename); - - std :: string name; - - /* TAG: */ - name = getNextNode (); - assert (name == "schema"); - - while (true) { - - /* TAG: | */ - name = getNextNode (); - assert (name == "group" || name == "schema"); - if (name == "group") - /* TAG: */ - loadGroup (); - else - /* TAG: */ - break; - } - - /* Looking for my node */ - for (unsigned i = 0; i < the_schema.size (); i ++) - if (the_schema [i].rk == getNodeRank ()) - my_node = & (the_schema [i]); - - /* About me */ - char mess [1000]; - - sprintf (mess, "my rank is %d", my_node -> rk); - printDebugMessage (mess); - if (isScheduleNode ()) - printDebugMessage ("I'am a scheduler"); - for (unsigned i = 0; i < my_node -> id_run.size (); i ++) { - sprintf (mess, "I manage the runner %d", my_node -> id_run [i]); - printDebugMessage (mess); - } - if (my_node -> num_workers) { - - sprintf (mess, "I manage %d worker(s)", my_node -> num_workers); - printDebugMessage (mess); - } - - closeXMLDocument (); -} - diff --git a/trunk/paradiseo-peo/src/rmc/mpi/schema.h b/trunk/paradiseo-peo/src/rmc/mpi/schema.h deleted file mode 100755 index 78d9614cc..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/schema.h +++ /dev/null @@ -1,54 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "schema.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __schema_h -#define __schema_h - -#include -#include -#include - -#include "../../core/runner.h" - -typedef int RANK_ID; - -struct Node { - - RANK_ID rk; /* Rank */ - std :: string name; /* Host name */ - unsigned num_workers; /* Number of parallel workers */ - int rk_sched; /* rank of the scheduler */ - std :: vector id_run; /* List of runners */ -}; - -extern std :: vector the_schema; - -extern Node * my_node; - -extern void loadSchema (const char * __filename); - -extern RANK_ID getRankOfRunner (RUNNER_ID __key); - -extern bool isScheduleNode (); - -#endif diff --git a/trunk/paradiseo-peo/src/rmc/mpi/send.cpp b/trunk/paradiseo-peo/src/rmc/mpi/send.cpp deleted file mode 100755 index f545bcf86..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/send.cpp +++ /dev/null @@ -1,131 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "send.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include -#include -#include - -#include "tags.h" -#include "comm.h" -#include "worker.h" -#include "scheduler.h" -#include "mess.h" -#include "node.h" -#include "../../core/cooperative.h" -#include "../../core/peo_debug.h" - -#define TO_ALL -1 - -typedef struct { - - Communicable * comm; - int to; - int tag; - -} SEND_REQUEST; - -static std :: queue mess; - -static sem_t sem_send; - -void initSending () { - - sem_init (& sem_send, 0, 1); -} - -void send (Communicable * __comm, int __to, int __tag) { - - SEND_REQUEST req; - req.comm = __comm; - req.to = __to; - req.tag = __tag; - - sem_wait (& sem_send); - mess.push (req); - sem_post (& sem_send); - wakeUpCommunicator (); -} - -void sendToAll (Communicable * __comm, int __tag) { - - send (__comm, TO_ALL, __tag); -} - -void sendMessages () { - - sem_wait (& sem_send); - - while (! mess.empty ()) { - - SEND_REQUEST req = mess.front (); - /* - char b [1000]; - sprintf (b, "traitement send %d\n", req.tag); - printDebugMessage (b); - */ - - Communicable * comm = req.comm; - - initMessage (); - - switch (req.tag) { - - case RUNNER_STOP_TAG: - dynamic_cast (comm) -> packTermination (); - dynamic_cast (comm) -> notifySendingTermination (); - break; - - case COOP_TAG: - dynamic_cast (comm) -> pack (); - dynamic_cast (comm) -> notifySending (); - break; - - case SCHED_REQUEST_TAG: - dynamic_cast (comm) -> packResourceRequest (); - dynamic_cast (comm) -> notifySendingResourceRequest (); - break; - - case TASK_RESULT_TAG: - dynamic_cast (comm) -> packResult (); - dynamic_cast (comm) -> notifySendingResult (); - break; - - case TASK_DONE_TAG: - dynamic_cast (comm) -> packTaskDone (); - dynamic_cast (comm) -> notifySendingTaskDone (); - break; - - default : - break; - - }; - - if (req.to == TO_ALL) - sendMessageToAll (req.tag); - else - sendMessage (req.to, req.tag); - mess.pop (); - } - - sem_post (& sem_send); -} diff --git a/trunk/paradiseo-peo/src/rmc/mpi/send.h b/trunk/paradiseo-peo/src/rmc/mpi/send.h deleted file mode 100755 index b6486196d..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/send.h +++ /dev/null @@ -1,37 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "send.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __send_h -#define __send_h - -#include "../../core/communicable.h" - -extern void initSending (); - -extern void send (Communicable * __comm, int __to, int __tag); - -extern void sendToAll (Communicable * __comm, int __tag); - -extern void sendMessages (); - -#endif diff --git a/trunk/paradiseo-peo/src/rmc/mpi/service.cpp b/trunk/paradiseo-peo/src/rmc/mpi/service.cpp deleted file mode 100755 index 714348830..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/service.cpp +++ /dev/null @@ -1,45 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "service.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include "../../core/service.h" -#include "../../core/messaging.h" -#include "node.h" -#include "tags.h" -#include "send.h" -#include "scheduler.h" - -void Service :: requestResourceRequest (unsigned __how_many) { - - num_sent_rr = __how_many; - for (unsigned i = 0; i < __how_many; i ++) - send (this, my_node -> rk_sched, SCHED_REQUEST_TAG); -} - -void Service :: packResourceRequest () { - - SCHED_REQUEST req; - req.first = getNodeRank (); - req.second = getKey (); - // printf ("demande de ressource pour %d\n", req.second); - :: pack (req); -} diff --git a/trunk/paradiseo-peo/src/rmc/mpi/tags.h b/trunk/paradiseo-peo/src/rmc/mpi/tags.h deleted file mode 100755 index 48c7d6312..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/tags.h +++ /dev/null @@ -1,39 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "tags.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __tags_h -#define __tags_h - -#define RUNNER_STOP_TAG 13 - -#define COOP_TAG 14 - -#define SCHED_REQUEST_TAG 16 - -#define SCHED_RESULT_TAG 17 -#define TASK_DATA_TAG 18 - -#define TASK_RESULT_TAG 19 -#define TASK_DONE_TAG 20 - -#endif diff --git a/trunk/paradiseo-peo/src/rmc/mpi/worker.cpp b/trunk/paradiseo-peo/src/rmc/mpi/worker.cpp deleted file mode 100755 index e0a19fc65..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/worker.cpp +++ /dev/null @@ -1,109 +0,0 @@ - -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "worker.cpp" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include - -#include "tags.h" -#include "send.h" -#include "node.h" -#include "schema.h" -#include "worker.h" -#include "mess.h" -#include "../../core/peo_debug.h" - -static std :: vector key_to_worker (1); /* Vector of registered workers */ - -Worker * getWorker (WORKER_ID __key) { - - return key_to_worker [__key]; -} - -Worker :: Worker () { - - toto = false; - id = key_to_worker.size (); - key_to_worker.push_back (this); -} - -void Worker :: packResult () { - - pack (serv_id); - serv -> packResult (); -} - -void Worker :: unpackData () { - - printDebugMessage ("unpacking the ID. of the service."); - unpack (serv_id); - serv = getService (serv_id); - printDebugMessage ("found the service."); - serv -> unpackData (); - printDebugMessage ("unpacking the data."); - setActive (); -} - -void Worker :: packTaskDone () { - - pack (getNodeRank ()); - pack (id); -} - -void Worker :: notifySendingResult () { - - /* Notifying the scheduler of the termination */ - toto = true; - wakeUp (); -} - -void Worker :: notifySendingTaskDone () { - - setPassive (); -} - -void Worker :: setSource (int __rank) { - - src = __rank; -} - -void Worker :: start () { - - while (true) { - - sleep (); - - if (! atLeastOneActiveRunner ()) - break; - - if (toto) { - send (this, my_node -> rk_sched, TASK_DONE_TAG); - toto = false; - } - else { - - printDebugMessage ("executing the task."); - serv -> execute (); - send (this, src, TASK_RESULT_TAG); - } - } -} diff --git a/trunk/paradiseo-peo/src/rmc/mpi/worker.h b/trunk/paradiseo-peo/src/rmc/mpi/worker.h deleted file mode 100755 index 3940aee6c..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/worker.h +++ /dev/null @@ -1,65 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "worker.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __worker_h -#define __worker_h - -#include "../../core/communicable.h" -#include "../../core/reac_thread.h" -#include "../../core/service.h" - -typedef unsigned WORKER_ID; - -class Worker : public Communicable, public ReactiveThread { - -public : - - Worker (); - - void start (); - - void packResult (); - - void unpackData (); - - void packTaskDone (); - - void notifySendingResult (); - - void notifySendingTaskDone (); - - void setSource (int __rank); - -private : - - WORKER_ID id; - SERVICE_ID serv_id; - Service * serv; - int src; - - bool toto; -}; - -extern Worker * getWorker (WORKER_ID __key); - -#endif diff --git a/trunk/paradiseo-peo/src/rmc/mpi/xml_parser.cpp b/trunk/paradiseo-peo/src/rmc/mpi/xml_parser.cpp deleted file mode 100755 index b2ac995f7..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/xml_parser.cpp +++ /dev/null @@ -1,90 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "xml_parser.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#include - -#include "xml_parser.h" - -static xmlTextReaderPtr reader; - -void openXMLDocument (const char * __filename) { - - reader = xmlNewTextReaderFilename (__filename); - - if (! reader) { - - fprintf (stderr, "unable to open '%s'.\n", __filename); - exit (1); - } -} - -void closeXMLDocument () { - - xmlFreeTextReader (reader); -} - -std :: string getAttributeValue (const std :: string & __attr) { - - xmlChar * value = xmlTextReaderGetAttribute (reader, (const xmlChar *) __attr.c_str ()); - - std :: string str ((const char *) value); - - xmlFree (value); - - return str; -} - -static bool isSep (const xmlChar * __text) { - - for (unsigned i = 0; i < strlen ((char *) __text); i ++) - if (__text [i] != ' ' && __text [i] != '\t' && __text [i] != '\n') - return false; - return true; -} - -std :: string getNextNode () { - - xmlChar * name, * value; - - do { - xmlTextReaderRead (reader); - name = xmlTextReaderName (reader); - value = xmlTextReaderValue (reader); - // printf ("value = %s\n", value); - } while (! strcmp ((char *) name, "#text") && isSep (value)); - - std :: string str; - - if (strcmp ((char *) name, "#text")) - str.assign ((char *) name); - else - str.assign ((char *) value); - - if (name) - xmlFree (name); - if (value) - xmlFree (value); - - return str; -} - diff --git a/trunk/paradiseo-peo/src/rmc/mpi/xml_parser.h b/trunk/paradiseo-peo/src/rmc/mpi/xml_parser.h deleted file mode 100755 index 12cabc450..000000000 --- a/trunk/paradiseo-peo/src/rmc/mpi/xml_parser.h +++ /dev/null @@ -1,37 +0,0 @@ -// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- - -// "xml_parser.h" - -// (c) OPAC Team, LIFL, August 2005 - -/* This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - - Contact: cahon@lifl.fr -*/ - -#ifndef __xml_parser_h -#define __xml_parser_h - -#include - -extern void openXMLDocument (const char * __filename); - -extern void closeXMLDocument (); - -extern std :: string getAttributeValue (const std :: string & __attr); - -extern std :: string getNextNode (); - -#endif