diff --git a/trunk/paradiseo-peo/docs/html/annotated.html b/trunk/paradiseo-peo/docs/html/annotated.html deleted file mode 100644 index 8f7694517..000000000 --- a/trunk/paradiseo-peo/docs/html/annotated.html +++ /dev/null @@ -1,62 +0,0 @@ - - -ParadisEO-PEO: Class List - - - - -
-
-
-
-

ParadisEO-PEO Class List

Here are the classes, structs, unions and interfaces with brief descriptions: - - - - - - - - - - - - - - - - - - - - - - - - -
Communicable
Communicator
Cooperative
Node
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
Runner
SEND_REQUEST
Service
Thread
Topology
Worker
-
Generated on Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classCommunicable-members.html b/trunk/paradiseo-peo/docs/html/classCommunicable-members.html deleted file mode 100644 index 5fabcf137..000000000 --- a/trunk/paradiseo-peo/docs/html/classCommunicable-members.html +++ /dev/null @@ -1,48 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:30 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classCommunicable.html b/trunk/paradiseo-peo/docs/html/classCommunicable.html deleted file mode 100644 index eb8cc1591..000000000 --- a/trunk/paradiseo-peo/docs/html/classCommunicable.html +++ /dev/null @@ -1,100 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:30 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classCommunicable.png b/trunk/paradiseo-peo/docs/html/classCommunicable.png deleted file mode 100644 index a229e7068..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classCommunicable.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classCommunicator-members.html b/trunk/paradiseo-peo/docs/html/classCommunicator-members.html deleted file mode 100644 index 70a072525..000000000 --- a/trunk/paradiseo-peo/docs/html/classCommunicator-members.html +++ /dev/null @@ -1,46 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:30 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classCommunicator.html b/trunk/paradiseo-peo/docs/html/classCommunicator.html deleted file mode 100644 index 35e6f2d99..000000000 --- a/trunk/paradiseo-peo/docs/html/classCommunicator.html +++ /dev/null @@ -1,59 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:30 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classCommunicator.png b/trunk/paradiseo-peo/docs/html/classCommunicator.png deleted file mode 100644 index 0f0ce225b..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classCommunicator.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classCooperative-members.html b/trunk/paradiseo-peo/docs/html/classCooperative-members.html deleted file mode 100644 index 6b5d6422b..000000000 --- a/trunk/paradiseo-peo/docs/html/classCooperative-members.html +++ /dev/null @@ -1,53 +0,0 @@ - - -ParadisEO-PEO: 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]
resume()Communicable
sem_lockCommunicable [protected]
sem_stopCommunicable [protected]
send(Cooperative *__coop)Cooperative
setOwner(Runner &__runner)Cooperative
stop()Communicable
unlock()Communicable
~Communicable()Communicable [virtual]


Generated on Sat Dec 30 14:55:31 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classCooperative.html b/trunk/paradiseo-peo/docs/html/classCooperative.html deleted file mode 100644 index efb2ab015..000000000 --- a/trunk/paradiseo-peo/docs/html/classCooperative.html +++ /dev/null @@ -1,70 +0,0 @@ - - -ParadisEO-PEO: 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)
-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 Sat Dec 30 14:55:31 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classCooperative.png b/trunk/paradiseo-peo/docs/html/classCooperative.png deleted file mode 100644 index 826cbc31b..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classCooperative.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classReactiveThread-members.html b/trunk/paradiseo-peo/docs/html/classReactiveThread-members.html deleted file mode 100644 index 5c5b0b3b9..000000000 --- a/trunk/paradiseo-peo/docs/html/classReactiveThread-members.html +++ /dev/null @@ -1,45 +0,0 @@ - - -ParadisEO-PEO: 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
Thread()Thread
wakeUp()ReactiveThread
~Thread()Thread [virtual]


Generated on Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classReactiveThread.html b/trunk/paradiseo-peo/docs/html/classReactiveThread.html deleted file mode 100644 index 69c55ae33..000000000 --- a/trunk/paradiseo-peo/docs/html/classReactiveThread.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classReactiveThread.png b/trunk/paradiseo-peo/docs/html/classReactiveThread.png deleted file mode 100644 index 46b2d6d40..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classReactiveThread.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classRingTopology-members.html b/trunk/paradiseo-peo/docs/html/classRingTopology-members.html deleted file mode 100644 index feb2ee4cd..000000000 --- a/trunk/paradiseo-peo/docs/html/classRingTopology-members.html +++ /dev/null @@ -1,41 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classRingTopology.html b/trunk/paradiseo-peo/docs/html/classRingTopology.html deleted file mode 100644 index 2c242a04c..000000000 --- a/trunk/paradiseo-peo/docs/html/classRingTopology.html +++ /dev/null @@ -1,55 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classRingTopology.png b/trunk/paradiseo-peo/docs/html/classRingTopology.png deleted file mode 100644 index 79e86b847..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classRingTopology.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classRunner-members.html b/trunk/paradiseo-peo/docs/html/classRunner-members.html deleted file mode 100644 index 6b196a0a5..000000000 --- a/trunk/paradiseo-peo/docs/html/classRunner-members.html +++ /dev/null @@ -1,62 +0,0 @@ - - -ParadisEO-PEO: 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
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 Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classRunner.html b/trunk/paradiseo-peo/docs/html/classRunner.html deleted file mode 100644 index 3d1ddddf0..000000000 --- a/trunk/paradiseo-peo/docs/html/classRunner.html +++ /dev/null @@ -1,85 +0,0 @@ - - -ParadisEO-PEO: 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 ()
-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 Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classRunner.png b/trunk/paradiseo-peo/docs/html/classRunner.png deleted file mode 100644 index bd6d66557..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classRunner.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classService-members.html b/trunk/paradiseo-peo/docs/html/classService-members.html deleted file mode 100644 index 41849707a..000000000 --- a/trunk/paradiseo-peo/docs/html/classService-members.html +++ /dev/null @@ -1,62 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classService.html b/trunk/paradiseo-peo/docs/html/classService.html deleted file mode 100644 index db25dcf02..000000000 --- a/trunk/paradiseo-peo/docs/html/classService.html +++ /dev/null @@ -1,102 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classService.png b/trunk/paradiseo-peo/docs/html/classService.png deleted file mode 100644 index cf6f68a54..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classService.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classThread-members.html b/trunk/paradiseo-peo/docs/html/classThread-members.html deleted file mode 100644 index 41c82397b..000000000 --- a/trunk/paradiseo-peo/docs/html/classThread-members.html +++ /dev/null @@ -1,42 +0,0 @@ - - -ParadisEO-PEO: Member List - - - - -
-
-
-
-

Thread Member List

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

- - - - - -
actThread [private]
setActive()Thread
setPassive()Thread
Thread()Thread
~Thread()Thread [virtual]


Generated on Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classThread.html b/trunk/paradiseo-peo/docs/html/classThread.html deleted file mode 100644 index b7297b484..000000000 --- a/trunk/paradiseo-peo/docs/html/classThread.html +++ /dev/null @@ -1,72 +0,0 @@ - - -ParadisEO-PEO: 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 ()
-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 Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classThread.png b/trunk/paradiseo-peo/docs/html/classThread.png deleted file mode 100644 index bac19c424..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classThread.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classTopology-members.html b/trunk/paradiseo-peo/docs/html/classTopology-members.html deleted file mode 100644 index 08ae48045..000000000 --- a/trunk/paradiseo-peo/docs/html/classTopology-members.html +++ /dev/null @@ -1,40 +0,0 @@ - - -ParadisEO-PEO: Member List - - - - -
-
-
-
-

Topology Member List

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

- - - -
add(Cooperative &__mig)Topology
migTopology [protected]
~Topology()Topology [virtual]


Generated on Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classTopology.html b/trunk/paradiseo-peo/docs/html/classTopology.html deleted file mode 100644 index 1e0aedc07..000000000 --- a/trunk/paradiseo-peo/docs/html/classTopology.html +++ /dev/null @@ -1,62 +0,0 @@ - - -ParadisEO-PEO: Topology Class Reference - - - - -
-
-
-
-

Topology Class Reference

Inheritance diagram for Topology: -

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

Public Member Functions

-virtual ~Topology ()
-void add (Cooperative &__mig)

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 Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classTopology.png b/trunk/paradiseo-peo/docs/html/classTopology.png deleted file mode 100644 index bc09751e5..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classTopology.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classWorker-members.html b/trunk/paradiseo-peo/docs/html/classWorker-members.html deleted file mode 100644 index 1efb12527..000000000 --- a/trunk/paradiseo-peo/docs/html/classWorker-members.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classWorker.html b/trunk/paradiseo-peo/docs/html/classWorker.html deleted file mode 100644 index 712fac1a9..000000000 --- a/trunk/paradiseo-peo/docs/html/classWorker.html +++ /dev/null @@ -1,94 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classWorker.png b/trunk/paradiseo-peo/docs/html/classWorker.png deleted file mode 100644 index 0ea239005..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classWorker.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classes.html b/trunk/paradiseo-peo/docs/html/classes.html deleted file mode 100644 index 3fbacf37e..000000000 --- a/trunk/paradiseo-peo/docs/html/classes.html +++ /dev/null @@ -1,48 +0,0 @@ - - -ParadisEO-PEO: Alphabetical List - - - - -
-
-
-
-

ParadisEO-PEO Class Index

A | C | E | N | P | R | S | T | W

- -
  A  
-
Node   peoSeqPopEval   
peoAggEvalFunc   
  P  
-
peoSeqTransform   
peoAsyncIslandMig   peoParaPopEval   Service   
  C  
-
peoParaSGATransform   peoSyncIslandMig   
Communicable   peoPopEval   peoSyncMultiStart   
Communicator   
  R  
-
  T  
-
Cooperative   ReactiveThread   Thread   
  E  
-
RingTopology   Topology   
peoEA   Runner   peoTransform   
  N  
-
  S  
-
  W  
-
peoNoAggEvalFunc   SEND_REQUEST   Worker   

A | C | E | N | P | R | S | T | W

-


Generated on Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoAggEvalFunc.html b/trunk/paradiseo-peo/docs/html/classpeoAggEvalFunc.html deleted file mode 100644 index 82783ff04..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoAggEvalFunc.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO-PEO: 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 >: -

- -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 Sat Dec 30 14:55:31 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoAggEvalFunc.png b/trunk/paradiseo-peo/docs/html/classpeoAggEvalFunc.png deleted file mode 100644 index 782e65274..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classpeoAggEvalFunc.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classpeoAsyncIslandMig-members.html b/trunk/paradiseo-peo/docs/html/classpeoAsyncIslandMig-members.html deleted file mode 100644 index 6394108e2..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoAsyncIslandMig-members.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:31 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoAsyncIslandMig.html b/trunk/paradiseo-peo/docs/html/classpeoAsyncIslandMig.html deleted file mode 100644 index 181659945..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoAsyncIslandMig.html +++ /dev/null @@ -1,300 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:31 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoAsyncIslandMig.png b/trunk/paradiseo-peo/docs/html/classpeoAsyncIslandMig.png deleted file mode 100644 index d6b2d9f65..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classpeoAsyncIslandMig.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classpeoEA-members.html b/trunk/paradiseo-peo/docs/html/classpeoEA-members.html deleted file mode 100644 index da149d5ec..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoEA-members.html +++ /dev/null @@ -1,69 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:31 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoEA.html b/trunk/paradiseo-peo/docs/html/classpeoEA.html deleted file mode 100644 index feb5d966b..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoEA.html +++ /dev/null @@ -1,236 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:31 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoEA.png b/trunk/paradiseo-peo/docs/html/classpeoEA.png deleted file mode 100644 index e3384cb44..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classpeoEA.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classpeoNoAggEvalFunc-members.html b/trunk/paradiseo-peo/docs/html/classpeoNoAggEvalFunc-members.html deleted file mode 100644 index 8ddc9569d..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoNoAggEvalFunc-members.html +++ /dev/null @@ -1,38 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:31 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoNoAggEvalFunc.html b/trunk/paradiseo-peo/docs/html/classpeoNoAggEvalFunc.html deleted file mode 100644 index 0f72b7bb5..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoNoAggEvalFunc.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:31 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoNoAggEvalFunc.png b/trunk/paradiseo-peo/docs/html/classpeoNoAggEvalFunc.png deleted file mode 100644 index 0db69caaa..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classpeoNoAggEvalFunc.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classpeoParaPopEval-members.html b/trunk/paradiseo-peo/docs/html/classpeoParaPopEval-members.html deleted file mode 100644 index 5f6a654e6..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoParaPopEval-members.html +++ /dev/null @@ -1,73 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:31 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoParaPopEval.html b/trunk/paradiseo-peo/docs/html/classpeoParaPopEval.html deleted file mode 100644 index 5d5da5361..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoParaPopEval.html +++ /dev/null @@ -1,411 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:31 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoParaPopEval.png b/trunk/paradiseo-peo/docs/html/classpeoParaPopEval.png deleted file mode 100644 index 3ddb39223..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classpeoParaPopEval.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classpeoParaSGATransform-members.html b/trunk/paradiseo-peo/docs/html/classpeoParaSGATransform-members.html deleted file mode 100644 index 22a273885..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoParaSGATransform-members.html +++ /dev/null @@ -1,71 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:31 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoParaSGATransform.html b/trunk/paradiseo-peo/docs/html/classpeoParaSGATransform.html deleted file mode 100644 index 98ba6ab63..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoParaSGATransform.html +++ /dev/null @@ -1,112 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:31 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoParaSGATransform.png b/trunk/paradiseo-peo/docs/html/classpeoParaSGATransform.png deleted file mode 100644 index 95dfd1232..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classpeoParaSGATransform.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classpeoPopEval-members.html b/trunk/paradiseo-peo/docs/html/classpeoPopEval-members.html deleted file mode 100644 index 5670ba66e..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoPopEval-members.html +++ /dev/null @@ -1,61 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:32 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoPopEval.html b/trunk/paradiseo-peo/docs/html/classpeoPopEval.html deleted file mode 100644 index e19d89b0d..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoPopEval.html +++ /dev/null @@ -1,69 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:32 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoPopEval.png b/trunk/paradiseo-peo/docs/html/classpeoPopEval.png deleted file mode 100644 index 100bbb770..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classpeoPopEval.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classpeoSeqPopEval-members.html b/trunk/paradiseo-peo/docs/html/classpeoSeqPopEval-members.html deleted file mode 100644 index a69a8f1d7..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoSeqPopEval-members.html +++ /dev/null @@ -1,63 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:32 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoSeqPopEval.html b/trunk/paradiseo-peo/docs/html/classpeoSeqPopEval.html deleted file mode 100644 index 214856c0f..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoSeqPopEval.html +++ /dev/null @@ -1,142 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:32 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoSeqPopEval.png b/trunk/paradiseo-peo/docs/html/classpeoSeqPopEval.png deleted file mode 100644 index df2001515..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classpeoSeqPopEval.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classpeoSeqTransform-members.html b/trunk/paradiseo-peo/docs/html/classpeoSeqTransform-members.html deleted file mode 100644 index aa40837d8..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoSeqTransform-members.html +++ /dev/null @@ -1,63 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:32 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoSeqTransform.html b/trunk/paradiseo-peo/docs/html/classpeoSeqTransform.html deleted file mode 100644 index 8b6c4619e..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoSeqTransform.html +++ /dev/null @@ -1,160 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:32 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoSeqTransform.png b/trunk/paradiseo-peo/docs/html/classpeoSeqTransform.png deleted file mode 100644 index b2a4c4196..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classpeoSeqTransform.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classpeoSyncIslandMig-members.html b/trunk/paradiseo-peo/docs/html/classpeoSyncIslandMig-members.html deleted file mode 100644 index 02f034f50..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoSyncIslandMig-members.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:32 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoSyncIslandMig.html b/trunk/paradiseo-peo/docs/html/classpeoSyncIslandMig.html deleted file mode 100644 index 610b3ebf1..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoSyncIslandMig.html +++ /dev/null @@ -1,305 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:32 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoSyncIslandMig.png b/trunk/paradiseo-peo/docs/html/classpeoSyncIslandMig.png deleted file mode 100644 index 429ef28d3..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classpeoSyncIslandMig.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classpeoSyncMultiStart-members.html b/trunk/paradiseo-peo/docs/html/classpeoSyncMultiStart-members.html deleted file mode 100644 index 529f64188..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoSyncMultiStart-members.html +++ /dev/null @@ -1,72 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:32 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoSyncMultiStart.html b/trunk/paradiseo-peo/docs/html/classpeoSyncMultiStart.html deleted file mode 100644 index 9f67b77a8..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoSyncMultiStart.html +++ /dev/null @@ -1,413 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:32 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoSyncMultiStart.png b/trunk/paradiseo-peo/docs/html/classpeoSyncMultiStart.png deleted file mode 100644 index 0818b68a6..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classpeoSyncMultiStart.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/classpeoTransform-members.html b/trunk/paradiseo-peo/docs/html/classpeoTransform-members.html deleted file mode 100644 index c33ea6ea3..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoTransform-members.html +++ /dev/null @@ -1,60 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:32 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoTransform.html b/trunk/paradiseo-peo/docs/html/classpeoTransform.html deleted file mode 100644 index 7f248cbd0..000000000 --- a/trunk/paradiseo-peo/docs/html/classpeoTransform.html +++ /dev/null @@ -1,62 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:32 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/classpeoTransform.png b/trunk/paradiseo-peo/docs/html/classpeoTransform.png deleted file mode 100644 index 72482d929..000000000 Binary files a/trunk/paradiseo-peo/docs/html/classpeoTransform.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/comm_8cpp-source.html b/trunk/paradiseo-peo/docs/html/comm_8cpp-source.html deleted file mode 100644 index 9f3ae9534..000000000 --- a/trunk/paradiseo-peo/docs/html/comm_8cpp-source.html +++ /dev/null @@ -1,111 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/comm_8h-source.html b/trunk/paradiseo-peo/docs/html/comm_8h-source.html deleted file mode 100644 index 0a554eba0..000000000 --- a/trunk/paradiseo-peo/docs/html/comm_8h-source.html +++ /dev/null @@ -1,75 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/communicable_8cpp-source.html b/trunk/paradiseo-peo/docs/html/communicable_8cpp-source.html deleted file mode 100644 index 323452e0e..000000000 --- a/trunk/paradiseo-peo/docs/html/communicable_8cpp-source.html +++ /dev/null @@ -1,114 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/communicable_8h-source.html b/trunk/paradiseo-peo/docs/html/communicable_8h-source.html deleted file mode 100644 index 7ab01c5a4..000000000 --- a/trunk/paradiseo-peo/docs/html/communicable_8h-source.html +++ /dev/null @@ -1,91 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/coop_8cpp-source.html b/trunk/paradiseo-peo/docs/html/coop_8cpp-source.html deleted file mode 100644 index a08ca3540..000000000 --- a/trunk/paradiseo-peo/docs/html/coop_8cpp-source.html +++ /dev/null @@ -1,86 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/cooperative_8h-source.html b/trunk/paradiseo-peo/docs/html/cooperative_8h-source.html deleted file mode 100644 index c9021db1b..000000000 --- a/trunk/paradiseo-peo/docs/html/cooperative_8h-source.html +++ /dev/null @@ -1,85 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/core_2runner_8cpp-source.html b/trunk/paradiseo-peo/docs/html/core_2runner_8cpp-source.html deleted file mode 100644 index 88eb99484..000000000 --- a/trunk/paradiseo-peo/docs/html/core_2runner_8cpp-source.html +++ /dev/null @@ -1,148 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/core_2service_8cpp-source.html b/trunk/paradiseo-peo/docs/html/core_2service_8cpp-source.html deleted file mode 100644 index efd48b2f0..000000000 --- a/trunk/paradiseo-peo/docs/html/core_2service_8cpp-source.html +++ /dev/null @@ -1,102 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/doxygen.css b/trunk/paradiseo-peo/docs/html/doxygen.css deleted file mode 100644 index 5d583694e..000000000 --- a/trunk/paradiseo-peo/docs/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/docs/html/doxygen.png b/trunk/paradiseo-peo/docs/html/doxygen.png deleted file mode 100644 index f0a274bba..000000000 Binary files a/trunk/paradiseo-peo/docs/html/doxygen.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/eoPop__comm_8h-source.html b/trunk/paradiseo-peo/docs/html/eoPop__comm_8h-source.html deleted file mode 100644 index ce2c0f7a4..000000000 --- a/trunk/paradiseo-peo/docs/html/eoPop__comm_8h-source.html +++ /dev/null @@ -1,76 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/eoVector__comm_8h-source.html b/trunk/paradiseo-peo/docs/html/eoVector__comm_8h-source.html deleted file mode 100644 index 048702901..000000000 --- a/trunk/paradiseo-peo/docs/html/eoVector__comm_8h-source.html +++ /dev/null @@ -1,82 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/files.html b/trunk/paradiseo-peo/docs/html/files.html deleted file mode 100644 index 9e52ab2bb..000000000 --- a/trunk/paradiseo-peo/docs/html/files.html +++ /dev/null @@ -1,98 +0,0 @@ - - -ParadisEO-PEO: File Index - - - - -
-
-

ParadisEO-PEO File List

Here is a list of all documented files with brief descriptions: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
comm.cpp [code]
comm.h [code]
communicable.cpp [code]
communicable.h [code]
coop.cpp [code]
cooperative.h [code]
eoPop_comm.h [code]
eoVector_comm.h [code]
mess.cpp [code]
mess.h [code]
messaging.h [code]
node.cpp [code]
node.h [code]
paradiseo.h [code]
param.cpp [code]
param.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]
recv.cpp [code]
recv.h [code]
ring_topo.cpp [code]
ring_topo.h [code]
rmc.cpp [code]
rmc.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]
worker.cpp [code]
worker.h [code]
xml_parser.cpp [code]
xml_parser.h [code]
-
Generated on Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/ftv2blank.png b/trunk/paradiseo-peo/docs/html/ftv2blank.png deleted file mode 100644 index 493c3c0b6..000000000 Binary files a/trunk/paradiseo-peo/docs/html/ftv2blank.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/ftv2doc.png b/trunk/paradiseo-peo/docs/html/ftv2doc.png deleted file mode 100644 index f72999f92..000000000 Binary files a/trunk/paradiseo-peo/docs/html/ftv2doc.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/ftv2folderclosed.png b/trunk/paradiseo-peo/docs/html/ftv2folderclosed.png deleted file mode 100644 index d6d063440..000000000 Binary files a/trunk/paradiseo-peo/docs/html/ftv2folderclosed.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/ftv2folderopen.png b/trunk/paradiseo-peo/docs/html/ftv2folderopen.png deleted file mode 100644 index bbe2c913c..000000000 Binary files a/trunk/paradiseo-peo/docs/html/ftv2folderopen.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/ftv2lastnode.png b/trunk/paradiseo-peo/docs/html/ftv2lastnode.png deleted file mode 100644 index e7b9ba90c..000000000 Binary files a/trunk/paradiseo-peo/docs/html/ftv2lastnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/ftv2link.png b/trunk/paradiseo-peo/docs/html/ftv2link.png deleted file mode 100644 index 14f3fed00..000000000 Binary files a/trunk/paradiseo-peo/docs/html/ftv2link.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/ftv2mlastnode.png b/trunk/paradiseo-peo/docs/html/ftv2mlastnode.png deleted file mode 100644 index 09ceb6adb..000000000 Binary files a/trunk/paradiseo-peo/docs/html/ftv2mlastnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/ftv2mnode.png b/trunk/paradiseo-peo/docs/html/ftv2mnode.png deleted file mode 100644 index 3254c0511..000000000 Binary files a/trunk/paradiseo-peo/docs/html/ftv2mnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/ftv2node.png b/trunk/paradiseo-peo/docs/html/ftv2node.png deleted file mode 100644 index c9f06a57f..000000000 Binary files a/trunk/paradiseo-peo/docs/html/ftv2node.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/ftv2plastnode.png b/trunk/paradiseo-peo/docs/html/ftv2plastnode.png deleted file mode 100644 index 0b07e0091..000000000 Binary files a/trunk/paradiseo-peo/docs/html/ftv2plastnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/ftv2pnode.png b/trunk/paradiseo-peo/docs/html/ftv2pnode.png deleted file mode 100644 index 2001b797b..000000000 Binary files a/trunk/paradiseo-peo/docs/html/ftv2pnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/ftv2vertline.png b/trunk/paradiseo-peo/docs/html/ftv2vertline.png deleted file mode 100644 index b330f3a33..000000000 Binary files a/trunk/paradiseo-peo/docs/html/ftv2vertline.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/functions.html b/trunk/paradiseo-peo/docs/html/functions.html deleted file mode 100644 index a38e25ca8..000000000 --- a/trunk/paradiseo-peo/docs/html/functions.html +++ /dev/null @@ -1,225 +0,0 @@ - - -ParadisEO-PEO: Class Members - - - - -
-
-
-
-
- -
-
- -
- -

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

-

- a -

-

- c -

-

- d -

-

- e -

-

- f -

-

- g -

-

- i -

-

- k -

-

- l -

-

- m -

-

- n -

-

- o -

-

- p -

-

- r -

-

- s -

-

- t -

-

- u -

-

- w -

-

- ~ -

-
Generated on Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/functions_func.html b/trunk/paradiseo-peo/docs/html/functions_func.html deleted file mode 100644 index 3ba0cf323..000000000 --- a/trunk/paradiseo-peo/docs/html/functions_func.html +++ /dev/null @@ -1,155 +0,0 @@ - - -ParadisEO-PEO: Class Members - Functions - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- a -

-

- c -

-

- e -

-

- g -

-

- i -

-

- l -

-

- n -

-

- o -

-

- p -

-

- r -

-

- s -

-

- t -

-

- u -

-

- w -

-

- ~ -

-
Generated on Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/functions_vars.html b/trunk/paradiseo-peo/docs/html/functions_vars.html deleted file mode 100644 index a28677f13..000000000 --- a/trunk/paradiseo-peo/docs/html/functions_vars.html +++ /dev/null @@ -1,154 +0,0 @@ - - -ParadisEO-PEO: Class Members - Variables - - - - -
-
-
-
-
- -
-
- -
- -

-  -

-

- a -

-

- c -

-

- d -

-

- e -

-

- f -

-

- i -

-

- k -

-

- l -

-

- m -

-

- n -

-

- o -

-

- p -

-

- r -

-

- s -

-

- t -

-
Generated on Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/hierarchy.html b/trunk/paradiseo-peo/docs/html/hierarchy.html deleted file mode 100644 index d6221bf46..000000000 --- a/trunk/paradiseo-peo/docs/html/hierarchy.html +++ /dev/null @@ -1,84 +0,0 @@ - - -ParadisEO-PEO: Hierarchical Index - - - - -
-
-
-
-

ParadisEO-PEO Class Hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically: -
Generated on Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/index.html b/trunk/paradiseo-peo/docs/html/index.html deleted file mode 100644 index 1d73e16b0..000000000 --- a/trunk/paradiseo-peo/docs/html/index.html +++ /dev/null @@ -1,8 +0,0 @@ - - -ParadisEO-PEO - - - - - diff --git a/trunk/paradiseo-peo/docs/html/installdox b/trunk/paradiseo-peo/docs/html/installdox deleted file mode 100755 index 294677f26..000000000 --- a/trunk/paradiseo-peo/docs/html/installdox +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/perl - -%subst = ( "eo.doxytag", "", "mo.doxytag", ""); -$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/docs/html/lesson1/html/doxygen.css b/trunk/paradiseo-peo/docs/html/lesson1/html/doxygen.css deleted file mode 100644 index 5d583694e..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson1/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/docs/html/lesson1/html/doxygen.png b/trunk/paradiseo-peo/docs/html/lesson1/html/doxygen.png deleted file mode 100644 index f0a274bba..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/html/doxygen.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/files.html b/trunk/paradiseo-peo/docs/html/lesson1/html/files.html deleted file mode 100644 index 3e86c43d7..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson1/html/files.html +++ /dev/null @@ -1,30 +0,0 @@ - - -ParadisEO-PEO Lesson1: File Index - - - - -
-
-

ParadisEO-PEO Lesson1 File List

Here is a list of all documented files with brief descriptions: - -
main.cpp [code]
-
Generated on Sat Dec 30 14:55:34 2006 for ParadisEO-PEO Lesson1 by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2blank.png b/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2blank.png deleted file mode 100644 index 493c3c0b6..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2blank.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2doc.png b/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2doc.png deleted file mode 100644 index f72999f92..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2doc.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2folderclosed.png b/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2folderclosed.png deleted file mode 100644 index d6d063440..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2folderclosed.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2folderopen.png b/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2folderopen.png deleted file mode 100644 index bbe2c913c..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2folderopen.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2lastnode.png b/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2lastnode.png deleted file mode 100644 index e7b9ba90c..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2lastnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2link.png b/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2link.png deleted file mode 100644 index 14f3fed00..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2link.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2mlastnode.png b/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2mlastnode.png deleted file mode 100644 index 09ceb6adb..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2mlastnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2mnode.png b/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2mnode.png deleted file mode 100644 index 3254c0511..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2mnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2node.png b/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2node.png deleted file mode 100644 index c9f06a57f..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2node.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2plastnode.png b/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2plastnode.png deleted file mode 100644 index 0b07e0091..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2plastnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2pnode.png b/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2pnode.png deleted file mode 100644 index 2001b797b..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2pnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2vertline.png b/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2vertline.png deleted file mode 100644 index b330f3a33..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/html/ftv2vertline.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/index.html b/trunk/paradiseo-peo/docs/html/lesson1/html/index.html deleted file mode 100644 index 1b8f28786..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson1/html/index.html +++ /dev/null @@ -1,8 +0,0 @@ - - -ParadisEO-PEO Lesson1 - - - - - diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/installdox b/trunk/paradiseo-peo/docs/html/lesson1/html/installdox deleted file mode 100755 index 772efebb2..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson1/html/installdox +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/perl - -%subst = ( "eo.doxytag", "", "mo.doxytag", "", "paradiseo-peo.doxytag", "", "paradiseo-peo-lsn-shared.doxytag", ""); -$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/docs/html/lesson1/html/main.html b/trunk/paradiseo-peo/docs/html/lesson1/html/main.html deleted file mode 100644 index 8bf029d4e..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson1/html/main.html +++ /dev/null @@ -1,29 +0,0 @@ - - -ParadisEO-PEO Lesson1: Main Page - - - - -
-
-

ParadisEO-PEO Lesson1 Documentation

-

-

0.1


Generated on Sat Dec 30 14:55:34 2006 for ParadisEO-PEO Lesson1 by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/main_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lesson1/html/main_8cpp-source.html deleted file mode 100644 index 72a61f0a1..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson1/html/main_8cpp-source.html +++ /dev/null @@ -1,118 +0,0 @@ - - -ParadisEO-PEO Lesson1: 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: paradiseo-help@lists.gforge.inria.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 "city_swap.h"
-00030 
-00031 #include <paradiseo>
-00032 
-00033 #define POP_SIZE 10
-00034 #define NUM_GEN 100
-00035 #define CROSS_RATE 1.0
-00036 #define MUT_RATE 0.01
-00037 
-00038 
-00039 int main( int __argc, char** __argv ) {
-00040 
-00041         // initializing the ParadisEO-PEO environment
-00042         peo :: init( __argc, __argv );
-00043 
-00044 
-00045         // processing the command line specified parameters
-00046         loadParameters( __argc, __argv );
-00047 
-00048 
-00049         // init, eval operators, EA operators -------------------------------------------------------------------------------------------------------------
-00050 
-00051         RouteInit route_init;   // random init object - creates random Route objects
-00052         RouteEval full_eval;    // evaluator object - offers a fitness value for a specified Route object
-00053 
-00054         OrderXover crossover;   // crossover operator - creates two offsprings out of two specified parents
-00055         CitySwap mutation;      // mutation operator - randomly mutates one gene for a specified individual
-00056         // ------------------------------------------------------------------------------------------------------------------------------------------------
-00057 
-00058 
-00059         // evolutionary algorithm components --------------------------------------------------------------------------------------------------------------
-00060 
-00061         eoPop< Route > population( POP_SIZE, route_init );      // initial population for the algorithm having POP_SIZE individuals
-00062         peoSeqPopEval< Route > eaPopEval( full_eval );          // evaluator object - to be applied at each iteration on the entire population
-00063 
-00064         eoGenContinue< Route > eaCont( NUM_GEN );               // continuation criterion - the algorithm will iterate for NUM_GEN generations
-00065         eoCheckPoint< Route > eaCheckpointContinue( eaConts );  // checkpoint object - verify at each iteration if the continuation criterion is met
-00066 
-00067         eoRankingSelect< Route > selectionStrategy;             // selection strategy - applied at each iteration for selecting parent individuals
-00068         eoSelectNumber< Route > eaSelect( selectionStrategy, POP_SIZE ); // selection object - POP_SIZE individuals are selected at each iteration
-00069 
-00070         // transform operator - includes the crossover and the mutation operators with a specified associated rate
-00071         eoSGATransform< Route > transform( crossover, CROSS_RATE, mutation, MUT_RATE );
-00072         peoSeqTransform< Route > eaTransform( transform );      // ParadisEO transform operator (please remark the peo prefix) - wraps an e EO transform object
-00073 
-00074         eoPlusReplacement< Route > eaReplace;                   // replacement strategy - for replacing the initial population with offspring individuals
-00075         // ------------------------------------------------------------------------------------------------------------------------------------------------
-00076 
-00077 
-00078         // ParadisEO-PEO evolutionary algorithm -----------------------------------------------------------------------------------------------------------
-00079 
-00080         peoEA< Route > eaAlg( eaCheckpointContinue, eaPopEval, eaSelect, eaTransform, eaReplace );
-00081         
-00082         eaAlg( population );    // specifying the initial population for the algorithm, to be iteratively evolved
-00083         // ------------------------------------------------------------------------------------------------------------------------------------------------
-00084 
-00085 
-00086         peo :: run( );
-00087         peo :: finalize( );
-00088         // shutting down the ParadisEO-PEO environment
-00089 
-00090         return 0;
-00091 }
-

Generated on Sat Dec 30 14:55:34 2006 for ParadisEO-PEO Lesson1 by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/search.idx b/trunk/paradiseo-peo/docs/html/lesson1/html/search.idx deleted file mode 100644 index 35989441c..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/html/search.idx and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/search.php b/trunk/paradiseo-peo/docs/html/lesson1/html/search.php deleted file mode 100644 index df42cf47e..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson1/html/search.php +++ /dev/null @@ -1,380 +0,0 @@ - - -Search - - - - -
-
    -
  • Main Page
  • -
  • 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO Lesson1 by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/tab_b.gif b/trunk/paradiseo-peo/docs/html/lesson1/html/tab_b.gif deleted file mode 100644 index 0d623483f..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/html/tab_b.gif and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/tab_l.gif b/trunk/paradiseo-peo/docs/html/lesson1/html/tab_l.gif deleted file mode 100644 index 9b1e6337c..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/html/tab_l.gif and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/tab_r.gif b/trunk/paradiseo-peo/docs/html/lesson1/html/tab_r.gif deleted file mode 100644 index ce9dd9f53..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/html/tab_r.gif and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/html/tabs.css b/trunk/paradiseo-peo/docs/html/lesson1/html/tabs.css deleted file mode 100644 index a61552a67..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson1/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/docs/html/lesson1/html/tree.html b/trunk/paradiseo-peo/docs/html/lesson1/html/tree.html deleted file mode 100644 index 9fe9184fe..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson1/html/tree.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - TreeView - - - - -
-

ParadisEO-PEO Lesson1

-
-

\+File List

-
-

 \*main.cpp

-
-
-
- - diff --git a/trunk/paradiseo-peo/docs/html/lesson1/latex/FreeSans.ttf b/trunk/paradiseo-peo/docs/html/lesson1/latex/FreeSans.ttf deleted file mode 100644 index b550b90ba..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson1/latex/FreeSans.ttf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson1/latex/Makefile b/trunk/paradiseo-peo/docs/html/lesson1/latex/Makefile deleted file mode 100644 index a67f1b7f6..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson1/latex/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -all: clean refman.pdf - -refman.pdf: refman.tex - pdflatex refman.tex - makeindex refman.idx - pdflatex 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...." ;\ - pdflatex refman.tex ;\ - latex_count=`expr $$latex_count - 1` ;\ - done - - -clean: - rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf diff --git a/trunk/paradiseo-peo/docs/html/lesson1/latex/doxygen.sty b/trunk/paradiseo-peo/docs/html/lesson1/latex/doxygen.sty deleted file mode 100644 index 61c940e12..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson1/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 Sat Dec 30 14:55:34 2006 for Paradis\-EO-PEO Lesson1 by Doxygen }]{} -\lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Sat Dec 30 14:55:34 2006 for Paradis\-EO-PEO Lesson1 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/docs/html/lesson1/latex/refman.tex b/trunk/paradiseo-peo/docs/html/lesson1/latex/refman.tex deleted file mode 100644 index 02cc88d0b..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson1/latex/refman.tex +++ /dev/null @@ -1,47 +0,0 @@ -\documentclass[a4paper]{book} -\usepackage{a4wide} -\usepackage{makeidx} -\usepackage{fancyhdr} -\usepackage{graphicx} -\usepackage{multicol} -\usepackage{float} -\usepackage{textcomp} -\usepackage{alltt} -\usepackage{times} -\usepackage{ifpdf} -\ifpdf -\usepackage[pdftex, - pagebackref=true, - colorlinks=true, - linkcolor=blue - ]{hyperref} -\else -\usepackage[ps2pdf, - pagebackref=true, - colorlinks=true, - linkcolor=blue - ]{hyperref} -\usepackage{pspicture} -\fi -\usepackage{doxygen} -\makeindex -\setcounter{tocdepth}{1} -\renewcommand{\footrulewidth}{0.4pt} -\begin{document} -\begin{titlepage} -\vspace*{7cm} -\begin{center} -{\Large Paradis\-EO-PEO Lesson1 Reference Manual\\[1ex]\large 0.1 }\\ -\vspace*{1cm} -{\large Generated by Doxygen 1.4.7}\\ -\vspace*{0.5cm} -{\small Sat Dec 30 14:55:34 2006}\\ -\end{center} -\end{titlepage} -\clearemptydoublepage -\pagenumbering{roman} -\tableofcontents -\clearemptydoublepage -\pagenumbering{arabic} -\printindex -\end{document} diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/doxygen.css b/trunk/paradiseo-peo/docs/html/lesson2/html/doxygen.css deleted file mode 100644 index 5d583694e..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson2/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/docs/html/lesson2/html/doxygen.png b/trunk/paradiseo-peo/docs/html/lesson2/html/doxygen.png deleted file mode 100644 index f0a274bba..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/html/doxygen.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/files.html b/trunk/paradiseo-peo/docs/html/lesson2/html/files.html deleted file mode 100644 index c54a461a5..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson2/html/files.html +++ /dev/null @@ -1,30 +0,0 @@ - - -ParadisEO-PEO Lesson2: File Index - - - - -
-
-

ParadisEO-PEO Lesson2 File List

Here is a list of all documented files with brief descriptions: - -
main.cpp [code]
-
Generated on Sat Dec 30 14:55:34 2006 for ParadisEO-PEO Lesson2 by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2blank.png b/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2blank.png deleted file mode 100644 index 493c3c0b6..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2blank.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2doc.png b/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2doc.png deleted file mode 100644 index f72999f92..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2doc.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2folderclosed.png b/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2folderclosed.png deleted file mode 100644 index d6d063440..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2folderclosed.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2folderopen.png b/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2folderopen.png deleted file mode 100644 index bbe2c913c..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2folderopen.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2lastnode.png b/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2lastnode.png deleted file mode 100644 index e7b9ba90c..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2lastnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2link.png b/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2link.png deleted file mode 100644 index 14f3fed00..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2link.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2mlastnode.png b/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2mlastnode.png deleted file mode 100644 index 09ceb6adb..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2mlastnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2mnode.png b/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2mnode.png deleted file mode 100644 index 3254c0511..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2mnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2node.png b/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2node.png deleted file mode 100644 index c9f06a57f..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2node.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2plastnode.png b/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2plastnode.png deleted file mode 100644 index 0b07e0091..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2plastnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2pnode.png b/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2pnode.png deleted file mode 100644 index 2001b797b..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2pnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2vertline.png b/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2vertline.png deleted file mode 100644 index b330f3a33..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/html/ftv2vertline.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/index.html b/trunk/paradiseo-peo/docs/html/lesson2/html/index.html deleted file mode 100644 index 772d0834e..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson2/html/index.html +++ /dev/null @@ -1,8 +0,0 @@ - - -ParadisEO-PEO Lesson2 - - - - - diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/installdox b/trunk/paradiseo-peo/docs/html/lesson2/html/installdox deleted file mode 100755 index 772efebb2..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson2/html/installdox +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/perl - -%subst = ( "eo.doxytag", "", "mo.doxytag", "", "paradiseo-peo.doxytag", "", "paradiseo-peo-lsn-shared.doxytag", ""); -$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/docs/html/lesson2/html/main.html b/trunk/paradiseo-peo/docs/html/lesson2/html/main.html deleted file mode 100644 index 542699f0f..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson2/html/main.html +++ /dev/null @@ -1,29 +0,0 @@ - - -ParadisEO-PEO Lesson2: Main Page - - - - -
-
-

ParadisEO-PEO Lesson2 Documentation

-

-

0.1


Generated on Sat Dec 30 14:55:34 2006 for ParadisEO-PEO Lesson2 by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/main_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lesson2/html/main_8cpp-source.html deleted file mode 100644 index d427cab26..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson2/html/main_8cpp-source.html +++ /dev/null @@ -1,198 +0,0 @@ - - -ParadisEO-PEO Lesson2: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO Lesson2 by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/search.idx b/trunk/paradiseo-peo/docs/html/lesson2/html/search.idx deleted file mode 100644 index 290d02717..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/html/search.idx and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/search.php b/trunk/paradiseo-peo/docs/html/lesson2/html/search.php deleted file mode 100644 index 1cfc22e42..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson2/html/search.php +++ /dev/null @@ -1,380 +0,0 @@ - - -Search - - - - -
-
    -
  • Main Page
  • -
  • 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO Lesson2 by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/tab_b.gif b/trunk/paradiseo-peo/docs/html/lesson2/html/tab_b.gif deleted file mode 100644 index 0d623483f..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/html/tab_b.gif and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/tab_l.gif b/trunk/paradiseo-peo/docs/html/lesson2/html/tab_l.gif deleted file mode 100644 index 9b1e6337c..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/html/tab_l.gif and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/tab_r.gif b/trunk/paradiseo-peo/docs/html/lesson2/html/tab_r.gif deleted file mode 100644 index ce9dd9f53..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/html/tab_r.gif and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/html/tabs.css b/trunk/paradiseo-peo/docs/html/lesson2/html/tabs.css deleted file mode 100644 index a61552a67..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson2/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/docs/html/lesson2/html/tree.html b/trunk/paradiseo-peo/docs/html/lesson2/html/tree.html deleted file mode 100644 index b5d9f9757..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson2/html/tree.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - TreeView - - - - -
-

ParadisEO-PEO Lesson2

-
-

\+File List

-
-

 \*main.cpp

-
-
-
- - diff --git a/trunk/paradiseo-peo/docs/html/lesson2/latex/FreeSans.ttf b/trunk/paradiseo-peo/docs/html/lesson2/latex/FreeSans.ttf deleted file mode 100644 index b550b90ba..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lesson2/latex/FreeSans.ttf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lesson2/latex/Makefile b/trunk/paradiseo-peo/docs/html/lesson2/latex/Makefile deleted file mode 100644 index a67f1b7f6..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson2/latex/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -all: clean refman.pdf - -refman.pdf: refman.tex - pdflatex refman.tex - makeindex refman.idx - pdflatex 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...." ;\ - pdflatex refman.tex ;\ - latex_count=`expr $$latex_count - 1` ;\ - done - - -clean: - rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf diff --git a/trunk/paradiseo-peo/docs/html/lesson2/latex/doxygen.sty b/trunk/paradiseo-peo/docs/html/lesson2/latex/doxygen.sty deleted file mode 100644 index 88ce18016..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson2/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 Sat Dec 30 14:55:34 2006 for Paradis\-EO-PEO Lesson2 by Doxygen }]{} -\lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Sat Dec 30 14:55:34 2006 for Paradis\-EO-PEO Lesson2 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/docs/html/lesson2/latex/refman.tex b/trunk/paradiseo-peo/docs/html/lesson2/latex/refman.tex deleted file mode 100644 index 36ca3bfd7..000000000 --- a/trunk/paradiseo-peo/docs/html/lesson2/latex/refman.tex +++ /dev/null @@ -1,47 +0,0 @@ -\documentclass[a4paper]{book} -\usepackage{a4wide} -\usepackage{makeidx} -\usepackage{fancyhdr} -\usepackage{graphicx} -\usepackage{multicol} -\usepackage{float} -\usepackage{textcomp} -\usepackage{alltt} -\usepackage{times} -\usepackage{ifpdf} -\ifpdf -\usepackage[pdftex, - pagebackref=true, - colorlinks=true, - linkcolor=blue - ]{hyperref} -\else -\usepackage[ps2pdf, - pagebackref=true, - colorlinks=true, - linkcolor=blue - ]{hyperref} -\usepackage{pspicture} -\fi -\usepackage{doxygen} -\makeindex -\setcounter{tocdepth}{1} -\renewcommand{\footrulewidth}{0.4pt} -\begin{document} -\begin{titlepage} -\vspace*{7cm} -\begin{center} -{\Large Paradis\-EO-PEO Lesson2 Reference Manual\\[1ex]\large 0.1 }\\ -\vspace*{1cm} -{\large Generated by Doxygen 1.4.7}\\ -\vspace*{0.5cm} -{\small Sat Dec 30 14:55:34 2006}\\ -\end{center} -\end{titlepage} -\clearemptydoublepage -\pagenumbering{roman} -\tableofcontents -\clearemptydoublepage -\pagenumbering{arabic} -\printindex -\end{document} diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/annotated.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/annotated.html deleted file mode 100644 index 94f7de379..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/annotated.html +++ /dev/null @@ -1,51 +0,0 @@ - - -ParadisEO-PEO - Lessons: Class List - - - - -
-
- -

ParadisEO-PEO - Lessons Class List

Here are the classes, structs, unions and interfaces with brief descriptions: - - - - - - - - - - - - - - -
CitySwapIts swaps two vertices randomly choosen
DisplayBestRoute
EdgeXoverEdge Crossover
MergeRouteEval
OrderXoverOrder Crossover
PartialMappedXoverPartial Mapped Crossover
PartRouteEvalRoute Evaluator
RouteEval
RouteInit
TwoOpt
TwoOptIncrEval
TwoOptInit
TwoOptNext
TwoOptRand
-
Generated on Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/city__swap_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/city__swap_8cpp-source.html deleted file mode 100644 index 3b48f012b..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/city__swap_8cpp-source.html +++ /dev/null @@ -1,64 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/city__swap_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/city__swap_8h-source.html deleted file mode 100644 index 7fc147e77..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/city__swap_8h-source.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classCitySwap-members.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classCitySwap-members.html deleted file mode 100644 index cdc569808..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classCitySwap-members.html +++ /dev/null @@ -1,37 +0,0 @@ - - -ParadisEO-PEO - Lessons: Member List - - - - -
-
- -

CitySwap Member List

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

- -
operator()(Route &__route)CitySwap


Generated on Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classCitySwap.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classCitySwap.html deleted file mode 100644 index 17537647b..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classCitySwap.html +++ /dev/null @@ -1,54 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classDisplayBestRoute-members.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classDisplayBestRoute-members.html deleted file mode 100644 index a7d0a1224..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classDisplayBestRoute-members.html +++ /dev/null @@ -1,39 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classDisplayBestRoute.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classDisplayBestRoute.html deleted file mode 100644 index 2ad3aba9a..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classDisplayBestRoute.html +++ /dev/null @@ -1,56 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classEdgeXover-members.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classEdgeXover-members.html deleted file mode 100644 index 0e2d0fca4..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classEdgeXover-members.html +++ /dev/null @@ -1,43 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classEdgeXover.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classEdgeXover.html deleted file mode 100644 index 1e20cc806..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classEdgeXover.html +++ /dev/null @@ -1,74 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classMergeRouteEval-members.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classMergeRouteEval-members.html deleted file mode 100644 index ded3b4e6d..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classMergeRouteEval-members.html +++ /dev/null @@ -1,37 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classMergeRouteEval.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classMergeRouteEval.html deleted file mode 100644 index c313f779d..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classMergeRouteEval.html +++ /dev/null @@ -1,54 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classMergeRouteEval.png b/trunk/paradiseo-peo/docs/html/lsnshared/html/classMergeRouteEval.png deleted file mode 100644 index 7e4737d67..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/classMergeRouteEval.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classOrderXover-members.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classOrderXover-members.html deleted file mode 100644 index 94ae35569..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classOrderXover-members.html +++ /dev/null @@ -1,38 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classOrderXover.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classOrderXover.html deleted file mode 100644 index 1200a51dd..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classOrderXover.html +++ /dev/null @@ -1,58 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classPartRouteEval-members.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classPartRouteEval-members.html deleted file mode 100644 index e4131c218..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classPartRouteEval-members.html +++ /dev/null @@ -1,40 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classPartRouteEval.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classPartRouteEval.html deleted file mode 100644 index 3f12215fa..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classPartRouteEval.html +++ /dev/null @@ -1,65 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classPartialMappedXover-members.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classPartialMappedXover-members.html deleted file mode 100644 index 3860423a1..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classPartialMappedXover-members.html +++ /dev/null @@ -1,38 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classPartialMappedXover.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classPartialMappedXover.html deleted file mode 100644 index 50375e370..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classPartialMappedXover.html +++ /dev/null @@ -1,58 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classRouteEval-members.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classRouteEval-members.html deleted file mode 100644 index aa773d444..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classRouteEval-members.html +++ /dev/null @@ -1,37 +0,0 @@ - - -ParadisEO-PEO - Lessons: Member List - - - - -
-
- -

RouteEval Member List

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

- -
operator()(Route &__route)RouteEval


Generated on Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classRouteEval.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classRouteEval.html deleted file mode 100644 index 9bb5e1ceb..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classRouteEval.html +++ /dev/null @@ -1,49 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classRouteInit-members.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classRouteInit-members.html deleted file mode 100644 index e866830f6..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classRouteInit-members.html +++ /dev/null @@ -1,37 +0,0 @@ - - -ParadisEO-PEO - Lessons: Member List - - - - -
-
- -

RouteInit Member List

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

- -
operator()(Route &__route)RouteInit


Generated on Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classRouteInit.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classRouteInit.html deleted file mode 100644 index 720a2c6d0..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classRouteInit.html +++ /dev/null @@ -1,49 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOpt-members.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOpt-members.html deleted file mode 100644 index a9068a5ed..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOpt-members.html +++ /dev/null @@ -1,37 +0,0 @@ - - -ParadisEO-PEO - Lessons: Member List - - - - -
-
- -

TwoOpt Member List

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

- -
operator()(Route &__route)TwoOpt


Generated on Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOpt.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOpt.html deleted file mode 100644 index 1672215f7..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOpt.html +++ /dev/null @@ -1,49 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptIncrEval-members.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptIncrEval-members.html deleted file mode 100644 index 15022c5b0..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptIncrEval-members.html +++ /dev/null @@ -1,37 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptIncrEval.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptIncrEval.html deleted file mode 100644 index c5dcd3284..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptIncrEval.html +++ /dev/null @@ -1,49 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptInit-members.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptInit-members.html deleted file mode 100644 index fa1fa0576..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptInit-members.html +++ /dev/null @@ -1,37 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptInit.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptInit.html deleted file mode 100644 index b8d33b046..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptInit.html +++ /dev/null @@ -1,49 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptNext-members.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptNext-members.html deleted file mode 100644 index 9d3bd6715..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptNext-members.html +++ /dev/null @@ -1,37 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptNext.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptNext.html deleted file mode 100644 index b4e1f2676..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptNext.html +++ /dev/null @@ -1,49 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptRand-members.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptRand-members.html deleted file mode 100644 index 9d165d189..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptRand-members.html +++ /dev/null @@ -1,37 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptRand.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptRand.html deleted file mode 100644 index cdd9c875c..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classTwoOptRand.html +++ /dev/null @@ -1,49 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/classes.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/classes.html deleted file mode 100644 index 2e012eacf..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/classes.html +++ /dev/null @@ -1,46 +0,0 @@ - - -ParadisEO-PEO - Lessons: Alphabetical List - - - - -
-
- -

ParadisEO-PEO - Lessons Class Index

C | D | E | M | O | P | R | T

- -
  C  
-
  O  
-
RouteInit   
CitySwap   OrderXover   
  T  
-
  D  
-
  P  
-
TwoOpt   
DisplayBestRoute   PartialMappedXover   TwoOptIncrEval   
  E  
-
PartRouteEval   TwoOptInit   
EdgeXover   
  R  
-
TwoOptNext   
  M  
-
RouteEval   TwoOptRand   
MergeRouteEval   

C | D | E | M | O | P | R | T

-


Generated on Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/data_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/data_8cpp-source.html deleted file mode 100644 index 1fa9f55fb..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/data_8cpp-source.html +++ /dev/null @@ -1,141 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/data_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/data_8h-source.html deleted file mode 100644 index 2f038b5ac..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/data_8h-source.html +++ /dev/null @@ -1,61 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/display_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/display_8cpp-source.html deleted file mode 100644 index 58f024e4a..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/display_8cpp-source.html +++ /dev/null @@ -1,160 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/display_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/display_8h-source.html deleted file mode 100644 index 8bf5521c2..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/display_8h-source.html +++ /dev/null @@ -1,59 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/display__best__route_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/display__best__route_8cpp-source.html deleted file mode 100644 index 19e321a60..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/display__best__route_8cpp-source.html +++ /dev/null @@ -1,65 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/display__best__route_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/display__best__route_8h-source.html deleted file mode 100644 index b414e0f47..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/display__best__route_8h-source.html +++ /dev/null @@ -1,75 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/doxygen.css b/trunk/paradiseo-peo/docs/html/lsnshared/html/doxygen.css deleted file mode 100644 index 5d583694e..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/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/docs/html/lsnshared/html/doxygen.png b/trunk/paradiseo-peo/docs/html/lsnshared/html/doxygen.png deleted file mode 100644 index f0a274bba..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/doxygen.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/edge__xover_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/edge__xover_8cpp-source.html deleted file mode 100644 index 5c7fc6bf3..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/edge__xover_8cpp-source.html +++ /dev/null @@ -1,161 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/edge__xover_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/edge__xover_8h-source.html deleted file mode 100644 index a95e232e8..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/edge__xover_8h-source.html +++ /dev/null @@ -1,85 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/files.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/files.html deleted file mode 100644 index f2d972fa7..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/files.html +++ /dev/null @@ -1,71 +0,0 @@ - - -ParadisEO-PEO - Lessons: File Index - - - - -
-
-

ParadisEO-PEO - Lessons File List

Here is a list of all documented files with brief descriptions: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
city_swap.cpp [code]
city_swap.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]
merge_route_eval.cpp [code]
merge_route_eval.h [code]
mix.h [code]
node.cpp [code]
node.h [code]
opt_route.cpp [code]
opt_route.h [code]
order_xover.cpp [code]
order_xover.h [code]
param.cpp [code]
param.h [code]
part_route_eval.cpp [code]
part_route_eval.h [code]
partial_mapped_xover.cpp [code]
partial_mapped_xover.h [code]
route.cpp [code]
route.h [code]
route_eval.cpp [code]
route_eval.h [code]
route_init.cpp [code]
route_init.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]
-
Generated on Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2blank.png b/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2blank.png deleted file mode 100644 index 493c3c0b6..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2blank.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2doc.png b/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2doc.png deleted file mode 100644 index f72999f92..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2doc.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2folderclosed.png b/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2folderclosed.png deleted file mode 100644 index d6d063440..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2folderclosed.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2folderopen.png b/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2folderopen.png deleted file mode 100644 index bbe2c913c..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2folderopen.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2lastnode.png b/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2lastnode.png deleted file mode 100644 index e7b9ba90c..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2lastnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2link.png b/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2link.png deleted file mode 100644 index 14f3fed00..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2link.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2mlastnode.png b/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2mlastnode.png deleted file mode 100644 index 09ceb6adb..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2mlastnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2mnode.png b/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2mnode.png deleted file mode 100644 index 3254c0511..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2mnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2node.png b/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2node.png deleted file mode 100644 index c9f06a57f..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2node.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2plastnode.png b/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2plastnode.png deleted file mode 100644 index 0b07e0091..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2plastnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2pnode.png b/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2pnode.png deleted file mode 100644 index 2001b797b..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2pnode.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2vertline.png b/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2vertline.png deleted file mode 100644 index b330f3a33..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/ftv2vertline.png and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/functions.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/functions.html deleted file mode 100644 index eb91b948e..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/functions.html +++ /dev/null @@ -1,59 +0,0 @@ - - -ParadisEO-PEO - Lessons: Class Members - - - - -
-
- -
- -
-Here is a list of all documented class members with links to the class documentation for each member: -

-

-
Generated on Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/functions_func.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/functions_func.html deleted file mode 100644 index 88b3890a6..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/functions_func.html +++ /dev/null @@ -1,54 +0,0 @@ - - -ParadisEO-PEO - Lessons: Class Members - Functions - - - - -
-
- -
- -
-  -

-

-
Generated on Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/functions_vars.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/functions_vars.html deleted file mode 100644 index 7d3de58ce..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/functions_vars.html +++ /dev/null @@ -1,51 +0,0 @@ - - -ParadisEO-PEO - Lessons: Class Members - Variables - - - - -
-
- -
- -
-  -

-

-
Generated on Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/hierarchy.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/hierarchy.html deleted file mode 100644 index 0682c2e0e..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/hierarchy.html +++ /dev/null @@ -1,54 +0,0 @@ - - -ParadisEO-PEO - Lessons: Hierarchical Index - - - - -
-
- -

ParadisEO-PEO - Lessons Class Hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically: -
Generated on Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/index.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/index.html deleted file mode 100644 index b314cec43..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/index.html +++ /dev/null @@ -1,8 +0,0 @@ - - -ParadisEO-PEO - Lessons - - - - - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/installdox b/trunk/paradiseo-peo/docs/html/lsnshared/html/installdox deleted file mode 100755 index f3d953616..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/installdox +++ /dev/null @@ -1,117 +0,0 @@ -#!/usr/bin/perl - -%subst = ( "eo.doxytag", "", "mo.doxytag", "", "paradiseo-peo.doxytag", ""); -$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/docs/html/lsnshared/html/main.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/main.html deleted file mode 100644 index a0fdf213f..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/main.html +++ /dev/null @@ -1,30 +0,0 @@ - - -ParadisEO-PEO - Lessons: Main Page - - - - -
-
-

ParadisEO-PEO - Lessons Documentation

-

-

0.1


Generated on Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/merge__route__eval_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/merge__route__eval_8cpp-source.html deleted file mode 100644 index afe279ca1..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/merge__route__eval_8cpp-source.html +++ /dev/null @@ -1,60 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/merge__route__eval_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/merge__route__eval_8h-source.html deleted file mode 100644 index 8ace19c5c..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/merge__route__eval_8h-source.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/mix_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/mix_8h-source.html deleted file mode 100644 index 4ef9f5eb5..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/mix_8h-source.html +++ /dev/null @@ -1,53 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/node_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/node_8cpp-source.html deleted file mode 100644 index ddcd000af..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/node_8cpp-source.html +++ /dev/null @@ -1,120 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/node_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/node_8h-source.html deleted file mode 100644 index b01c51696..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/node_8h-source.html +++ /dev/null @@ -1,69 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/opt__route_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/opt__route_8cpp-source.html deleted file mode 100644 index e15863894..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/opt__route_8cpp-source.html +++ /dev/null @@ -1,150 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/opt__route_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/opt__route_8h-source.html deleted file mode 100644 index cff709696..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/opt__route_8h-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/order__xover_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/order__xover_8cpp-source.html deleted file mode 100644 index c92ef1636..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/order__xover_8cpp-source.html +++ /dev/null @@ -1,107 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/order__xover_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/order__xover_8h-source.html deleted file mode 100644 index 7921c37b1..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/order__xover_8h-source.html +++ /dev/null @@ -1,70 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/param_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/param_8cpp-source.html deleted file mode 100644 index 3cb37a502..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/param_8cpp-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/param_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/param_8h-source.html deleted file mode 100644 index 916b9b20e..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/param_8h-source.html +++ /dev/null @@ -1,57 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/part__route__eval_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/part__route__eval_8cpp-source.html deleted file mode 100644 index 350c405f2..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/part__route__eval_8cpp-source.html +++ /dev/null @@ -1,73 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/part__route__eval_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/part__route__eval_8h-source.html deleted file mode 100644 index 52f0fe96f..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/part__route__eval_8h-source.html +++ /dev/null @@ -1,74 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/partial__mapped__xover_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/partial__mapped__xover_8cpp-source.html deleted file mode 100644 index 396f8f39a..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/partial__mapped__xover_8cpp-source.html +++ /dev/null @@ -1,104 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/partial__mapped__xover_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/partial__mapped__xover_8h-source.html deleted file mode 100644 index 2ef19ed41..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/partial__mapped__xover_8h-source.html +++ /dev/null @@ -1,70 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/route_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/route_8cpp-source.html deleted file mode 100644 index b2a01dd00..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/route_8cpp-source.html +++ /dev/null @@ -1,64 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/route_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/route_8h-source.html deleted file mode 100644 index 376f27a1f..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/route_8h-source.html +++ /dev/null @@ -1,63 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/route__eval_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/route__eval_8cpp-source.html deleted file mode 100644 index 318369d75..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/route__eval_8cpp-source.html +++ /dev/null @@ -1,57 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/route__eval_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/route__eval_8h-source.html deleted file mode 100644 index 2bf15ad49..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/route__eval_8h-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/route__init_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/route__init_8cpp-source.html deleted file mode 100644 index 34b491f0b..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/route__init_8cpp-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/route__init_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/route__init_8h-source.html deleted file mode 100644 index 386a3b9d7..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/route__init_8h-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/search.idx b/trunk/paradiseo-peo/docs/html/lsnshared/html/search.idx deleted file mode 100644 index 5ef79e861..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/search.idx and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/search.php b/trunk/paradiseo-peo/docs/html/lsnshared/html/search.php deleted file mode 100644 index a2d7ed493..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/search.php +++ /dev/null @@ -1,381 +0,0 @@ - - -Search - - - - -
-
    -
  • Main Page
  • -
  • 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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/tab_b.gif b/trunk/paradiseo-peo/docs/html/lsnshared/html/tab_b.gif deleted file mode 100644 index 0d623483f..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/tab_b.gif and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/tab_l.gif b/trunk/paradiseo-peo/docs/html/lsnshared/html/tab_l.gif deleted file mode 100644 index 9b1e6337c..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/tab_l.gif and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/tab_r.gif b/trunk/paradiseo-peo/docs/html/lsnshared/html/tab_r.gif deleted file mode 100644 index ce9dd9f53..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/html/tab_r.gif and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/tabs.css b/trunk/paradiseo-peo/docs/html/lsnshared/html/tabs.css deleted file mode 100644 index a61552a67..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/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/docs/html/lsnshared/html/tree.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/tree.html deleted file mode 100644 index 5819a84f8..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/tree.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - TreeView - - - - -
-

ParadisEO-PEO - Lessons

-
-

o+Class List

- -

o+Class Hierarchy

- -

o*Class Members

-

\+File List

-
-

 o*city_swap.cpp

-

 o*city_swap.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*merge_route_eval.cpp

-

 o*merge_route_eval.h

-

 o*mix.h

-

 o*node.cpp

-

 o*node.h

-

 o*opt_route.cpp

-

 o*opt_route.h

-

 o*order_xover.cpp

-

 o*order_xover.h

-

 o*param.cpp

-

 o*param.h

-

 o*part_route_eval.cpp

-

 o*part_route_eval.h

-

 o*partial_mapped_xover.cpp

-

 o*partial_mapped_xover.h

-

 o*route.cpp

-

 o*route.h

-

 o*route_eval.cpp

-

 o*route_eval.h

-

 o*route_init.cpp

-

 o*route_init.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

-

 \*two_opt_rand.h

-
-
-
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt_8cpp-source.html deleted file mode 100644 index 333f38969..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt_8cpp-source.html +++ /dev/null @@ -1,63 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt_8h-source.html deleted file mode 100644 index 1f6869098..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt_8h-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__incr__eval_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__incr__eval_8cpp-source.html deleted file mode 100644 index 1b8c98bb1..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__incr__eval_8cpp-source.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__incr__eval_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__incr__eval_8h-source.html deleted file mode 100644 index 7e632835f..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__incr__eval_8h-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__init_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__init_8cpp-source.html deleted file mode 100644 index 67d9bdb3c..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__init_8cpp-source.html +++ /dev/null @@ -1,57 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__init_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__init_8h-source.html deleted file mode 100644 index 5b01cf079..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__init_8h-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__next_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__next_8cpp-source.html deleted file mode 100644 index 02c98fe72..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__next_8cpp-source.html +++ /dev/null @@ -1,70 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__next_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__next_8h-source.html deleted file mode 100644 index 5063e2516..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__next_8h-source.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__rand_8cpp-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__rand_8cpp-source.html deleted file mode 100644 index 389c23747..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__rand_8cpp-source.html +++ /dev/null @@ -1,64 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__rand_8h-source.html b/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__rand_8h-source.html deleted file mode 100644 index 243c7f750..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/html/two__opt__rand_8h-source.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO-PEO - Lessons: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:34 2006 for ParadisEO-PEO - Lessons by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/latex/FreeSans.ttf b/trunk/paradiseo-peo/docs/html/lsnshared/latex/FreeSans.ttf deleted file mode 100644 index b550b90ba..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/latex/FreeSans.ttf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/latex/Makefile b/trunk/paradiseo-peo/docs/html/lsnshared/latex/Makefile deleted file mode 100644 index a67f1b7f6..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -all: clean refman.pdf - -refman.pdf: refman.tex - pdflatex refman.tex - makeindex refman.idx - pdflatex 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...." ;\ - pdflatex refman.tex ;\ - latex_count=`expr $$latex_count - 1` ;\ - done - - -clean: - rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/latex/annotated.tex b/trunk/paradiseo-peo/docs/html/lsnshared/latex/annotated.tex deleted file mode 100644 index 83e41358f..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/annotated.tex +++ /dev/null @@ -1,17 +0,0 @@ -\section{Paradis\-EO-PEO - Lessons Class List} -Here are the classes, structs, unions and interfaces with brief descriptions:\begin{CompactList} -\item\contentsline{section}{\hyperlink{classCitySwap}{City\-Swap} (Its swaps two vertices randomly choosen )}{\pageref{classCitySwap}}{} -\item\contentsline{section}{\hyperlink{classDisplayBestRoute}{Display\-Best\-Route} }{\pageref{classDisplayBestRoute}}{} -\item\contentsline{section}{\hyperlink{classEdgeXover}{Edge\-Xover} (Edge Crossover )}{\pageref{classEdgeXover}}{} -\item\contentsline{section}{\hyperlink{classMergeRouteEval}{Merge\-Route\-Eval} }{\pageref{classMergeRouteEval}}{} -\item\contentsline{section}{\hyperlink{classOrderXover}{Order\-Xover} (Order Crossover )}{\pageref{classOrderXover}}{} -\item\contentsline{section}{\hyperlink{classPartialMappedXover}{Partial\-Mapped\-Xover} (Partial Mapped Crossover )}{\pageref{classPartialMappedXover}}{} -\item\contentsline{section}{\hyperlink{classPartRouteEval}{Part\-Route\-Eval} (Route Evaluator )}{\pageref{classPartRouteEval}}{} -\item\contentsline{section}{\hyperlink{classRouteEval}{Route\-Eval} }{\pageref{classRouteEval}}{} -\item\contentsline{section}{\hyperlink{classRouteInit}{Route\-Init} }{\pageref{classRouteInit}}{} -\item\contentsline{section}{\hyperlink{classTwoOpt}{Two\-Opt} }{\pageref{classTwoOpt}}{} -\item\contentsline{section}{\hyperlink{classTwoOptIncrEval}{Two\-Opt\-Incr\-Eval} }{\pageref{classTwoOptIncrEval}}{} -\item\contentsline{section}{\hyperlink{classTwoOptInit}{Two\-Opt\-Init} }{\pageref{classTwoOptInit}}{} -\item\contentsline{section}{\hyperlink{classTwoOptNext}{Two\-Opt\-Next} }{\pageref{classTwoOptNext}}{} -\item\contentsline{section}{\hyperlink{classTwoOptRand}{Two\-Opt\-Rand} }{\pageref{classTwoOptRand}}{} -\end{CompactList} diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classCitySwap.tex b/trunk/paradiseo-peo/docs/html/lsnshared/latex/classCitySwap.tex deleted file mode 100644 index 0a8bffa90..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classCitySwap.tex +++ /dev/null @@ -1,30 +0,0 @@ -\hypertarget{classCitySwap}{ -\section{City\-Swap Class Reference} -\label{classCitySwap}\index{CitySwap@{CitySwap}} -} -Its swaps two vertices randomly choosen. - - -{\tt \#include $<$city\_\-swap.h$>$} - -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classCitySwap_7e6958b62048c89604cbf046b86bdf2d}{ -bool \hyperlink{classCitySwap_7e6958b62048c89604cbf046b86bdf2d}{operator()} (Route \&\_\-\_\-route)} -\label{classCitySwap_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/docs/html/lsnshared/latex/classDisplayBestRoute.tex b/trunk/paradiseo-peo/docs/html/lsnshared/latex/classDisplayBestRoute.tex deleted file mode 100644 index 5d50344b3..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classDisplayBestRoute.tex +++ /dev/null @@ -1,38 +0,0 @@ -\hypertarget{classDisplayBestRoute}{ -\section{Display\-Best\-Route Class Reference} -\label{classDisplayBestRoute}\index{DisplayBestRoute@{DisplayBestRoute}} -} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classDisplayBestRoute_db263e38f1e82174f811bf62f323f87f}{ -\hyperlink{classDisplayBestRoute_db263e38f1e82174f811bf62f323f87f}{Display\-Best\-Route} (eo\-Pop$<$ Route $>$ \&\_\-\_\-pop)} -\label{classDisplayBestRoute_db263e38f1e82174f811bf62f323f87f} - -\item -\hypertarget{classDisplayBestRoute_ee879344a6d8b81a04d4eabbed2c7a04}{ -void \hyperlink{classDisplayBestRoute_ee879344a6d8b81a04d4eabbed2c7a04}{operator()} ()} -\label{classDisplayBestRoute_ee879344a6d8b81a04d4eabbed2c7a04} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -\hypertarget{classDisplayBestRoute_5270aabbf294d2deca9878934216eb89}{ -eo\-Pop$<$ Route $>$ \& \hyperlink{classDisplayBestRoute_5270aabbf294d2deca9878934216eb89}{pop}} -\label{classDisplayBestRoute_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/docs/html/lsnshared/latex/classEdgeXover.tex b/trunk/paradiseo-peo/docs/html/lsnshared/latex/classEdgeXover.tex deleted file mode 100644 index cfeb546f0..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classEdgeXover.tex +++ /dev/null @@ -1,66 +0,0 @@ -\hypertarget{classEdgeXover}{ -\section{Edge\-Xover Class Reference} -\label{classEdgeXover}\index{EdgeXover@{EdgeXover}} -} -Edge Crossover. - - -{\tt \#include $<$edge\_\-xover.h$>$} - -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classEdgeXover_cb1c0a103106a4d3319540cb23163a79}{ -bool \hyperlink{classEdgeXover_cb1c0a103106a4d3319540cb23163a79}{operator()} (Route \&\_\-\_\-route1, Route \&\_\-\_\-route2)} -\label{classEdgeXover_cb1c0a103106a4d3319540cb23163a79} - -\end{CompactItemize} -\subsection*{Private Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classEdgeXover_88c2d4c9a878454a32d56010f3dddc27}{ -void \hyperlink{classEdgeXover_88c2d4c9a878454a32d56010f3dddc27}{cross} (const Route \&\_\-\_\-par1, const Route \&\_\-\_\-par2, Route \&\_\-\_\-child)} -\label{classEdgeXover_88c2d4c9a878454a32d56010f3dddc27} - -\item -\hypertarget{classEdgeXover_1b3a4c75dd9a034c81af6d89d85d30f5}{ -void \hyperlink{classEdgeXover_1b3a4c75dd9a034c81af6d89d85d30f5}{remove\_\-entry} (unsigned \_\-\_\-vertex, std::vector$<$ std::set$<$ unsigned $>$ $>$ \&\_\-\_\-map)} -\label{classEdgeXover_1b3a4c75dd9a034c81af6d89d85d30f5} - -\item -\hypertarget{classEdgeXover_04de96aa1016836e0ba5f4b952a5fa16}{ -void \hyperlink{classEdgeXover_04de96aa1016836e0ba5f4b952a5fa16}{build\_\-map} (const Route \&\_\-\_\-par1, const Route \&\_\-\_\-par2)} -\label{classEdgeXover_04de96aa1016836e0ba5f4b952a5fa16} - -\item -\hypertarget{classEdgeXover_2d3045ef503d8b16a27e11fdc23ca11c}{ -void \hyperlink{classEdgeXover_2d3045ef503d8b16a27e11fdc23ca11c}{add\_\-vertex} (unsigned \_\-\_\-vertex, Route \&\_\-\_\-child)} -\label{classEdgeXover_2d3045ef503d8b16a27e11fdc23ca11c} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -\hypertarget{classEdgeXover_d41399c6effb54ee48c722f1e19cb3c3}{ -std::vector$<$ std::set$<$ unsigned $>$ $>$ \hyperlink{classEdgeXover_d41399c6effb54ee48c722f1e19cb3c3}{\_\-map}} -\label{classEdgeXover_d41399c6effb54ee48c722f1e19cb3c3} - -\item -\hypertarget{classEdgeXover_46d4d4724cf6d660b1a7ab4a346573d4}{ -std::vector$<$ bool $>$ \hyperlink{classEdgeXover_46d4d4724cf6d660b1a7ab4a346573d4}{visited}} -\label{classEdgeXover_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/docs/html/lsnshared/latex/classMergeRouteEval.eps b/trunk/paradiseo-peo/docs/html/lsnshared/latex/classMergeRouteEval.eps deleted file mode 100644 index 042e549fd..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classMergeRouteEval.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/docs/html/lsnshared/latex/classMergeRouteEval.pdf b/trunk/paradiseo-peo/docs/html/lsnshared/latex/classMergeRouteEval.pdf deleted file mode 100644 index 79d35a3e0..000000000 Binary files a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classMergeRouteEval.pdf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classMergeRouteEval.tex b/trunk/paradiseo-peo/docs/html/lsnshared/latex/classMergeRouteEval.tex deleted file mode 100644 index e1e258478..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classMergeRouteEval.tex +++ /dev/null @@ -1,31 +0,0 @@ -\hypertarget{classMergeRouteEval}{ -\section{Merge\-Route\-Eval Class Reference} -\label{classMergeRouteEval}\index{MergeRouteEval@{MergeRouteEval}} -} -Inheritance diagram for Merge\-Route\-Eval::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2cm]{classMergeRouteEval} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classMergeRouteEval_29cb0028ac0df4b2cee3a809c8f35dea}{ -void \hyperlink{classMergeRouteEval_29cb0028ac0df4b2cee3a809c8f35dea}{operator()} (Route \&\_\-\_\-route, const int \&\_\-\_\-part\_\-fit)} -\label{classMergeRouteEval_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/docs/html/lsnshared/latex/classOrderXover.tex b/trunk/paradiseo-peo/docs/html/lsnshared/latex/classOrderXover.tex deleted file mode 100644 index 6eeb6c3af..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classOrderXover.tex +++ /dev/null @@ -1,38 +0,0 @@ -\hypertarget{classOrderXover}{ -\section{Order\-Xover Class Reference} -\label{classOrderXover}\index{OrderXover@{OrderXover}} -} -Order Crossover. - - -{\tt \#include $<$order\_\-xover.h$>$} - -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classOrderXover_0ff6aada669eb8173322ed68cda1ac61}{ -bool \hyperlink{classOrderXover_0ff6aada669eb8173322ed68cda1ac61}{operator()} (Route \&\_\-\_\-route1, Route \&\_\-\_\-route2)} -\label{classOrderXover_0ff6aada669eb8173322ed68cda1ac61} - -\end{CompactItemize} -\subsection*{Private Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classOrderXover_d2bf90b5f46ac4a344777e17bc5f364d}{ -void \hyperlink{classOrderXover_d2bf90b5f46ac4a344777e17bc5f364d}{cross} (const Route \&\_\-\_\-par1, const Route \&\_\-\_\-par2, Route \&\_\-\_\-child)} -\label{classOrderXover_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/docs/html/lsnshared/latex/classPartRouteEval.tex b/trunk/paradiseo-peo/docs/html/lsnshared/latex/classPartRouteEval.tex deleted file mode 100644 index 661c46998..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classPartRouteEval.tex +++ /dev/null @@ -1,48 +0,0 @@ -\hypertarget{classPartRouteEval}{ -\section{Part\-Route\-Eval Class Reference} -\label{classPartRouteEval}\index{PartRouteEval@{PartRouteEval}} -} -Route Evaluator. - - -{\tt \#include $<$part\_\-route\_\-eval.h$>$} - -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classPartRouteEval_a331566b29bc3227f377004232f05491}{ -\hyperlink{classPartRouteEval_a331566b29bc3227f377004232f05491}{Part\-Route\-Eval} (float \_\-\_\-from, float \_\-\_\-to)} -\label{classPartRouteEval_a331566b29bc3227f377004232f05491} - -\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item -\hypertarget{classPartRouteEval_965fab875fb601f17934a6ece761beae}{ -void \hyperlink{classPartRouteEval_965fab875fb601f17934a6ece761beae}{operator()} (Route \&\_\-\_\-route)} -\label{classPartRouteEval_965fab875fb601f17934a6ece761beae} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -\hypertarget{classPartRouteEval_5bde722e66378b2570ae6c4b4f8df58e}{ -float \hyperlink{classPartRouteEval_5bde722e66378b2570ae6c4b4f8df58e}{from}} -\label{classPartRouteEval_5bde722e66378b2570ae6c4b4f8df58e} - -\item -\hypertarget{classPartRouteEval_de53cc919faa498663f327b72c357da3}{ -float \hyperlink{classPartRouteEval_de53cc919faa498663f327b72c357da3}{to}} -\label{classPartRouteEval_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/docs/html/lsnshared/latex/classPartialMappedXover.tex b/trunk/paradiseo-peo/docs/html/lsnshared/latex/classPartialMappedXover.tex deleted file mode 100644 index 18861607a..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classPartialMappedXover.tex +++ /dev/null @@ -1,38 +0,0 @@ -\hypertarget{classPartialMappedXover}{ -\section{Partial\-Mapped\-Xover Class Reference} -\label{classPartialMappedXover}\index{PartialMappedXover@{PartialMappedXover}} -} -Partial Mapped Crossover. - - -{\tt \#include $<$partial\_\-mapped\_\-xover.h$>$} - -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classPartialMappedXover_1cda6ea86ca36e5de0125f4ba5cfc695}{ -bool \hyperlink{classPartialMappedXover_1cda6ea86ca36e5de0125f4ba5cfc695}{operator()} (Route \&\_\-\_\-route1, Route \&\_\-\_\-route2)} -\label{classPartialMappedXover_1cda6ea86ca36e5de0125f4ba5cfc695} - -\end{CompactItemize} -\subsection*{Private Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classPartialMappedXover_b6d4035544aff3b2b3fe4b0eeea185a2}{ -void \hyperlink{classPartialMappedXover_b6d4035544aff3b2b3fe4b0eeea185a2}{repair} (Route \&\_\-\_\-route, unsigned \_\-\_\-cut1, unsigned \_\-\_\-cut2)} -\label{classPartialMappedXover_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/docs/html/lsnshared/latex/classRouteEval.tex b/trunk/paradiseo-peo/docs/html/lsnshared/latex/classRouteEval.tex deleted file mode 100644 index a1be8dfa6..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classRouteEval.tex +++ /dev/null @@ -1,25 +0,0 @@ -\hypertarget{classRouteEval}{ -\section{Route\-Eval Class Reference} -\label{classRouteEval}\index{RouteEval@{RouteEval}} -} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classRouteEval_e10bbe6f792e6f44405953de4f703901}{ -void \hyperlink{classRouteEval_e10bbe6f792e6f44405953de4f703901}{operator()} (Route \&\_\-\_\-route)} -\label{classRouteEval_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/docs/html/lsnshared/latex/classRouteInit.tex b/trunk/paradiseo-peo/docs/html/lsnshared/latex/classRouteInit.tex deleted file mode 100644 index b65ad4bb8..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classRouteInit.tex +++ /dev/null @@ -1,25 +0,0 @@ -\hypertarget{classRouteInit}{ -\section{Route\-Init Class Reference} -\label{classRouteInit}\index{RouteInit@{RouteInit}} -} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classRouteInit_b65a7137e114458faadb6a5510c001f7}{ -void \hyperlink{classRouteInit_b65a7137e114458faadb6a5510c001f7}{operator()} (Route \&\_\-\_\-route)} -\label{classRouteInit_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/docs/html/lsnshared/latex/classTwoOpt.tex b/trunk/paradiseo-peo/docs/html/lsnshared/latex/classTwoOpt.tex deleted file mode 100644 index cec5ef59a..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classTwoOpt.tex +++ /dev/null @@ -1,25 +0,0 @@ -\hypertarget{classTwoOpt}{ -\section{Two\-Opt Class Reference} -\label{classTwoOpt}\index{TwoOpt@{TwoOpt}} -} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classTwoOpt_ff87d1649a33d42a6d64e8d314ed1af0}{ -void \hyperlink{classTwoOpt_ff87d1649a33d42a6d64e8d314ed1af0}{operator()} (Route \&\_\-\_\-route)} -\label{classTwoOpt_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/docs/html/lsnshared/latex/classTwoOptIncrEval.tex b/trunk/paradiseo-peo/docs/html/lsnshared/latex/classTwoOptIncrEval.tex deleted file mode 100644 index c3a62b03f..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classTwoOptIncrEval.tex +++ /dev/null @@ -1,25 +0,0 @@ -\hypertarget{classTwoOptIncrEval}{ -\section{Two\-Opt\-Incr\-Eval Class Reference} -\label{classTwoOptIncrEval}\index{TwoOptIncrEval@{TwoOptIncrEval}} -} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classTwoOptIncrEval_48500077e651c4c6152daef8a396be39}{ -int \hyperlink{classTwoOptIncrEval_48500077e651c4c6152daef8a396be39}{operator()} (const \hyperlink{classTwoOpt}{Two\-Opt} \&\_\-\_\-move, const Route \&\_\-\_\-route)} -\label{classTwoOptIncrEval_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/docs/html/lsnshared/latex/classTwoOptInit.tex b/trunk/paradiseo-peo/docs/html/lsnshared/latex/classTwoOptInit.tex deleted file mode 100644 index 621b7467e..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classTwoOptInit.tex +++ /dev/null @@ -1,25 +0,0 @@ -\hypertarget{classTwoOptInit}{ -\section{Two\-Opt\-Init Class Reference} -\label{classTwoOptInit}\index{TwoOptInit@{TwoOptInit}} -} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classTwoOptInit_5bf6af064d37ebd955ffb5a623e78e1b}{ -void \hyperlink{classTwoOptInit_5bf6af064d37ebd955ffb5a623e78e1b}{operator()} (\hyperlink{classTwoOpt}{Two\-Opt} \&\_\-\_\-move, const Route \&\_\-\_\-route)} -\label{classTwoOptInit_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/docs/html/lsnshared/latex/classTwoOptNext.tex b/trunk/paradiseo-peo/docs/html/lsnshared/latex/classTwoOptNext.tex deleted file mode 100644 index ccc5757c0..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classTwoOptNext.tex +++ /dev/null @@ -1,25 +0,0 @@ -\hypertarget{classTwoOptNext}{ -\section{Two\-Opt\-Next Class Reference} -\label{classTwoOptNext}\index{TwoOptNext@{TwoOptNext}} -} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classTwoOptNext_baf229b2e056f39ab971cf2ac66a833e}{ -bool \hyperlink{classTwoOptNext_baf229b2e056f39ab971cf2ac66a833e}{operator()} (\hyperlink{classTwoOpt}{Two\-Opt} \&\_\-\_\-move, const Route \&\_\-\_\-route)} -\label{classTwoOptNext_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/docs/html/lsnshared/latex/classTwoOptRand.tex b/trunk/paradiseo-peo/docs/html/lsnshared/latex/classTwoOptRand.tex deleted file mode 100644 index ef8ba688e..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/classTwoOptRand.tex +++ /dev/null @@ -1,25 +0,0 @@ -\hypertarget{classTwoOptRand}{ -\section{Two\-Opt\-Rand Class Reference} -\label{classTwoOptRand}\index{TwoOptRand@{TwoOptRand}} -} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classTwoOptRand_e2f362f359517c027f6f22fba0aab375}{ -void \hyperlink{classTwoOptRand_e2f362f359517c027f6f22fba0aab375}{operator()} (\hyperlink{classTwoOpt}{Two\-Opt} \&\_\-\_\-move, const Route \&\_\-\_\-route)} -\label{classTwoOptRand_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/docs/html/lsnshared/latex/doxygen.sty b/trunk/paradiseo-peo/docs/html/lsnshared/latex/doxygen.sty deleted file mode 100644 index 76fdca0fe..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/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 Sat Dec 30 14:55:34 2006 for Paradis\-EO-PEO - Lessons by Doxygen }]{} -\lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Sat Dec 30 14:55:34 2006 for Paradis\-EO-PEO - Lessons 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/docs/html/lsnshared/latex/hierarchy.tex b/trunk/paradiseo-peo/docs/html/lsnshared/latex/hierarchy.tex deleted file mode 100644 index 1f8b33b58..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/hierarchy.tex +++ /dev/null @@ -1,19 +0,0 @@ -\section{Paradis\-EO-PEO - Lessons Class Hierarchy} -This inheritance list is sorted roughly, but not completely, alphabetically:\begin{CompactList} -\item \contentsline{section}{City\-Swap}{\pageref{classCitySwap}}{} -\item \contentsline{section}{Display\-Best\-Route}{\pageref{classDisplayBestRoute}}{} -\item \contentsline{section}{Edge\-Xover}{\pageref{classEdgeXover}}{} -\item \contentsline{section}{Order\-Xover}{\pageref{classOrderXover}}{} -\item \contentsline{section}{Partial\-Mapped\-Xover}{\pageref{classPartialMappedXover}}{} -\item \contentsline{section}{Part\-Route\-Eval}{\pageref{classPartRouteEval}}{} -\item peo\-Agg\-Eval\-Func$<$ EOT $>${\tt \mbox{[}external\mbox{]}}\begin{CompactList} -\item \contentsline{section}{Merge\-Route\-Eval}{\pageref{classMergeRouteEval}}{} -\end{CompactList} -\item \contentsline{section}{Route\-Eval}{\pageref{classRouteEval}}{} -\item \contentsline{section}{Route\-Init}{\pageref{classRouteInit}}{} -\item \contentsline{section}{Two\-Opt}{\pageref{classTwoOpt}}{} -\item \contentsline{section}{Two\-Opt\-Incr\-Eval}{\pageref{classTwoOptIncrEval}}{} -\item \contentsline{section}{Two\-Opt\-Init}{\pageref{classTwoOptInit}}{} -\item \contentsline{section}{Two\-Opt\-Next}{\pageref{classTwoOptNext}}{} -\item \contentsline{section}{Two\-Opt\-Rand}{\pageref{classTwoOptRand}}{} -\end{CompactList} diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/latex/refman.tex b/trunk/paradiseo-peo/docs/html/lsnshared/latex/refman.tex deleted file mode 100644 index a97c663bb..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/latex/refman.tex +++ /dev/null @@ -1,66 +0,0 @@ -\documentclass[a4paper]{book} -\usepackage{a4wide} -\usepackage{makeidx} -\usepackage{fancyhdr} -\usepackage{graphicx} -\usepackage{multicol} -\usepackage{float} -\usepackage{textcomp} -\usepackage{alltt} -\usepackage{times} -\usepackage{ifpdf} -\ifpdf -\usepackage[pdftex, - pagebackref=true, - colorlinks=true, - linkcolor=blue - ]{hyperref} -\else -\usepackage[ps2pdf, - pagebackref=true, - colorlinks=true, - linkcolor=blue - ]{hyperref} -\usepackage{pspicture} -\fi -\usepackage{doxygen} -\makeindex -\setcounter{tocdepth}{1} -\renewcommand{\footrulewidth}{0.4pt} -\begin{document} -\begin{titlepage} -\vspace*{7cm} -\begin{center} -{\Large Paradis\-EO-PEO - Lessons Reference Manual\\[1ex]\large 0.1 }\\ -\vspace*{1cm} -{\large Generated by Doxygen 1.4.7}\\ -\vspace*{0.5cm} -{\small Sat Dec 30 14:55:34 2006}\\ -\end{center} -\end{titlepage} -\clearemptydoublepage -\pagenumbering{roman} -\tableofcontents -\clearemptydoublepage -\pagenumbering{arabic} -\chapter{Paradis\-EO-PEO - Lessons Hierarchical Index} -\input{hierarchy} -\chapter{Paradis\-EO-PEO - Lessons Class Index} -\input{annotated} -\chapter{Paradis\-EO-PEO - Lessons Class Documentation} -\input{classCitySwap} -\include{classDisplayBestRoute} -\include{classEdgeXover} -\include{classMergeRouteEval} -\include{classOrderXover} -\include{classPartialMappedXover} -\include{classPartRouteEval} -\include{classRouteEval} -\include{classRouteInit} -\include{classTwoOpt} -\include{classTwoOptIncrEval} -\include{classTwoOptInit} -\include{classTwoOptNext} -\include{classTwoOptRand} -\printindex -\end{document} diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/CitySwap.3 b/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/CitySwap.3 deleted file mode 100644 index bac8bb5bb..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/CitySwap.3 +++ /dev/null @@ -1,28 +0,0 @@ -.TH "CitySwap" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO - Lessons" \" -*- 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-PEO - Lessons from the source code. diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/DisplayBestRoute.3 b/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/DisplayBestRoute.3 deleted file mode 100644 index 1f619d21e..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/DisplayBestRoute.3 +++ /dev/null @@ -1,32 +0,0 @@ -.TH "DisplayBestRoute" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO - Lessons" \" -*- 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-PEO - Lessons from the source code. diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/EdgeXover.3 b/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/EdgeXover.3 deleted file mode 100644 index b42a5936c..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/EdgeXover.3 +++ /dev/null @@ -1,54 +0,0 @@ -.TH "EdgeXover" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO - Lessons" \" -*- 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-PEO - Lessons from the source code. diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/MergeRouteEval.3 b/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/MergeRouteEval.3 deleted file mode 100644 index 1073c6bad..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/MergeRouteEval.3 +++ /dev/null @@ -1,24 +0,0 @@ -.TH "MergeRouteEval" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO - Lessons" \" -*- 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-PEO - Lessons from the source code. diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/OrderXover.3 b/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/OrderXover.3 deleted file mode 100644 index 7e8ca129e..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/OrderXover.3 +++ /dev/null @@ -1,35 +0,0 @@ -.TH "OrderXover" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO - Lessons" \" -*- 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-PEO - Lessons from the source code. diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/PartRouteEval.3 b/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/PartRouteEval.3 deleted file mode 100644 index 80a39b36f..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/PartRouteEval.3 +++ /dev/null @@ -1,42 +0,0 @@ -.TH "PartRouteEval" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO - Lessons" \" -*- 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-PEO - Lessons from the source code. diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/PartialMappedXover.3 b/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/PartialMappedXover.3 deleted file mode 100644 index 92da08c3e..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/PartialMappedXover.3 +++ /dev/null @@ -1,35 +0,0 @@ -.TH "PartialMappedXover" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO - Lessons" \" -*- 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-PEO - Lessons from the source code. diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/RouteEval.3 b/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/RouteEval.3 deleted file mode 100644 index 12d69facc..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/RouteEval.3 +++ /dev/null @@ -1,22 +0,0 @@ -.TH "RouteEval" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO - Lessons" \" -*- 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-PEO - Lessons from the source code. diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/RouteInit.3 b/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/RouteInit.3 deleted file mode 100644 index 0c833ae25..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/RouteInit.3 +++ /dev/null @@ -1,22 +0,0 @@ -.TH "RouteInit" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO - Lessons" \" -*- 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-PEO - Lessons from the source code. diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/TwoOpt.3 b/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/TwoOpt.3 deleted file mode 100644 index e316edb51..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/TwoOpt.3 +++ /dev/null @@ -1,22 +0,0 @@ -.TH "TwoOpt" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO - Lessons" \" -*- 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-PEO - Lessons from the source code. diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/TwoOptIncrEval.3 b/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/TwoOptIncrEval.3 deleted file mode 100644 index ec1101b7c..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/TwoOptIncrEval.3 +++ /dev/null @@ -1,22 +0,0 @@ -.TH "TwoOptIncrEval" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO - Lessons" \" -*- 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-PEO - Lessons from the source code. diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/TwoOptInit.3 b/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/TwoOptInit.3 deleted file mode 100644 index 45b91e4ac..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/TwoOptInit.3 +++ /dev/null @@ -1,22 +0,0 @@ -.TH "TwoOptInit" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO - Lessons" \" -*- 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-PEO - Lessons from the source code. diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/TwoOptNext.3 b/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/TwoOptNext.3 deleted file mode 100644 index a5c9bf80a..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/TwoOptNext.3 +++ /dev/null @@ -1,22 +0,0 @@ -.TH "TwoOptNext" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO - Lessons" \" -*- 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-PEO - Lessons from the source code. diff --git a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/TwoOptRand.3 b/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/TwoOptRand.3 deleted file mode 100644 index 60c884a00..000000000 --- a/trunk/paradiseo-peo/docs/html/lsnshared/man/man3/TwoOptRand.3 +++ /dev/null @@ -1,22 +0,0 @@ -.TH "TwoOptRand" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO - Lessons" \" -*- 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-PEO - Lessons from the source code. diff --git a/trunk/paradiseo-peo/docs/html/main.html b/trunk/paradiseo-peo/docs/html/main.html deleted file mode 100644 index 4932ff40b..000000000 --- a/trunk/paradiseo-peo/docs/html/main.html +++ /dev/null @@ -1,106 +0,0 @@ - - -ParadisEO-PEO: The ParadisEO-PEO Framework - - - - -
-
-

The ParadisEO-PEO Framework

-

-

0.1

-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.

-ParadisEO-PEO Tutorials

-The basisc of the ParadisEO framework philosophy are exposed in a few simple tutorials: -All the presented examples have as case study the travel salesman problem (TSP). Different operators and auxiliary objects were designed, standing as a common shared source code base. While not being part of the ParadisEO-PEO framework, it may represent a startpoint for a better understanding of the presented tutorials.
Generated on Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/mess_8cpp-source.html b/trunk/paradiseo-peo/docs/html/mess_8cpp-source.html deleted file mode 100644 index 5d1b4c735..000000000 --- a/trunk/paradiseo-peo/docs/html/mess_8cpp-source.html +++ /dev/null @@ -1,281 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/mess_8h-source.html b/trunk/paradiseo-peo/docs/html/mess_8h-source.html deleted file mode 100644 index 15bb0abfa..000000000 --- a/trunk/paradiseo-peo/docs/html/mess_8h-source.html +++ /dev/null @@ -1,75 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/messaging_8h-source.html b/trunk/paradiseo-peo/docs/html/messaging_8h-source.html deleted file mode 100644 index 2d2fa20b6..000000000 --- a/trunk/paradiseo-peo/docs/html/messaging_8h-source.html +++ /dev/null @@ -1,148 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/namespacemembers.html b/trunk/paradiseo-peo/docs/html/namespacemembers.html deleted file mode 100644 index e9f73219a..000000000 --- a/trunk/paradiseo-peo/docs/html/namespacemembers.html +++ /dev/null @@ -1,51 +0,0 @@ - - -ParadisEO-PEO: Class Members - - - - -
-
- -
- -
-Here is a list of all documented namespace members with links to the namespaces they belong to: -

-

-
Generated on Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/namespacemembers_func.html b/trunk/paradiseo-peo/docs/html/namespacemembers_func.html deleted file mode 100644 index 5f4658e95..000000000 --- a/trunk/paradiseo-peo/docs/html/namespacemembers_func.html +++ /dev/null @@ -1,49 +0,0 @@ - - -ParadisEO-PEO: Class Members - - - - -
-
- -
- -
-  -

-

    -
  • finalize() -: peo
  • init() -: peo
  • loadParameters() -: peo
  • run() -: peo
-
Generated on Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/namespacemembers_vars.html b/trunk/paradiseo-peo/docs/html/namespacemembers_vars.html deleted file mode 100644 index 28766cb7f..000000000 --- a/trunk/paradiseo-peo/docs/html/namespacemembers_vars.html +++ /dev/null @@ -1,47 +0,0 @@ - - -ParadisEO-PEO: Class Members - - - - -
-
- -
- -
-  -

-

-
Generated on Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/namespacepeo.html b/trunk/paradiseo-peo/docs/html/namespacepeo.html deleted file mode 100644 index 4dbda18b5..000000000 --- a/trunk/paradiseo-peo/docs/html/namespacepeo.html +++ /dev/null @@ -1,65 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/namespaces.html b/trunk/paradiseo-peo/docs/html/namespaces.html deleted file mode 100644 index 35ce4c1f4..000000000 --- a/trunk/paradiseo-peo/docs/html/namespaces.html +++ /dev/null @@ -1,37 +0,0 @@ - - -ParadisEO-PEO: Namespace Index - - - - -
-
- -

ParadisEO-PEO Namespace List

Here is a list of all documented namespaces with brief descriptions: - -
peo
-
Generated on Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/node_8cpp-source.html b/trunk/paradiseo-peo/docs/html/node_8cpp-source.html deleted file mode 100644 index fe07e38ae..000000000 --- a/trunk/paradiseo-peo/docs/html/node_8cpp-source.html +++ /dev/null @@ -1,102 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/node_8h-source.html b/trunk/paradiseo-peo/docs/html/node_8h-source.html deleted file mode 100644 index ba410964b..000000000 --- a/trunk/paradiseo-peo/docs/html/node_8h-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/paradiseo_8h-source.html b/trunk/paradiseo-peo/docs/html/paradiseo_8h-source.html deleted file mode 100644 index a2cedb6c1..000000000 --- a/trunk/paradiseo-peo/docs/html/paradiseo_8h-source.html +++ /dev/null @@ -1,85 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.fr
-00022 */
-00023 
-00024 #ifndef __paradiseo_h_
-00025 #define __paradiseo_h_
-00026 
-00027 #include <eo>
-00028 #include <mo>
-00029 
-00030 
-00275 
-00276 
-00277 
-00278 #include "core/peo_init.h"
-00279 #include "core/peo_run.h"
-00280 #include "core/peo_fin.h"
-00281 
-00282 #include "core/eoVector_comm.h"
-00283 
-00284 #include "peoEA.h"
-00285 
-00286 /* Parallel steps of the E.A. */
-00287 #include "peoSeqTransform.h"
-00288 #include "peoParaSGATransform.h"
-00289 #include "peoSeqPopEval.h"
-00290 #include "peoParaPopEval.h"
-00291 
-00292 /* Cooperative island model */
-00293 #include "core/ring_topo.h"
-00294 #include "peoAsyncIslandMig.h"
-00295 #include "peoSyncIslandMig.h"
-00296 
-00297 /* Synchronous multi-start model */
-00298 #include "peoSyncMultiStart.h"
-00299 
-00300 #endif
-

Generated on Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/param_8cpp-source.html b/trunk/paradiseo-peo/docs/html/param_8cpp-source.html deleted file mode 100644 index def1995e7..000000000 --- a/trunk/paradiseo-peo/docs/html/param_8cpp-source.html +++ /dev/null @@ -1,65 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/param_8h-source.html b/trunk/paradiseo-peo/docs/html/param_8h-source.html deleted file mode 100644 index cdd7d1376..000000000 --- a/trunk/paradiseo-peo/docs/html/param_8h-source.html +++ /dev/null @@ -1,58 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peoAggEvalFunc_8h-source.html b/trunk/paradiseo-peo/docs/html/peoAggEvalFunc_8h-source.html deleted file mode 100644 index 5226c5e2d..000000000 --- a/trunk/paradiseo-peo/docs/html/peoAggEvalFunc_8h-source.html +++ /dev/null @@ -1,64 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peoAsyncIslandMig_8h-source.html b/trunk/paradiseo-peo/docs/html/peoAsyncIslandMig_8h-source.html deleted file mode 100644 index 49db8c084..000000000 --- a/trunk/paradiseo-peo/docs/html/peoAsyncIslandMig_8h-source.html +++ /dev/null @@ -1,204 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peoEA_8h-source.html b/trunk/paradiseo-peo/docs/html/peoEA_8h-source.html deleted file mode 100644 index 283c10fe3..000000000 --- a/trunk/paradiseo-peo/docs/html/peoEA_8h-source.html +++ /dev/null @@ -1,143 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peoNoAggEvalFunc_8h-source.html b/trunk/paradiseo-peo/docs/html/peoNoAggEvalFunc_8h-source.html deleted file mode 100644 index f4187f3e0..000000000 --- a/trunk/paradiseo-peo/docs/html/peoNoAggEvalFunc_8h-source.html +++ /dev/null @@ -1,73 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peoParaPopEval_8h-source.html b/trunk/paradiseo-peo/docs/html/peoParaPopEval_8h-source.html deleted file mode 100644 index 802e9c371..000000000 --- a/trunk/paradiseo-peo/docs/html/peoParaPopEval_8h-source.html +++ /dev/null @@ -1,241 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peoParaSGATransform_8h-source.html b/trunk/paradiseo-peo/docs/html/peoParaSGATransform_8h-source.html deleted file mode 100644 index eb2b3ef24..000000000 --- a/trunk/paradiseo-peo/docs/html/peoParaSGATransform_8h-source.html +++ /dev/null @@ -1,199 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peoPopEval_8h-source.html b/trunk/paradiseo-peo/docs/html/peoPopEval_8h-source.html deleted file mode 100644 index 65fb509f4..000000000 --- a/trunk/paradiseo-peo/docs/html/peoPopEval_8h-source.html +++ /dev/null @@ -1,67 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peoSeqPopEval_8h-source.html b/trunk/paradiseo-peo/docs/html/peoSeqPopEval_8h-source.html deleted file mode 100644 index 71bd9985b..000000000 --- a/trunk/paradiseo-peo/docs/html/peoSeqPopEval_8h-source.html +++ /dev/null @@ -1,87 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peoSeqTransform_8h-source.html b/trunk/paradiseo-peo/docs/html/peoSeqTransform_8h-source.html deleted file mode 100644 index fb5835b85..000000000 --- a/trunk/paradiseo-peo/docs/html/peoSeqTransform_8h-source.html +++ /dev/null @@ -1,95 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peoSyncIslandMig_8h-source.html b/trunk/paradiseo-peo/docs/html/peoSyncIslandMig_8h-source.html deleted file mode 100644 index 7148161b2..000000000 --- a/trunk/paradiseo-peo/docs/html/peoSyncIslandMig_8h-source.html +++ /dev/null @@ -1,232 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peoSyncMultiStart_8h-source.html b/trunk/paradiseo-peo/docs/html/peoSyncMultiStart_8h-source.html deleted file mode 100644 index 6d543cfa9..000000000 --- a/trunk/paradiseo-peo/docs/html/peoSyncMultiStart_8h-source.html +++ /dev/null @@ -1,196 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peoTransform_8h-source.html b/trunk/paradiseo-peo/docs/html/peoTransform_8h-source.html deleted file mode 100644 index 99dd05373..000000000 --- a/trunk/paradiseo-peo/docs/html/peoTransform_8h-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peo__debug_8cpp-source.html b/trunk/paradiseo-peo/docs/html/peo__debug_8cpp-source.html deleted file mode 100644 index c695c62b3..000000000 --- a/trunk/paradiseo-peo/docs/html/peo__debug_8cpp-source.html +++ /dev/null @@ -1,121 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peo__debug_8h-source.html b/trunk/paradiseo-peo/docs/html/peo__debug_8h-source.html deleted file mode 100644 index 6de9c54c3..000000000 --- a/trunk/paradiseo-peo/docs/html/peo__debug_8h-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peo__fin_8cpp-source.html b/trunk/paradiseo-peo/docs/html/peo__fin_8cpp-source.html deleted file mode 100644 index 713eabcb0..000000000 --- a/trunk/paradiseo-peo/docs/html/peo__fin_8cpp-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peo__fin_8h-source.html b/trunk/paradiseo-peo/docs/html/peo__fin_8h-source.html deleted file mode 100644 index d39fa7ac9..000000000 --- a/trunk/paradiseo-peo/docs/html/peo__fin_8h-source.html +++ /dev/null @@ -1,61 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peo__init_8cpp-source.html b/trunk/paradiseo-peo/docs/html/peo__init_8cpp-source.html deleted file mode 100644 index eb85836bb..000000000 --- a/trunk/paradiseo-peo/docs/html/peo__init_8cpp-source.html +++ /dev/null @@ -1,81 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peo__init_8h-source.html b/trunk/paradiseo-peo/docs/html/peo__init_8h-source.html deleted file mode 100644 index 8d9e2d66f..000000000 --- a/trunk/paradiseo-peo/docs/html/peo__init_8h-source.html +++ /dev/null @@ -1,65 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peo__param_8cpp-source.html b/trunk/paradiseo-peo/docs/html/peo__param_8cpp-source.html deleted file mode 100644 index b514f0b6d..000000000 --- a/trunk/paradiseo-peo/docs/html/peo__param_8cpp-source.html +++ /dev/null @@ -1,69 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peo__param_8h-source.html b/trunk/paradiseo-peo/docs/html/peo__param_8h-source.html deleted file mode 100644 index dce4c5844..000000000 --- a/trunk/paradiseo-peo/docs/html/peo__param_8h-source.html +++ /dev/null @@ -1,61 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peo__run_8cpp-source.html b/trunk/paradiseo-peo/docs/html/peo__run_8cpp-source.html deleted file mode 100644 index 5cc7a0cbe..000000000 --- a/trunk/paradiseo-peo/docs/html/peo__run_8cpp-source.html +++ /dev/null @@ -1,63 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/peo__run_8h-source.html b/trunk/paradiseo-peo/docs/html/peo__run_8h-source.html deleted file mode 100644 index 7a2b71cad..000000000 --- a/trunk/paradiseo-peo/docs/html/peo__run_8h-source.html +++ /dev/null @@ -1,61 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/reac__thread_8cpp-source.html b/trunk/paradiseo-peo/docs/html/reac__thread_8cpp-source.html deleted file mode 100644 index 419ad9619..000000000 --- a/trunk/paradiseo-peo/docs/html/reac__thread_8cpp-source.html +++ /dev/null @@ -1,80 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/reac__thread_8h-source.html b/trunk/paradiseo-peo/docs/html/reac__thread_8h-source.html deleted file mode 100644 index 87d1d34c3..000000000 --- a/trunk/paradiseo-peo/docs/html/reac__thread_8h-source.html +++ /dev/null @@ -1,79 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/recv_8cpp-source.html b/trunk/paradiseo-peo/docs/html/recv_8cpp-source.html deleted file mode 100644 index 80166d169..000000000 --- a/trunk/paradiseo-peo/docs/html/recv_8cpp-source.html +++ /dev/null @@ -1,156 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/recv_8h-source.html b/trunk/paradiseo-peo/docs/html/recv_8h-source.html deleted file mode 100644 index bfa4f48e4..000000000 --- a/trunk/paradiseo-peo/docs/html/recv_8h-source.html +++ /dev/null @@ -1,58 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.fr
-00022 */
-00023 
-00024 #ifndef __recv_h
-00025 #define __recv_h
-00026 
-00027 extern void receiveMessages ();
-00028 
-00029 #endif
-

Generated on Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/ring__topo_8cpp-source.html b/trunk/paradiseo-peo/docs/html/ring__topo_8cpp-source.html deleted file mode 100644 index 3cabbd25c..000000000 --- a/trunk/paradiseo-peo/docs/html/ring__topo_8cpp-source.html +++ /dev/null @@ -1,69 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/ring__topo_8h-source.html b/trunk/paradiseo-peo/docs/html/ring__topo_8h-source.html deleted file mode 100644 index c86e4602a..000000000 --- a/trunk/paradiseo-peo/docs/html/ring__topo_8h-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/rmc_2mpi_2runner_8cpp-source.html b/trunk/paradiseo-peo/docs/html/rmc_2mpi_2runner_8cpp-source.html deleted file mode 100644 index cf4903309..000000000 --- a/trunk/paradiseo-peo/docs/html/rmc_2mpi_2runner_8cpp-source.html +++ /dev/null @@ -1,77 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/rmc_2mpi_2service_8cpp-source.html b/trunk/paradiseo-peo/docs/html/rmc_2mpi_2service_8cpp-source.html deleted file mode 100644 index 453ad04bc..000000000 --- a/trunk/paradiseo-peo/docs/html/rmc_2mpi_2service_8cpp-source.html +++ /dev/null @@ -1,74 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/rmc_8cpp-source.html b/trunk/paradiseo-peo/docs/html/rmc_8cpp-source.html deleted file mode 100644 index 6be808f84..000000000 --- a/trunk/paradiseo-peo/docs/html/rmc_8cpp-source.html +++ /dev/null @@ -1,90 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/rmc_8h-source.html b/trunk/paradiseo-peo/docs/html/rmc_8h-source.html deleted file mode 100644 index b2ffae2a3..000000000 --- a/trunk/paradiseo-peo/docs/html/rmc_8h-source.html +++ /dev/null @@ -1,62 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/runner_8h-source.html b/trunk/paradiseo-peo/docs/html/runner_8h-source.html deleted file mode 100644 index b16bc99bd..000000000 --- a/trunk/paradiseo-peo/docs/html/runner_8h-source.html +++ /dev/null @@ -1,102 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/scheduler_8cpp-source.html b/trunk/paradiseo-peo/docs/html/scheduler_8cpp-source.html deleted file mode 100644 index 2518c510f..000000000 --- a/trunk/paradiseo-peo/docs/html/scheduler_8cpp-source.html +++ /dev/null @@ -1,122 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/scheduler_8h-source.html b/trunk/paradiseo-peo/docs/html/scheduler_8h-source.html deleted file mode 100644 index b86622be2..000000000 --- a/trunk/paradiseo-peo/docs/html/scheduler_8h-source.html +++ /dev/null @@ -1,76 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/schema_8cpp-source.html b/trunk/paradiseo-peo/docs/html/schema_8cpp-source.html deleted file mode 100644 index c2bd6f5ce..000000000 --- a/trunk/paradiseo-peo/docs/html/schema_8cpp-source.html +++ /dev/null @@ -1,179 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/schema_8h-source.html b/trunk/paradiseo-peo/docs/html/schema_8h-source.html deleted file mode 100644 index 8e6f802c4..000000000 --- a/trunk/paradiseo-peo/docs/html/schema_8h-source.html +++ /dev/null @@ -1,83 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/search.idx b/trunk/paradiseo-peo/docs/html/search.idx deleted file mode 100644 index 2ab1aac36..000000000 Binary files a/trunk/paradiseo-peo/docs/html/search.idx and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/search.php b/trunk/paradiseo-peo/docs/html/search.php deleted file mode 100644 index b5514bfa8..000000000 --- a/trunk/paradiseo-peo/docs/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 Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/send_8cpp-source.html b/trunk/paradiseo-peo/docs/html/send_8cpp-source.html deleted file mode 100644 index 7ba29cb6d..000000000 --- a/trunk/paradiseo-peo/docs/html/send_8cpp-source.html +++ /dev/null @@ -1,160 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/send_8h-source.html b/trunk/paradiseo-peo/docs/html/send_8h-source.html deleted file mode 100644 index f464f1712..000000000 --- a/trunk/paradiseo-peo/docs/html/send_8h-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/service_8h-source.html b/trunk/paradiseo-peo/docs/html/service_8h-source.html deleted file mode 100644 index 55e1e9f2e..000000000 --- a/trunk/paradiseo-peo/docs/html/service_8h-source.html +++ /dev/null @@ -1,94 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/structNode-members.html b/trunk/paradiseo-peo/docs/html/structNode-members.html deleted file mode 100644 index 4269224aa..000000000 --- a/trunk/paradiseo-peo/docs/html/structNode-members.html +++ /dev/null @@ -1,42 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:31 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/structNode.html b/trunk/paradiseo-peo/docs/html/structNode.html deleted file mode 100644 index 50ca30964..000000000 --- a/trunk/paradiseo-peo/docs/html/structNode.html +++ /dev/null @@ -1,62 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:31 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/structSEND__REQUEST-members.html b/trunk/paradiseo-peo/docs/html/structSEND__REQUEST-members.html deleted file mode 100644 index 4c3a03cee..000000000 --- a/trunk/paradiseo-peo/docs/html/structSEND__REQUEST-members.html +++ /dev/null @@ -1,40 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/structSEND__REQUEST.html b/trunk/paradiseo-peo/docs/html/structSEND__REQUEST.html deleted file mode 100644 index 0bc838bfe..000000000 --- a/trunk/paradiseo-peo/docs/html/structSEND__REQUEST.html +++ /dev/null @@ -1,56 +0,0 @@ - - -ParadisEO-PEO: 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 Sat Dec 30 14:55:33 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/tab_b.gif b/trunk/paradiseo-peo/docs/html/tab_b.gif deleted file mode 100644 index 0d623483f..000000000 Binary files a/trunk/paradiseo-peo/docs/html/tab_b.gif and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/tab_l.gif b/trunk/paradiseo-peo/docs/html/tab_l.gif deleted file mode 100644 index 9b1e6337c..000000000 Binary files a/trunk/paradiseo-peo/docs/html/tab_l.gif and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/tab_r.gif b/trunk/paradiseo-peo/docs/html/tab_r.gif deleted file mode 100644 index ce9dd9f53..000000000 Binary files a/trunk/paradiseo-peo/docs/html/tab_r.gif and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/html/tabs.css b/trunk/paradiseo-peo/docs/html/tabs.css deleted file mode 100644 index a61552a67..000000000 --- a/trunk/paradiseo-peo/docs/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/docs/html/tags_8h-source.html b/trunk/paradiseo-peo/docs/html/tags_8h-source.html deleted file mode 100644 index 94c0a4a33..000000000 --- a/trunk/paradiseo-peo/docs/html/tags_8h-source.html +++ /dev/null @@ -1,68 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/thread_8cpp-source.html b/trunk/paradiseo-peo/docs/html/thread_8cpp-source.html deleted file mode 100644 index 57542e51d..000000000 --- a/trunk/paradiseo-peo/docs/html/thread_8cpp-source.html +++ /dev/null @@ -1,125 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/thread_8h-source.html b/trunk/paradiseo-peo/docs/html/thread_8h-source.html deleted file mode 100644 index 5cab4565f..000000000 --- a/trunk/paradiseo-peo/docs/html/thread_8h-source.html +++ /dev/null @@ -1,92 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/topology_8cpp-source.html b/trunk/paradiseo-peo/docs/html/topology_8cpp-source.html deleted file mode 100644 index 4daa6a0ca..000000000 --- a/trunk/paradiseo-peo/docs/html/topology_8cpp-source.html +++ /dev/null @@ -1,64 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/topology_8h-source.html b/trunk/paradiseo-peo/docs/html/topology_8h-source.html deleted file mode 100644 index bb85486d8..000000000 --- a/trunk/paradiseo-peo/docs/html/topology_8h-source.html +++ /dev/null @@ -1,77 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/tree.html b/trunk/paradiseo-peo/docs/html/tree.html deleted file mode 100644 index 56a9db27b..000000000 --- a/trunk/paradiseo-peo/docs/html/tree.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - - TreeView - - - - -
-

ParadisEO-PEO

-
-

o*The ParadisEO-PEO Framework

-

o+Class List

- -

o+Class Hierarchy

- -

o*Class Members

-

o+Namespace List

-
-

|\*peo

-
-

o*Namespace Members

-

\+File List

-
-

 o*comm.cpp

-

 o*comm.h

-

 o*communicable.cpp

-

 o*communicable.h

-

 o*coop.cpp

-

 o*cooperative.h

-

 o*eoPop_comm.h

-

 o*eoVector_comm.h

-

 o*mess.cpp

-

 o*mess.h

-

 o*messaging.h

-

 o*node.cpp

-

 o*node.h

-

 o*paradiseo.h

-

 o*param.cpp

-

 o*param.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*recv.cpp

-

 o*recv.h

-

 o*ring_topo.cpp

-

 o*ring_topo.h

-

 o*rmc.cpp

-

 o*rmc.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*worker.cpp

-

 o*worker.h

-

 o*xml_parser.cpp

-

 \*xml_parser.h

-
-
-
- - diff --git a/trunk/paradiseo-peo/docs/html/worker_8cpp-source.html b/trunk/paradiseo-peo/docs/html/worker_8cpp-source.html deleted file mode 100644 index 79859432e..000000000 --- a/trunk/paradiseo-peo/docs/html/worker_8cpp-source.html +++ /dev/null @@ -1,138 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/worker_8h-source.html b/trunk/paradiseo-peo/docs/html/worker_8h-source.html deleted file mode 100644 index 65c30344d..000000000 --- a/trunk/paradiseo-peo/docs/html/worker_8h-source.html +++ /dev/null @@ -1,94 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/xml__parser_8cpp-source.html b/trunk/paradiseo-peo/docs/html/xml__parser_8cpp-source.html deleted file mode 100644 index 3c1e1da38..000000000 --- a/trunk/paradiseo-peo/docs/html/xml__parser_8cpp-source.html +++ /dev/null @@ -1,119 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/html/xml__parser_8h-source.html b/trunk/paradiseo-peo/docs/html/xml__parser_8h-source.html deleted file mode 100644 index d9842809a..000000000 --- a/trunk/paradiseo-peo/docs/html/xml__parser_8h-source.html +++ /dev/null @@ -1,66 +0,0 @@ - - -ParadisEO-PEO: 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: paradiseo-help@lists.gforge.inria.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 Sat Dec 30 14:55:29 2006 for ParadisEO-PEO by  - -doxygen 1.4.7
- - diff --git a/trunk/paradiseo-peo/docs/latex/FreeSans.ttf b/trunk/paradiseo-peo/docs/latex/FreeSans.ttf deleted file mode 100644 index b550b90ba..000000000 Binary files a/trunk/paradiseo-peo/docs/latex/FreeSans.ttf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/latex/Makefile b/trunk/paradiseo-peo/docs/latex/Makefile deleted file mode 100644 index a67f1b7f6..000000000 --- a/trunk/paradiseo-peo/docs/latex/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -all: clean refman.pdf - -refman.pdf: refman.tex - pdflatex refman.tex - makeindex refman.idx - pdflatex 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...." ;\ - pdflatex refman.tex ;\ - latex_count=`expr $$latex_count - 1` ;\ - done - - -clean: - rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf diff --git a/trunk/paradiseo-peo/docs/latex/annotated.tex b/trunk/paradiseo-peo/docs/latex/annotated.tex deleted file mode 100644 index 37607c7f5..000000000 --- a/trunk/paradiseo-peo/docs/latex/annotated.tex +++ /dev/null @@ -1,27 +0,0 @@ -\section{Paradis\-EO-PEO Class List} -Here are the classes, structs, unions and interfaces with brief descriptions:\begin{CompactList} -\item\contentsline{section}{\hyperlink{classCommunicable}{Communicable} }{\pageref{classCommunicable}}{} -\item\contentsline{section}{\hyperlink{classCommunicator}{Communicator} }{\pageref{classCommunicator}}{} -\item\contentsline{section}{\hyperlink{classCooperative}{Cooperative} }{\pageref{classCooperative}}{} -\item\contentsline{section}{\hyperlink{structNode}{Node} }{\pageref{structNode}}{} -\item\contentsline{section}{\hyperlink{classpeoAggEvalFunc}{peo\-Agg\-Eval\-Func$<$ EOT $>$} (The \hyperlink{classpeoAggEvalFunc}{peo\-Agg\-Eval\-Func} class offers only the interface for creating aggregate evaluation functions - there are no direct internal functions provided )}{\pageref{classpeoAggEvalFunc}}{} -\item\contentsline{section}{\hyperlink{classpeoAsyncIslandMig}{peo\-Async\-Island\-Mig$<$ EOT $>$} (The \hyperlink{classpeoAsyncIslandMig}{peo\-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{classpeoAsyncIslandMig}}{} -\item\contentsline{section}{\hyperlink{classpeoEA}{peo\-EA$<$ EOT $>$} (The \hyperlink{classpeoEA}{peo\-EA} class offers an elementary evolutionary algorithm implementation )}{\pageref{classpeoEA}}{} -\item\contentsline{section}{\hyperlink{classpeoNoAggEvalFunc}{peo\-No\-Agg\-Eval\-Func$<$ EOT $>$} (The \hyperlink{classpeoNoAggEvalFunc}{peo\-No\-Agg\-Eval\-Func} class does nothing more than an association between a fitness value and a specified individual )}{\pageref{classpeoNoAggEvalFunc}}{} -\item\contentsline{section}{\hyperlink{classpeoParaPopEval}{peo\-Para\-Pop\-Eval$<$ EOT $>$} (The \hyperlink{classpeoParaPopEval}{peo\-Para\-Pop\-Eval} represents a wrapper for creating a functor capable of applying in parallel an EO-derived evaluation functor )}{\pageref{classpeoParaPopEval}}{} -\item\contentsline{section}{\hyperlink{classpeoParaSGATransform}{peo\-Para\-SGATransform$<$ EOT $>$} }{\pageref{classpeoParaSGATransform}}{} -\item\contentsline{section}{\hyperlink{classpeoPopEval}{peo\-Pop\-Eval$<$ EOT $>$} (The {\bf \hyperlink{classpeoPopEval}{peo\-Pop\-Eval}} class provides the interface for constructing Paradis\-EO specific evaluation functors )}{\pageref{classpeoPopEval}}{} -\item\contentsline{section}{\hyperlink{classpeoSeqPopEval}{peo\-Seq\-Pop\-Eval$<$ EOT $>$} (The \hyperlink{classpeoSeqPopEval}{peo\-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{classpeoSeqPopEval}}{} -\item\contentsline{section}{\hyperlink{classpeoSeqTransform}{peo\-Seq\-Transform$<$ EOT $>$} (The \hyperlink{classpeoSeqTransform}{peo\-Seq\-Transform} represent a wrapper for offering the possibility of using EO derived transform operators along with the Paradis\-EO evolutionary algorithms )}{\pageref{classpeoSeqTransform}}{} -\item\contentsline{section}{\hyperlink{classpeoSyncIslandMig}{peo\-Sync\-Island\-Mig$<$ EOT $>$} (The \hyperlink{classpeoSyncIslandMig}{peo\-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{classpeoSyncIslandMig}}{} -\item\contentsline{section}{\hyperlink{classpeoSyncMultiStart}{peo\-Sync\-Multi\-Start$<$ EOT $>$} (The \hyperlink{classpeoSyncMultiStart}{peo\-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{classpeoSyncMultiStart}}{} -\item\contentsline{section}{\hyperlink{classpeoTransform}{peo\-Transform$<$ EOT $>$} (The \hyperlink{classpeoTransform}{peo\-Transform} class acts only as an interface for creating transform operators - for an example please refer to the {\bf \hyperlink{classpeoSeqTransform}{peo\-Seq\-Transform}} and the {\bf \hyperlink{classpeoParaSGATransform}{peo\-Para\-SGATransform}} classes )}{\pageref{classpeoTransform}}{} -\item\contentsline{section}{\hyperlink{classReactiveThread}{Reactive\-Thread} }{\pageref{classReactiveThread}}{} -\item\contentsline{section}{\hyperlink{classRingTopology}{Ring\-Topology} }{\pageref{classRingTopology}}{} -\item\contentsline{section}{\hyperlink{classRunner}{Runner} }{\pageref{classRunner}}{} -\item\contentsline{section}{\hyperlink{structSEND__REQUEST}{SEND\_\-REQUEST} }{\pageref{structSEND__REQUEST}}{} -\item\contentsline{section}{\hyperlink{classService}{Service} }{\pageref{classService}}{} -\item\contentsline{section}{\hyperlink{classThread}{Thread} }{\pageref{classThread}}{} -\item\contentsline{section}{\hyperlink{classTopology}{Topology} }{\pageref{classTopology}}{} -\item\contentsline{section}{\hyperlink{classWorker}{Worker} }{\pageref{classWorker}}{} -\end{CompactList} diff --git a/trunk/paradiseo-peo/docs/latex/classCommunicable.eps b/trunk/paradiseo-peo/docs/latex/classCommunicable.eps deleted file mode 100644 index a4f4be521..000000000 --- a/trunk/paradiseo-peo/docs/latex/classCommunicable.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/docs/latex/classCommunicable.pdf b/trunk/paradiseo-peo/docs/latex/classCommunicable.pdf deleted file mode 100644 index e7d4d730a..000000000 Binary files a/trunk/paradiseo-peo/docs/latex/classCommunicable.pdf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/latex/classCommunicable.tex b/trunk/paradiseo-peo/docs/latex/classCommunicable.tex deleted file mode 100644 index 9fc3ce6b0..000000000 --- a/trunk/paradiseo-peo/docs/latex/classCommunicable.tex +++ /dev/null @@ -1,87 +0,0 @@ -\hypertarget{classCommunicable}{ -\section{Communicable Class Reference} -\label{classCommunicable}\index{Communicable@{Communicable}} -} -Inheritance diagram for Communicable::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=1.6cm]{classCommunicable} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classCommunicable_8ae1827ecf7569b3db1ed386c7d8ad78}{ -\hyperlink{classCommunicable_8ae1827ecf7569b3db1ed386c7d8ad78}{Communicable} ()} -\label{classCommunicable_8ae1827ecf7569b3db1ed386c7d8ad78} - -\item -\hypertarget{classCommunicable_2280b0dfa0d3a515fccf62c2a9fd5f41}{ -virtual \hyperlink{classCommunicable_2280b0dfa0d3a515fccf62c2a9fd5f41}{$\sim$Communicable} ()} -\label{classCommunicable_2280b0dfa0d3a515fccf62c2a9fd5f41} - -\item -\hypertarget{classCommunicable_db4307b69b9ccacff55fdbf84b8f50e4}{ -COMM\_\-ID \hyperlink{classCommunicable_db4307b69b9ccacff55fdbf84b8f50e4}{get\-Key} ()} -\label{classCommunicable_db4307b69b9ccacff55fdbf84b8f50e4} - -\item -\hypertarget{classCommunicable_e1f8bd1ee810fd73d44315c95998d19d}{ -void \hyperlink{classCommunicable_e1f8bd1ee810fd73d44315c95998d19d}{lock} ()} -\label{classCommunicable_e1f8bd1ee810fd73d44315c95998d19d} - -\item -\hypertarget{classCommunicable_caa814847192e71f434fbf9479ede862}{ -void \hyperlink{classCommunicable_caa814847192e71f434fbf9479ede862}{unlock} ()} -\label{classCommunicable_caa814847192e71f434fbf9479ede862} - -\item -\hypertarget{classCommunicable_cb53e6534b947bc889aa181d9dbbd13b}{ -void \hyperlink{classCommunicable_cb53e6534b947bc889aa181d9dbbd13b}{stop} ()} -\label{classCommunicable_cb53e6534b947bc889aa181d9dbbd13b} - -\item -\hypertarget{classCommunicable_3306a9adb11a0ab5af342c0db9f7bb2a}{ -void \hyperlink{classCommunicable_3306a9adb11a0ab5af342c0db9f7bb2a}{resume} ()} -\label{classCommunicable_3306a9adb11a0ab5af342c0db9f7bb2a} - -\end{CompactItemize} -\subsection*{Protected Attributes} -\begin{CompactItemize} -\item -\hypertarget{classCommunicable_605b0efeffe81326f216c9903f5bbf4c}{ -COMM\_\-ID \hyperlink{classCommunicable_605b0efeffe81326f216c9903f5bbf4c}{key}} -\label{classCommunicable_605b0efeffe81326f216c9903f5bbf4c} - -\item -\hypertarget{classCommunicable_cf9639312f71a2f348bc1e7789ccbd9d}{ -sem\_\-t \hyperlink{classCommunicable_cf9639312f71a2f348bc1e7789ccbd9d}{sem\_\-lock}} -\label{classCommunicable_cf9639312f71a2f348bc1e7789ccbd9d} - -\item -\hypertarget{classCommunicable_29c53b9191348e0505e3bcba6d8b82b1}{ -sem\_\-t \hyperlink{classCommunicable_29c53b9191348e0505e3bcba6d8b82b1}{sem\_\-stop}} -\label{classCommunicable_29c53b9191348e0505e3bcba6d8b82b1} - -\end{CompactItemize} -\subsection*{Static Protected Attributes} -\begin{CompactItemize} -\item -\hypertarget{classCommunicable_7a6acfdc781a67c9c0ec4f17893f86c3}{ -static unsigned \hyperlink{classCommunicable_7a6acfdc781a67c9c0ec4f17893f86c3}{num\_\-comm} = 0} -\label{classCommunicable_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/docs/latex/classCommunicator.eps b/trunk/paradiseo-peo/docs/latex/classCommunicator.eps deleted file mode 100644 index 3d7cc0668..000000000 --- a/trunk/paradiseo-peo/docs/latex/classCommunicator.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/docs/latex/classCommunicator.pdf b/trunk/paradiseo-peo/docs/latex/classCommunicator.pdf deleted file mode 100644 index 38c3ab8bf..000000000 Binary files a/trunk/paradiseo-peo/docs/latex/classCommunicator.pdf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/latex/classCommunicator.tex b/trunk/paradiseo-peo/docs/latex/classCommunicator.tex deleted file mode 100644 index efcfee674..000000000 --- a/trunk/paradiseo-peo/docs/latex/classCommunicator.tex +++ /dev/null @@ -1,36 +0,0 @@ -\hypertarget{classCommunicator}{ -\section{Communicator Class Reference} -\label{classCommunicator}\index{Communicator@{Communicator}} -} -Inheritance diagram for Communicator::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{classCommunicator} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classCommunicator_7c9dce4ea92bd04d01d53f80c0ef08ee}{ -\hyperlink{classCommunicator_7c9dce4ea92bd04d01d53f80c0ef08ee}{Communicator} (int $\ast$\_\-\_\-argc, char $\ast$$\ast$$\ast$\_\-\_\-argv)} -\label{classCommunicator_7c9dce4ea92bd04d01d53f80c0ef08ee} - -\item -\hypertarget{classCommunicator_142fae13b16b166519315f248a513c62}{ -void \hyperlink{classCommunicator_142fae13b16b166519315f248a513c62}{start} ()} -\label{classCommunicator_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/docs/latex/classCooperative.eps b/trunk/paradiseo-peo/docs/latex/classCooperative.eps deleted file mode 100644 index 60c6b6b94..000000000 --- a/trunk/paradiseo-peo/docs/latex/classCooperative.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/docs/latex/classCooperative.pdf b/trunk/paradiseo-peo/docs/latex/classCooperative.pdf deleted file mode 100644 index 987eff380..000000000 Binary files a/trunk/paradiseo-peo/docs/latex/classCooperative.pdf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/latex/classCooperative.tex b/trunk/paradiseo-peo/docs/latex/classCooperative.tex deleted file mode 100644 index 08a5d8b7b..000000000 --- a/trunk/paradiseo-peo/docs/latex/classCooperative.tex +++ /dev/null @@ -1,54 +0,0 @@ -\hypertarget{classCooperative}{ -\section{Cooperative Class Reference} -\label{classCooperative}\index{Cooperative@{Cooperative}} -} -Inheritance diagram for Cooperative::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{classCooperative} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classCooperative_4012b4e8329e87d26ee266491e1a883e}{ -\hyperlink{classRunner}{Runner} $\ast$ \hyperlink{classCooperative_4012b4e8329e87d26ee266491e1a883e}{get\-Owner} ()} -\label{classCooperative_4012b4e8329e87d26ee266491e1a883e} - -\item -\hypertarget{classCooperative_fe7b022567174c8305bc78d8c5749b12}{ -void \hyperlink{classCooperative_fe7b022567174c8305bc78d8c5749b12}{set\-Owner} (\hyperlink{classRunner}{Runner} \&\_\-\_\-runner)} -\label{classCooperative_fe7b022567174c8305bc78d8c5749b12} - -\item -\hypertarget{classCooperative_c609f2a1200da7d1ac96005602515fc6}{ -void \hyperlink{classCooperative_c609f2a1200da7d1ac96005602515fc6}{send} (\hyperlink{classCooperative}{Cooperative} $\ast$\_\-\_\-coop)} -\label{classCooperative_c609f2a1200da7d1ac96005602515fc6} - -\item -\hypertarget{classCooperative_4439ddeaa1246a2e44c003bfb781739b}{ -virtual void \hyperlink{classCooperative_4439ddeaa1246a2e44c003bfb781739b}{notify\-Sending} ()} -\label{classCooperative_4439ddeaa1246a2e44c003bfb781739b} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -\hypertarget{classCooperative_7604f094479d08154ede4996a45bf79e}{ -\hyperlink{classRunner}{Runner} $\ast$ \hyperlink{classCooperative_7604f094479d08154ede4996a45bf79e}{owner}} -\label{classCooperative_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/docs/latex/classReactiveThread.eps b/trunk/paradiseo-peo/docs/latex/classReactiveThread.eps deleted file mode 100644 index 9c8a085ba..000000000 --- a/trunk/paradiseo-peo/docs/latex/classReactiveThread.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/docs/latex/classReactiveThread.pdf b/trunk/paradiseo-peo/docs/latex/classReactiveThread.pdf deleted file mode 100644 index a5b840a1d..000000000 --- a/trunk/paradiseo-peo/docs/latex/classReactiveThread.pdf +++ /dev/null @@ -1,76 +0,0 @@ -%PDF-1.3 -%Çì¢ -5 0 obj -<> -stream -xœSMÓ0½ûWøÏŒ¿æ -Bœ»Dâ\•î¶°¡jYàï3·“n¤]E‘í¿yïÙ“³u€Ö•gw­y—ìÃ/ãìg}ÌÙ`·ÁîµÝ”-HJÁ6÷¦'£E ¢Ž$€‘lÓš7wûíîéøgß.ûí··Íwó©1C |F¶•|4g;–\ c†¤¢"@Á¶†cFà -˶–†P2Ì 뚅’Z×3©Ö—ÀÈ8’Abñá@}¼" -ê-I.qì“|<µíïŸÇÝöétYÏS†Ö(‰ ˆÎë> -/Contents 5 0 R ->> -endobj -3 0 obj -<< /Type /Pages /Kids [ -4 0 R -] /Count 1 ->> -endobj -1 0 obj -<> -endobj -7 0 obj -<>endobj -9 0 obj -<> -endobj -10 0 obj -<> -endobj -8 0 obj -<> -endobj -2 0 obj -<>endobj -xref -0 11 -0000000000 65535 f -0000000746 00000 n -0000000960 00000 n -0000000687 00000 n -0000000534 00000 n -0000000015 00000 n -0000000515 00000 n -0000000794 00000 n -0000000894 00000 n -0000000835 00000 n -0000000864 00000 n -trailer -<< /Size 11 /Root 1 0 R /Info 2 0 R -/ID [(é+ˆöTEXLj7üt»ð+)(é+ˆöTEXLj7üt»ð+)] ->> -startxref -1117 -%%EOF diff --git a/trunk/paradiseo-peo/docs/latex/classReactiveThread.tex b/trunk/paradiseo-peo/docs/latex/classReactiveThread.tex deleted file mode 100644 index 7f5617962..000000000 --- a/trunk/paradiseo-peo/docs/latex/classReactiveThread.tex +++ /dev/null @@ -1,49 +0,0 @@ -\hypertarget{classReactiveThread}{ -\section{Reactive\-Thread Class Reference} -\label{classReactiveThread}\index{ReactiveThread@{ReactiveThread}} -} -Inheritance diagram for Reactive\-Thread::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{classReactiveThread} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classReactiveThread_77381649429941c99a3e3d568113d6cf}{ -\hyperlink{classReactiveThread_77381649429941c99a3e3d568113d6cf}{Reactive\-Thread} ()} -\label{classReactiveThread_77381649429941c99a3e3d568113d6cf} - -\item -\hypertarget{classReactiveThread_8263c2a32d8c99a49a05f1a7717d4262}{ -void \hyperlink{classReactiveThread_8263c2a32d8c99a49a05f1a7717d4262}{sleep} ()} -\label{classReactiveThread_8263c2a32d8c99a49a05f1a7717d4262} - -\item -\hypertarget{classReactiveThread_a724a54575de10f09cc03ab7aa4e59ce}{ -void \hyperlink{classReactiveThread_a724a54575de10f09cc03ab7aa4e59ce}{wake\-Up} ()} -\label{classReactiveThread_a724a54575de10f09cc03ab7aa4e59ce} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -\hypertarget{classReactiveThread_915e5a42dc8cb1bcf6738d5fe883a4e7}{ -sem\_\-t \hyperlink{classReactiveThread_915e5a42dc8cb1bcf6738d5fe883a4e7}{sem}} -\label{classReactiveThread_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/docs/latex/classRingTopology.eps b/trunk/paradiseo-peo/docs/latex/classRingTopology.eps deleted file mode 100644 index 04c98c56e..000000000 --- a/trunk/paradiseo-peo/docs/latex/classRingTopology.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/docs/latex/classRingTopology.pdf b/trunk/paradiseo-peo/docs/latex/classRingTopology.pdf deleted file mode 100644 index 3306e0f13..000000000 Binary files a/trunk/paradiseo-peo/docs/latex/classRingTopology.pdf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/latex/classRingTopology.tex b/trunk/paradiseo-peo/docs/latex/classRingTopology.tex deleted file mode 100644 index 935ba161a..000000000 --- a/trunk/paradiseo-peo/docs/latex/classRingTopology.tex +++ /dev/null @@ -1,31 +0,0 @@ -\hypertarget{classRingTopology}{ -\section{Ring\-Topology Class Reference} -\label{classRingTopology}\index{RingTopology@{RingTopology}} -} -Inheritance diagram for Ring\-Topology::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2cm]{classRingTopology} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classRingTopology_292a7746993788f96042f2f628cfcbc5}{ -void \hyperlink{classRingTopology_292a7746993788f96042f2f628cfcbc5}{set\-Neighbors} (\hyperlink{classCooperative}{Cooperative} $\ast$\_\-\_\-mig, std::vector$<$ \hyperlink{classCooperative}{Cooperative} $\ast$ $>$ \&\_\-\_\-from, std::vector$<$ \hyperlink{classCooperative}{Cooperative} $\ast$ $>$ \&\_\-\_\-to)} -\label{classRingTopology_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/docs/latex/classRunner.eps b/trunk/paradiseo-peo/docs/latex/classRunner.eps deleted file mode 100644 index 6e1d6846c..000000000 --- a/trunk/paradiseo-peo/docs/latex/classRunner.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/docs/latex/classRunner.pdf b/trunk/paradiseo-peo/docs/latex/classRunner.pdf deleted file mode 100644 index 1aab2a681..000000000 --- a/trunk/paradiseo-peo/docs/latex/classRunner.pdf +++ /dev/null @@ -1,73 +0,0 @@ -%PDF-1.3 -%Çì¢ -5 0 obj -<> -stream -xœ¥TËnÛ0¼ó+öØô°å.Ÿ ÒÀè±pªH]çË©ýý.e™¦¬ú‚ q´™åˆ;°H`Ë5>W½ùt“àþÕXøª÷½Ù`|¬zøÒiPǘEŸ£Îiti‚ÃR -{§åù3¦4º} S¾yôö{Èqº'¨Æ13Ý+›ú½ˆ&oѹ R²BSëîãœÃ)Õ#2åpŠ–¸ cÓÑ¥TÎŽ™Õú‡aÈYùìëÌë±PºO ¡¦%ÑMrñ®zž¥A‘¦ÌÙÆ£o&4ƶKó2?endstream -endobj -6 0 obj -469 -endobj -4 0 obj -<> -/Contents 5 0 R ->> -endobj -3 0 obj -<< /Type /Pages /Kids [ -4 0 R -] /Count 1 ->> -endobj -1 0 obj -<> -endobj -7 0 obj -<>endobj -9 0 obj -<> -endobj -10 0 obj -<> -endobj -8 0 obj -<> -endobj -2 0 obj -<>endobj -xref -0 11 -0000000000 65535 f -0000000785 00000 n -0000000999 00000 n -0000000726 00000 n -0000000573 00000 n -0000000015 00000 n -0000000554 00000 n -0000000833 00000 n -0000000933 00000 n -0000000874 00000 n -0000000903 00000 n -trailer -<< /Size 11 /Root 1 0 R /Info 2 0 R -/ID [(«éðNBDW¤³X±=@°;)(«éðNBDW¤³X±=@°;)] ->> -startxref -1156 -%%EOF diff --git a/trunk/paradiseo-peo/docs/latex/classRunner.tex b/trunk/paradiseo-peo/docs/latex/classRunner.tex deleted file mode 100644 index 65741e5ab..000000000 --- a/trunk/paradiseo-peo/docs/latex/classRunner.tex +++ /dev/null @@ -1,80 +0,0 @@ -\hypertarget{classRunner}{ -\section{Runner Class Reference} -\label{classRunner}\index{Runner@{Runner}} -} -Inheritance diagram for Runner::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{classRunner} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classRunner_7acb8258c21da9daa62f9a177a2e5acd}{ -\hyperlink{classRunner_7acb8258c21da9daa62f9a177a2e5acd}{Runner} ()} -\label{classRunner_7acb8258c21da9daa62f9a177a2e5acd} - -\item -\hypertarget{classRunner_7dc4419051fcc5cc9dadd54ecc9cd47d}{ -void \hyperlink{classRunner_7dc4419051fcc5cc9dadd54ecc9cd47d}{start} ()} -\label{classRunner_7dc4419051fcc5cc9dadd54ecc9cd47d} - -\item -\hypertarget{classRunner_5bc239db2be753b77369fa9a038769fd}{ -void \hyperlink{classRunner_5bc239db2be753b77369fa9a038769fd}{wait\-Starting} ()} -\label{classRunner_5bc239db2be753b77369fa9a038769fd} - -\item -\hypertarget{classRunner_40adbfb7d6944189b4fff60b02e669ca}{ -bool \hyperlink{classRunner_40adbfb7d6944189b4fff60b02e669ca}{is\-Local} ()} -\label{classRunner_40adbfb7d6944189b4fff60b02e669ca} - -\item -\hypertarget{classRunner_0f133e75c28fb8264549814f80608e68}{ -void \hyperlink{classRunner_0f133e75c28fb8264549814f80608e68}{terminate} ()} -\label{classRunner_0f133e75c28fb8264549814f80608e68} - -\item -\hypertarget{classRunner_5026c74eec184e3a15cb3c0ec4200a57}{ -RUNNER\_\-ID \hyperlink{classRunner_5026c74eec184e3a15cb3c0ec4200a57}{get\-ID} ()} -\label{classRunner_5026c74eec184e3a15cb3c0ec4200a57} - -\item -\hypertarget{classRunner_2ad6d199d684d6f34347fc202ffe2fa3}{ -void \hyperlink{classRunner_2ad6d199d684d6f34347fc202ffe2fa3}{pack\-Termination} ()} -\label{classRunner_2ad6d199d684d6f34347fc202ffe2fa3} - -\item -\hypertarget{classRunner_3591be473e0fcee1105fb57319b529aa}{ -void \hyperlink{classRunner_3591be473e0fcee1105fb57319b529aa}{notify\-Sending\-Termination} ()} -\label{classRunner_3591be473e0fcee1105fb57319b529aa} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -\hypertarget{classRunner_4b0827d5df2df632db4ab71dd55e81b2}{ -sem\_\-t \hyperlink{classRunner_4b0827d5df2df632db4ab71dd55e81b2}{sem\_\-start}} -\label{classRunner_4b0827d5df2df632db4ab71dd55e81b2} - -\item -\hypertarget{classRunner_1989c1f8e0b0b54ad2e60a341007e59d}{ -unsigned \hyperlink{classRunner_1989c1f8e0b0b54ad2e60a341007e59d}{id}} -\label{classRunner_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/docs/latex/classService.eps b/trunk/paradiseo-peo/docs/latex/classService.eps deleted file mode 100644 index 77ffc2408..000000000 --- a/trunk/paradiseo-peo/docs/latex/classService.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/docs/latex/classService.pdf b/trunk/paradiseo-peo/docs/latex/classService.pdf deleted file mode 100644 index 56e79c539..000000000 Binary files a/trunk/paradiseo-peo/docs/latex/classService.pdf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/latex/classService.tex b/trunk/paradiseo-peo/docs/latex/classService.tex deleted file mode 100644 index 74a505e51..000000000 --- a/trunk/paradiseo-peo/docs/latex/classService.tex +++ /dev/null @@ -1,100 +0,0 @@ -\hypertarget{classService}{ -\section{Service Class Reference} -\label{classService}\index{Service@{Service}} -} -Inheritance diagram for Service::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2.8cm]{classService} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classService_33b149b98498c0e7e401b0f0839d7f0d}{ -void \hyperlink{classService_33b149b98498c0e7e401b0f0839d7f0d}{set\-Owner} (\hyperlink{classThread}{Thread} \&\_\-\_\-owner)} -\label{classService_33b149b98498c0e7e401b0f0839d7f0d} - -\item -\hypertarget{classService_0dae00309c51a7b7069788142aed799f}{ -\hyperlink{classThread}{Thread} $\ast$ \hyperlink{classService_0dae00309c51a7b7069788142aed799f}{get\-Owner} ()} -\label{classService_0dae00309c51a7b7069788142aed799f} - -\item -\hypertarget{classService_7e2ae35a9070a05dcd46488df649896d}{ -void \hyperlink{classService_7e2ae35a9070a05dcd46488df649896d}{request\-Resource\-Request} (unsigned \_\-\_\-how\_\-many=1)} -\label{classService_7e2ae35a9070a05dcd46488df649896d} - -\item -\hypertarget{classService_c4289f98d1cd9ed53e850efbb6a947bd}{ -void \hyperlink{classService_c4289f98d1cd9ed53e850efbb6a947bd}{pack\-Resource\-Request} ()} -\label{classService_c4289f98d1cd9ed53e850efbb6a947bd} - -\item -\hypertarget{classService_aea4b8f7f8fb88e83862ee4bfd9ab207}{ -virtual void \hyperlink{classService_aea4b8f7f8fb88e83862ee4bfd9ab207}{pack\-Data} ()} -\label{classService_aea4b8f7f8fb88e83862ee4bfd9ab207} - -\item -\hypertarget{classService_3bd87b444710813d30fd754d4d0b4df3}{ -virtual void \hyperlink{classService_3bd87b444710813d30fd754d4d0b4df3}{unpack\-Data} ()} -\label{classService_3bd87b444710813d30fd754d4d0b4df3} - -\item -\hypertarget{classService_e4f2894e6121e60f38d41cfbd7447ae4}{ -virtual void \hyperlink{classService_e4f2894e6121e60f38d41cfbd7447ae4}{execute} ()} -\label{classService_e4f2894e6121e60f38d41cfbd7447ae4} - -\item -\hypertarget{classService_e5e4f90b2315e15c2a2913bd370f4cf5}{ -virtual void \hyperlink{classService_e5e4f90b2315e15c2a2913bd370f4cf5}{pack\-Result} ()} -\label{classService_e5e4f90b2315e15c2a2913bd370f4cf5} - -\item -\hypertarget{classService_45c06344edbfa482b91f68e2035a6099}{ -virtual void \hyperlink{classService_45c06344edbfa482b91f68e2035a6099}{unpack\-Result} ()} -\label{classService_45c06344edbfa482b91f68e2035a6099} - -\item -\hypertarget{classService_81ad4d6ebb50045b8977e2ab74826f30}{ -virtual void \hyperlink{classService_81ad4d6ebb50045b8977e2ab74826f30}{notify\-Sending\-Data} ()} -\label{classService_81ad4d6ebb50045b8977e2ab74826f30} - -\item -\hypertarget{classService_94e2012e76aaae3aa8199250f558d503}{ -virtual void \hyperlink{classService_94e2012e76aaae3aa8199250f558d503}{notify\-Sending\-Resource\-Request} ()} -\label{classService_94e2012e76aaae3aa8199250f558d503} - -\item -\hypertarget{classService_f94cc8a5c2665d4574041737e61e9ffc}{ -virtual void \hyperlink{classService_f94cc8a5c2665d4574041737e61e9ffc}{notify\-Sending\-All\-Resource\-Requests} ()} -\label{classService_f94cc8a5c2665d4574041737e61e9ffc} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -\hypertarget{classService_8b615c65c876f342fe8209eb7e36d7b2}{ -\hyperlink{classThread}{Thread} $\ast$ \hyperlink{classService_8b615c65c876f342fe8209eb7e36d7b2}{owner}} -\label{classService_8b615c65c876f342fe8209eb7e36d7b2} - -\item -\hypertarget{classService_a5b2ad9520bb3710b54348b99acebd58}{ -unsigned \hyperlink{classService_a5b2ad9520bb3710b54348b99acebd58}{num\_\-sent\_\-rr}} -\label{classService_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/docs/latex/classThread.eps b/trunk/paradiseo-peo/docs/latex/classThread.eps deleted file mode 100644 index e02a5f5fe..000000000 --- a/trunk/paradiseo-peo/docs/latex/classThread.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/docs/latex/classThread.pdf b/trunk/paradiseo-peo/docs/latex/classThread.pdf deleted file mode 100644 index a6e56c2ba..000000000 Binary files a/trunk/paradiseo-peo/docs/latex/classThread.pdf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/latex/classThread.tex b/trunk/paradiseo-peo/docs/latex/classThread.tex deleted file mode 100644 index 3b48cd671..000000000 --- a/trunk/paradiseo-peo/docs/latex/classThread.tex +++ /dev/null @@ -1,54 +0,0 @@ -\hypertarget{classThread}{ -\section{Thread Class Reference} -\label{classThread}\index{Thread@{Thread}} -} -Inheritance diagram for Thread::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{classThread} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classThread_95c703fb8f2f27cb64f475a8c940864a}{ -\hyperlink{classThread_95c703fb8f2f27cb64f475a8c940864a}{Thread} ()} -\label{classThread_95c703fb8f2f27cb64f475a8c940864a} - -\item -\hypertarget{classThread_37d9edd3a1a776cbc27dedff949c9726}{ -virtual \hyperlink{classThread_37d9edd3a1a776cbc27dedff949c9726}{$\sim$Thread} ()} -\label{classThread_37d9edd3a1a776cbc27dedff949c9726} - -\item -\hypertarget{classThread_e197c46f8f62ecce6d2a7fe95bdc5b38}{ -void \hyperlink{classThread_e197c46f8f62ecce6d2a7fe95bdc5b38}{set\-Active} ()} -\label{classThread_e197c46f8f62ecce6d2a7fe95bdc5b38} - -\item -\hypertarget{classThread_20632ffe9ddfa2a478afb0c84dc1096b}{ -void \hyperlink{classThread_20632ffe9ddfa2a478afb0c84dc1096b}{set\-Passive} ()} -\label{classThread_20632ffe9ddfa2a478afb0c84dc1096b} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -\hypertarget{classThread_1b155d63bca3096ac4a1d039aea83c7c}{ -bool \hyperlink{classThread_1b155d63bca3096ac4a1d039aea83c7c}{act}} -\label{classThread_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/docs/latex/classTopology.eps b/trunk/paradiseo-peo/docs/latex/classTopology.eps deleted file mode 100644 index 45dacefa6..000000000 --- a/trunk/paradiseo-peo/docs/latex/classTopology.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/docs/latex/classTopology.pdf b/trunk/paradiseo-peo/docs/latex/classTopology.pdf deleted file mode 100644 index a92147762..000000000 Binary files a/trunk/paradiseo-peo/docs/latex/classTopology.pdf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/latex/classTopology.tex b/trunk/paradiseo-peo/docs/latex/classTopology.tex deleted file mode 100644 index 0382d3a25..000000000 --- a/trunk/paradiseo-peo/docs/latex/classTopology.tex +++ /dev/null @@ -1,44 +0,0 @@ -\hypertarget{classTopology}{ -\section{Topology Class Reference} -\label{classTopology}\index{Topology@{Topology}} -} -Inheritance diagram for Topology::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2cm]{classTopology} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classTopology_3e447669757c8311c7f6f8edc705abf2}{ -virtual \hyperlink{classTopology_3e447669757c8311c7f6f8edc705abf2}{$\sim$Topology} ()} -\label{classTopology_3e447669757c8311c7f6f8edc705abf2} - -\item -\hypertarget{classTopology_62bc46d8c20fdc71dad9e7c7a0d7aded}{ -void \hyperlink{classTopology_62bc46d8c20fdc71dad9e7c7a0d7aded}{add} (\hyperlink{classCooperative}{Cooperative} \&\_\-\_\-mig)} -\label{classTopology_62bc46d8c20fdc71dad9e7c7a0d7aded} - -\end{CompactItemize} -\subsection*{Protected Attributes} -\begin{CompactItemize} -\item -\hypertarget{classTopology_247a2faa8568b678f0b7b11e62c7812c}{ -std::vector$<$ \hyperlink{classCooperative}{Cooperative} $\ast$ $>$ \hyperlink{classTopology_247a2faa8568b678f0b7b11e62c7812c}{mig}} -\label{classTopology_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/docs/latex/classWorker.eps b/trunk/paradiseo-peo/docs/latex/classWorker.eps deleted file mode 100644 index 5972d40a6..000000000 --- a/trunk/paradiseo-peo/docs/latex/classWorker.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/docs/latex/classWorker.pdf b/trunk/paradiseo-peo/docs/latex/classWorker.pdf deleted file mode 100644 index 2d13ee1b1..000000000 Binary files a/trunk/paradiseo-peo/docs/latex/classWorker.pdf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/latex/classWorker.tex b/trunk/paradiseo-peo/docs/latex/classWorker.tex deleted file mode 100644 index 1eb8104e6..000000000 --- a/trunk/paradiseo-peo/docs/latex/classWorker.tex +++ /dev/null @@ -1,94 +0,0 @@ -\hypertarget{classWorker}{ -\section{Worker Class Reference} -\label{classWorker}\index{Worker@{Worker}} -} -Inheritance diagram for Worker::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{classWorker} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classWorker_3754817df06ffe220f7f0d903c78ccac}{ -\hyperlink{classWorker_3754817df06ffe220f7f0d903c78ccac}{Worker} ()} -\label{classWorker_3754817df06ffe220f7f0d903c78ccac} - -\item -\hypertarget{classWorker_abcbbace05c6113f1959c494b3577291}{ -void \hyperlink{classWorker_abcbbace05c6113f1959c494b3577291}{start} ()} -\label{classWorker_abcbbace05c6113f1959c494b3577291} - -\item -\hypertarget{classWorker_83780920118e6c2b67d9477bdf8be248}{ -void \hyperlink{classWorker_83780920118e6c2b67d9477bdf8be248}{pack\-Result} ()} -\label{classWorker_83780920118e6c2b67d9477bdf8be248} - -\item -\hypertarget{classWorker_bff2bdcd64fe5400156cc78704c64953}{ -void \hyperlink{classWorker_bff2bdcd64fe5400156cc78704c64953}{unpack\-Data} ()} -\label{classWorker_bff2bdcd64fe5400156cc78704c64953} - -\item -\hypertarget{classWorker_60d2e8eba85b9ef403d94be54c391640}{ -void \hyperlink{classWorker_60d2e8eba85b9ef403d94be54c391640}{pack\-Task\-Done} ()} -\label{classWorker_60d2e8eba85b9ef403d94be54c391640} - -\item -\hypertarget{classWorker_e2f487014766a73c5788bdcfd58ad863}{ -void \hyperlink{classWorker_e2f487014766a73c5788bdcfd58ad863}{notify\-Sending\-Result} ()} -\label{classWorker_e2f487014766a73c5788bdcfd58ad863} - -\item -\hypertarget{classWorker_13efd6a8e275745329a4a8e23a0eb0bb}{ -void \hyperlink{classWorker_13efd6a8e275745329a4a8e23a0eb0bb}{notify\-Sending\-Task\-Done} ()} -\label{classWorker_13efd6a8e275745329a4a8e23a0eb0bb} - -\item -\hypertarget{classWorker_5dab4ea663546b5a49d9398d7a624d27}{ -void \hyperlink{classWorker_5dab4ea663546b5a49d9398d7a624d27}{set\-Source} (int \_\-\_\-rank)} -\label{classWorker_5dab4ea663546b5a49d9398d7a624d27} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -\hypertarget{classWorker_b5ffcb995e12fa71b9551e91729d6972}{ -WORKER\_\-ID \hyperlink{classWorker_b5ffcb995e12fa71b9551e91729d6972}{id}} -\label{classWorker_b5ffcb995e12fa71b9551e91729d6972} - -\item -\hypertarget{classWorker_d7dc76e301fd2bcf5d3a2088a59f1378}{ -SERVICE\_\-ID \hyperlink{classWorker_d7dc76e301fd2bcf5d3a2088a59f1378}{serv\_\-id}} -\label{classWorker_d7dc76e301fd2bcf5d3a2088a59f1378} - -\item -\hypertarget{classWorker_454e1764ed165af733cc44a73e395692}{ -\hyperlink{classService}{Service} $\ast$ \hyperlink{classWorker_454e1764ed165af733cc44a73e395692}{serv}} -\label{classWorker_454e1764ed165af733cc44a73e395692} - -\item -\hypertarget{classWorker_895c3ebc198018ea3391c09bc802d2f6}{ -int \hyperlink{classWorker_895c3ebc198018ea3391c09bc802d2f6}{src}} -\label{classWorker_895c3ebc198018ea3391c09bc802d2f6} - -\item -\hypertarget{classWorker_7ba5a18b2918cf9e704536b763be37f7}{ -bool \hyperlink{classWorker_7ba5a18b2918cf9e704536b763be37f7}{toto}} -\label{classWorker_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/docs/latex/classpeoAggEvalFunc.eps b/trunk/paradiseo-peo/docs/latex/classpeoAggEvalFunc.eps deleted file mode 100644 index 0caadfe0f..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoAggEvalFunc.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 -(peoAggEvalFunc< EOT >) 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 1 box - (peoNoAggEvalFunc< EOT >) 0 0 box - -% ----- relations ----- - -solid -1 0 0.25 out -solid -0 0 0.75 in diff --git a/trunk/paradiseo-peo/docs/latex/classpeoAggEvalFunc.pdf b/trunk/paradiseo-peo/docs/latex/classpeoAggEvalFunc.pdf deleted file mode 100644 index b08379292..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoAggEvalFunc.pdf +++ /dev/null @@ -1,73 +0,0 @@ -%PDF-1.3 -%Çì¢ -5 0 obj -<> -stream -xœ•NÛJ1}Ÿ¯8¶q&77P --l}SªùYÚEizQÔßwÒ-l}$„““9—9€ë¹`Wèöéý1îõöt"9 p®`™UÔÀ%™yKƒYàÙÄä$ Ì…nŽ›Ã¢ïÛ¯—ÝêsßÍÐ>fÌ'ùÚLkrÎpøÖ„W­gA¿#ã}CÏÿë—h|JÖõ-Pm¿û4" +YE¤Ä(Ãó¼ÜN%#«ŸL€HÓèÌúÀWìʵ´ö”1ºÆ­é[çR¿endstream -endobj -6 0 obj -204 -endobj -4 0 obj -<> -/Contents 5 0 R ->> -endobj -3 0 obj -<< /Type /Pages /Kids [ -4 0 R -] /Count 1 ->> -endobj -1 0 obj -<> -endobj -7 0 obj -<>endobj -9 0 obj -<> -endobj -10 0 obj -<> -endobj -8 0 obj -<> -endobj -2 0 obj -<>endobj -xref -0 11 -0000000000 65535 f -0000000520 00000 n -0000000734 00000 n -0000000461 00000 n -0000000308 00000 n -0000000015 00000 n -0000000289 00000 n -0000000568 00000 n -0000000668 00000 n -0000000609 00000 n -0000000638 00000 n -trailer -<< /Size 11 /Root 1 0 R /Info 2 0 R -/ID [(©&ú•QH1]®Z\\Ú®ù)(©&ú•QH1]®Z\\Ú®ù)] ->> -startxref -891 -%%EOF diff --git a/trunk/paradiseo-peo/docs/latex/classpeoAggEvalFunc.tex b/trunk/paradiseo-peo/docs/latex/classpeoAggEvalFunc.tex deleted file mode 100644 index 7b06abe38..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoAggEvalFunc.tex +++ /dev/null @@ -1,39 +0,0 @@ -\hypertarget{classpeoAggEvalFunc}{ -\section{peo\-Agg\-Eval\-Func$<$ EOT $>$ Class Template Reference} -\label{classpeoAggEvalFunc}\index{peoAggEvalFunc@{peoAggEvalFunc}} -} -The \hyperlink{classpeoAggEvalFunc}{peo\-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]{classpeoAggEvalFunc} -\end{center} -\end{figure} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Agg\-Eval\-Func$<$ EOT $>$} - -The \hyperlink{classpeoAggEvalFunc}{peo\-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/docs/latex/classpeoAsyncIslandMig.eps b/trunk/paradiseo-peo/docs/latex/classpeoAsyncIslandMig.eps deleted file mode 100644 index 1d54a93f4..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoAsyncIslandMig.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/docs/latex/classpeoAsyncIslandMig.pdf b/trunk/paradiseo-peo/docs/latex/classpeoAsyncIslandMig.pdf deleted file mode 100644 index 3f4e36617..000000000 Binary files a/trunk/paradiseo-peo/docs/latex/classpeoAsyncIslandMig.pdf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/latex/classpeoAsyncIslandMig.tex b/trunk/paradiseo-peo/docs/latex/classpeoAsyncIslandMig.tex deleted file mode 100644 index c34486f05..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoAsyncIslandMig.tex +++ /dev/null @@ -1,216 +0,0 @@ -\hypertarget{classpeoAsyncIslandMig}{ -\section{peo\-Async\-Island\-Mig$<$ EOT $>$ Class Template Reference} -\label{classpeoAsyncIslandMig}\index{peoAsyncIslandMig@{peoAsyncIslandMig}} -} -The \hyperlink{classpeoAsyncIslandMig}{peo\-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]{classpeoAsyncIslandMig} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hyperlink{classpeoAsyncIslandMig_e0f706cbf4148d3ca327227a5c7a9fdf}{peo\-Async\-Island\-Mig} (eo\-Continue$<$ EOT $>$ \&\_\-\_\-cont, eo\-Select$<$ EOT $>$ \&\_\-\_\-select, eo\-Replacement$<$ EOT $>$ \&\_\-\_\-replace, \hyperlink{classTopology}{Topology} \&\_\-\_\-topology, eo\-Pop$<$ EOT $>$ \&\_\-\_\-source, eo\-Pop$<$ EOT $>$ \&\_\-\_\-destination) -\begin{CompactList}\small\item\em Constructor for the \hyperlink{classpeoAsyncIslandMig}{peo\-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 \hyperlink{classpeoAsyncIslandMig_13581e54425727a7f785ca8a6df527b5}{operator()} () -\begin{CompactList}\small\item\em Function operator to be called as checkpoint for performing the migration step. \item\end{CompactList}\item -\hypertarget{classpeoAsyncIslandMig_6d790a5d0b6ac510cac4f61a1c0d8f16}{ -void \hyperlink{classpeoAsyncIslandMig_6d790a5d0b6ac510cac4f61a1c0d8f16}{pack} ()} -\label{classpeoAsyncIslandMig_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 -\hypertarget{classpeoAsyncIslandMig_455501aee5db2bbfbae15779c8429369}{ -void \hyperlink{classpeoAsyncIslandMig_455501aee5db2bbfbae15779c8429369}{unpack} ()} -\label{classpeoAsyncIslandMig_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 -\hypertarget{classpeoAsyncIslandMig_87a4ef7d4bd30d349a801bf0f9e87c82}{ -void \hyperlink{classpeoAsyncIslandMig_87a4ef7d4bd30d349a801bf0f9e87c82}{emigrate} ()} -\label{classpeoAsyncIslandMig_87a4ef7d4bd30d349a801bf0f9e87c82} - -\item -\hypertarget{classpeoAsyncIslandMig_5a9a64ba51a696e45f91b362c39c9a64}{ -void \hyperlink{classpeoAsyncIslandMig_5a9a64ba51a696e45f91b362c39c9a64}{immigrate} ()} -\label{classpeoAsyncIslandMig_5a9a64ba51a696e45f91b362c39c9a64} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -\hypertarget{classpeoAsyncIslandMig_2fc077d02ef9ea4595cfe883af0d4f83}{ -eo\-Continue$<$ EOT $>$ \& \hyperlink{classpeoAsyncIslandMig_2fc077d02ef9ea4595cfe883af0d4f83}{cont}} -\label{classpeoAsyncIslandMig_2fc077d02ef9ea4595cfe883af0d4f83} - -\item -\hypertarget{classpeoAsyncIslandMig_b1fa045094c8a411323e75b5820c80c2}{ -eo\-Select$<$ EOT $>$ \& \hyperlink{classpeoAsyncIslandMig_b1fa045094c8a411323e75b5820c80c2}{select}} -\label{classpeoAsyncIslandMig_b1fa045094c8a411323e75b5820c80c2} - -\item -\hypertarget{classpeoAsyncIslandMig_b761dbd880ee32e170741ecd78da6f48}{ -eo\-Replacement$<$ EOT $>$ \& \hyperlink{classpeoAsyncIslandMig_b761dbd880ee32e170741ecd78da6f48}{replace}} -\label{classpeoAsyncIslandMig_b761dbd880ee32e170741ecd78da6f48} - -\item -\hypertarget{classpeoAsyncIslandMig_e45e5a808a96f0853ab6ba42339fe679}{ -\hyperlink{classTopology}{Topology} \& \hyperlink{classpeoAsyncIslandMig_e45e5a808a96f0853ab6ba42339fe679}{topology}} -\label{classpeoAsyncIslandMig_e45e5a808a96f0853ab6ba42339fe679} - -\item -\hypertarget{classpeoAsyncIslandMig_8a502d82c773033e274dca932fc2d4ee}{ -eo\-Pop$<$ EOT $>$ \& \hyperlink{classpeoAsyncIslandMig_8a502d82c773033e274dca932fc2d4ee}{source}} -\label{classpeoAsyncIslandMig_8a502d82c773033e274dca932fc2d4ee} - -\item -\hypertarget{classpeoAsyncIslandMig_e407f411d08ae7d96992603c145a7e43}{ -eo\-Pop$<$ EOT $>$ \& \hyperlink{classpeoAsyncIslandMig_e407f411d08ae7d96992603c145a7e43}{destination}} -\label{classpeoAsyncIslandMig_e407f411d08ae7d96992603c145a7e43} - -\item -\hypertarget{classpeoAsyncIslandMig_b8c76d98d9ae99dd930a77c12860519a}{ -std::queue$<$ eo\-Pop$<$ EOT $>$ $>$ \hyperlink{classpeoAsyncIslandMig_b8c76d98d9ae99dd930a77c12860519a}{imm}} -\label{classpeoAsyncIslandMig_b8c76d98d9ae99dd930a77c12860519a} - -\item -\hypertarget{classpeoAsyncIslandMig_a9cc0e2d61cac6e11647b141962adc89}{ -std::queue$<$ eo\-Pop$<$ EOT $>$ $>$ \hyperlink{classpeoAsyncIslandMig_a9cc0e2d61cac6e11647b141962adc89}{em}} -\label{classpeoAsyncIslandMig_a9cc0e2d61cac6e11647b141962adc89} - -\item -\hypertarget{classpeoAsyncIslandMig_1a2c0004d23bc303420af137a8c8bd27}{ -std::queue$<$ \hyperlink{classCooperative}{Cooperative} $\ast$ $>$ \hyperlink{classpeoAsyncIslandMig_1a2c0004d23bc303420af137a8c8bd27}{coop\_\-em}} -\label{classpeoAsyncIslandMig_1a2c0004d23bc303420af137a8c8bd27} - -\end{CompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Async\-Island\-Mig$<$ EOT $>$} - -The \hyperlink{classpeoAsyncIslandMig}{peo\-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 \hyperlink{classRunner}{Runner}} class (for example a \hyperlink{classpeoEA}{peo\-EA} 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 -\hyperlink{classRingTopology}{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 \hyperlink{classRunner}{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} -\hypertarget{classpeoAsyncIslandMig_e0f706cbf4148d3ca327227a5c7a9fdf}{ -\index{peoAsyncIslandMig@{peo\-Async\-Island\-Mig}!peoAsyncIslandMig@{peoAsyncIslandMig}} -\index{peoAsyncIslandMig@{peoAsyncIslandMig}!peoAsyncIslandMig@{peo\-Async\-Island\-Mig}} -\subsubsection[peoAsyncIslandMig]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \hyperlink{classpeoAsyncIslandMig}{peo\-Async\-Island\-Mig}$<$ EOT $>$::\hyperlink{classpeoAsyncIslandMig}{peo\-Async\-Island\-Mig} (eo\-Continue$<$ EOT $>$ \& {\em \_\-\_\-cont}, eo\-Select$<$ EOT $>$ \& {\em \_\-\_\-select}, eo\-Replacement$<$ EOT $>$ \& {\em \_\-\_\-replace}, \hyperlink{classTopology}{Topology} \& {\em \_\-\_\-topology}, eo\-Pop$<$ EOT $>$ \& {\em \_\-\_\-source}, eo\-Pop$<$ EOT $>$ \& {\em \_\-\_\-destination})}} -\label{classpeoAsyncIslandMig_e0f706cbf4148d3ca327227a5c7a9fdf} - - -Constructor for the \hyperlink{classpeoAsyncIslandMig}{peo\-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} -\hypertarget{classpeoAsyncIslandMig_13581e54425727a7f785ca8a6df527b5}{ -\index{peoAsyncIslandMig@{peo\-Async\-Island\-Mig}!operator()@{operator()}} -\index{operator()@{operator()}!peoAsyncIslandMig@{peo\-Async\-Island\-Mig}} -\subsubsection[operator()]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoAsyncIslandMig}{peo\-Async\-Island\-Mig}$<$ EOT $>$::operator() ()}} -\label{classpeoAsyncIslandMig_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/docs/latex/classpeoEA.eps b/trunk/paradiseo-peo/docs/latex/classpeoEA.eps deleted file mode 100644 index e4aabc826..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoEA.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/docs/latex/classpeoEA.pdf b/trunk/paradiseo-peo/docs/latex/classpeoEA.pdf deleted file mode 100644 index 66840cfb9..000000000 Binary files a/trunk/paradiseo-peo/docs/latex/classpeoEA.pdf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/latex/classpeoEA.tex b/trunk/paradiseo-peo/docs/latex/classpeoEA.tex deleted file mode 100644 index ae5435ef3..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoEA.tex +++ /dev/null @@ -1,145 +0,0 @@ -\hypertarget{classpeoEA}{ -\section{peo\-EA$<$ EOT $>$ Class Template Reference} -\label{classpeoEA}\index{peoEA@{peoEA}} -} -The \hyperlink{classpeoEA}{peo\-EA} 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]{classpeoEA} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hyperlink{classpeoEA_dbfc4f8907bef234602149229f132371}{peo\-EA} (eo\-Continue$<$ EOT $>$ \&\_\-\_\-cont, \hyperlink{classpeoPopEval}{peo\-Pop\-Eval}$<$ EOT $>$ \&\_\-\_\-pop\_\-eval, eo\-Select$<$ EOT $>$ \&\_\-\_\-select, \hyperlink{classpeoTransform}{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 -\hypertarget{classpeoEA_6ab8c321d29350634143a2a01cf2ad24}{ -void \hyperlink{classpeoEA_6ab8c321d29350634143a2a01cf2ad24}{run} ()} -\label{classpeoEA_6ab8c321d29350634143a2a01cf2ad24} - -\begin{CompactList}\small\item\em Evolutionary algorithm function - a side effect of the fact that the class is derived from the {\bf \hyperlink{classRunner}{Runner}} class, thus requiring the existence of a {\em run\/} function, the algorithm being executed on a distinct thread. \item\end{CompactList}\item -void \hyperlink{classpeoEA_3c709e3b2491147d26fee36138644613}{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 -\hypertarget{classpeoEA_5f015eebf42f176b9fe322488c446c2a}{ -eo\-Continue$<$ EOT $>$ \& \hyperlink{classpeoEA_5f015eebf42f176b9fe322488c446c2a}{cont}} -\label{classpeoEA_5f015eebf42f176b9fe322488c446c2a} - -\item -\hypertarget{classpeoEA_9140259f50c9186edcb062b023624c96}{ -\hyperlink{classpeoPopEval}{peo\-Pop\-Eval}$<$ EOT $>$ \& \hyperlink{classpeoEA_9140259f50c9186edcb062b023624c96}{pop\_\-eval}} -\label{classpeoEA_9140259f50c9186edcb062b023624c96} - -\item -\hypertarget{classpeoEA_2d8428d69fdd6aefefbaf543fdd46d19}{ -eo\-Select$<$ EOT $>$ \& \hyperlink{classpeoEA_2d8428d69fdd6aefefbaf543fdd46d19}{select}} -\label{classpeoEA_2d8428d69fdd6aefefbaf543fdd46d19} - -\item -\hypertarget{classpeoEA_713c77935eb8aafebfb9488cfaa4a363}{ -\hyperlink{classpeoTransform}{peo\-Transform}$<$ EOT $>$ \& \hyperlink{classpeoEA_713c77935eb8aafebfb9488cfaa4a363}{trans}} -\label{classpeoEA_713c77935eb8aafebfb9488cfaa4a363} - -\item -\hypertarget{classpeoEA_9bd2d4356cf7e69e3141dc269213aa8a}{ -eo\-Replacement$<$ EOT $>$ \& \hyperlink{classpeoEA_9bd2d4356cf7e69e3141dc269213aa8a}{replace}} -\label{classpeoEA_9bd2d4356cf7e69e3141dc269213aa8a} - -\item -\hypertarget{classpeoEA_c0b110e410bc16283e8339f24b733772}{ -eo\-Pop$<$ EOT $>$ $\ast$ \hyperlink{classpeoEA_c0b110e410bc16283e8339f24b733772}{pop}} -\label{classpeoEA_c0b110e410bc16283e8339f24b733772} - -\end{CompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-EA$<$ EOT $>$} - -The \hyperlink{classpeoEA}{peo\-EA} class offers an elementary evolutionary algorithm implementation. - -In addition, as compared with the algorithms provided by the EO framework, the \hyperlink{classpeoEA}{peo\-EA} 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 \hyperlink{classpeoEA}{peo\-EA} 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} -\hypertarget{classpeoEA_dbfc4f8907bef234602149229f132371}{ -\index{peoEA@{peo\-EA}!peoEA@{peoEA}} -\index{peoEA@{peoEA}!peoEA@{peo\-EA}} -\subsubsection[peoEA]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \hyperlink{classpeoEA}{peo\-EA}$<$ EOT $>$::\hyperlink{classpeoEA}{peo\-EA} (eo\-Continue$<$ EOT $>$ \& {\em \_\-\_\-cont}, \hyperlink{classpeoPopEval}{peo\-Pop\-Eval}$<$ EOT $>$ \& {\em \_\-\_\-pop\_\-eval}, eo\-Select$<$ EOT $>$ \& {\em \_\-\_\-select}, \hyperlink{classpeoTransform}{peo\-Transform}$<$ EOT $>$ \& {\em \_\-\_\-trans}, eo\-Replacement$<$ EOT $>$ \& {\em \_\-\_\-replace})}} -\label{classpeoEA_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} -\hypertarget{classpeoEA_3c709e3b2491147d26fee36138644613}{ -\index{peoEA@{peo\-EA}!operator()@{operator()}} -\index{operator()@{operator()}!peoEA@{peo\-EA}} -\subsubsection[operator()]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoEA}{peo\-EA}$<$ EOT $>$::operator() (eo\-Pop$<$ EOT $>$ \& {\em \_\-\_\-pop})}} -\label{classpeoEA_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/docs/latex/classpeoNoAggEvalFunc.eps b/trunk/paradiseo-peo/docs/latex/classpeoNoAggEvalFunc.eps deleted file mode 100644 index ead08b31e..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoNoAggEvalFunc.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/docs/latex/classpeoNoAggEvalFunc.pdf b/trunk/paradiseo-peo/docs/latex/classpeoNoAggEvalFunc.pdf deleted file mode 100644 index d4fa5df59..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoNoAggEvalFunc.pdf +++ /dev/null @@ -1,73 +0,0 @@ -%PDF-1.3 -%Çì¢ -5 0 obj -<> -stream -xœ•OÉŠ1½×W¼ãè!SYí€ -íÜFtòÒh£Ø.3¨¿oõ‚Ša¡òªÞR9•×§«EEŸ‹Ê?b|É-éDº! +E…IRU`ÖHkjÅ:(£±â—*ú8®߇qYæ—ånzÞC䳄Q/m)O4'k×W±ØPmâ#ÆïŠ~þ—îX…è"´÷ø7ᢱæ5Q¾àÛŒïúUûŒ‘±ÆtýÆä>hP=qQyhe23ÎózR­û²È ŠÛR¿endstream -endobj -6 0 obj -202 -endobj -4 0 obj -<> -/Contents 5 0 R ->> -endobj -3 0 obj -<< /Type /Pages /Kids [ -4 0 R -] /Count 1 ->> -endobj -1 0 obj -<> -endobj -7 0 obj -<>endobj -9 0 obj -<> -endobj -10 0 obj -<> -endobj -8 0 obj -<> -endobj -2 0 obj -<>endobj -xref -0 11 -0000000000 65535 f -0000000518 00000 n -0000000732 00000 n -0000000459 00000 n -0000000306 00000 n -0000000015 00000 n -0000000287 00000 n -0000000566 00000 n -0000000666 00000 n -0000000607 00000 n -0000000636 00000 n -trailer -<< /Size 11 /Root 1 0 R /Info 2 0 R -/ID [(ç§cÓ¡NòP­j\\aX)(ç§cÓ¡NòP­j\\aX)] ->> -startxref -889 -%%EOF diff --git a/trunk/paradiseo-peo/docs/latex/classpeoNoAggEvalFunc.tex b/trunk/paradiseo-peo/docs/latex/classpeoNoAggEvalFunc.tex deleted file mode 100644 index defd9349d..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoNoAggEvalFunc.tex +++ /dev/null @@ -1,39 +0,0 @@ -\hypertarget{classpeoNoAggEvalFunc}{ -\section{peo\-No\-Agg\-Eval\-Func$<$ EOT $>$ Class Template Reference} -\label{classpeoNoAggEvalFunc}\index{peoNoAggEvalFunc@{peoNoAggEvalFunc}} -} -The \hyperlink{classpeoNoAggEvalFunc}{peo\-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]{classpeoNoAggEvalFunc} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classpeoNoAggEvalFunc_1a69ee1af8745ac75c864bf884436de5}{ -void \hyperlink{classpeoNoAggEvalFunc_1a69ee1af8745ac75c864bf884436de5}{operator()} (EOT \&\_\-\_\-sol, const typename EOT::Fitness \&\_\-\_\-fit)} -\label{classpeoNoAggEvalFunc_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 \hyperlink{classpeoNoAggEvalFunc}{peo\-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/docs/latex/classpeoParaPopEval.eps b/trunk/paradiseo-peo/docs/latex/classpeoParaPopEval.eps deleted file mode 100644 index 25c8b8af1..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoParaPopEval.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/docs/latex/classpeoParaPopEval.pdf b/trunk/paradiseo-peo/docs/latex/classpeoParaPopEval.pdf deleted file mode 100644 index 928c7a81a..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoParaPopEval.pdf +++ /dev/null @@ -1,73 +0,0 @@ -%PDF-1.3 -%Çì¢ -5 0 obj -<> -stream -xœ­’ËNÃ0E÷þŠY‹ÁOü PÅ’–æJ”VE } Êï3IãÔU»AB‘eùÞñÜ£qv Ñ€î¾a¯Zuÿæaõ¥4¼ÈZ©2} [ÕÂS)EØ`0&@¹TÇˬGcb´Q”­ºÙÖ›éb¿˜n¶“ây€Ék ·å‡š”j¦,c`Kð#=ÖÊDiàXz±Ó:.: ξVó¿±xFêngÑËžX®s¤dc£”ÛÈ7Á£ÕduCéóçõþ°®ê‹TòRÌŤ!13a¡cŸú¼iÛïÏuµxo.£ÙƒÒãj´*2N^‡ -­G¯=æ)B#•gBòûYRæÃíüB8àò«8)hßy™’_iÔò‹1„ØFÔYH’?Œöä ‚Ô!ƒÈ”ó ÂrÊ1ÄKè³$ ~òè'áÁºÍ "SÎ{ÄLý®ÆÄÆendstream -endobj -6 0 obj -354 -endobj -4 0 obj -<> -/Contents 5 0 R ->> -endobj -3 0 obj -<< /Type /Pages /Kids [ -4 0 R -] /Count 1 ->> -endobj -1 0 obj -<> -endobj -7 0 obj -<>endobj -9 0 obj -<> -endobj -10 0 obj -<> -endobj -8 0 obj -<> -endobj -2 0 obj -<>endobj -xref -0 11 -0000000000 65535 f -0000000669 00000 n -0000000883 00000 n -0000000610 00000 n -0000000458 00000 n -0000000015 00000 n -0000000439 00000 n -0000000717 00000 n -0000000817 00000 n -0000000758 00000 n -0000000787 00000 n -trailer -<< /Size 11 /Root 1 0 R /Info 2 0 R -/ID [(Kf¦Ý/6@ßÒ¾oQnr)(Kf¦Ý/6@ßÒ¾oQnr)] ->> -startxref -1040 -%%EOF diff --git a/trunk/paradiseo-peo/docs/latex/classpeoParaPopEval.tex b/trunk/paradiseo-peo/docs/latex/classpeoParaPopEval.tex deleted file mode 100644 index 997d9f80a..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoParaPopEval.tex +++ /dev/null @@ -1,258 +0,0 @@ -\hypertarget{classpeoParaPopEval}{ -\section{peo\-Para\-Pop\-Eval$<$ EOT $>$ Class Template Reference} -\label{classpeoParaPopEval}\index{peoParaPopEval@{peoParaPopEval}} -} -The \hyperlink{classpeoParaPopEval}{peo\-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]{classpeoParaPopEval} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hyperlink{classpeoParaPopEval_bcb540510a7038520bec41a7af332daf}{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 -\hyperlink{classpeoParaPopEval_1cc13a1ec366f95d219d682eccb455bc}{peo\-Para\-Pop\-Eval} (const std::vector$<$ eo\-Eval\-Func$<$ EOT $>$ $\ast$ $>$ \&\_\-\_\-funcs, \hyperlink{classpeoAggEvalFunc}{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 \hyperlink{classpeoParaPopEval_aeaa4fca4f8650e453e308838b4a2cb5}{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 \hyperlink{classpeoParaPopEval_fea632bd645ab11182782fd3c038d6d8}{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 \hyperlink{classpeoParaPopEval_410bf4c173e2f36df82251cb16ce1b05}{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 -\hypertarget{classpeoParaPopEval_3af76378611eac5a36da9a0a00aeeb6c}{ -void \hyperlink{classpeoParaPopEval_3af76378611eac5a36da9a0a00aeeb6c}{execute} ()} -\label{classpeoParaPopEval_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 \hyperlink{classpeoParaPopEval_24bb4ae84b0b9f64e7170e3d2b0e1223}{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 \hyperlink{classpeoParaPopEval_fd7f0afe9cba30be39269d16097e190e}{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 \hyperlink{classpeoParaPopEval_1f78c3cec2940af08a059cc1aa96a9c8}{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 \hyperlink{classpeoParaPopEval_b77031fc4807921ffaf7cf6b669a7665}{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 -\hypertarget{classpeoParaPopEval_6d69b8f73c0b5d72baf75d6e53f025b7}{ -const std::vector$<$ eo\-Eval\-Func$<$ EOT $>$ $\ast$ $>$ \& \hyperlink{classpeoParaPopEval_6d69b8f73c0b5d72baf75d6e53f025b7}{funcs}} -\label{classpeoParaPopEval_6d69b8f73c0b5d72baf75d6e53f025b7} - -\item -\hypertarget{classpeoParaPopEval_f0e8af3ee442d2b6baf0bd122226be3c}{ -std::vector$<$ eo\-Eval\-Func$<$ EOT $>$ $\ast$ $>$ \hyperlink{classpeoParaPopEval_f0e8af3ee442d2b6baf0bd122226be3c}{one\_\-func}} -\label{classpeoParaPopEval_f0e8af3ee442d2b6baf0bd122226be3c} - -\item -\hypertarget{classpeoParaPopEval_b48bcd4e9f92f364118304535c089456}{ -\hyperlink{classpeoAggEvalFunc}{peo\-Agg\-Eval\-Func}$<$ EOT $>$ \& \hyperlink{classpeoParaPopEval_b48bcd4e9f92f364118304535c089456}{merge\_\-eval}} -\label{classpeoParaPopEval_b48bcd4e9f92f364118304535c089456} - -\item -\hypertarget{classpeoParaPopEval_bf255dd5861e27108c2abae7309d7690}{ -\hyperlink{classpeoNoAggEvalFunc}{peo\-No\-Agg\-Eval\-Func}$<$ EOT $>$ \hyperlink{classpeoParaPopEval_bf255dd5861e27108c2abae7309d7690}{no\_\-merge\_\-eval}} -\label{classpeoParaPopEval_bf255dd5861e27108c2abae7309d7690} - -\item -\hypertarget{classpeoParaPopEval_af76cd18368a0f6185878f37f0b5f272}{ -std::queue$<$ EOT $\ast$ $>$ \hyperlink{classpeoParaPopEval_af76cd18368a0f6185878f37f0b5f272}{tasks}} -\label{classpeoParaPopEval_af76cd18368a0f6185878f37f0b5f272} - -\item -\hypertarget{classpeoParaPopEval_80e7e34bb1bb2d12f1f2eed3feac6ecf}{ -std::map$<$ EOT $\ast$, std::pair$<$ unsigned, unsigned $>$ $>$ \hyperlink{classpeoParaPopEval_80e7e34bb1bb2d12f1f2eed3feac6ecf}{progression}} -\label{classpeoParaPopEval_80e7e34bb1bb2d12f1f2eed3feac6ecf} - -\item -\hypertarget{classpeoParaPopEval_87abb090c0de39f0ccc36af1f07cca0c}{ -unsigned \hyperlink{classpeoParaPopEval_87abb090c0de39f0ccc36af1f07cca0c}{num\_\-func}} -\label{classpeoParaPopEval_87abb090c0de39f0ccc36af1f07cca0c} - -\item -\hypertarget{classpeoParaPopEval_fb6941e0455515a908eb82342b995163}{ -EOT \hyperlink{classpeoParaPopEval_fb6941e0455515a908eb82342b995163}{sol}} -\label{classpeoParaPopEval_fb6941e0455515a908eb82342b995163} - -\item -\hypertarget{classpeoParaPopEval_60cafeab376262af675fdff43434c8d8}{ -EOT $\ast$ \hyperlink{classpeoParaPopEval_60cafeab376262af675fdff43434c8d8}{ad\_\-sol}} -\label{classpeoParaPopEval_60cafeab376262af675fdff43434c8d8} - -\item -\hypertarget{classpeoParaPopEval_b528ad9dd9006c3dd57f149a3843e57d}{ -unsigned \hyperlink{classpeoParaPopEval_b528ad9dd9006c3dd57f149a3843e57d}{total}} -\label{classpeoParaPopEval_b528ad9dd9006c3dd57f149a3843e57d} - -\end{CompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Para\-Pop\-Eval$<$ EOT $>$} - -The \hyperlink{classpeoParaPopEval}{peo\-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} -\hypertarget{classpeoParaPopEval_bcb540510a7038520bec41a7af332daf}{ -\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!peoParaPopEval@{peoParaPopEval}} -\index{peoParaPopEval@{peoParaPopEval}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection[peoParaPopEval]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \hyperlink{classpeoParaPopEval}{peo\-Para\-Pop\-Eval}$<$ EOT $>$::\hyperlink{classpeoParaPopEval}{peo\-Para\-Pop\-Eval} (eo\-Eval\-Func$<$ EOT $>$ \& {\em \_\-\_\-eval\_\-func})}} -\label{classpeoParaPopEval_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.\hypertarget{classpeoParaPopEval_1cc13a1ec366f95d219d682eccb455bc}{ -\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!peoParaPopEval@{peoParaPopEval}} -\index{peoParaPopEval@{peoParaPopEval}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection[peoParaPopEval]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \hyperlink{classpeoParaPopEval}{peo\-Para\-Pop\-Eval}$<$ EOT $>$::\hyperlink{classpeoParaPopEval}{peo\-Para\-Pop\-Eval} (const std::vector$<$ eo\-Eval\-Func$<$ EOT $>$ $\ast$ $>$ \& {\em \_\-\_\-funcs}, \hyperlink{classpeoAggEvalFunc}{peo\-Agg\-Eval\-Func}$<$ EOT $>$ \& {\em \_\-\_\-merge\_\-eval})}} -\label{classpeoParaPopEval_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} -\hypertarget{classpeoParaPopEval_aeaa4fca4f8650e453e308838b4a2cb5}{ -\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!operator()@{operator()}} -\index{operator()@{operator()}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection[operator()]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoParaPopEval}{peo\-Para\-Pop\-Eval}$<$ EOT $>$::operator() (eo\-Pop$<$ EOT $>$ \& {\em \_\-\_\-pop})\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} -\label{classpeoParaPopEval_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 \hyperlink{classpeoPopEval_2f208067a5e39c3b26c1234050a41e8f}{peo\-Pop\-Eval$<$ EOT $>$}. - -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.\hypertarget{classpeoParaPopEval_fea632bd645ab11182782fd3c038d6d8}{ -\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!packData@{packData}} -\index{packData@{packData}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection[packData]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoParaPopEval}{peo\-Para\-Pop\-Eval}$<$ EOT $>$::pack\-Data ()\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} -\label{classpeoParaPopEval_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 \hyperlink{classService_aea4b8f7f8fb88e83862ee4bfd9ab207}{Service}. - -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.\hypertarget{classpeoParaPopEval_410bf4c173e2f36df82251cb16ce1b05}{ -\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!unpackData@{unpackData}} -\index{unpackData@{unpackData}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection[unpackData]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoParaPopEval}{peo\-Para\-Pop\-Eval}$<$ EOT $>$::unpack\-Data ()\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} -\label{classpeoParaPopEval_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 \hyperlink{classService_3bd87b444710813d30fd754d4d0b4df3}{Service}. - -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.\hypertarget{classpeoParaPopEval_24bb4ae84b0b9f64e7170e3d2b0e1223}{ -\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!packResult@{packResult}} -\index{packResult@{packResult}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection[packResult]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoParaPopEval}{peo\-Para\-Pop\-Eval}$<$ EOT $>$::pack\-Result ()\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} -\label{classpeoParaPopEval_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 \hyperlink{classService_e5e4f90b2315e15c2a2913bd370f4cf5}{Service}. - -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.\hypertarget{classpeoParaPopEval_fd7f0afe9cba30be39269d16097e190e}{ -\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!unpackResult@{unpackResult}} -\index{unpackResult@{unpackResult}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection[unpackResult]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoParaPopEval}{peo\-Para\-Pop\-Eval}$<$ EOT $>$::unpack\-Result ()\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} -\label{classpeoParaPopEval_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 \hyperlink{classService_45c06344edbfa482b91f68e2035a6099}{Service}. - -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.\hypertarget{classpeoParaPopEval_1f78c3cec2940af08a059cc1aa96a9c8}{ -\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!notifySendingData@{notifySendingData}} -\index{notifySendingData@{notifySendingData}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection[notifySendingData]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoParaPopEval}{peo\-Para\-Pop\-Eval}$<$ EOT $>$::notify\-Sending\-Data ()\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} -\label{classpeoParaPopEval_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 \hyperlink{classService_81ad4d6ebb50045b8977e2ab74826f30}{Service}. - -Definition at line 229 of file peo\-Para\-Pop\-Eval.h.\hypertarget{classpeoParaPopEval_b77031fc4807921ffaf7cf6b669a7665}{ -\index{peoParaPopEval@{peo\-Para\-Pop\-Eval}!notifySendingAllResourceRequests@{notifySendingAllResourceRequests}} -\index{notifySendingAllResourceRequests@{notifySendingAllResourceRequests}!peoParaPopEval@{peo\-Para\-Pop\-Eval}} -\subsubsection[notifySendingAllResourceRequests]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoParaPopEval}{peo\-Para\-Pop\-Eval}$<$ EOT $>$::notify\-Sending\-All\-Resource\-Requests ()\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} -\label{classpeoParaPopEval_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 \hyperlink{classService_f94cc8a5c2665d4574041737e61e9ffc}{Service}. - -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/docs/latex/classpeoParaSGATransform.eps b/trunk/paradiseo-peo/docs/latex/classpeoParaSGATransform.eps deleted file mode 100644 index eee7ca312..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoParaSGATransform.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/docs/latex/classpeoParaSGATransform.pdf b/trunk/paradiseo-peo/docs/latex/classpeoParaSGATransform.pdf deleted file mode 100644 index 68a35bb65..000000000 Binary files a/trunk/paradiseo-peo/docs/latex/classpeoParaSGATransform.pdf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/latex/classpeoParaSGATransform.tex b/trunk/paradiseo-peo/docs/latex/classpeoParaSGATransform.tex deleted file mode 100644 index 9ff142818..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoParaSGATransform.tex +++ /dev/null @@ -1,120 +0,0 @@ -\hypertarget{classpeoParaSGATransform}{ -\section{peo\-Para\-SGATransform$<$ EOT $>$ Class Template Reference} -\label{classpeoParaSGATransform}\index{peoParaSGATransform@{peoParaSGATransform}} -} -Inheritance diagram for peo\-Para\-SGATransform$<$ EOT $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=4cm]{classpeoParaSGATransform} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classpeoParaSGATransform_2052bca82fbbfe5455bf6f69246d4dbf}{ -\hyperlink{classpeoParaSGATransform_2052bca82fbbfe5455bf6f69246d4dbf}{peo\-Para\-SGATransform} (eo\-Quad\-Op$<$ EOT $>$ \&\_\-\_\-cross, double \_\-\_\-cross\_\-rate, eo\-Mon\-Op$<$ EOT $>$ \&\_\-\_\-mut, double \_\-\_\-mut\_\-rate)} -\label{classpeoParaSGATransform_2052bca82fbbfe5455bf6f69246d4dbf} - -\item -\hypertarget{classpeoParaSGATransform_669de7f7c6316fa745a15b909efb6527}{ -void \hyperlink{classpeoParaSGATransform_669de7f7c6316fa745a15b909efb6527}{operator()} (eo\-Pop$<$ EOT $>$ \&\_\-\_\-pop)} -\label{classpeoParaSGATransform_669de7f7c6316fa745a15b909efb6527} - -\item -\hypertarget{classpeoParaSGATransform_fd278bcde58d29c9a343d5cbead81a1e}{ -void \hyperlink{classpeoParaSGATransform_fd278bcde58d29c9a343d5cbead81a1e}{pack\-Data} ()} -\label{classpeoParaSGATransform_fd278bcde58d29c9a343d5cbead81a1e} - -\item -\hypertarget{classpeoParaSGATransform_a43a487a6e81791c8bbf6ce30f4336ab}{ -void \hyperlink{classpeoParaSGATransform_a43a487a6e81791c8bbf6ce30f4336ab}{unpack\-Data} ()} -\label{classpeoParaSGATransform_a43a487a6e81791c8bbf6ce30f4336ab} - -\item -\hypertarget{classpeoParaSGATransform_c9de2100fb897177a401c634002f6dd9}{ -void \hyperlink{classpeoParaSGATransform_c9de2100fb897177a401c634002f6dd9}{execute} ()} -\label{classpeoParaSGATransform_c9de2100fb897177a401c634002f6dd9} - -\item -\hypertarget{classpeoParaSGATransform_ba08e224ceaa4149e8e1a88694a2ccf2}{ -void \hyperlink{classpeoParaSGATransform_ba08e224ceaa4149e8e1a88694a2ccf2}{pack\-Result} ()} -\label{classpeoParaSGATransform_ba08e224ceaa4149e8e1a88694a2ccf2} - -\item -\hypertarget{classpeoParaSGATransform_257663dcdc6cc95b6183d472ffba1b2f}{ -void \hyperlink{classpeoParaSGATransform_257663dcdc6cc95b6183d472ffba1b2f}{unpack\-Result} ()} -\label{classpeoParaSGATransform_257663dcdc6cc95b6183d472ffba1b2f} - -\item -\hypertarget{classpeoParaSGATransform_4e19dfc22b6f69fa8b93537226551866}{ -void \hyperlink{classpeoParaSGATransform_4e19dfc22b6f69fa8b93537226551866}{notify\-Sending\-Data} ()} -\label{classpeoParaSGATransform_4e19dfc22b6f69fa8b93537226551866} - -\item -\hypertarget{classpeoParaSGATransform_8a0316e33897c395a81787f59ea7a1c8}{ -void \hyperlink{classpeoParaSGATransform_8a0316e33897c395a81787f59ea7a1c8}{notify\-Sending\-All\-Resource\-Requests} ()} -\label{classpeoParaSGATransform_8a0316e33897c395a81787f59ea7a1c8} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -\hypertarget{classpeoParaSGATransform_c6f97deabe7502c84f5b6c479013f6dc}{ -eo\-Quad\-Op$<$ EOT $>$ \& \hyperlink{classpeoParaSGATransform_c6f97deabe7502c84f5b6c479013f6dc}{cross}} -\label{classpeoParaSGATransform_c6f97deabe7502c84f5b6c479013f6dc} - -\item -\hypertarget{classpeoParaSGATransform_dfcf216e2df05016db4d57a5ffb0b0e2}{ -double \hyperlink{classpeoParaSGATransform_dfcf216e2df05016db4d57a5ffb0b0e2}{cross\_\-rate}} -\label{classpeoParaSGATransform_dfcf216e2df05016db4d57a5ffb0b0e2} - -\item -\hypertarget{classpeoParaSGATransform_34ff5f9d285ca4879cf8865fb425a311}{ -eo\-Mon\-Op$<$ EOT $>$ \& \hyperlink{classpeoParaSGATransform_34ff5f9d285ca4879cf8865fb425a311}{mut}} -\label{classpeoParaSGATransform_34ff5f9d285ca4879cf8865fb425a311} - -\item -\hypertarget{classpeoParaSGATransform_b9d3a2094737d0bbd034aac942cc53e3}{ -double \hyperlink{classpeoParaSGATransform_b9d3a2094737d0bbd034aac942cc53e3}{mut\_\-rate}} -\label{classpeoParaSGATransform_b9d3a2094737d0bbd034aac942cc53e3} - -\item -\hypertarget{classpeoParaSGATransform_03972feadc86626e58fe60bd4061b57e}{ -unsigned \hyperlink{classpeoParaSGATransform_03972feadc86626e58fe60bd4061b57e}{idx}} -\label{classpeoParaSGATransform_03972feadc86626e58fe60bd4061b57e} - -\item -\hypertarget{classpeoParaSGATransform_94e10a1285e128aba6e71517c941f961}{ -eo\-Pop$<$ EOT $>$ $\ast$ \hyperlink{classpeoParaSGATransform_94e10a1285e128aba6e71517c941f961}{pop}} -\label{classpeoParaSGATransform_94e10a1285e128aba6e71517c941f961} - -\item -\hypertarget{classpeoParaSGATransform_9ef60190e2e3bd5961a93d1b52cb275d}{ -EOT \hyperlink{classpeoParaSGATransform_9ef60190e2e3bd5961a93d1b52cb275d}{father}} -\label{classpeoParaSGATransform_9ef60190e2e3bd5961a93d1b52cb275d} - -\item -\hypertarget{classpeoParaSGATransform_e991ad2af6d116afd855de2db46e1d27}{ -EOT \hyperlink{classpeoParaSGATransform_e991ad2af6d116afd855de2db46e1d27}{mother}} -\label{classpeoParaSGATransform_e991ad2af6d116afd855de2db46e1d27} - -\item -\hypertarget{classpeoParaSGATransform_589ea7cd72d522ae51a07de4d8ffbf11}{ -unsigned \hyperlink{classpeoParaSGATransform_589ea7cd72d522ae51a07de4d8ffbf11}{num\_\-term}} -\label{classpeoParaSGATransform_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/docs/latex/classpeoPopEval.eps b/trunk/paradiseo-peo/docs/latex/classpeoPopEval.eps deleted file mode 100644 index b486aceee..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoPopEval.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/docs/latex/classpeoPopEval.pdf b/trunk/paradiseo-peo/docs/latex/classpeoPopEval.pdf deleted file mode 100644 index abc175044..000000000 Binary files a/trunk/paradiseo-peo/docs/latex/classpeoPopEval.pdf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/latex/classpeoPopEval.tex b/trunk/paradiseo-peo/docs/latex/classpeoPopEval.tex deleted file mode 100644 index c4d6eb23e..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoPopEval.tex +++ /dev/null @@ -1,39 +0,0 @@ -\hypertarget{classpeoPopEval}{ -\section{peo\-Pop\-Eval$<$ EOT $>$ Class Template Reference} -\label{classpeoPopEval}\index{peoPopEval@{peoPopEval}} -} -The {\bf \hyperlink{classpeoPopEval}{peo\-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]{classpeoPopEval} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hypertarget{classpeoPopEval_2f208067a5e39c3b26c1234050a41e8f}{ -virtual void \hyperlink{classpeoPopEval_2f208067a5e39c3b26c1234050a41e8f}{operator()} (eo\-Pop$<$ EOT $>$ \&\_\-\_\-pop)=0} -\label{classpeoPopEval_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 \hyperlink{classpeoPopEval}{peo\-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 \hyperlink{classpeoSeqPopEval}{peo\-Seq\-Pop\-Eval}} and {\bf \hyperlink{classpeoParaPopEval}{peo\-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/docs/latex/classpeoSeqPopEval.eps b/trunk/paradiseo-peo/docs/latex/classpeoSeqPopEval.eps deleted file mode 100644 index e8cf5fd7e..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoSeqPopEval.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/docs/latex/classpeoSeqPopEval.pdf b/trunk/paradiseo-peo/docs/latex/classpeoSeqPopEval.pdf deleted file mode 100644 index 6eb50fa5a..000000000 Binary files a/trunk/paradiseo-peo/docs/latex/classpeoSeqPopEval.pdf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/latex/classpeoSeqPopEval.tex b/trunk/paradiseo-peo/docs/latex/classpeoSeqPopEval.tex deleted file mode 100644 index d0bac49db..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoSeqPopEval.tex +++ /dev/null @@ -1,88 +0,0 @@ -\hypertarget{classpeoSeqPopEval}{ -\section{peo\-Seq\-Pop\-Eval$<$ EOT $>$ Class Template Reference} -\label{classpeoSeqPopEval}\index{peoSeqPopEval@{peoSeqPopEval}} -} -The \hyperlink{classpeoSeqPopEval}{peo\-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]{classpeoSeqPopEval} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hyperlink{classpeoSeqPopEval_a41f91ab4b2aeb325ff75feb66d4e003}{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 \hyperlink{classpeoSeqPopEval_b2c88b9a3ad9091949acf741844eb02f}{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 -\hypertarget{classpeoSeqPopEval_5465f31386c6b96bc8f7fb9393a28a2f}{ -eo\-Eval\-Func$<$ EOT $>$ \& \hyperlink{classpeoSeqPopEval_5465f31386c6b96bc8f7fb9393a28a2f}{eval}} -\label{classpeoSeqPopEval_5465f31386c6b96bc8f7fb9393a28a2f} - -\end{CompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Seq\-Pop\-Eval$<$ EOT $>$} - -The \hyperlink{classpeoSeqPopEval}{peo\-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} -\hypertarget{classpeoSeqPopEval_a41f91ab4b2aeb325ff75feb66d4e003}{ -\index{peoSeqPopEval@{peo\-Seq\-Pop\-Eval}!peoSeqPopEval@{peoSeqPopEval}} -\index{peoSeqPopEval@{peoSeqPopEval}!peoSeqPopEval@{peo\-Seq\-Pop\-Eval}} -\subsubsection[peoSeqPopEval]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \hyperlink{classpeoSeqPopEval}{peo\-Seq\-Pop\-Eval}$<$ EOT $>$::\hyperlink{classpeoSeqPopEval}{peo\-Seq\-Pop\-Eval} (eo\-Eval\-Func$<$ EOT $>$ \& {\em \_\-\_\-eval})}} -\label{classpeoSeqPopEval_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} -\hypertarget{classpeoSeqPopEval_b2c88b9a3ad9091949acf741844eb02f}{ -\index{peoSeqPopEval@{peo\-Seq\-Pop\-Eval}!operator()@{operator()}} -\index{operator()@{operator()}!peoSeqPopEval@{peo\-Seq\-Pop\-Eval}} -\subsubsection[operator()]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoSeqPopEval}{peo\-Seq\-Pop\-Eval}$<$ EOT $>$::operator() (eo\-Pop$<$ EOT $>$ \& {\em \_\-\_\-pop})\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} -\label{classpeoSeqPopEval_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 \hyperlink{classpeoPopEval_2f208067a5e39c3b26c1234050a41e8f}{peo\-Pop\-Eval$<$ EOT $>$}. - -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/docs/latex/classpeoSeqTransform.eps b/trunk/paradiseo-peo/docs/latex/classpeoSeqTransform.eps deleted file mode 100644 index 2b86c8a2d..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoSeqTransform.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/docs/latex/classpeoSeqTransform.pdf b/trunk/paradiseo-peo/docs/latex/classpeoSeqTransform.pdf deleted file mode 100644 index f91337ddc..000000000 Binary files a/trunk/paradiseo-peo/docs/latex/classpeoSeqTransform.pdf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/latex/classpeoSeqTransform.tex b/trunk/paradiseo-peo/docs/latex/classpeoSeqTransform.tex deleted file mode 100644 index 674fd3416..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoSeqTransform.tex +++ /dev/null @@ -1,111 +0,0 @@ -\hypertarget{classpeoSeqTransform}{ -\section{peo\-Seq\-Transform$<$ EOT $>$ Class Template Reference} -\label{classpeoSeqTransform}\index{peoSeqTransform@{peoSeqTransform}} -} -The \hyperlink{classpeoSeqTransform}{peo\-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]{classpeoSeqTransform} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hyperlink{classpeoSeqTransform_3b8e4ed19d9458938eb669d83a53c626}{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 \hyperlink{classpeoSeqTransform_1ba63536abb6c4e1c369e0b7e066872e}{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 -\hypertarget{classpeoSeqTransform_c4bf2724e9f6055f12bd169fad893be3}{ -virtual void \hyperlink{classpeoSeqTransform_c4bf2724e9f6055f12bd169fad893be3}{pack\-Data} ()} -\label{classpeoSeqTransform_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 -\hypertarget{classpeoSeqTransform_24e6cf15ef230ed538031b522ddd4ae6}{ -virtual void \hyperlink{classpeoSeqTransform_24e6cf15ef230ed538031b522ddd4ae6}{unpack\-Data} ()} -\label{classpeoSeqTransform_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 -\hypertarget{classpeoSeqTransform_0294a2f9d6b44ec74d22eaceccdffc2b}{ -virtual void \hyperlink{classpeoSeqTransform_0294a2f9d6b44ec74d22eaceccdffc2b}{execute} ()} -\label{classpeoSeqTransform_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 -\hypertarget{classpeoSeqTransform_4861c61f9e46d83964ea8a156a9a3ee0}{ -virtual void \hyperlink{classpeoSeqTransform_4861c61f9e46d83964ea8a156a9a3ee0}{pack\-Result} ()} -\label{classpeoSeqTransform_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 -\hypertarget{classpeoSeqTransform_5dd029fc011eb2a810ca1140025129b1}{ -virtual void \hyperlink{classpeoSeqTransform_5dd029fc011eb2a810ca1140025129b1}{unpack\-Result} ()} -\label{classpeoSeqTransform_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 -\hypertarget{classpeoSeqTransform_ad3e16c59dd6c46dfc1baf7b88af30cf}{ -eo\-Transform$<$ EOT $>$ \& \hyperlink{classpeoSeqTransform_ad3e16c59dd6c46dfc1baf7b88af30cf}{trans}} -\label{classpeoSeqTransform_ad3e16c59dd6c46dfc1baf7b88af30cf} - -\end{CompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Seq\-Transform$<$ EOT $>$} - -The \hyperlink{classpeoSeqTransform}{peo\-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} -\hypertarget{classpeoSeqTransform_3b8e4ed19d9458938eb669d83a53c626}{ -\index{peoSeqTransform@{peo\-Seq\-Transform}!peoSeqTransform@{peoSeqTransform}} -\index{peoSeqTransform@{peoSeqTransform}!peoSeqTransform@{peo\-Seq\-Transform}} -\subsubsection[peoSeqTransform]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \hyperlink{classpeoSeqTransform}{peo\-Seq\-Transform}$<$ EOT $>$::\hyperlink{classpeoSeqTransform}{peo\-Seq\-Transform} (eo\-Transform$<$ EOT $>$ \& {\em \_\-\_\-trans})}} -\label{classpeoSeqTransform_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} -\hypertarget{classpeoSeqTransform_1ba63536abb6c4e1c369e0b7e066872e}{ -\index{peoSeqTransform@{peo\-Seq\-Transform}!operator()@{operator()}} -\index{operator()@{operator()}!peoSeqTransform@{peo\-Seq\-Transform}} -\subsubsection[operator()]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoSeqTransform}{peo\-Seq\-Transform}$<$ EOT $>$::operator() (eo\-Pop$<$ EOT $>$ \& {\em \_\-\_\-pop})}} -\label{classpeoSeqTransform_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/docs/latex/classpeoSyncIslandMig.eps b/trunk/paradiseo-peo/docs/latex/classpeoSyncIslandMig.eps deleted file mode 100644 index ce426eb0b..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoSyncIslandMig.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/docs/latex/classpeoSyncIslandMig.pdf b/trunk/paradiseo-peo/docs/latex/classpeoSyncIslandMig.pdf deleted file mode 100644 index bb8b2a823..000000000 Binary files a/trunk/paradiseo-peo/docs/latex/classpeoSyncIslandMig.pdf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/latex/classpeoSyncIslandMig.tex b/trunk/paradiseo-peo/docs/latex/classpeoSyncIslandMig.tex deleted file mode 100644 index e08c9f704..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoSyncIslandMig.tex +++ /dev/null @@ -1,225 +0,0 @@ -\hypertarget{classpeoSyncIslandMig}{ -\section{peo\-Sync\-Island\-Mig$<$ EOT $>$ Class Template Reference} -\label{classpeoSyncIslandMig}\index{peoSyncIslandMig@{peoSyncIslandMig}} -} -The \hyperlink{classpeoSyncIslandMig}{peo\-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]{classpeoSyncIslandMig} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hyperlink{classpeoSyncIslandMig_96b7b6de20b5e318a8b1cde76842305c}{peo\-Sync\-Island\-Mig} (unsigned \_\-\_\-frequency, eo\-Select$<$ EOT $>$ \&\_\-\_\-select, eo\-Replacement$<$ EOT $>$ \&\_\-\_\-replace, \hyperlink{classTopology}{Topology} \&\_\-\_\-topology, eo\-Pop$<$ EOT $>$ \&\_\-\_\-source, eo\-Pop$<$ EOT $>$ \&\_\-\_\-destination) -\begin{CompactList}\small\item\em Constructor for the \hyperlink{classpeoSyncIslandMig}{peo\-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 \hyperlink{classpeoSyncIslandMig_178476fd276f78b73607b33d19522c36}{operator()} () -\begin{CompactList}\small\item\em Function operator to be called as checkpoint for performing the migration step. \item\end{CompactList}\item -\hypertarget{classpeoSyncIslandMig_e334188141eeba9f7b78bc6716f819ad}{ -void \hyperlink{classpeoSyncIslandMig_e334188141eeba9f7b78bc6716f819ad}{pack} ()} -\label{classpeoSyncIslandMig_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 -\hypertarget{classpeoSyncIslandMig_85777bd9f709c5d4107799e8619948d1}{ -void \hyperlink{classpeoSyncIslandMig_85777bd9f709c5d4107799e8619948d1}{unpack} ()} -\label{classpeoSyncIslandMig_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 -\hypertarget{classpeoSyncIslandMig_8c427b3f91c19ff85f86930366b96008}{ -void \hyperlink{classpeoSyncIslandMig_8c427b3f91c19ff85f86930366b96008}{notify\-Sending} ()} -\label{classpeoSyncIslandMig_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 -\hypertarget{classpeoSyncIslandMig_4c8416e3acce1a6e4c3b0a442d94b063}{ -void \hyperlink{classpeoSyncIslandMig_4c8416e3acce1a6e4c3b0a442d94b063}{emigrate} ()} -\label{classpeoSyncIslandMig_4c8416e3acce1a6e4c3b0a442d94b063} - -\item -\hypertarget{classpeoSyncIslandMig_38dd72312a3d16808af1aa7beb9ed4a7}{ -void \hyperlink{classpeoSyncIslandMig_38dd72312a3d16808af1aa7beb9ed4a7}{immigrate} ()} -\label{classpeoSyncIslandMig_38dd72312a3d16808af1aa7beb9ed4a7} - -\end{CompactItemize} -\subsection*{Private Attributes} -\begin{CompactItemize} -\item -\hypertarget{classpeoSyncIslandMig_2d8ae9104376f3e073e0b250d9b425a2}{ -eo\-Periodic\-Continue$<$ EOT $>$ \hyperlink{classpeoSyncIslandMig_2d8ae9104376f3e073e0b250d9b425a2}{cont}} -\label{classpeoSyncIslandMig_2d8ae9104376f3e073e0b250d9b425a2} - -\item -\hypertarget{classpeoSyncIslandMig_5e9c9f5f65d6418ad46e647ee1804a3d}{ -eo\-Select$<$ EOT $>$ \& \hyperlink{classpeoSyncIslandMig_5e9c9f5f65d6418ad46e647ee1804a3d}{select}} -\label{classpeoSyncIslandMig_5e9c9f5f65d6418ad46e647ee1804a3d} - -\item -\hypertarget{classpeoSyncIslandMig_cb6d2d909503a86415912900d6e1d891}{ -eo\-Replacement$<$ EOT $>$ \& \hyperlink{classpeoSyncIslandMig_cb6d2d909503a86415912900d6e1d891}{replace}} -\label{classpeoSyncIslandMig_cb6d2d909503a86415912900d6e1d891} - -\item -\hypertarget{classpeoSyncIslandMig_ebfe6edb6be16d46bf6d71cb233fcace}{ -\hyperlink{classTopology}{Topology} \& \hyperlink{classpeoSyncIslandMig_ebfe6edb6be16d46bf6d71cb233fcace}{topology}} -\label{classpeoSyncIslandMig_ebfe6edb6be16d46bf6d71cb233fcace} - -\item -\hypertarget{classpeoSyncIslandMig_33fde1f09faf2a3f772d8b8f6a2615c6}{ -eo\-Pop$<$ EOT $>$ \& \hyperlink{classpeoSyncIslandMig_33fde1f09faf2a3f772d8b8f6a2615c6}{source}} -\label{classpeoSyncIslandMig_33fde1f09faf2a3f772d8b8f6a2615c6} - -\item -\hypertarget{classpeoSyncIslandMig_a9bf4612c7c04da6cf69245c6617e6a6}{ -eo\-Pop$<$ EOT $>$ \& \hyperlink{classpeoSyncIslandMig_a9bf4612c7c04da6cf69245c6617e6a6}{destination}} -\label{classpeoSyncIslandMig_a9bf4612c7c04da6cf69245c6617e6a6} - -\item -\hypertarget{classpeoSyncIslandMig_088c1623f32668dcd3683fceff9426c3}{ -std::queue$<$ eo\-Pop$<$ EOT $>$ $>$ \hyperlink{classpeoSyncIslandMig_088c1623f32668dcd3683fceff9426c3}{imm}} -\label{classpeoSyncIslandMig_088c1623f32668dcd3683fceff9426c3} - -\item -\hypertarget{classpeoSyncIslandMig_11d6dd3e4a6db710433f501af0988322}{ -std::queue$<$ eo\-Pop$<$ EOT $>$ $>$ \hyperlink{classpeoSyncIslandMig_11d6dd3e4a6db710433f501af0988322}{em}} -\label{classpeoSyncIslandMig_11d6dd3e4a6db710433f501af0988322} - -\item -\hypertarget{classpeoSyncIslandMig_2f7ca18d67ab7fb47a9851ab3179eb7d}{ -std::queue$<$ \hyperlink{classCooperative}{Cooperative} $\ast$ $>$ \hyperlink{classpeoSyncIslandMig_2f7ca18d67ab7fb47a9851ab3179eb7d}{coop\_\-em}} -\label{classpeoSyncIslandMig_2f7ca18d67ab7fb47a9851ab3179eb7d} - -\item -\hypertarget{classpeoSyncIslandMig_91e0e1ea59c2a6a66eb496bddd60a18f}{ -sem\_\-t \hyperlink{classpeoSyncIslandMig_91e0e1ea59c2a6a66eb496bddd60a18f}{sync}} -\label{classpeoSyncIslandMig_91e0e1ea59c2a6a66eb496bddd60a18f} - -\end{CompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Sync\-Island\-Mig$<$ EOT $>$} - -The \hyperlink{classpeoSyncIslandMig}{peo\-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 \hyperlink{classRunner}{Runner}} class (for example a \hyperlink{classpeoEA}{peo\-EA} 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 -\hyperlink{classRingTopology}{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 \hyperlink{classRunner}{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} -\hypertarget{classpeoSyncIslandMig_96b7b6de20b5e318a8b1cde76842305c}{ -\index{peoSyncIslandMig@{peo\-Sync\-Island\-Mig}!peoSyncIslandMig@{peoSyncIslandMig}} -\index{peoSyncIslandMig@{peoSyncIslandMig}!peoSyncIslandMig@{peo\-Sync\-Island\-Mig}} -\subsubsection[peoSyncIslandMig]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \hyperlink{classpeoSyncIslandMig}{peo\-Sync\-Island\-Mig}$<$ EOT $>$::\hyperlink{classpeoSyncIslandMig}{peo\-Sync\-Island\-Mig} (unsigned {\em \_\-\_\-frequency}, eo\-Select$<$ EOT $>$ \& {\em \_\-\_\-select}, eo\-Replacement$<$ EOT $>$ \& {\em \_\-\_\-replace}, \hyperlink{classTopology}{Topology} \& {\em \_\-\_\-topology}, eo\-Pop$<$ EOT $>$ \& {\em \_\-\_\-source}, eo\-Pop$<$ EOT $>$ \& {\em \_\-\_\-destination})}} -\label{classpeoSyncIslandMig_96b7b6de20b5e318a8b1cde76842305c} - - -Constructor for the \hyperlink{classpeoSyncIslandMig}{peo\-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} -\hypertarget{classpeoSyncIslandMig_178476fd276f78b73607b33d19522c36}{ -\index{peoSyncIslandMig@{peo\-Sync\-Island\-Mig}!operator()@{operator()}} -\index{operator()@{operator()}!peoSyncIslandMig@{peo\-Sync\-Island\-Mig}} -\subsubsection[operator()]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoSyncIslandMig}{peo\-Sync\-Island\-Mig}$<$ EOT $>$::operator() ()}} -\label{classpeoSyncIslandMig_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/docs/latex/classpeoSyncMultiStart.eps b/trunk/paradiseo-peo/docs/latex/classpeoSyncMultiStart.eps deleted file mode 100644 index 025e47565..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoSyncMultiStart.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/docs/latex/classpeoSyncMultiStart.pdf b/trunk/paradiseo-peo/docs/latex/classpeoSyncMultiStart.pdf deleted file mode 100644 index 8252a5db6..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoSyncMultiStart.pdf +++ /dev/null @@ -1,73 +0,0 @@ -%PDF-1.3 -%Çì¢ -5 0 obj -<> -stream -xœ¥PËNÃ0¼û+ö–µwý’PÅ ¡’ü@‰Ò*¨iiIAü=NšDâ‚e­<3Þ™Ýj öôµ¨Õõ³‡Í»"xHw£JwèKQÃ]žDDc  _«óg Ú£h'`9䵺x+÷Ù×®xüâØ­ÍKZ±®>?5‰EØ&å ø~’‘ï–·)žM)­ Ù$1"ý ™÷X_C‘â`b„ -&0ðýp#ßcã’µLCLyb©¾Á‹Dendstream -endobj -6 0 obj -293 -endobj -4 0 obj -<> -/Contents 5 0 R ->> -endobj -3 0 obj -<< /Type /Pages /Kids [ -4 0 R -] /Count 1 ->> -endobj -1 0 obj -<> -endobj -7 0 obj -<>endobj -9 0 obj -<> -endobj -10 0 obj -<> -endobj -8 0 obj -<> -endobj -2 0 obj -<>endobj -xref -0 11 -0000000000 65535 f -0000000609 00000 n -0000000823 00000 n -0000000550 00000 n -0000000397 00000 n -0000000015 00000 n -0000000378 00000 n -0000000657 00000 n -0000000757 00000 n -0000000698 00000 n -0000000727 00000 n -trailer -<< /Size 11 /Root 1 0 R /Info 2 0 R -/ID [(³Š”}„$F=ucvò²/)(³Š”}„$F=ucvò²/)] ->> -startxref -980 -%%EOF diff --git a/trunk/paradiseo-peo/docs/latex/classpeoSyncMultiStart.tex b/trunk/paradiseo-peo/docs/latex/classpeoSyncMultiStart.tex deleted file mode 100644 index 6eb0332f1..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoSyncMultiStart.tex +++ /dev/null @@ -1,243 +0,0 @@ -\hypertarget{classpeoSyncMultiStart}{ -\section{peo\-Sync\-Multi\-Start$<$ EOT $>$ Class Template Reference} -\label{classpeoSyncMultiStart}\index{peoSyncMultiStart@{peoSyncMultiStart}} -} -The \hyperlink{classpeoSyncMultiStart}{peo\-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]{classpeoSyncMultiStart} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{CompactItemize} -\item -\hyperlink{classpeoSyncMultiStart_d29f94aad3c1f443bfffc8b6aee0704c}{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 \hyperlink{classpeoSyncMultiStart_76385b33fe514f91cb83f0fbecbeb3c2}{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 \hyperlink{classpeoSyncMultiStart_8becfab1922b64708dca5a53e2932a5a}{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 \hyperlink{classpeoSyncMultiStart_2903a441b77cded266b5fb651e17a5b5}{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 \hyperlink{classpeoSyncMultiStart_a4d1c2943c290de540800087b54dc49b}{execute} () -\begin{CompactList}\small\item\em Auxiliary function for actually executing the specified algorithm on one assigned individual. \item\end{CompactList}\item -void \hyperlink{classpeoSyncMultiStart_6c48eb0dae741cff7203b65e226f9616}{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 \hyperlink{classpeoSyncMultiStart_c3cbd1f10a89d1915c5ccf82a2c34a1d}{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 \hyperlink{classpeoSyncMultiStart_32ec0d01d3fd8a9932abd68f4781fc94}{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 \hyperlink{classpeoSyncMultiStart_fc90282cc4e93cdea8f82fd52dd78fb0}{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 -\hypertarget{classpeoSyncMultiStart_43f4fa9b125baef6fc8b968dfd16f437}{ -eo\-Continue$<$ EOT $>$ \& \hyperlink{classpeoSyncMultiStart_43f4fa9b125baef6fc8b968dfd16f437}{cont}} -\label{classpeoSyncMultiStart_43f4fa9b125baef6fc8b968dfd16f437} - -\item -\hypertarget{classpeoSyncMultiStart_8fc9a3d046023ddd077defec3c23ab3b}{ -eo\-Select$<$ EOT $>$ \& \hyperlink{classpeoSyncMultiStart_8fc9a3d046023ddd077defec3c23ab3b}{select}} -\label{classpeoSyncMultiStart_8fc9a3d046023ddd077defec3c23ab3b} - -\item -\hypertarget{classpeoSyncMultiStart_a375ccea98e9bf2a0854dac27df4522f}{ -eo\-Replacement$<$ EOT $>$ \& \hyperlink{classpeoSyncMultiStart_a375ccea98e9bf2a0854dac27df4522f}{replace}} -\label{classpeoSyncMultiStart_a375ccea98e9bf2a0854dac27df4522f} - -\item -\hypertarget{classpeoSyncMultiStart_4d317966de767dcc87eee0286ea7f95d}{ -mo\-Algo$<$ EOT $>$ \& \hyperlink{classpeoSyncMultiStart_4d317966de767dcc87eee0286ea7f95d}{ls}} -\label{classpeoSyncMultiStart_4d317966de767dcc87eee0286ea7f95d} - -\item -\hypertarget{classpeoSyncMultiStart_391178bd6b8a97a08ab4e345f070e967}{ -eo\-Pop$<$ EOT $>$ \& \hyperlink{classpeoSyncMultiStart_391178bd6b8a97a08ab4e345f070e967}{pop}} -\label{classpeoSyncMultiStart_391178bd6b8a97a08ab4e345f070e967} - -\item -\hypertarget{classpeoSyncMultiStart_dbcc1a069ec72ecd8d40c392640d84b3}{ -eo\-Pop$<$ EOT $>$ \hyperlink{classpeoSyncMultiStart_dbcc1a069ec72ecd8d40c392640d84b3}{sel}} -\label{classpeoSyncMultiStart_dbcc1a069ec72ecd8d40c392640d84b3} - -\item -\hypertarget{classpeoSyncMultiStart_ca10f6d258105e3c4f0d1660db5b7679}{ -eo\-Pop$<$ EOT $>$ \hyperlink{classpeoSyncMultiStart_ca10f6d258105e3c4f0d1660db5b7679}{impr\_\-sel}} -\label{classpeoSyncMultiStart_ca10f6d258105e3c4f0d1660db5b7679} - -\item -\hypertarget{classpeoSyncMultiStart_2c2ebe46470d1425f0409897deab435b}{ -EOT \hyperlink{classpeoSyncMultiStart_2c2ebe46470d1425f0409897deab435b}{sol}} -\label{classpeoSyncMultiStart_2c2ebe46470d1425f0409897deab435b} - -\item -\hypertarget{classpeoSyncMultiStart_64191ef79b7b589964ac9c3e23ae6718}{ -unsigned \hyperlink{classpeoSyncMultiStart_64191ef79b7b589964ac9c3e23ae6718}{idx}} -\label{classpeoSyncMultiStart_64191ef79b7b589964ac9c3e23ae6718} - -\item -\hypertarget{classpeoSyncMultiStart_773eb9097550d9444f25ca8f48997a30}{ -unsigned \hyperlink{classpeoSyncMultiStart_773eb9097550d9444f25ca8f48997a30}{num\_\-term}} -\label{classpeoSyncMultiStart_773eb9097550d9444f25ca8f48997a30} - -\end{CompactItemize} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Sync\-Multi\-Start$<$ EOT $>$} - -The \hyperlink{classpeoSyncMultiStart}{peo\-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 \hyperlink{classpeoSyncMultiStart}{peo\-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} -\hypertarget{classpeoSyncMultiStart_d29f94aad3c1f443bfffc8b6aee0704c}{ -\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!peoSyncMultiStart@{peoSyncMultiStart}} -\index{peoSyncMultiStart@{peoSyncMultiStart}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection[peoSyncMultiStart]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \hyperlink{classpeoSyncMultiStart}{peo\-Sync\-Multi\-Start}$<$ EOT $>$::\hyperlink{classpeoSyncMultiStart}{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{classpeoSyncMultiStart_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} -\hypertarget{classpeoSyncMultiStart_76385b33fe514f91cb83f0fbecbeb3c2}{ -\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!operator()@{operator()}} -\index{operator()@{operator()}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection[operator()]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoSyncMultiStart}{peo\-Sync\-Multi\-Start}$<$ EOT $>$::operator() ()}} -\label{classpeoSyncMultiStart_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().\hypertarget{classpeoSyncMultiStart_8becfab1922b64708dca5a53e2932a5a}{ -\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!packData@{packData}} -\index{packData@{packData}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection[packData]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoSyncMultiStart}{peo\-Sync\-Multi\-Start}$<$ EOT $>$::pack\-Data ()\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} -\label{classpeoSyncMultiStart_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 \hyperlink{classService_aea4b8f7f8fb88e83862ee4bfd9ab207}{Service}. - -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.\hypertarget{classpeoSyncMultiStart_2903a441b77cded266b5fb651e17a5b5}{ -\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!unpackData@{unpackData}} -\index{unpackData@{unpackData}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection[unpackData]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoSyncMultiStart}{peo\-Sync\-Multi\-Start}$<$ EOT $>$::unpack\-Data ()\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} -\label{classpeoSyncMultiStart_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 \hyperlink{classService_3bd87b444710813d30fd754d4d0b4df3}{Service}. - -Definition at line 141 of file peo\-Sync\-Multi\-Start.h. - -References peo\-Sync\-Multi\-Start$<$ EOT $>$::sol.\hypertarget{classpeoSyncMultiStart_a4d1c2943c290de540800087b54dc49b}{ -\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!execute@{execute}} -\index{execute@{execute}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection[execute]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoSyncMultiStart}{peo\-Sync\-Multi\-Start}$<$ EOT $>$::execute ()\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} -\label{classpeoSyncMultiStart_a4d1c2943c290de540800087b54dc49b} - - -Auxiliary function for actually executing the specified algorithm on one assigned individual. - -There is no need to explicitly call the function. - -Reimplemented from \hyperlink{classService_e4f2894e6121e60f38d41cfbd7447ae4}{Service}. - -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.\hypertarget{classpeoSyncMultiStart_6c48eb0dae741cff7203b65e226f9616}{ -\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!packResult@{packResult}} -\index{packResult@{packResult}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection[packResult]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoSyncMultiStart}{peo\-Sync\-Multi\-Start}$<$ EOT $>$::pack\-Result ()\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} -\label{classpeoSyncMultiStart_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 \hyperlink{classService_e5e4f90b2315e15c2a2913bd370f4cf5}{Service}. - -Definition at line 153 of file peo\-Sync\-Multi\-Start.h. - -References peo\-Sync\-Multi\-Start$<$ EOT $>$::sol.\hypertarget{classpeoSyncMultiStart_c3cbd1f10a89d1915c5ccf82a2c34a1d}{ -\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!unpackResult@{unpackResult}} -\index{unpackResult@{unpackResult}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection[unpackResult]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoSyncMultiStart}{peo\-Sync\-Multi\-Start}$<$ EOT $>$::unpack\-Result ()\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} -\label{classpeoSyncMultiStart_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 \hyperlink{classService_45c06344edbfa482b91f68e2035a6099}{Service}. - -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.\hypertarget{classpeoSyncMultiStart_32ec0d01d3fd8a9932abd68f4781fc94}{ -\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!notifySendingData@{notifySendingData}} -\index{notifySendingData@{notifySendingData}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection[notifySendingData]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoSyncMultiStart}{peo\-Sync\-Multi\-Start}$<$ EOT $>$::notify\-Sending\-Data ()\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} -\label{classpeoSyncMultiStart_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 \hyperlink{classService_81ad4d6ebb50045b8977e2ab74826f30}{Service}. - -Definition at line 187 of file peo\-Sync\-Multi\-Start.h.\hypertarget{classpeoSyncMultiStart_fc90282cc4e93cdea8f82fd52dd78fb0}{ -\index{peoSyncMultiStart@{peo\-Sync\-Multi\-Start}!notifySendingAllResourceRequests@{notifySendingAllResourceRequests}} -\index{notifySendingAllResourceRequests@{notifySendingAllResourceRequests}!peoSyncMultiStart@{peo\-Sync\-Multi\-Start}} -\subsubsection[notifySendingAllResourceRequests]{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \hyperlink{classpeoSyncMultiStart}{peo\-Sync\-Multi\-Start}$<$ EOT $>$::notify\-Sending\-All\-Resource\-Requests ()\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} -\label{classpeoSyncMultiStart_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 \hyperlink{classService_f94cc8a5c2665d4574041737e61e9ffc}{Service}. - -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/docs/latex/classpeoTransform.eps b/trunk/paradiseo-peo/docs/latex/classpeoTransform.eps deleted file mode 100644 index 6dbaa126c..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoTransform.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/docs/latex/classpeoTransform.pdf b/trunk/paradiseo-peo/docs/latex/classpeoTransform.pdf deleted file mode 100644 index 1a03bea81..000000000 Binary files a/trunk/paradiseo-peo/docs/latex/classpeoTransform.pdf and /dev/null differ diff --git a/trunk/paradiseo-peo/docs/latex/classpeoTransform.tex b/trunk/paradiseo-peo/docs/latex/classpeoTransform.tex deleted file mode 100644 index 2774dbd29..000000000 --- a/trunk/paradiseo-peo/docs/latex/classpeoTransform.tex +++ /dev/null @@ -1,29 +0,0 @@ -\hypertarget{classpeoTransform}{ -\section{peo\-Transform$<$ EOT $>$ Class Template Reference} -\label{classpeoTransform}\index{peoTransform@{peoTransform}} -} -The \hyperlink{classpeoTransform}{peo\-Transform} class acts only as an interface for creating transform operators - for an example please refer to the {\bf \hyperlink{classpeoSeqTransform}{peo\-Seq\-Transform}} and the {\bf \hyperlink{classpeoParaSGATransform}{peo\-Para\-SGATransform}} classes. - - -{\tt \#include $<$peo\-Transform.h$>$} - -Inheritance diagram for peo\-Transform$<$ EOT $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=4cm]{classpeoTransform} -\end{center} -\end{figure} - - -\subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class peo\-Transform$<$ EOT $>$} - -The \hyperlink{classpeoTransform}{peo\-Transform} class acts only as an interface for creating transform operators - for an example please refer to the {\bf \hyperlink{classpeoSeqTransform}{peo\-Seq\-Transform}} and the {\bf \hyperlink{classpeoParaSGATransform}{peo\-Para\-SGATransform}} 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/docs/latex/doxygen.sty b/trunk/paradiseo-peo/docs/latex/doxygen.sty deleted file mode 100644 index cd2ec07a5..000000000 --- a/trunk/paradiseo-peo/docs/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 Sat Dec 30 14:55:29 2006 for Paradis\-EO-PEO by Doxygen }]{} -\lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Sat Dec 30 14:55:29 2006 for Paradis\-EO-PEO 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/docs/latex/hierarchy.tex b/trunk/paradiseo-peo/docs/latex/hierarchy.tex deleted file mode 100644 index 3e5558b44..000000000 --- a/trunk/paradiseo-peo/docs/latex/hierarchy.tex +++ /dev/null @@ -1,49 +0,0 @@ -\section{Paradis\-EO-PEO Class Hierarchy} -This inheritance list is sorted roughly, but not completely, alphabetically:\begin{CompactList} -\item \contentsline{section}{Communicable}{\pageref{classCommunicable}}{} -\begin{CompactList} -\item \contentsline{section}{Cooperative}{\pageref{classCooperative}}{} -\begin{CompactList} -\item \contentsline{section}{peo\-Async\-Island\-Mig$<$ EOT $>$}{\pageref{classpeoAsyncIslandMig}}{} -\item \contentsline{section}{peo\-Sync\-Island\-Mig$<$ EOT $>$}{\pageref{classpeoSyncIslandMig}}{} -\end{CompactList} -\item \contentsline{section}{Runner}{\pageref{classRunner}}{} -\begin{CompactList} -\item \contentsline{section}{peo\-EA$<$ EOT $>$}{\pageref{classpeoEA}}{} -\end{CompactList} -\item \contentsline{section}{Service}{\pageref{classService}}{} -\begin{CompactList} -\item \contentsline{section}{peo\-Pop\-Eval$<$ EOT $>$}{\pageref{classpeoPopEval}}{} -\begin{CompactList} -\item \contentsline{section}{peo\-Para\-Pop\-Eval$<$ EOT $>$}{\pageref{classpeoParaPopEval}}{} -\item \contentsline{section}{peo\-Seq\-Pop\-Eval$<$ EOT $>$}{\pageref{classpeoSeqPopEval}}{} -\end{CompactList} -\item \contentsline{section}{peo\-Sync\-Multi\-Start$<$ EOT $>$}{\pageref{classpeoSyncMultiStart}}{} -\item \contentsline{section}{peo\-Transform$<$ EOT $>$}{\pageref{classpeoTransform}}{} -\begin{CompactList} -\item \contentsline{section}{peo\-Para\-SGATransform$<$ EOT $>$}{\pageref{classpeoParaSGATransform}}{} -\item \contentsline{section}{peo\-Seq\-Transform$<$ EOT $>$}{\pageref{classpeoSeqTransform}}{} -\end{CompactList} -\end{CompactList} -\item \contentsline{section}{Worker}{\pageref{classWorker}}{} -\end{CompactList} -\item \contentsline{section}{Node}{\pageref{structNode}}{} -\item \contentsline{section}{peo\-Agg\-Eval\-Func$<$ EOT $>$}{\pageref{classpeoAggEvalFunc}}{} -\begin{CompactList} -\item \contentsline{section}{peo\-No\-Agg\-Eval\-Func$<$ EOT $>$}{\pageref{classpeoNoAggEvalFunc}}{} -\end{CompactList} -\item \contentsline{section}{SEND\_\-REQUEST}{\pageref{structSEND__REQUEST}}{} -\item \contentsline{section}{Thread}{\pageref{classThread}}{} -\begin{CompactList} -\item \contentsline{section}{Reactive\-Thread}{\pageref{classReactiveThread}}{} -\begin{CompactList} -\item \contentsline{section}{Communicator}{\pageref{classCommunicator}}{} -\item \contentsline{section}{Worker}{\pageref{classWorker}}{} -\end{CompactList} -\item \contentsline{section}{Runner}{\pageref{classRunner}}{} -\end{CompactList} -\item \contentsline{section}{Topology}{\pageref{classTopology}}{} -\begin{CompactList} -\item \contentsline{section}{Ring\-Topology}{\pageref{classRingTopology}}{} -\end{CompactList} -\end{CompactList} diff --git a/trunk/paradiseo-peo/docs/latex/main.tex b/trunk/paradiseo-peo/docs/latex/main.tex deleted file mode 100644 index 58b6a5b41..000000000 --- a/trunk/paradiseo-peo/docs/latex/main.tex +++ /dev/null @@ -1,52 +0,0 @@ -\hypertarget{main_intro}{}\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.\hypertarget{main_parallel_metaheuristics}{}\section{Parallel and distributed metaheuristics}\label{main_parallel_metaheuristics} -\hypertarget{main_parallel_distributed}{}\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} -\hypertarget{main_parallel_ls}{}\subsection{Parallel distributed local searches}\label{main_parallel_ls} -\hypertarget{main_local_searches}{}\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).\hypertarget{main_parallel_local_searches}{}\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} -\hypertarget{main_hybridization}{}\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 \hyperlink{classCooperative}{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.\hypertarget{main_paradiseo_goals}{}\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.\hypertarget{main_motivation}{}\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} -\hypertarget{main_architecture}{}\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.\hypertarget{main_tutorials}{}\section{Paradis\-EO-PEO Tutorials}\label{main_tutorials} -The basisc of the Paradis\-EO framework philosophy are exposed in a few simple tutorials: \begin{itemize} -\item \href{lesson1/html/main.html}{\tt creating a simple Paradis\-EO evolutionary algorithm}; \end{itemize} -All the presented examples have as case study the travel salesman problem (TSP). Different operators and auxiliary objects were designed, standing as a \href{lsnshared/html/index.html}{\tt common shared source code base}. While not being part of the Paradis\-EO-PEO framework, it may represent a startpoint for a better understanding of the presented tutorials. \ No newline at end of file diff --git a/trunk/paradiseo-peo/docs/latex/namespacepeo.tex b/trunk/paradiseo-peo/docs/latex/namespacepeo.tex deleted file mode 100644 index ee1f78ba8..000000000 --- a/trunk/paradiseo-peo/docs/latex/namespacepeo.tex +++ /dev/null @@ -1,52 +0,0 @@ -\hypertarget{namespacepeo}{ -\section{peo Namespace Reference} -\label{namespacepeo}\index{peo@{peo}} -} - - -\subsection*{Functions} -\begin{CompactItemize} -\item -\hypertarget{namespacepeo_f90478489cc92d1e6abb222179163a30}{ -void \hyperlink{namespacepeo_f90478489cc92d1e6abb222179163a30}{finalize} ()} -\label{namespacepeo_f90478489cc92d1e6abb222179163a30} - -\item -\hypertarget{namespacepeo_8184c3b1f7eecc68f69bb8e8b872a7d3}{ -void \hyperlink{namespacepeo_8184c3b1f7eecc68f69bb8e8b872a7d3}{init} (int \&\_\-\_\-argc, char $\ast$$\ast$\&\_\-\_\-argv)} -\label{namespacepeo_8184c3b1f7eecc68f69bb8e8b872a7d3} - -\item -\hypertarget{namespacepeo_2b496ee9b81d9ae322ae6edb9a93dc71}{ -void \hyperlink{namespacepeo_2b496ee9b81d9ae322ae6edb9a93dc71}{load\-Parameters} (int \&\_\-\_\-argc, char $\ast$$\ast$\&\_\-\_\-argv)} -\label{namespacepeo_2b496ee9b81d9ae322ae6edb9a93dc71} - -\item -\hypertarget{namespacepeo_10819b2d60b37477c6a89b60c595c67c}{ -void \hyperlink{namespacepeo_10819b2d60b37477c6a89b60c595c67c}{run} ()} -\label{namespacepeo_10819b2d60b37477c6a89b60c595c67c} - -\end{CompactItemize} -\subsection*{Variables} -\begin{CompactItemize} -\item -\hypertarget{namespacepeo_18a3998ce8b39c4e1143914fdd07b3d2}{ -int $\ast$ \hyperlink{namespacepeo_18a3998ce8b39c4e1143914fdd07b3d2}{argc}} -\label{namespacepeo_18a3998ce8b39c4e1143914fdd07b3d2} - -\item -\hypertarget{namespacepeo_d07043237d4d923125e38860ba9bbe20}{ -char $\ast$$\ast$$\ast$ \hyperlink{namespacepeo_d07043237d4d923125e38860ba9bbe20}{argv}} -\label{namespacepeo_d07043237d4d923125e38860ba9bbe20} - -\item -\hypertarget{namespacepeo_18a3998ce8b39c4e1143914fdd07b3d2}{ -int $\ast$ \hyperlink{namespacepeo_18a3998ce8b39c4e1143914fdd07b3d2}{argc}} -\label{namespacepeo_18a3998ce8b39c4e1143914fdd07b3d2} - -\item -\hypertarget{namespacepeo_d07043237d4d923125e38860ba9bbe20}{ -char $\ast$$\ast$$\ast$ \hyperlink{namespacepeo_d07043237d4d923125e38860ba9bbe20}{argv}} -\label{namespacepeo_d07043237d4d923125e38860ba9bbe20} - -\end{CompactItemize} diff --git a/trunk/paradiseo-peo/docs/latex/namespaces.tex b/trunk/paradiseo-peo/docs/latex/namespaces.tex deleted file mode 100644 index b05536ba2..000000000 --- a/trunk/paradiseo-peo/docs/latex/namespaces.tex +++ /dev/null @@ -1,4 +0,0 @@ -\section{Paradis\-EO-PEO Namespace List} -Here is a list of all documented namespaces with brief descriptions:\begin{CompactList} -\item\contentsline{section}{\hyperlink{namespacepeo}{peo} }{\pageref{namespacepeo}}{} -\end{CompactList} diff --git a/trunk/paradiseo-peo/docs/latex/refman.tex b/trunk/paradiseo-peo/docs/latex/refman.tex deleted file mode 100644 index ffd124782..000000000 --- a/trunk/paradiseo-peo/docs/latex/refman.tex +++ /dev/null @@ -1,82 +0,0 @@ -\documentclass[a4paper]{book} -\usepackage{a4wide} -\usepackage{makeidx} -\usepackage{fancyhdr} -\usepackage{graphicx} -\usepackage{multicol} -\usepackage{float} -\usepackage{textcomp} -\usepackage{alltt} -\usepackage{times} -\usepackage{ifpdf} -\ifpdf -\usepackage[pdftex, - pagebackref=true, - colorlinks=true, - linkcolor=blue - ]{hyperref} -\else -\usepackage[ps2pdf, - pagebackref=true, - colorlinks=true, - linkcolor=blue - ]{hyperref} -\usepackage{pspicture} -\fi -\usepackage{doxygen} -\makeindex -\setcounter{tocdepth}{1} -\renewcommand{\footrulewidth}{0.4pt} -\begin{document} -\begin{titlepage} -\vspace*{7cm} -\begin{center} -{\Large Paradis\-EO-PEO Reference Manual\\[1ex]\large 0.1 }\\ -\vspace*{1cm} -{\large Generated by Doxygen 1.4.7}\\ -\vspace*{0.5cm} -{\small Sat Dec 30 14:55:29 2006}\\ -\end{center} -\end{titlepage} -\clearemptydoublepage -\pagenumbering{roman} -\tableofcontents -\clearemptydoublepage -\pagenumbering{arabic} -\chapter{The Paradis\-EO-PEO Framework } -\label{index}\hypertarget{index}{}\input{main} -\chapter{Paradis\-EO-PEO Namespace Index} -\input{namespaces} -\chapter{Paradis\-EO-PEO Hierarchical Index} -\input{hierarchy} -\chapter{Paradis\-EO-PEO Class Index} -\input{annotated} -\chapter{Paradis\-EO-PEO Namespace Documentation} -\input{namespacepeo} -\chapter{Paradis\-EO-PEO Class Documentation} -\input{classCommunicable} -\include{classCommunicator} -\include{classCooperative} -\include{structNode} -\include{classpeoAggEvalFunc} -\include{classpeoAsyncIslandMig} -\include{classpeoEA} -\include{classpeoNoAggEvalFunc} -\include{classpeoParaPopEval} -\include{classpeoParaSGATransform} -\include{classpeoPopEval} -\include{classpeoSeqPopEval} -\include{classpeoSeqTransform} -\include{classpeoSyncIslandMig} -\include{classpeoSyncMultiStart} -\include{classpeoTransform} -\include{classReactiveThread} -\include{classRingTopology} -\include{classRunner} -\include{structSEND__REQUEST} -\include{classService} -\include{classThread} -\include{classTopology} -\include{classWorker} -\printindex -\end{document} diff --git a/trunk/paradiseo-peo/docs/latex/structNode.tex b/trunk/paradiseo-peo/docs/latex/structNode.tex deleted file mode 100644 index 4f16d6568..000000000 --- a/trunk/paradiseo-peo/docs/latex/structNode.tex +++ /dev/null @@ -1,44 +0,0 @@ -\hypertarget{structNode}{ -\section{Node Struct Reference} -\label{structNode}\index{Node@{Node}} -} -\subsection*{Public Attributes} -\begin{CompactItemize} -\item -\hypertarget{structNode_7de6f254b6b8c3f9f8287af0bb742e9b}{ -RANK\_\-ID \hyperlink{structNode_7de6f254b6b8c3f9f8287af0bb742e9b}{rk}} -\label{structNode_7de6f254b6b8c3f9f8287af0bb742e9b} - -\item -\hypertarget{structNode_3c4318d71ca9a44fe33edcf8b7f26863}{ -std::string \hyperlink{structNode_3c4318d71ca9a44fe33edcf8b7f26863}{name}} -\label{structNode_3c4318d71ca9a44fe33edcf8b7f26863} - -\item -\hypertarget{structNode_01fec86d75332858b158c810d57caee3}{ -unsigned \hyperlink{structNode_01fec86d75332858b158c810d57caee3}{num\_\-workers}} -\label{structNode_01fec86d75332858b158c810d57caee3} - -\item -\hypertarget{structNode_98deed2036c3dd8fc0f4fe8dacf56a92}{ -int \hyperlink{structNode_98deed2036c3dd8fc0f4fe8dacf56a92}{rk\_\-sched}} -\label{structNode_98deed2036c3dd8fc0f4fe8dacf56a92} - -\item -\hypertarget{structNode_a90013b890888d3d252a71cb4fe48934}{ -std::vector$<$ RUNNER\_\-ID $>$ \hyperlink{structNode_a90013b890888d3d252a71cb4fe48934}{id\_\-run}} -\label{structNode_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/docs/latex/structSEND__REQUEST.tex b/trunk/paradiseo-peo/docs/latex/structSEND__REQUEST.tex deleted file mode 100644 index a25292318..000000000 --- a/trunk/paradiseo-peo/docs/latex/structSEND__REQUEST.tex +++ /dev/null @@ -1,34 +0,0 @@ -\hypertarget{structSEND__REQUEST}{ -\section{SEND\_\-REQUEST Struct Reference} -\label{structSEND__REQUEST}\index{SEND_REQUEST@{SEND\_\-REQUEST}} -} -\subsection*{Public Attributes} -\begin{CompactItemize} -\item -\hypertarget{structSEND__REQUEST_1ad8f7233fa3ff13262e783a9153920f}{ -\hyperlink{classCommunicable}{Communicable} $\ast$ \hyperlink{structSEND__REQUEST_1ad8f7233fa3ff13262e783a9153920f}{comm}} -\label{structSEND__REQUEST_1ad8f7233fa3ff13262e783a9153920f} - -\item -\hypertarget{structSEND__REQUEST_93e2a6a71d2a91aa2b7bdd050ee59b4d}{ -int \hyperlink{structSEND__REQUEST_93e2a6a71d2a91aa2b7bdd050ee59b4d}{to}} -\label{structSEND__REQUEST_93e2a6a71d2a91aa2b7bdd050ee59b4d} - -\item -\hypertarget{structSEND__REQUEST_3126b3ef9d6533d3086760e413a7f23f}{ -int \hyperlink{structSEND__REQUEST_3126b3ef9d6533d3086760e413a7f23f}{tag}} -\label{structSEND__REQUEST_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/docs/man/man3/Communicable.3 b/trunk/paradiseo-peo/docs/man/man3/Communicable.3 deleted file mode 100644 index bbed4c4c6..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/Communicable.3 +++ /dev/null @@ -1,62 +0,0 @@ -.TH "Communicable" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/Communicator.3 b/trunk/paradiseo-peo/docs/man/man3/Communicator.3 deleted file mode 100644 index 19c11b942..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/Communicator.3 +++ /dev/null @@ -1,27 +0,0 @@ -.TH "Communicator" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/Cooperative.3 b/trunk/paradiseo-peo/docs/man/man3/Cooperative.3 deleted file mode 100644 index 3fd543550..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/Cooperative.3 +++ /dev/null @@ -1,42 +0,0 @@ -.TH "Cooperative" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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 "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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/Node.3 b/trunk/paradiseo-peo/docs/man/man3/Node.3 deleted file mode 100644 index 69061c6b5..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/Node.3 +++ /dev/null @@ -1,34 +0,0 @@ -.TH "Node" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/ReactiveThread.3 b/trunk/paradiseo-peo/docs/man/man3/ReactiveThread.3 deleted file mode 100644 index 94de62386..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/ReactiveThread.3 +++ /dev/null @@ -1,39 +0,0 @@ -.TH "ReactiveThread" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/RingTopology.3 b/trunk/paradiseo-peo/docs/man/man3/RingTopology.3 deleted file mode 100644 index ea78dbd12..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/RingTopology.3 +++ /dev/null @@ -1,24 +0,0 @@ -.TH "RingTopology" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/Runner.3 b/trunk/paradiseo-peo/docs/man/man3/Runner.3 deleted file mode 100644 index 8e2723dbf..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/Runner.3 +++ /dev/null @@ -1,57 +0,0 @@ -.TH "Runner" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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 "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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/SEND_REQUEST.3 b/trunk/paradiseo-peo/docs/man/man3/SEND_REQUEST.3 deleted file mode 100644 index 3ce892b03..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/SEND_REQUEST.3 +++ /dev/null @@ -1,28 +0,0 @@ -.TH "SEND_REQUEST" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/Service.3 b/trunk/paradiseo-peo/docs/man/man3/Service.3 deleted file mode 100644 index 19147fba6..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/Service.3 +++ /dev/null @@ -1,69 +0,0 @@ -.TH "Service" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/Thread.3 b/trunk/paradiseo-peo/docs/man/man3/Thread.3 deleted file mode 100644 index 148c3fc57..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/Thread.3 +++ /dev/null @@ -1,40 +0,0 @@ -.TH "Thread" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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 "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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/Topology.3 b/trunk/paradiseo-peo/docs/man/man3/Topology.3 deleted file mode 100644 index fb7d7e9cc..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/Topology.3 +++ /dev/null @@ -1,34 +0,0 @@ -.TH "Topology" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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 -.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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/Worker.3 b/trunk/paradiseo-peo/docs/man/man3/Worker.3 deleted file mode 100644 index 081fc67fe..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/Worker.3 +++ /dev/null @@ -1,64 +0,0 @@ -.TH "Worker" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/peo.3 b/trunk/paradiseo-peo/docs/man/man3/peo.3 deleted file mode 100644 index faeecec75..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/peo.3 +++ /dev/null @@ -1,43 +0,0 @@ -.TH "peo" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/peoAggEvalFunc.3 b/trunk/paradiseo-peo/docs/man/man3/peoAggEvalFunc.3 deleted file mode 100644 index 58d5ec0ce..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/peoAggEvalFunc.3 +++ /dev/null @@ -1,31 +0,0 @@ -.TH "peoAggEvalFunc" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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 \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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/peoAsyncIslandMig.3 b/trunk/paradiseo-peo/docs/man/man3/peoAsyncIslandMig.3 deleted file mode 100644 index 028d1d465..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/peoAsyncIslandMig.3 +++ /dev/null @@ -1,174 +0,0 @@ -.TH "peoAsyncIslandMig" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/peoEA.3 b/trunk/paradiseo-peo/docs/man/man3/peoEA.3 deleted file mode 100644 index 2505ca5f3..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/peoEA.3 +++ /dev/null @@ -1,109 +0,0 @@ -.TH "peoEA" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/peoNoAggEvalFunc.3 b/trunk/paradiseo-peo/docs/man/man3/peoNoAggEvalFunc.3 deleted file mode 100644 index cc9013dd7..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/peoNoAggEvalFunc.3 +++ /dev/null @@ -1,35 +0,0 @@ -.TH "peoNoAggEvalFunc" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/peoParaPopEval.3 b/trunk/paradiseo-peo/docs/man/man3/peoParaPopEval.3 deleted file mode 100644 index 6a3dea281..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/peoParaPopEval.3 +++ /dev/null @@ -1,217 +0,0 @@ -.TH "peoParaPopEval" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/peoParaSGATransform.3 b/trunk/paradiseo-peo/docs/man/man3/peoParaSGATransform.3 deleted file mode 100644 index 9248bace2..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/peoParaSGATransform.3 +++ /dev/null @@ -1,83 +0,0 @@ -.TH "peoParaSGATransform" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/peoPopEval.3 b/trunk/paradiseo-peo/docs/man/man3/peoPopEval.3 deleted file mode 100644 index d4ffdc7e2..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/peoPopEval.3 +++ /dev/null @@ -1,37 +0,0 @@ -.TH "peoPopEval" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/peoSeqPopEval.3 b/trunk/paradiseo-peo/docs/man/man3/peoSeqPopEval.3 deleted file mode 100644 index 89111abdb..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/peoSeqPopEval.3 +++ /dev/null @@ -1,78 +0,0 @@ -.TH "peoSeqPopEval" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/peoSeqTransform.3 b/trunk/paradiseo-peo/docs/man/man3/peoSeqTransform.3 deleted file mode 100644 index 2dd46cad5..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/peoSeqTransform.3 +++ /dev/null @@ -1,96 +0,0 @@ -.TH "peoSeqTransform" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/peoSyncIslandMig.3 b/trunk/paradiseo-peo/docs/man/man3/peoSyncIslandMig.3 deleted file mode 100644 index 4cba5b6c9..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/peoSyncIslandMig.3 +++ /dev/null @@ -1,181 +0,0 @@ -.TH "peoSyncIslandMig" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/peoSyncMultiStart.3 b/trunk/paradiseo-peo/docs/man/man3/peoSyncMultiStart.3 deleted file mode 100644 index 7857ebfe5..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/peoSyncMultiStart.3 +++ /dev/null @@ -1,209 +0,0 @@ -.TH "peoSyncMultiStart" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code. diff --git a/trunk/paradiseo-peo/docs/man/man3/peoTransform.3 b/trunk/paradiseo-peo/docs/man/man3/peoTransform.3 deleted file mode 100644 index 7f0c69c19..000000000 --- a/trunk/paradiseo-peo/docs/man/man3/peoTransform.3 +++ /dev/null @@ -1,27 +0,0 @@ -.TH "peoTransform" 3 "30 Dec 2006" "Version 0.1" "ParadisEO-PEO" \" -*- 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-PEO from the source code.