From a7cc3dab81508a07ea265c079a390f2ad1d542e2 Mon Sep 17 00:00:00 2001 From: quemy Date: Fri, 24 Aug 2012 16:55:23 +0000 Subject: [PATCH] Policies system using tag-dispatching method (again) git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2723 331e1502-861f-0410-8da2-ba01fb791d7f --- trunk/smp/src/MWAlgo/eoEasyEA.cpp | 4 +- trunk/smp/src/MWAlgo/eoEasyPSO.cpp | 4 +- trunk/smp/src/MWAlgo/eoSyncEasyPSO.cpp | 4 +- trunk/smp/src/MWModel.cpp | 28 +++--- trunk/smp/src/MWModel.h | 8 +- trunk/smp/src/algoDispatching.h | 73 ++++++++++++++++ trunk/smp/src/policiesDispatching.h | 61 +++++++++++++ trunk/smp/src/scheduler.cpp | 115 ++++++++++++++++++------- trunk/smp/src/scheduler.h | 34 ++++++-- trunk/smp/test/t-smpScheduler.cpp | 1 - 10 files changed, 266 insertions(+), 66 deletions(-) create mode 100644 trunk/smp/src/algoDispatching.h create mode 100644 trunk/smp/src/policiesDispatching.h diff --git a/trunk/smp/src/MWAlgo/eoEasyEA.cpp b/trunk/smp/src/MWAlgo/eoEasyEA.cpp index 8f236b18b..bf98c534d 100644 --- a/trunk/smp/src/MWAlgo/eoEasyEA.cpp +++ b/trunk/smp/src/MWAlgo/eoEasyEA.cpp @@ -1,5 +1,5 @@ -template