diff --git a/trunk/paradiseo-mo/doc/html/annotated.html b/trunk/paradiseo-mo/doc/html/annotated.html index 9409c33f8..eabe149c6 100644 --- a/trunk/paradiseo-mo/doc/html/annotated.html +++ b/trunk/paradiseo-mo/doc/html/annotated.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Class List +ParadisEO-MOMovingObjects: Class List @@ -8,6 +8,7 @@
-

PARADISEO-MO Class List

Here are the classes, structs, unions and interfaces with brief descriptions: +

ParadisEO-MOMovingObjects Class List

Here are the classes, structs, unions and interfaces with brief descriptions:
+ + + + + + @@ -53,17 +60,32 @@ + + + + + + + + + + + + + + +
CitySwapIts swaps two vertices randomly choosen
EdgeXoverEdge Crossover
EmptySelectionSpecial class that describes the case of no selection
moAlgo< EOT >Description of an algorithm of the paradiseo-mo library
moAspirCrit< M >Description of the conditions in which a tabu move could be accepted
moBestImprSelect< M >One of the possible moMoveSelect
moComparator< EOT >Template for classes which need to compare two EOT and indicate if the first is "better" than the second
moCoolingScheduleThis class gives the description of a cooling schedule
moExponentialCoolingScheduleOne of the possible moCoolingSchedule
moFirstImprSelect< M >One possible moMoveSelect
moFitComparator< EOT >Comparison according to the fitness
moFitSolContinue< EOT >One possible stop criterion for a solution-based heuristic
moGenSolContinue< EOT >One possible stop criterion for a solution-based heuristic
moHC< M >Hill Climbing (HC)
moHCMoveLoopExpl< M >Iterative explorer used by a moHC
moILS< M >Iterated Local Search (ILS)
moImprBestFitAspirCrit< M >One of the possible moAspirCrit
moItRandNextMove< M >One of the possible moNextMove
moLinearCoolingScheduleOne of the possible moCoolingSchedule
moMoveSelect< M >Class that describes a move selector (moMove)
moNextMove< M >Class which allows to generate a new move (moMove)
moNoAspirCrit< M >One of the possible aspiration criterion (moAspirCrit)
moNoFitImprSolContinue< EOT >One possible stop criterion for a solution-based heuristic
moRandImprSelect< M >One of the possible moMove selector (moMoveSelect)
moRandMove< M >Random move generator
moSA< M >Simulated Annealing (SA)
moSimpleMoveTabuList< M >Class describing a move tabu list with a limited memory
moSimpleSolutionTabuList< M >Class describing a solution tabu list with limited length
moSolContinue< EOT >Class that describes a stop criterion for a solution-based heuristic
moSteadyFitSolContinue< EOT >One possible stopping criterion for a solution-based heuristic
moTabuList< M >Class describing a tabu list that a moTS uses
moTS< M >Tabu Search (TS)
moTSMoveLoopExpl< M >Explorer for a Tabu Search algorithm
OrderXoverOrder Crossover
PartialMappedXoverPartial Mapped Crossover
PartRouteEvalRoute Evaluator
PartTwoOptInitIt sets the first couple of edges
PartTwoOptNextIt updates a couple of edges
RouteEvalRoute Evaluator
RouteInit
TwoOpt
TwoOptIncrEval
TwoOptInitIt sets the first couple of edges
TwoOptNextIt updates a couple of edges
TwoOptRand
TwoOptTabuListThe table of tabu movements, i.e
-
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/city__swap_8cpp-source.html b/trunk/paradiseo-mo/doc/html/city__swap_8cpp-source.html new file mode 100644 index 000000000..e0b1a7e09 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/city__swap_8cpp-source.html @@ -0,0 +1,54 @@ + + +ParadisEO-MOMovingObjects: 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-2006
+00006 
+00007 /* TEXT LICENCE
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #include <utils/eoRNG.h>
+00013 
+00014 #include "city_swap.h"
+00015 
+00016 bool CitySwap :: operator () (Route & __route) {
+00017   
+00018   std :: swap (__route [rng.random (__route.size ())],
+00019                __route [rng.random (__route.size ())]) ;
+00020     
+00021   __route.invalidate () ;
+00022   
+00023   return true ;
+00024 }
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/city__swap_8h-source.html b/trunk/paradiseo-mo/doc/html/city__swap_8h-source.html new file mode 100644 index 000000000..3cd00292e --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/city__swap_8h-source.html @@ -0,0 +1,57 @@ + + +ParadisEO-MOMovingObjects: 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-2006
+00006 
+00007 /* TEXT LICENCE
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #ifndef city_swap_h
+00013 #define city_swap_h
+00014 
+00015 #include <eoOp.h>
+00016 
+00017 #include "route.h"
+00018 
+00021 class CitySwap : public eoMonOp <Route> {
+00022   
+00023 public :
+00024   
+00025   bool operator () (Route & __route) ;
+00026     
+00027 } ;
+00028 
+00029 #endif
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/class_city_swap-members.html b/trunk/paradiseo-mo/doc/html/class_city_swap-members.html new file mode 100644 index 000000000..485ee47fa --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_city_swap-members.html @@ -0,0 +1,40 @@ + + +ParadisEO-MOMovingObjects: Member List + + + + +
+ +
+ +

CitySwap Member List

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

+ +
operator()(Route &__route)CitySwap


Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/class_city_swap.html b/trunk/paradiseo-mo/doc/html/class_city_swap.html new file mode 100644 index 000000000..765bf1059 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_city_swap.html @@ -0,0 +1,57 @@ + + +ParadisEO-MOMovingObjects: 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 21 of file city_swap.h.


The documentation for this class was generated from the following files: +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/class_edge_xover-members.html b/trunk/paradiseo-mo/doc/html/class_edge_xover-members.html new file mode 100644 index 000000000..44eb22657 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_edge_xover-members.html @@ -0,0 +1,45 @@ + + +ParadisEO-MOMovingObjects: Member List + + + + +
+ +
+ +

EdgeXover Member List

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

+ + + + + + +
_mapEdgeXover [private]
add_vertex(unsigned int __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
visitedEdgeXover [private]


Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/class_edge_xover.html b/trunk/paradiseo-mo/doc/html/class_edge_xover.html new file mode 100644 index 000000000..e052fb730 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_edge_xover.html @@ -0,0 +1,75 @@ + + +ParadisEO-MOMovingObjects: 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 build_map (const Route &__par1, const Route &__par2)
+void add_vertex (unsigned int __vertex, Route &__child)

Private Attributes

+std::vector< std::set< unsigned
+int > > 
_map
+std::vector< bool > visited
+


Detailed Description

+Edge Crossover. +

+ +

+Definition at line 23 of file edge_xover.h.


The documentation for this class was generated from the following files: +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/class_empty_selection.html b/trunk/paradiseo-mo/doc/html/class_empty_selection.html index 27239f582..4cd26fe1e 100644 --- a/trunk/paradiseo-mo/doc/html/class_empty_selection.html +++ b/trunk/paradiseo-mo/doc/html/class_empty_selection.html @@ -1,6 +1,6 @@ -PARADISEO-MO: EmptySelection Class Reference +ParadisEO-MOMovingObjects: EmptySelection Class Reference @@ -8,6 +8,7 @@
  • Main Page
  • +
  • Namespaces
  • Classes
  • Files
  • @@ -47,7 +48,7 @@ This class is used as an exception that can be thrown if a solution selector has

    Definition at line 21 of file moMoveSelect.h.


    The documentation for this class was generated from the following file: -
    Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
    diff --git a/trunk/paradiseo-mo/doc/html/class_order_xover-members.html b/trunk/paradiseo-mo/doc/html/class_order_xover-members.html new file mode 100644 index 000000000..22901f4ad --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_order_xover-members.html @@ -0,0 +1,41 @@ + + +ParadisEO-MOMovingObjects: 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 Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_order_xover.html b/trunk/paradiseo-mo/doc/html/class_order_xover.html new file mode 100644 index 000000000..c7e4617ae --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_order_xover.html @@ -0,0 +1,61 @@ + + +ParadisEO-MOMovingObjects: 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 20 of file order_xover.h.


    The documentation for this class was generated from the following files: +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_part_route_eval-members.html b/trunk/paradiseo-mo/doc/html/class_part_route_eval-members.html new file mode 100644 index 000000000..50b2c8dc2 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_part_route_eval-members.html @@ -0,0 +1,43 @@ + + +ParadisEO-MOMovingObjects: 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 Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_part_route_eval.html b/trunk/paradiseo-mo/doc/html/class_part_route_eval.html new file mode 100644 index 000000000..9cbb0d16a --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_part_route_eval.html @@ -0,0 +1,68 @@ + + +ParadisEO-MOMovingObjects: 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 20 of file part_route_eval.h.


    The documentation for this class was generated from the following files: +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_part_two_opt_init-members.html b/trunk/paradiseo-mo/doc/html/class_part_two_opt_init-members.html new file mode 100644 index 000000000..0237867ea --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_part_two_opt_init-members.html @@ -0,0 +1,40 @@ + + +ParadisEO-MOMovingObjects: Member List + + + + +
    + +
    + +

    PartTwoOptInit Member List

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

    + +
    operator()(TwoOpt &__move, const Route &__route)PartTwoOptInit


    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_part_two_opt_init.html b/trunk/paradiseo-mo/doc/html/class_part_two_opt_init.html new file mode 100644 index 000000000..43d20724c --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_part_two_opt_init.html @@ -0,0 +1,62 @@ + + +ParadisEO-MOMovingObjects: PartTwoOptInit Class Reference + + + + +
    + +
    + +

    PartTwoOptInit Class Reference

    It sets the first couple of edges. +More... +

    +#include <part_two_opt_init.h> +

    +

    Inheritance diagram for PartTwoOptInit: +

    + +moMoveInit< TwoOpt > + +List of all members. + + + + +

    Public Member Functions

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

    Detailed Description

    +It sets the first couple of edges. +

    + +

    +Definition at line 20 of file part_two_opt_init.h.


    The documentation for this class was generated from the following files: +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_part_two_opt_init.png b/trunk/paradiseo-mo/doc/html/class_part_two_opt_init.png new file mode 100644 index 000000000..8bf08d7fb Binary files /dev/null and b/trunk/paradiseo-mo/doc/html/class_part_two_opt_init.png differ diff --git a/trunk/paradiseo-mo/doc/html/class_part_two_opt_next-members.html b/trunk/paradiseo-mo/doc/html/class_part_two_opt_next-members.html new file mode 100644 index 000000000..7edbdd77c --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_part_two_opt_next-members.html @@ -0,0 +1,39 @@ + + +ParadisEO-MOMovingObjects: Member List + + + + +
    + +
    + +

    PartTwoOptNext Member List

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

    +


    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_part_two_opt_next.html b/trunk/paradiseo-mo/doc/html/class_part_two_opt_next.html new file mode 100644 index 000000000..43c15c38d --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_part_two_opt_next.html @@ -0,0 +1,58 @@ + + +ParadisEO-MOMovingObjects: PartTwoOptNext Class Reference + + + + +
    + +
    + +

    PartTwoOptNext Class Reference

    It updates a couple of edges. +More... +

    +#include <part_two_opt_next.h> +

    +

    Inheritance diagram for PartTwoOptNext: +

    + +moNextMove< TwoOpt > + +List of all members. + +
    +

    Detailed Description

    +It updates a couple of edges. +

    + +

    +Definition at line 19 of file part_two_opt_next.h.


    The documentation for this class was generated from the following file: +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_part_two_opt_next.png b/trunk/paradiseo-mo/doc/html/class_part_two_opt_next.png new file mode 100644 index 000000000..087d183eb Binary files /dev/null and b/trunk/paradiseo-mo/doc/html/class_part_two_opt_next.png differ diff --git a/trunk/paradiseo-mo/doc/html/class_partial_mapped_xover-members.html b/trunk/paradiseo-mo/doc/html/class_partial_mapped_xover-members.html new file mode 100644 index 000000000..ccc333d09 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_partial_mapped_xover-members.html @@ -0,0 +1,41 @@ + + +ParadisEO-MOMovingObjects: 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 Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_partial_mapped_xover.html b/trunk/paradiseo-mo/doc/html/class_partial_mapped_xover.html new file mode 100644 index 000000000..9f24eb0c7 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_partial_mapped_xover.html @@ -0,0 +1,61 @@ + + +ParadisEO-MOMovingObjects: 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 20 of file partial_mapped_xover.h.


    The documentation for this class was generated from the following files: +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_route_eval-members.html b/trunk/paradiseo-mo/doc/html/class_route_eval-members.html new file mode 100644 index 000000000..9fff4c3f2 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_route_eval-members.html @@ -0,0 +1,40 @@ + + +ParadisEO-MOMovingObjects: Member List + + + + +
    + +
    + +

    RouteEval Member List

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

    + +
    operator()(Route &__route)RouteEval


    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_route_eval.html b/trunk/paradiseo-mo/doc/html/class_route_eval.html new file mode 100644 index 000000000..0cb37ea1d --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_route_eval.html @@ -0,0 +1,57 @@ + + +ParadisEO-MOMovingObjects: RouteEval Class Reference + + + + +
    + +
    + +

    RouteEval Class Reference

    Route Evaluator. +More... +

    +#include <route_eval.h> +

    +List of all members. + + + + +

    Public Member Functions

    +void operator() (Route &__route)
    +


    Detailed Description

    +Route Evaluator. +

    + +

    +Definition at line 20 of file route_eval.h.


    The documentation for this class was generated from the following files: +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_route_init-members.html b/trunk/paradiseo-mo/doc/html/class_route_init-members.html new file mode 100644 index 000000000..3e18fc9ce --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_route_init-members.html @@ -0,0 +1,40 @@ + + +ParadisEO-MOMovingObjects: Member List + + + + +
    + +
    + +

    RouteInit Member List

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

    + +
    operator()(Route &__route)RouteInit


    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_route_init.html b/trunk/paradiseo-mo/doc/html/class_route_init.html new file mode 100644 index 000000000..3a7487bf0 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_route_init.html @@ -0,0 +1,52 @@ + + +ParadisEO-MOMovingObjects: RouteInit Class Reference + + + + +
    + +
    + +

    RouteInit Class Reference

    List of all members. + + + + +

    Public Member Functions

    +void operator() (Route &__route)
    +

    Detailed Description

    + +

    + +

    +Definition at line 19 of file route_init.h.


    The documentation for this class was generated from the following files: +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt-members.html b/trunk/paradiseo-mo/doc/html/class_two_opt-members.html new file mode 100644 index 000000000..63a18b1b1 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_two_opt-members.html @@ -0,0 +1,44 @@ + + +ParadisEO-MOMovingObjects: Member List + + + + +
    + +
    + +

    TwoOpt Member List

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

    + + + + + +
    EOType typedefmoMove< Route >
    operator!() constTwoOpt
    operator()(Route &__route)TwoOpt
    printOn(std::ostream &__os) constTwoOpt
    readFrom(std::istream &__is)TwoOpt


    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt.html b/trunk/paradiseo-mo/doc/html/class_two_opt.html new file mode 100644 index 000000000..451cd6c54 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_two_opt.html @@ -0,0 +1,66 @@ + + +ParadisEO-MOMovingObjects: TwoOpt Class Reference + + + + +
    + +
    + +

    TwoOpt Class Reference

    Inheritance diagram for TwoOpt: +

    + +moMove< Route > + +List of all members. + + + + + + + + + + +

    Public Member Functions

    +TwoOpt operator! () const
    +void operator() (Route &__route)
    +void readFrom (std::istream &__is)
    +void printOn (std::ostream &__os) const
    +

    Detailed Description

    + +

    + +

    +Definition at line 22 of file two_opt.h.


    The documentation for this class was generated from the following files: +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt.png b/trunk/paradiseo-mo/doc/html/class_two_opt.png new file mode 100644 index 000000000..fcdd43698 Binary files /dev/null and b/trunk/paradiseo-mo/doc/html/class_two_opt.png differ diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt_incr_eval-members.html b/trunk/paradiseo-mo/doc/html/class_two_opt_incr_eval-members.html new file mode 100644 index 000000000..680249888 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_two_opt_incr_eval-members.html @@ -0,0 +1,40 @@ + + +ParadisEO-MOMovingObjects: 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 Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt_incr_eval.html b/trunk/paradiseo-mo/doc/html/class_two_opt_incr_eval.html new file mode 100644 index 000000000..caeb82faa --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_two_opt_incr_eval.html @@ -0,0 +1,57 @@ + + +ParadisEO-MOMovingObjects: TwoOptIncrEval Class Reference + + + + +
    + +
    + +

    TwoOptIncrEval Class Reference

    Inheritance diagram for TwoOptIncrEval: +

    + +moMoveIncrEval< TwoOpt > + +List of all members. + + + + +

    Public Member Functions

    +float operator() (const TwoOpt &__move, const Route &__route)
    +

    Detailed Description

    + +

    + +

    +Definition at line 18 of file two_opt_incr_eval.h.


    The documentation for this class was generated from the following files: +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt_incr_eval.png b/trunk/paradiseo-mo/doc/html/class_two_opt_incr_eval.png new file mode 100644 index 000000000..adf2f029e Binary files /dev/null and b/trunk/paradiseo-mo/doc/html/class_two_opt_incr_eval.png differ diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt_init-members.html b/trunk/paradiseo-mo/doc/html/class_two_opt_init-members.html new file mode 100644 index 000000000..d25db0acc --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_two_opt_init-members.html @@ -0,0 +1,40 @@ + + +ParadisEO-MOMovingObjects: 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 Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt_init.html b/trunk/paradiseo-mo/doc/html/class_two_opt_init.html new file mode 100644 index 000000000..274805872 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_two_opt_init.html @@ -0,0 +1,62 @@ + + +ParadisEO-MOMovingObjects: TwoOptInit Class Reference + + + + +
    + +
    + +

    TwoOptInit Class Reference

    It sets the first couple of edges. +More... +

    +#include <two_opt_init.h> +

    +

    Inheritance diagram for TwoOptInit: +

    + +moMoveInit< TwoOpt > + +List of all members. + + + + +

    Public Member Functions

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

    Detailed Description

    +It sets the first couple of edges. +

    + +

    +Definition at line 20 of file two_opt_init.h.


    The documentation for this class was generated from the following files: +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt_init.png b/trunk/paradiseo-mo/doc/html/class_two_opt_init.png new file mode 100644 index 000000000..c670a6b9e Binary files /dev/null and b/trunk/paradiseo-mo/doc/html/class_two_opt_init.png differ diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt_next-members.html b/trunk/paradiseo-mo/doc/html/class_two_opt_next-members.html new file mode 100644 index 000000000..214e29ef6 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_two_opt_next-members.html @@ -0,0 +1,40 @@ + + +ParadisEO-MOMovingObjects: 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 Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt_next.html b/trunk/paradiseo-mo/doc/html/class_two_opt_next.html new file mode 100644 index 000000000..1947769e9 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_two_opt_next.html @@ -0,0 +1,62 @@ + + +ParadisEO-MOMovingObjects: TwoOptNext Class Reference + + + + +
    + +
    + +

    TwoOptNext Class Reference

    It updates a couple of edges. +More... +

    +#include <two_opt_next.h> +

    +

    Inheritance diagram for TwoOptNext: +

    + +moNextMove< TwoOpt > + +List of all members. + + + + +

    Public Member Functions

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

    Detailed Description

    +It updates a couple of edges. +

    + +

    +Definition at line 19 of file two_opt_next.h.


    The documentation for this class was generated from the following files: +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt_next.png b/trunk/paradiseo-mo/doc/html/class_two_opt_next.png new file mode 100644 index 000000000..dcd858a5e Binary files /dev/null and b/trunk/paradiseo-mo/doc/html/class_two_opt_next.png differ diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt_rand-members.html b/trunk/paradiseo-mo/doc/html/class_two_opt_rand-members.html new file mode 100644 index 000000000..e379746af --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_two_opt_rand-members.html @@ -0,0 +1,40 @@ + + +ParadisEO-MOMovingObjects: Member List + + + + +
    + +
    + +

    TwoOptRand Member List

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

    + +
    operator()(TwoOpt &__move)TwoOptRand


    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt_rand.html b/trunk/paradiseo-mo/doc/html/class_two_opt_rand.html new file mode 100644 index 000000000..c679ebf61 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_two_opt_rand.html @@ -0,0 +1,57 @@ + + +ParadisEO-MOMovingObjects: TwoOptRand Class Reference + + + + +
    + +
    + +

    TwoOptRand Class Reference

    Inheritance diagram for TwoOptRand: +

    + +moRandMove< TwoOpt > + +List of all members. + + + + +

    Public Member Functions

    +void operator() (TwoOpt &__move)
    +

    Detailed Description

    + +

    + +

    +Definition at line 19 of file two_opt_rand.h.


    The documentation for this class was generated from the following files: +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt_rand.png b/trunk/paradiseo-mo/doc/html/class_two_opt_rand.png new file mode 100644 index 000000000..9d084fe7c Binary files /dev/null and b/trunk/paradiseo-mo/doc/html/class_two_opt_rand.png differ diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt_tabu_list-members.html b/trunk/paradiseo-mo/doc/html/class_two_opt_tabu_list-members.html new file mode 100644 index 000000000..3b1f7ac10 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_two_opt_tabu_list-members.html @@ -0,0 +1,46 @@ + + +ParadisEO-MOMovingObjects: Member List + + + + +
    + +
    + +

    TwoOptTabuList Member List

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

    + + + + + + + +
    add(const TwoOpt &__move, const Route &__sol)TwoOptTabuList
    moTabuList< TwoOpt >::add(const TwoOpt &__move, const EOT &__sol)=0moTabuList< TwoOpt > [pure virtual]
    EOT typedefmoTabuList< TwoOpt >
    init()TwoOptTabuList [virtual]
    operator()(const TwoOpt &__move, const Route &__sol)TwoOptTabuList
    tabu_spanTwoOptTabuList [private]
    update()TwoOptTabuList [virtual]


    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt_tabu_list.html b/trunk/paradiseo-mo/doc/html/class_two_opt_tabu_list.html new file mode 100644 index 000000000..c424d0e07 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/class_two_opt_tabu_list.html @@ -0,0 +1,133 @@ + + +ParadisEO-MOMovingObjects: TwoOptTabuList Class Reference + + + + +
    + +
    + +

    TwoOptTabuList Class Reference

    The table of tabu movements, i.e. +More... +

    +#include <two_opt_tabu_list.h> +

    +

    Inheritance diagram for TwoOptTabuList: +

    + +moTabuList< TwoOpt > + +List of all members. + + + + + + + + + + + + + + + +

    Public Member Functions

    +bool operator() (const TwoOpt &__move, const Route &__sol)
    +void add (const TwoOpt &__move, const Route &__sol)
    void update ()
     Procedure that updates the tabu list content.
    void init ()
     Procedure which initialises the tabu list.

    Private Attributes

    +std::vector< std::vector<
    + unsigned > > 
    tabu_span
    +

    Detailed Description

    +The table of tabu movements, i.e. +

    +forbidden edges +

    + +

    +Definition at line 20 of file two_opt_tabu_list.h.


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    void TwoOptTabuList::update (  )  [virtual]
    +
    +
    + +

    +Procedure that updates the tabu list content. +

    +Generally, a counter associated to each saved move is decreased by one. +

    +Implements moTabuList< TwoOpt >. +

    +Definition at line 46 of file two_opt_tabu_list.cpp. +

    +References tabu_span. +

    +

    + +

    +
    + + + + + + + + +
    void TwoOptTabuList::init (  )  [virtual]
    +
    +
    + +

    +Procedure which initialises the tabu list. +

    +Can be useful if the data structure needs to be allocated before being used. +

    +Implements moTabuList< TwoOpt >. +

    +Definition at line 17 of file two_opt_tabu_list.cpp. +

    +References Graph::size(), and tabu_span. +

    +

    +


    The documentation for this class was generated from the following files: +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/class_two_opt_tabu_list.png b/trunk/paradiseo-mo/doc/html/class_two_opt_tabu_list.png new file mode 100644 index 000000000..3f6c82910 Binary files /dev/null and b/trunk/paradiseo-mo/doc/html/class_two_opt_tabu_list.png differ diff --git a/trunk/paradiseo-mo/doc/html/classes.html b/trunk/paradiseo-mo/doc/html/classes.html index 83d6f5416..c4c3f1aba 100644 --- a/trunk/paradiseo-mo/doc/html/classes.html +++ b/trunk/paradiseo-mo/doc/html/classes.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Alphabetical List +ParadisEO-MOMovingObjects: Alphabetical List @@ -8,6 +8,7 @@ -

    PARADISEO-MO Class Index

    A | B | C | E | F | G | H | I | L | M | N | R | S | T

    +

    ParadisEO-MOMovingObjects Class Index

    A | B | C | E | F | G | H | I | L | M | N | O | P | R | S | T

      A  
    -
    moHC   
      N  
    -
    moAlgo   moHCMoveLoopExpl   moNextMove   
    moAspirCrit   
      I  
    -
    moNoAspirCrit   
      B  
    -
    moImprBestFitAspirCrit   
      R  
    -
    moBestImprSelect   moItRandNextMove   moRandImprSelect   
      C  
    +
    moILS   PartTwoOptNext   
    moAlgo   moImprBestFitAspirCrit   
      R  
    +
    moAspirCrit   moItRandNextMove   moRandImprSelect   
      B  
      L  
    -
    moRandMove   
    moCoolingSchedule   moLinearCoolingSchedule   
      S  
    -
      E  
    -
    moLSCheckPoint   moSA   
    EmptySelection   
      M  
    -
    moSimpleMoveTabuList   
    moExponentialCoolingSchedule   moMove   moSimpleSolutionTabuList   
      F  
    -
    moMoveExpl   moSolContinue   
    moFirstImprSelect   moMoveIncrEval   
      T  
    -
      G  
    -
    moMoveInit   moTabuList   
    moGenSolContinue   moMoveLoopExpl   moTS   
      H  
    -
    moMoveSelect   moTSMoveLoopExpl   

    A | B | C | E | F | G | H | I | L | M | N | R | S | T

    -


    Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +moRandMove   moBestImprSelect   moLinearCoolingSchedule   RouteEval   
      C  
    +moLSCheckPoint   RouteInit   CitySwap   
      M  
    +
      S  
    +moComparator   moMove   moSA   moCoolingSchedule   moMoveExpl   moSimpleMoveTabuList   
      E  
    +moMoveIncrEval   moSimpleSolutionTabuList   EdgeXover   moMoveInit   moSolContinue   EmptySelection   moMoveLoopExpl   moSteadyFitSolContinue   moExponentialCoolingSchedule   moMoveSelect   
      T  
    +
      F  
    +
      N  
    +moTabuList   moFirstImprSelect   moNextMove   moTS   moFitComparator   moNoAspirCrit   moTSMoveLoopExpl   moFitSolContinue   moNoFitImprSolContinue   TwoOpt   
      G  
    +
      O  
    +TwoOptIncrEval   moGenSolContinue   OrderXover   TwoOptInit   
      H  
    +
      P  
    +TwoOptNext   moHC   PartialMappedXover   TwoOptRand   moHCMoveLoopExpl   PartRouteEval   TwoOptTabuList   
      I  
    +PartTwoOptInit   

    A | B | C | E | F | G | H | I | L | M | N | O | P | R | S | T

    +


    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
    diff --git a/trunk/paradiseo-mo/doc/html/classmo_algo.html b/trunk/paradiseo-mo/doc/html/classmo_algo.html index 4df7acbd0..f79de7217 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_algo.html +++ b/trunk/paradiseo-mo/doc/html/classmo_algo.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moAlgo< EOT > Class Template Reference +ParadisEO-MOMovingObjects: moAlgo< EOT > Class Template Reference @@ -8,6 +8,7 @@ -

    moAlgo< EOT > Class Template Reference

    Description of an algorithm of the paradiseo-mo library. +

    moAlgo< EOT > Class Template Reference

    Description of an algorithm of the paradiseo-mo library. More...

    #include <moAlgo.h>

    -

    Inheritance diagram for moAlgo< EOT >: -

    - -eoMonOp< EOT > -eoOp< EOType > -eoUF< EOT &, bool > -eoFunctorBase - -List of all members. +

    Detailed Description

    @@ -58,7 +51,7 @@ Description of an algorithm of the paradiseo-mo library.

    Definition at line 21 of file moAlgo.h.


    The documentation for this class was generated from the following file: -
    Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
    diff --git a/trunk/paradiseo-mo/doc/html/classmo_aspir_crit-members.html b/trunk/paradiseo-mo/doc/html/classmo_aspir_crit-members.html index 4c0ce5bab..826ddc98d 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_aspir_crit-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_aspir_crit-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@

    moAspirCrit< M > Member List

    This is the complete list of members for moAspirCrit< M >, including all inherited members.

    - - - - -
    functor_category()eoBF< const M &, const M::EOType::Fitness &, bool > [static]
    init()=0moAspirCrit< M > [pure virtual]
    operator()(const M &, const M::EOType::Fitness &)=0eoBF< const M &, const M::EOType::Fitness &, bool > [pure virtual]
    ~eoBF()eoBF< const M &, const M::EOType::Fitness &, bool > [virtual]
    ~eoFunctorBase()eoFunctorBase [virtual]


    Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
    diff --git a/trunk/paradiseo-mo/doc/html/classmo_aspir_crit.html b/trunk/paradiseo-mo/doc/html/classmo_aspir_crit.html index 50995f59d..e42a8ba8a 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_aspir_crit.html +++ b/trunk/paradiseo-mo/doc/html/classmo_aspir_crit.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moAspirCrit< M > Class Template Reference +ParadisEO-MOMovingObjects: moAspirCrit< M > Class Template Reference @@ -8,6 +8,7 @@ -

    moAspirCrit< M > Class Template Reference

    Description of the conditions in which a tabu move could be accepted. +

    moAspirCrit< M > Class Template Reference

    Description of the conditions in which a tabu move could be accepted. More...

    #include <moAspirCrit.h> @@ -38,10 +39,8 @@

    Inheritance diagram for moAspirCrit< M >:

    -eoBF< const M &, const M::EOType::Fitness &, bool > -eoFunctorBase -moImprBestFitAspirCrit< M > -moNoAspirCrit< M > +moImprBestFitAspirCrit< M > +moNoAspirCrit< M > List of all members. @@ -88,7 +87,7 @@ Implemented in moAspirCrit.h -
    Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
    diff --git a/trunk/paradiseo-mo/doc/html/classmo_aspir_crit.png b/trunk/paradiseo-mo/doc/html/classmo_aspir_crit.png index b57b87786..b959606a7 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_aspir_crit.png and b/trunk/paradiseo-mo/doc/html/classmo_aspir_crit.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_best_impr_select-members.html b/trunk/paradiseo-mo/doc/html/classmo_best_impr_select-members.html index 6ac91d235..cd4d800d3 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_best_impr_select-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_best_impr_select-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@
    - - + - - -
    best_movemoBestImprSelect< M > [private]
    first_timemoBestImprSelect< M > [private]
    Fitness typedefmoBestImprSelect< M >
    functor_category()eoBF< M &, M::EOType::Fitness &, void > [static]
    init(const Fitness &__fit)moBestImprSelect< M > [inline, virtual]
    operator()(M &__move, Fitness &__fit)moBestImprSelect< M > [inline, virtual]
    operator()(M &__move, Fitness &__fit)moBestImprSelect< M > [inline]
    update(const M &__move, const Fitness &__fit)moBestImprSelect< M > [inline, virtual]
    ~eoBF()eoBF< M &, M::EOType::Fitness &, void > [virtual]
    ~eoFunctorBase()eoFunctorBase [virtual]

    Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
    diff --git a/trunk/paradiseo-mo/doc/html/classmo_best_impr_select.html b/trunk/paradiseo-mo/doc/html/classmo_best_impr_select.html index 5a03d73aa..ee67f6a98 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_best_impr_select.html +++ b/trunk/paradiseo-mo/doc/html/classmo_best_impr_select.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moBestImprSelect< M > Class Template Reference +ParadisEO-MOMovingObjects: moBestImprSelect< M > Class Template Reference @@ -8,6 +8,7 @@
    @@ -174,8 +173,6 @@ Procedure which saved the best move and fitness. -

    -Implements eoBF< M &, M::EOType::Fitness &, void >.

    Definition at line 68 of file moBestImprSelect.h.

    @@ -184,7 +181,7 @@ References moBest


The documentation for this class was generated from the following file: -
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_best_impr_select.png b/trunk/paradiseo-mo/doc/html/classmo_best_impr_select.png index e803a39a4..5b868e9d7 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_best_impr_select.png and b/trunk/paradiseo-mo/doc/html/classmo_best_impr_select.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_comparator.html b/trunk/paradiseo-mo/doc/html/classmo_comparator.html new file mode 100644 index 000000000..744b71915 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/classmo_comparator.html @@ -0,0 +1,63 @@ + + +ParadisEO-MOMovingObjects: moComparator< EOT > Class Template Reference + + + + +
+ +
+ +

moComparator< EOT > Class Template Reference

Template for classes which need to compare two EOT and indicate if the first is "better" than the second. +More... +

+#include <moComparator.h> +

+

Inheritance diagram for moComparator< EOT >: +

+ +moFitComparator< EOT > + + + +
+

Detailed Description

+

template<class EOT>
+ class moComparator< EOT >

+ +Template for classes which need to compare two EOT and indicate if the first is "better" than the second. +

+The objects that extend this template describe how an EOT is "better" than an other. +

+ +

+Definition at line 21 of file moComparator.h.


The documentation for this class was generated from the following file: +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/classmo_comparator.png b/trunk/paradiseo-mo/doc/html/classmo_comparator.png new file mode 100644 index 000000000..f2d2bf10d Binary files /dev/null and b/trunk/paradiseo-mo/doc/html/classmo_comparator.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_cooling_schedule.html b/trunk/paradiseo-mo/doc/html/classmo_cooling_schedule.html index 52c4b3e6c..759a763d5 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_cooling_schedule.html +++ b/trunk/paradiseo-mo/doc/html/classmo_cooling_schedule.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moCoolingSchedule Class Reference +ParadisEO-MOMovingObjects: moCoolingSchedule Class Reference @@ -8,6 +8,7 @@ -

moCoolingSchedule Class Reference

This class gives the description of a cooling schedule. +

moCoolingSchedule Class Reference

This class gives the description of a cooling schedule. More...

#include <moCoolingSchedule.h> @@ -38,12 +39,10 @@

Inheritance diagram for moCoolingSchedule:

-eoUF< double &, bool > -eoFunctorBase -moExponentialCoolingSchedule -moLinearCoolingSchedule +moExponentialCoolingSchedule +moLinearCoolingSchedule -List of all members. +

Detailed Description

@@ -55,7 +54,7 @@ It is only a description... An object that herits from this class is needed to b

Definition at line 22 of file moCoolingSchedule.h.


The documentation for this class was generated from the following file: -
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_cooling_schedule.png b/trunk/paradiseo-mo/doc/html/classmo_cooling_schedule.png index f60c26373..078143b2d 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_cooling_schedule.png and b/trunk/paradiseo-mo/doc/html/classmo_cooling_schedule.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_exponential_cooling_schedule-members.html b/trunk/paradiseo-mo/doc/html/classmo_exponential_cooling_schedule-members.html index bbe1c3f84..207d18766 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_exponential_cooling_schedule-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_exponential_cooling_schedule-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@

moExponentialCoolingSchedule Member List

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

- - + - - -
functor_category()eoUF< double &, bool > [static]
moExponentialCoolingSchedule(double __threshold, double __ratio)moExponentialCoolingSchedule [inline]
operator()(double &__temp)moExponentialCoolingSchedule [inline, virtual]
operator()(double &__temp)moExponentialCoolingSchedule [inline]
ratiomoExponentialCoolingSchedule [private]
thresholdmoExponentialCoolingSchedule [private]
~eoFunctorBase()eoFunctorBase [virtual]
~eoUF()eoUF< double &, bool > [virtual]


Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_exponential_cooling_schedule.html b/trunk/paradiseo-mo/doc/html/classmo_exponential_cooling_schedule.html index d267bc82f..e528813b4 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_exponential_cooling_schedule.html +++ b/trunk/paradiseo-mo/doc/html/classmo_exponential_cooling_schedule.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moExponentialCoolingSchedule Class Reference +ParadisEO-MOMovingObjects: moExponentialCoolingSchedule Class Reference @@ -8,6 +8,7 @@
@@ -136,8 +135,6 @@ It decreases the temperature and indicates if it is greater than the threshold.<
Returns:
if the new temperature (current temperature * ratio) is greater than the threshold.
-

-Implements eoUF< double &, bool >.

Definition at line 41 of file moExponentialCoolingSchedule.h.

@@ -146,7 +143,7 @@ References moExponentialCoolingSchedule.h -


Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_exponential_cooling_schedule.png b/trunk/paradiseo-mo/doc/html/classmo_exponential_cooling_schedule.png index 02c711475..f00c024dc 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_exponential_cooling_schedule.png and b/trunk/paradiseo-mo/doc/html/classmo_exponential_cooling_schedule.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_first_impr_select-members.html b/trunk/paradiseo-mo/doc/html/classmo_first_impr_select-members.html index 0ce0b988c..e75937c6e 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_first_impr_select-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_first_impr_select-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@


The documentation for this class was generated from the following file: -
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_first_impr_select.png b/trunk/paradiseo-mo/doc/html/classmo_first_impr_select.png index a2a1234c8..c7295b050 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_first_impr_select.png and b/trunk/paradiseo-mo/doc/html/classmo_first_impr_select.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_fit_comparator-members.html b/trunk/paradiseo-mo/doc/html/classmo_fit_comparator-members.html new file mode 100644 index 000000000..162b26008 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/classmo_fit_comparator-members.html @@ -0,0 +1,40 @@ + + +ParadisEO-MOMovingObjects: Member List + + + + +
+ +
+ +

moFitComparator< EOT > Member List

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

+ +
operator()(const EOT &_solution1, const EOT &_solution2)moFitComparator< EOT > [inline]


Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/classmo_fit_comparator.html b/trunk/paradiseo-mo/doc/html/classmo_fit_comparator.html new file mode 100644 index 000000000..8d9659698 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/classmo_fit_comparator.html @@ -0,0 +1,67 @@ + + +ParadisEO-MOMovingObjects: moFitComparator< EOT > Class Template Reference + + + + +
+ +
+ +

moFitComparator< EOT > Class Template Reference

Comparison according to the fitness. +More... +

+#include <moFitComparator.h> +

+

Inheritance diagram for moFitComparator< EOT >: +

+ +moComparator< EOT > + +List of all members. + + + + +

Public Member Functions

+bool operator() (const EOT &_solution1, const EOT &_solution2)
+

Detailed Description

+

template<class EOT>
+ class moFitComparator< EOT >

+ +Comparison according to the fitness. +

+An EOT is better than an other if its fitness is better. +

+ +

+Definition at line 20 of file moFitComparator.h.


The documentation for this class was generated from the following file: +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/classmo_fit_comparator.png b/trunk/paradiseo-mo/doc/html/classmo_fit_comparator.png new file mode 100644 index 000000000..7e75531a6 Binary files /dev/null and b/trunk/paradiseo-mo/doc/html/classmo_fit_comparator.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_fit_sol_continue-members.html b/trunk/paradiseo-mo/doc/html/classmo_fit_sol_continue-members.html index 105cab6a4..3b6517dac 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_fit_sol_continue-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_fit_sol_continue-members.html @@ -1,14 +1,15 @@ - -PARADISEO-MO: Member List + +ParadisEO-MOMovingObjects: Member List - +
+ + + +

moFitSolContinue< EOT > Member List

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

-
Fitness typedefmoFitSolContinue< EOT >
fitnessmoFitSolContinue< EOT > [private]
init()moFitSolContinue< EOT > [inline, virtual]
moFitSolContinue(Fitness __fitness)moFitSolContinue< EOT > [inline]
operator()(const EOT &__sol)moFitSolContinue< EOT > [inline]


Generated on Fri Sep 14 09:52:19 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  -doxygen 1.4.7
+doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_fit_sol_continue.html b/trunk/paradiseo-mo/doc/html/classmo_fit_sol_continue.html index 66eea757c..789f4e8ca 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_fit_sol_continue.html +++ b/trunk/paradiseo-mo/doc/html/classmo_fit_sol_continue.html @@ -1,14 +1,15 @@ - -PARADISEO-MO: moFitSolContinue< EOT > Class Template Reference + +ParadisEO-MOMovingObjects: moFitSolContinue< EOT > Class Template Reference - +
+ + + +

moFitSolContinue< EOT > Class Template Reference

One possible stop criterion for a solution-based heuristic. More...

@@ -131,7 +134,7 @@ Indicates if the fitness threshold has not yet been reached.

__sol the current solution. -

Returns:
true or false according to the value of the fitness.
+
Returns:
true or false according to the value of the fitness.

Definition at line 43 of file moFitSolContinue.h. @@ -168,8 +171,8 @@ Definition at line moFitSolContinue.h -


Generated on Fri Sep 14 09:52:19 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  -doxygen 1.4.7
+doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_fit_sol_continue.png b/trunk/paradiseo-mo/doc/html/classmo_fit_sol_continue.png index 84c76d5a4..7cb89b9db 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_fit_sol_continue.png and b/trunk/paradiseo-mo/doc/html/classmo_fit_sol_continue.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_gen_sol_continue-members.html b/trunk/paradiseo-mo/doc/html/classmo_gen_sol_continue-members.html index 43ed304a6..ae81be61a 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_gen_sol_continue-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_gen_sol_continue-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@

moGenSolContinue< EOT > Member List

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

- - - - -
functor_category()eoUF< const EOT &, bool > [static]
init()moGenSolContinue< EOT > [inline, virtual]
maxNumGenmoGenSolContinue< EOT > [private]
moGenSolContinue(unsigned int __maxNumGen)moGenSolContinue< EOT > [inline]
numGenmoGenSolContinue< EOT > [private]
operator()(const EOT &__sol)moGenSolContinue< EOT > [inline, virtual]
~eoFunctorBase()eoFunctorBase [virtual]
~eoUF()eoUF< const EOT &, bool > [virtual]


Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  + operator()(const EOT &__sol)moGenSolContinue< EOT > [inline] +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_gen_sol_continue.html b/trunk/paradiseo-mo/doc/html/classmo_gen_sol_continue.html index 970b2bd77..87beec67f 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_gen_sol_continue.html +++ b/trunk/paradiseo-mo/doc/html/classmo_gen_sol_continue.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moGenSolContinue< EOT > Class Template Reference +ParadisEO-MOMovingObjects: moGenSolContinue< EOT > Class Template Reference @@ -8,6 +8,7 @@
@@ -136,8 +135,6 @@ Increments the counter and returns TRUE if the current number of iteration is lo
Returns:
TRUE or FALSE according to the current generation number.
-

-Implements eoUF< const EOT &, bool >.

Definition at line 44 of file moGenSolContinue.h.

@@ -175,7 +172,7 @@ References moGenS


The documentation for this class was generated from the following file: -
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_gen_sol_continue.png b/trunk/paradiseo-mo/doc/html/classmo_gen_sol_continue.png index b40e34991..84c8334c7 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_gen_sol_continue.png and b/trunk/paradiseo-mo/doc/html/classmo_gen_sol_continue.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_h_c-members.html b/trunk/paradiseo-mo/doc/html/classmo_h_c-members.html index 8e5e253e6..c2ac0f4db 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_h_c-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_h_c-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@

moHC< M > Member List

This is the complete list of members for moHC< M >, including all inherited members.

- - - - - - - - - - - -
className() consteoMonOp< M::EOType > [virtual]
eoMonOp()eoMonOp< M::EOType >
eoOp(OpType _type)eoOp< EOType >
eoOp(const eoOp &_eop)eoOp< EOType >
EOT typedefmoHC< M > [private]
Fitness typedefmoHC< M > [private]
full_evalmoHC< M > [private]
functor_category()eoUF< M::EOType &, bool > [static]
getType() consteoOp< EOType >
moHC(moMoveInit< M > &__move_init, moNextMove< M > &__next_move, moMoveIncrEval< M > &__incr_eval, moMoveSelect< M > &__move_select, eoEvalFunc< EOT > &__full_eval)moHC< M > [inline]
moHC(moMoveExpl< M > &__move_expl, eoEvalFunc< EOT > &__full_eval)moHC< M > [inline]
move_explmoHC< M > [private]
operator()(EOT &__sol)moHC< M > [inline, virtual]
OpType enum nameeoOp< EOType >
~eoFunctorBase()eoFunctorBase [virtual]
~eoOp()eoOp< EOType > [virtual]
~eoUF()eoUF< M::EOType &, bool > [virtual]


Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  + operator()(EOT &__sol)moHC< M > [inline] +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_h_c.html b/trunk/paradiseo-mo/doc/html/classmo_h_c.html index a1bc3b7c6..c0f875aef 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_h_c.html +++ b/trunk/paradiseo-mo/doc/html/classmo_h_c.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moHC< M > Class Template Reference +ParadisEO-MOMovingObjects: moHC< M > Class Template Reference @@ -8,6 +8,7 @@
- eoEvalFunc< EOT > &  + eoEvalFunc< EOT > &  __full_eval  @@ -164,7 +161,7 @@ template<class M> - eoEvalFunc< EOT > &  + eoEvalFunc< EOT > &  __full_eval  @@ -204,7 +201,7 @@ template<class M> EOT__sol  )  - [inline, virtual] + [inline] @@ -221,8 +218,6 @@ The HC has to improve a current solution. As the
Returns:
TRUE.
-

-Implements eoUF< M::EOType &, bool >.

Definition at line 82 of file moHC.h.

@@ -231,7 +226,7 @@ References moHC< M >::fu


The documentation for this class was generated from the following file: -
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_h_c.png b/trunk/paradiseo-mo/doc/html/classmo_h_c.png index 6a4aadb1e..1d7aa7716 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_h_c.png and b/trunk/paradiseo-mo/doc/html/classmo_h_c.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_h_c_move_loop_expl-members.html b/trunk/paradiseo-mo/doc/html/classmo_h_c_move_loop_expl-members.html index a4f1a3e32..b73501453 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_h_c_move_loop_expl-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_h_c_move_loop_expl-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@


The documentation for this class was generated from the following file: -
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_h_c_move_loop_expl.png b/trunk/paradiseo-mo/doc/html/classmo_h_c_move_loop_expl.png index 8c76fd46e..8c51e26c5 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_h_c_move_loop_expl.png and b/trunk/paradiseo-mo/doc/html/classmo_h_c_move_loop_expl.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_i_l_s-members.html b/trunk/paradiseo-mo/doc/html/classmo_i_l_s-members.html new file mode 100644 index 000000000..99ed1f99d --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/classmo_i_l_s-members.html @@ -0,0 +1,51 @@ + + +ParadisEO-MOMovingObjects: Member List + + + + +
+ +
+ +

moILS< M > Member List

This is the complete list of members for moILS< M >, including all inherited members.

+ + + + + + + + + + + + +
acceptance_criterionmoILS< M > [private]
algomoILS< M > [private]
contmoILS< M > [private]
EOT typedefmoILS< M > [private]
Fitness typedefmoILS< M > [private]
full_evalmoILS< M > [private]
moILS(moAlgo< EOT > &__algo, moSolContinue< EOT > &__continue, moComparator< EOT > &__acceptance_criterion, eoMonOp< EOT > &__perturbation, eoEvalFunc< EOT > &__full_eval)moILS< M > [inline]
moILS(moMoveInit< M > &__move_init, moNextMove< M > &__next_move, moMoveIncrEval< M > &__incr_eval, moMoveSelect< M > &__move_select, moSolContinue< EOT > &__continue, moComparator< EOT > &__acceptance_criterion, eoMonOp< EOT > &__perturbation, eoEvalFunc< EOT > &__full_eval)moILS< M > [inline]
moILS(moMoveInit< M > &__move_init, moNextMove< M > &__next_move, moMoveIncrEval< M > &__incr_eval, moTabuList< M > &__tabu_list, moAspirCrit< M > &__aspir_crit, moSolContinue< EOT > &__moTS_continue, moSolContinue< EOT > &__continue, moComparator< EOT > &__acceptance_criterion, eoMonOp< EOT > &__perturbation, eoEvalFunc< EOT > &__full_eval)moILS< M > [inline]
moILS(moRandMove< M > &__move_rand, moMoveIncrEval< M > &__incr_eval, moSolContinue< EOT > &__moSA_continue, double __init_temp, moCoolingSchedule &__cool_sched, moSolContinue< EOT > &__continue, moComparator< EOT > &__acceptance_criterion, eoMonOp< EOT > &__perturbation, eoEvalFunc< EOT > &__full_eval)moILS< M > [inline]
operator()(EOT &__sol)moILS< M > [inline]
perturbationmoILS< M > [private]


Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/classmo_i_l_s.html b/trunk/paradiseo-mo/doc/html/classmo_i_l_s.html new file mode 100644 index 000000000..9b58f1675 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/classmo_i_l_s.html @@ -0,0 +1,479 @@ + + +ParadisEO-MOMovingObjects: moILS< M > Class Template Reference + + + + +
+ +
+ +

moILS< M > Class Template Reference

Iterated Local Search (ILS). +More... +

+#include <moILS.h> +

+

Inheritance diagram for moILS< M >: +

+ +moAlgo< M::EOType > + +List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 moILS (moAlgo< EOT > &__algo, moSolContinue< EOT > &__continue, moComparator< EOT > &__acceptance_criterion, eoMonOp< EOT > &__perturbation, eoEvalFunc< EOT > &__full_eval)
 Generic constructor.
 moILS (moMoveInit< M > &__move_init, moNextMove< M > &__next_move, moMoveIncrEval< M > &__incr_eval, moMoveSelect< M > &__move_select, moSolContinue< EOT > &__continue, moComparator< EOT > &__acceptance_criterion, eoMonOp< EOT > &__perturbation, eoEvalFunc< EOT > &__full_eval)
 Constructor for using a moHC for the moAlgo.
 moILS (moMoveInit< M > &__move_init, moNextMove< M > &__next_move, moMoveIncrEval< M > &__incr_eval, moTabuList< M > &__tabu_list, moAspirCrit< M > &__aspir_crit, moSolContinue< EOT > &__moTS_continue, moSolContinue< EOT > &__continue, moComparator< EOT > &__acceptance_criterion, eoMonOp< EOT > &__perturbation, eoEvalFunc< EOT > &__full_eval)
 Constructor for using a moTS for the moAlgo.
 moILS (moRandMove< M > &__move_rand, moMoveIncrEval< M > &__incr_eval, moSolContinue< EOT > &__moSA_continue, double __init_temp, moCoolingSchedule &__cool_sched, moSolContinue< EOT > &__continue, moComparator< EOT > &__acceptance_criterion, eoMonOp< EOT > &__perturbation, eoEvalFunc< EOT > &__full_eval)
 Constructor for using a moTS for the moAlgo.
bool operator() (EOT &__sol)
 Function which launches the ILS.

Private Types

+typedef M::EOType EOT
 Alias for the type.
+typedef EOT::Fitness Fitness
 Alias for the fitness.

Private Attributes

+moAlgo< EOT > & algo
 The solution based heuristic.
+moSolContinue< EOT > & cont
 The stopping criterion.
+moComparator< EOT > & acceptance_criterion
 The acceptance criterion.
+eoMonOp< EOT > & perturbation
 The perturbation generator.
+eoEvalFunc< EOT > & full_eval
 The full evaluation function.
+

Detailed Description

+

template<class M>
+ class moILS< M >

+ +Iterated Local Search (ILS). +

+Class which describes the algorithm for a iterated local search. +

+ +

+Definition at line 25 of file moILS.h.


Constructor & Destructor Documentation

+ +
+
+
+template<class M>
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
moILS< M >::moILS (moAlgo< EOT > &  __algo,
moSolContinue< EOT > &  __continue,
moComparator< EOT > &  __acceptance_criterion,
eoMonOp< EOT > &  __perturbation,
eoEvalFunc< EOT > &  __full_eval 
) [inline]
+
+
+ +

+Generic constructor. +

+Generic constructor using a moAlgo

+

Parameters:
+ + + + + + +
__algo The solution based heuristic to use.
__continue The stopping criterion.
__acceptance_criterion The acceptance criterion.
__perturbation The pertubation generator.
__full_eval The evaluation function.
+
+ +

+Definition at line 46 of file moILS.h. +

+

+ +

+
+
+template<class M>
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
moILS< M >::moILS (moMoveInit< M > &  __move_init,
moNextMove< M > &  __next_move,
moMoveIncrEval< M > &  __incr_eval,
moMoveSelect< M > &  __move_select,
moSolContinue< EOT > &  __continue,
moComparator< EOT > &  __acceptance_criterion,
eoMonOp< EOT > &  __perturbation,
eoEvalFunc< EOT > &  __full_eval 
) [inline]
+
+
+ +

+Constructor for using a moHC for the moAlgo. +

+

Parameters:
+ + + + + + + + + +
__move_init The move initialisation (for the moHC).
__next_move The move generator (for the moHC).
__incr_eval The partial evaluation function (for the moHC).
__move_select The move selection strategy (for the moHC).
__continue The stopping criterion.
__acceptance_criterion The acceptance criterion.
__perturbation The pertubation generator.
__full_eval The evaluation function.
+
+ +

+Definition at line 62 of file moILS.h. +

+

+ +

+
+
+template<class M>
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
moILS< M >::moILS (moMoveInit< M > &  __move_init,
moNextMove< M > &  __next_move,
moMoveIncrEval< M > &  __incr_eval,
moTabuList< M > &  __tabu_list,
moAspirCrit< M > &  __aspir_crit,
moSolContinue< EOT > &  __moTS_continue,
moSolContinue< EOT > &  __continue,
moComparator< EOT > &  __acceptance_criterion,
eoMonOp< EOT > &  __perturbation,
eoEvalFunc< EOT > &  __full_eval 
) [inline]
+
+
+ +

+Constructor for using a moTS for the moAlgo. +

+

Parameters:
+ + + + + + + + + + + +
__move_init The move initialisation (for the moTS).
__next_move The move generator (for the moTS).
__incr_eval The partial evaluation function (for the moTS).
__tabu_list The tabu list (for the moTS !!!!).
__aspir_crit The aspiration criterion (for the moTS).
__moTS_continue The stopping criterion (for the moTS).
__continue The stopping criterion.
__acceptance_criterion The acceptance criterion.
__perturbation The pertubation generator.
__full_eval The evaluation function.
+
+ +

+Definition at line 82 of file moILS.h. +

+

+ +

+
+
+template<class M>
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
moILS< M >::moILS (moRandMove< M > &  __move_rand,
moMoveIncrEval< M > &  __incr_eval,
moSolContinue< EOT > &  __moSA_continue,
double  __init_temp,
moCoolingSchedule __cool_sched,
moSolContinue< EOT > &  __continue,
moComparator< EOT > &  __acceptance_criterion,
eoMonOp< EOT > &  __perturbation,
eoEvalFunc< EOT > &  __full_eval 
) [inline]
+
+
+ +

+Constructor for using a moTS for the moAlgo. +

+

Parameters:
+ + + + + + + + + + +
__move_rand The random move generator (for the moSA).
__incr_eval The partial evaluation function (for the moSA).
__moSA_continue The stopping criterion (for the moSA).
__init_temp The initial temperature (for the moSA).
__cool_sched The cooling scheduler (for the moSA).
__continue The stopping criterion.
__acceptance_criterion The acceptance criterion.
__perturbation The pertubation generator.
__full_eval The evaluation function.
+
+ +

+Definition at line 102 of file moILS.h. +

+

+


Member Function Documentation

+ +
+
+
+template<class M>
+ + + + + + + + + +
bool moILS< M >::operator() (EOT __sol  )  [inline]
+
+
+ +

+Function which launches the ILS. +

+The ILS has to improve a current solution. As the moSA, the moTS and the moHC, it can be used for HYBRIDATION in an evolutionnary algorithm.

+

Parameters:
+ + +
__sol a current solution to improve.
+
+
Returns:
TRUE.
+ +

+Definition at line 119 of file moILS.h. +

+References moILS< M >::acceptance_criterion, moILS< M >::algo, moILS< M >::cont, moILS< M >::full_eval, and moILS< M >::perturbation. +

+

+


The documentation for this class was generated from the following file: +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/classmo_i_l_s.png b/trunk/paradiseo-mo/doc/html/classmo_i_l_s.png new file mode 100644 index 000000000..88a50f4fe Binary files /dev/null and b/trunk/paradiseo-mo/doc/html/classmo_i_l_s.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_impr_best_fit_aspir_crit-members.html b/trunk/paradiseo-mo/doc/html/classmo_impr_best_fit_aspir_crit-members.html index e909f3e3c..513f7e54a 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_impr_best_fit_aspir_crit-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_impr_best_fit_aspir_crit-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@
-
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_impr_best_fit_aspir_crit.png b/trunk/paradiseo-mo/doc/html/classmo_impr_best_fit_aspir_crit.png index 9cb9fec17..cfb21ada8 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_impr_best_fit_aspir_crit.png and b/trunk/paradiseo-mo/doc/html/classmo_impr_best_fit_aspir_crit.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_it_rand_next_move-members.html b/trunk/paradiseo-mo/doc/html/classmo_it_rand_next_move-members.html index 80a84b55f..c3fca6227 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_it_rand_next_move-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_it_rand_next_move-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@

moItRandNextMove< M > Member List

This is the complete list of members for moItRandNextMove< M >, including all inherited members.

- - + - - -
EOT typedefmoItRandNextMove< M > [private]
functor_category()eoBF< M &, const M::EOType &, bool > [static]
max_itermoItRandNextMove< M > [private]
moItRandNextMove(moRandMove< M > &__rand_move, unsigned int __max_iter)moItRandNextMove< M > [inline]
num_itermoItRandNextMove< M > [private]
operator()(M &__move, const EOT &__sol)moItRandNextMove< M > [inline, virtual]
operator()(M &__move, const EOT &__sol)moItRandNextMove< M > [inline]
rand_movemoItRandNextMove< M > [private]
~eoBF()eoBF< M &, const M::EOType &, bool > [virtual]
~eoFunctorBase()eoFunctorBase [virtual]


Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_it_rand_next_move.html b/trunk/paradiseo-mo/doc/html/classmo_it_rand_next_move.html index fbb1ed73b..28aaa1c27 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_it_rand_next_move.html +++ b/trunk/paradiseo-mo/doc/html/classmo_it_rand_next_move.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moItRandNextMove< M > Class Template Reference +ParadisEO-MOMovingObjects: moItRandNextMove< M > Class Template Reference @@ -8,6 +8,7 @@
  • Main Page
  • +
  • Namespaces
  • Classes
  • Files
  • @@ -38,9 +39,7 @@

    Inheritance diagram for moItRandNextMove< M >:

    -moNextMove< M > -eoBF< M &, const M::EOType &, bool > -eoFunctorBase +moNextMove< M > List of all members. @@ -111,7 +110,7 @@ template<class M>

    The constructor.

    -Parameters only for initialising the attributes.

    +Parameters only for initialising the attributes.

    Parameters:
    @@ -145,7 +144,7 @@ template<class M> - +
    __rand_move the random move generator.
    ) [inline, virtual] [inline]
@@ -163,8 +162,6 @@ If the maximum number is not already reached, the current move is forgotten and
Returns:
FALSE if the maximum number of iteration is reached, else TRUE.
-

-Implements eoBF< M &, const M::EOType &, bool >.

Definition at line 52 of file moItRandNextMove.h.

@@ -173,7 +170,7 @@ References moItR


The documentation for this class was generated from the following file: -
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_it_rand_next_move.png b/trunk/paradiseo-mo/doc/html/classmo_it_rand_next_move.png index 52d789f14..574beda2c 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_it_rand_next_move.png and b/trunk/paradiseo-mo/doc/html/classmo_it_rand_next_move.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_l_s_check_point-members.html b/trunk/paradiseo-mo/doc/html/classmo_l_s_check_point-members.html index d0503e705..b55f247c4 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_l_s_check_point-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_l_s_check_point-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@
  • Main Page
  • +
  • Namespaces
  • Classes
  • Files
  • @@ -33,12 +34,8 @@

    moLSCheckPoint< M > Member List

    This is the complete list of members for moLSCheckPoint< M >, including all inherited members.

    - - - - -
    add(eoBF< const M &, const typename M::EOType &, void > &__f)moLSCheckPoint< M > [inline]
    funcmoLSCheckPoint< M > [private]
    functor_category()eoBF< const M &, const M::EOType &, void > [static]
    operator()(const M &__move, const typename M::EOType &__sol)moLSCheckPoint< M > [inline]
    eoBF< const M &, const M::EOType &, void >::operator()(const M &, const M::EOType &)=0eoBF< const M &, const M::EOType &, void > [pure virtual]
    ~eoBF()eoBF< const M &, const M::EOType &, void > [virtual]
    ~eoFunctorBase()eoFunctorBase [virtual]


    Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
    diff --git a/trunk/paradiseo-mo/doc/html/classmo_l_s_check_point.html b/trunk/paradiseo-mo/doc/html/classmo_l_s_check_point.html index 81bbaba42..0490644cb 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_l_s_check_point.html +++ b/trunk/paradiseo-mo/doc/html/classmo_l_s_check_point.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moLSCheckPoint< M > Class Template Reference +ParadisEO-MOMovingObjects: moLSCheckPoint< M > Class Template Reference @@ -8,6 +8,7 @@ -

    moLSCheckPoint< M > Class Template Reference

    Class which allows a checkpointing system. +

    moLSCheckPoint< M > Class Template Reference

    Class which allows a checkpointing system. More...

    #include <moLSCheckPoint.h>

    -

    Inheritance diagram for moLSCheckPoint< M >: -

    - -eoBF< const M &, const M::EOType &, void > -eoFunctorBase - List of all members. - + @@ -122,7 +117,7 @@ template<class M> - + @@ -148,7 +143,7 @@ References moLSChe


    The documentation for this class was generated from the following file:
    -
    Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
    diff --git a/trunk/paradiseo-mo/doc/html/classmo_linear_cooling_schedule-members.html b/trunk/paradiseo-mo/doc/html/classmo_linear_cooling_schedule-members.html index 826f6c3b3..1b7bc40f7 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_linear_cooling_schedule-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_linear_cooling_schedule-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@

    moLinearCoolingSchedule Member List

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


    Public Member Functions

    void operator() (const M &__move, const typename M::EOType &__sol)
     Function which launches the checkpointing.
    void add (eoBF< const M &, const typename M::EOType &, void > &__f)
    void add (eoBF< const M &, const typename M::EOType &, void > &__f)
     Procedure which add a new function to the function vector.

    Private Attributes

    -std::vector< eoBF< const M &,
    +std::vector< eoBF< const M &,
    const typename M::EOType &,
    void > * > 
    func
    void moLSCheckPoint< M >::add (eoBF< const M &, const typename M::EOType &, void > & eoBF< const M &, const typename M::EOType &, void > &  __f  )  [inline]
    - - + - - -
    functor_category()eoUF< double &, bool > [static]
    moLinearCoolingSchedule(double __threshold, double __quantity)moLinearCoolingSchedule [inline]
    operator()(double &__temp)moLinearCoolingSchedule [inline, virtual]
    operator()(double &__temp)moLinearCoolingSchedule [inline]
    quantitymoLinearCoolingSchedule [private]
    thresholdmoLinearCoolingSchedule [private]
    ~eoFunctorBase()eoFunctorBase [virtual]
    ~eoUF()eoUF< double &, bool > [virtual]

    Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
    diff --git a/trunk/paradiseo-mo/doc/html/classmo_linear_cooling_schedule.html b/trunk/paradiseo-mo/doc/html/classmo_linear_cooling_schedule.html index 11bb16691..25a999750 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_linear_cooling_schedule.html +++ b/trunk/paradiseo-mo/doc/html/classmo_linear_cooling_schedule.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moLinearCoolingSchedule Class Reference +ParadisEO-MOMovingObjects: moLinearCoolingSchedule Class Reference @@ -8,6 +8,7 @@
    @@ -136,8 +135,6 @@ It decreases the temperature and indicates if it is greater than the threshold.<
    Returns:
    if the new temperature (current temperature - quantity) is greater than the threshold.
    -

    -Implements eoUF< double &, bool >.

    Definition at line 41 of file moLinearCoolingSchedule.h.

    @@ -146,7 +143,7 @@ References


    The documentation for this class was generated from the following file: -
    Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
    diff --git a/trunk/paradiseo-mo/doc/html/classmo_linear_cooling_schedule.png b/trunk/paradiseo-mo/doc/html/classmo_linear_cooling_schedule.png index 51f125753..3821b70aa 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_linear_cooling_schedule.png and b/trunk/paradiseo-mo/doc/html/classmo_linear_cooling_schedule.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_move-members.html b/trunk/paradiseo-mo/doc/html/classmo_move-members.html index 0922e3c76..18e15cc86 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_move-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_move-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@

    moMove< EOT > Member List

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

    - - - - -
    EOType typedefmoMove< EOT >
    functor_category()eoUF< EOT &, void > [static]
    operator()(EOT &)=0eoUF< EOT &, void > [pure virtual]
    ~eoFunctorBase()eoFunctorBase [virtual]
    ~eoUF()eoUF< EOT &, void > [virtual]


    Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
    diff --git a/trunk/paradiseo-mo/doc/html/classmo_move.html b/trunk/paradiseo-mo/doc/html/classmo_move.html index 774bacf35..83148b90a 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_move.html +++ b/trunk/paradiseo-mo/doc/html/classmo_move.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moMove< EOT > Class Template Reference +ParadisEO-MOMovingObjects: moMove< EOT > Class Template Reference @@ -8,6 +8,7 @@ -

    moMove< EOT > Class Template Reference

    Definition of a move. +

    moMove< EOT > Class Template Reference

    Definition of a move. More...

    #include <moMove.h>

    -

    Inheritance diagram for moMove< EOT >: -

    - -eoUF< EOT &, void > -eoFunctorBase - List of all members. @@ -61,7 +56,7 @@ A move transforms a solution to another close solution. It describes how a solut

    Definition at line 23 of file moMove.h.


    The documentation for this class was generated from the following file: -
    Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
    diff --git a/trunk/paradiseo-mo/doc/html/classmo_move_expl.html b/trunk/paradiseo-mo/doc/html/classmo_move_expl.html index 4048a2ac2..431ab13da 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_move_expl.html +++ b/trunk/paradiseo-mo/doc/html/classmo_move_expl.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moMoveExpl< M > Class Template Reference +ParadisEO-MOMovingObjects: moMoveExpl< M > Class Template Reference @@ -8,6 +8,7 @@ -

    moMoveExpl< M > Class Template Reference

    Description of a move (moMove) explorer. +

    moMoveExpl< M > Class Template Reference

    Description of a move (moMove) explorer. More...

    #include <moMoveExpl.h> @@ -38,13 +39,11 @@

    Inheritance diagram for moMoveExpl< M >:

    -eoBF< const M::EOType &, M::EOType &, void > -eoFunctorBase -moMoveLoopExpl< M > -moHCMoveLoopExpl< M > -moTSMoveLoopExpl< M > +moMoveLoopExpl< M > +moHCMoveLoopExpl< M > +moTSMoveLoopExpl< M > -List of all members.

    Public Types

    +

    Detailed Description

    @@ -59,7 +58,7 @@ Only a description...See Definition at line 21 of file moMoveExpl.h.
    The documentation for this class was generated from the following file: -
    Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
    diff --git a/trunk/paradiseo-mo/doc/html/classmo_move_expl.png b/trunk/paradiseo-mo/doc/html/classmo_move_expl.png index 66c1602bb..1b27438a7 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_move_expl.png and b/trunk/paradiseo-mo/doc/html/classmo_move_expl.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_move_incr_eval.html b/trunk/paradiseo-mo/doc/html/classmo_move_incr_eval.html index c718ea0c3..64b2accfb 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_move_incr_eval.html +++ b/trunk/paradiseo-mo/doc/html/classmo_move_incr_eval.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moMoveIncrEval< M > Class Template Reference +ParadisEO-MOMovingObjects: moMoveIncrEval< M > Class Template Reference @@ -8,6 +8,7 @@ -

    moMoveIncrEval< M > Class Template Reference

    (generally) Efficient evaluation function based a move and a solution. +

    moMoveIncrEval< M > Class Template Reference

    (generally) Efficient evaluation function based a move and a solution. More...

    #include <moMoveIncrEval.h>

    -

    Inheritance diagram for moMoveIncrEval< M >: -

    - -eoBF< const M &, const M::EOType &, M::EOType::Fitness > -eoFunctorBase - -List of all members. +

    Detailed Description

    @@ -56,7 +51,7 @@ From a move and a solution, it computes a new fitness that could be associated t

    Definition at line 24 of file moMoveIncrEval.h.


    The documentation for this class was generated from the following file: -
    Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
    diff --git a/trunk/paradiseo-mo/doc/html/classmo_move_init.html b/trunk/paradiseo-mo/doc/html/classmo_move_init.html index d06901e1b..9a860a89c 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_move_init.html +++ b/trunk/paradiseo-mo/doc/html/classmo_move_init.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moMoveInit< M > Class Template Reference +ParadisEO-MOMovingObjects: moMoveInit< M > Class Template Reference @@ -8,6 +8,7 @@ -

    moMoveInit< M > Class Template Reference

    Move (moMove) initializer. +

    moMoveInit< M > Class Template Reference

    Move (moMove) initializer. More...

    #include <moMoveInit.h>

    -

    Inheritance diagram for moMoveInit< M >: -

    - -eoBF< M &, const M::EOType &, void > -eoFunctorBase - -List of all members. +

    Detailed Description

    @@ -56,7 +51,7 @@ Class which allows to initiase a move. Only a description... An object that heri

    Definition at line 22 of file moMoveInit.h.


    The documentation for this class was generated from the following file: -
    Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
    diff --git a/trunk/paradiseo-mo/doc/html/classmo_move_loop_expl.html b/trunk/paradiseo-mo/doc/html/classmo_move_loop_expl.html index eba8839e0..8c3ca5fb5 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_move_loop_expl.html +++ b/trunk/paradiseo-mo/doc/html/classmo_move_loop_expl.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moMoveLoopExpl< M > Class Template Reference +ParadisEO-MOMovingObjects: moMoveLoopExpl< M > Class Template Reference @@ -8,6 +8,7 @@
    • Main Page
    • +
    • Namespaces
    • Classes
    • Files
    • @@ -38,13 +39,11 @@

      Inheritance diagram for moMoveLoopExpl< M >:

      -moMoveExpl< M > -eoBF< const M::EOType &, M::EOType &, void > -eoFunctorBase -moHCMoveLoopExpl< M > -moTSMoveLoopExpl< M > +moMoveExpl< M > +moHCMoveLoopExpl< M > +moTSMoveLoopExpl< M > -List of all members. +

      Detailed Description

      @@ -59,7 +58,7 @@ Only a description... Definition at line 21 of file moMoveLoopExpl.h.
      The documentation for this class was generated from the following file: -
      Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
      Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
      diff --git a/trunk/paradiseo-mo/doc/html/classmo_move_loop_expl.png b/trunk/paradiseo-mo/doc/html/classmo_move_loop_expl.png index 82d725cec..3fc99c0f6 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_move_loop_expl.png and b/trunk/paradiseo-mo/doc/html/classmo_move_loop_expl.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_move_select-members.html b/trunk/paradiseo-mo/doc/html/classmo_move_select-members.html index 90df95364..2580789bc 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_move_select-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_move_select-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@

      moMoveSelect< M > Member List

      This is the complete list of members for moMoveSelect< M >, including all inherited members.

      - - - - -
      Fitness typedefmoMoveSelect< M >
      functor_category()eoBF< M &, M::EOType::Fitness &, void > [static]
      init(const Fitness &__fit)=0moMoveSelect< M > [pure virtual]
      operator()(M &, M::EOType::Fitness &)=0eoBF< M &, M::EOType::Fitness &, void > [pure virtual]
      update(const M &__move, const Fitness &__fit)=0moMoveSelect< M > [pure virtual]
      ~eoBF()eoBF< M &, M::EOType::Fitness &, void > [virtual]
      ~eoFunctorBase()eoFunctorBase [virtual]


      Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
      Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
      diff --git a/trunk/paradiseo-mo/doc/html/classmo_move_select.html b/trunk/paradiseo-mo/doc/html/classmo_move_select.html index a3267f9d4..47208c1b6 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_move_select.html +++ b/trunk/paradiseo-mo/doc/html/classmo_move_select.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moMoveSelect< M > Class Template Reference +ParadisEO-MOMovingObjects: moMoveSelect< M > Class Template Reference @@ -8,6 +8,7 @@ -

      moMoveSelect< M > Class Template Reference

      Class that describes a move selector (moMove). +

      moMoveSelect< M > Class Template Reference

      Class that describes a move selector (moMove). More...

      #include <moMoveSelect.h> @@ -38,11 +39,9 @@

      Inheritance diagram for moMoveSelect< M >:

      -eoBF< M &, M::EOType::Fitness &, void > -eoFunctorBase -moBestImprSelect< M > -moFirstImprSelect< M > -moRandImprSelect< M > +moBestImprSelect< M > +moFirstImprSelect< M > +moRandImprSelect< M > List of all members. @@ -146,7 +145,7 @@ Implemented in moMoveSelect.h -
      Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
      Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
      diff --git a/trunk/paradiseo-mo/doc/html/classmo_move_select.png b/trunk/paradiseo-mo/doc/html/classmo_move_select.png index 10bda515a..0781eef97 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_move_select.png and b/trunk/paradiseo-mo/doc/html/classmo_move_select.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_next_move.html b/trunk/paradiseo-mo/doc/html/classmo_next_move.html index d2491174b..a742b2eb5 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_next_move.html +++ b/trunk/paradiseo-mo/doc/html/classmo_next_move.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moNextMove< M > Class Template Reference +ParadisEO-MOMovingObjects: moNextMove< M > Class Template Reference @@ -8,6 +8,7 @@ -

      moNextMove< M > Class Template Reference

      Class which allows to generate a new move (moMove). +

      moNextMove< M > Class Template Reference

      Class which allows to generate a new move (moMove). More...

      #include <moNextMove.h> @@ -38,11 +39,9 @@

      Inheritance diagram for moNextMove< M >:

      -eoBF< M &, const M::EOType &, bool > -eoFunctorBase -moItRandNextMove< M > +moItRandNextMove< M > -List of all members.
      +

      Detailed Description

      @@ -57,7 +56,7 @@ Useful for the explorer (for 22 of file moNextMove.h.
      The documentation for this class was generated from the following file: -
      Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
      Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
      diff --git a/trunk/paradiseo-mo/doc/html/classmo_next_move.png b/trunk/paradiseo-mo/doc/html/classmo_next_move.png index f0527341d..ee1f90bbc 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_next_move.png and b/trunk/paradiseo-mo/doc/html/classmo_next_move.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_no_aspir_crit-members.html b/trunk/paradiseo-mo/doc/html/classmo_no_aspir_crit-members.html index ebd48b22a..bc246ca96 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_no_aspir_crit-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_no_aspir_crit-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@

      moNoAspirCrit< M > Member List

      This is the complete list of members for moNoAspirCrit< M >, including all inherited members.

      - - - - -
      functor_category()eoBF< const M &, const M::EOType::Fitness &, bool > [static]
      init()moNoAspirCrit< M > [inline, private, virtual]
      operator()(const M &__move, const typename M::EOType::Fitness &__sol)moNoAspirCrit< M > [inline, private]
      moAspirCrit::operator()(const M &, const M::EOType::Fitness &)=0eoBF< const M &, const M::EOType::Fitness &, bool > [pure virtual]
      ~eoBF()eoBF< const M &, const M::EOType::Fitness &, bool > [virtual]
      ~eoFunctorBase()eoFunctorBase [virtual]


      Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
      Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
      diff --git a/trunk/paradiseo-mo/doc/html/classmo_no_aspir_crit.html b/trunk/paradiseo-mo/doc/html/classmo_no_aspir_crit.html index 4040f2fe9..9d4da6dc2 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_no_aspir_crit.html +++ b/trunk/paradiseo-mo/doc/html/classmo_no_aspir_crit.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moNoAspirCrit< M > Class Template Reference +ParadisEO-MOMovingObjects: moNoAspirCrit< M > Class Template Reference @@ -8,6 +8,7 @@
      • Main Page
      • +
      • Namespaces
      • Classes
      • Files
      • @@ -38,9 +39,7 @@

        Inheritance diagram for moNoAspirCrit< M >:

        -moAspirCrit< M > -eoBF< const M &, const M::EOType::Fitness &, bool > -eoFunctorBase +moAspirCrit< M > List of all members. @@ -135,7 +134,7 @@ Definition at line 4


        The documentation for this class was generated from the following file:
        -
        Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
        Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
        diff --git a/trunk/paradiseo-mo/doc/html/classmo_no_aspir_crit.png b/trunk/paradiseo-mo/doc/html/classmo_no_aspir_crit.png index 2faca5ab9..f8412d8ed 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_no_aspir_crit.png and b/trunk/paradiseo-mo/doc/html/classmo_no_aspir_crit.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_no_fit_impr_sol_continue-members.html b/trunk/paradiseo-mo/doc/html/classmo_no_fit_impr_sol_continue-members.html index af4a9649b..5dc0cbea2 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_no_fit_impr_sol_continue-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_no_fit_impr_sol_continue-members.html @@ -1,14 +1,15 @@ - -PARADISEO-MO: Member List + +ParadisEO-MOMovingObjects: Member List - +
      • -
      +
    +
    +
+

moNoFitImprSolContinue< EOT > Member List

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

@@ -37,8 +40,8 @@ -
countermoNoFitImprSolContinue< EOT > [private]
firstFitnessSavedmoNoFitImprSolContinue< EOT > [private]
maxNumberOfIterationsWithoutImprovementmoNoFitImprSolContinue< EOT > [private]
moNoFitImprSolContinue(unsigned int __maxNumberOfIterationWithoutImprovement)moNoFitImprSolContinue< EOT > [inline]
operator()(const EOT &__sol)moNoFitImprSolContinue< EOT > [inline]


Generated on Fri Sep 14 09:52:19 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  -doxygen 1.4.7
+doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_no_fit_impr_sol_continue.html b/trunk/paradiseo-mo/doc/html/classmo_no_fit_impr_sol_continue.html index 056195951..162db3081 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_no_fit_impr_sol_continue.html +++ b/trunk/paradiseo-mo/doc/html/classmo_no_fit_impr_sol_continue.html @@ -1,14 +1,15 @@ - -PARADISEO-MO: moNoFitImprSolContinue< EOT > Class Template Reference + +ParadisEO-MOMovingObjects: moNoFitImprSolContinue< EOT > Class Template Reference - +
+ + + +

moNoFitImprSolContinue< EOT > Class Template Reference

One possible stop criterion for a solution-based heuristic. More...

@@ -142,7 +145,7 @@ Indicates if the fitness has not been improved since a given number of iteration __sol the current solution. -

Returns:
true or false.
+
Returns:
true or false.

Definition at line 43 of file moNoFitImprSolContinue.h. @@ -181,8 +184,8 @@ References moNoFitImprSolContinue.h -


Generated on Fri Sep 14 09:52:19 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  -doxygen 1.4.7
+doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_no_fit_impr_sol_continue.png b/trunk/paradiseo-mo/doc/html/classmo_no_fit_impr_sol_continue.png index dfd768a2f..2c63d62af 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_no_fit_impr_sol_continue.png and b/trunk/paradiseo-mo/doc/html/classmo_no_fit_impr_sol_continue.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_rand_impr_select-members.html b/trunk/paradiseo-mo/doc/html/classmo_rand_impr_select-members.html index 29b47e0db..3513f975d 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_rand_impr_select-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_rand_impr_select-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@

moRandImprSelect< M > Member List

This is the complete list of members for moRandImprSelect< M >, including all inherited members.

- - + - - -
Fitness typedefmoRandImprSelect< M >
functor_category()eoBF< M &, M::EOType::Fitness &, void > [static]
init(const Fitness &__fit)moRandImprSelect< M > [inline, virtual]
init_fitmoRandImprSelect< M > [private]
operator()(M &__move, Fitness &__fit)moRandImprSelect< M > [inline, virtual]
operator()(M &__move, Fitness &__fit)moRandImprSelect< M > [inline]
update(const M &__move, const Fitness &__fit)moRandImprSelect< M > [inline, virtual]
vect_better_fitmoRandImprSelect< M > [private]
vect_better_movesmoRandImprSelect< M > [private]
~eoBF()eoBF< M &, M::EOType::Fitness &, void > [virtual]
~eoFunctorBase()eoFunctorBase [virtual]


Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_rand_impr_select.html b/trunk/paradiseo-mo/doc/html/classmo_rand_impr_select.html index 26fe7037e..f4b78eb20 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_rand_impr_select.html +++ b/trunk/paradiseo-mo/doc/html/classmo_rand_impr_select.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moRandImprSelect< M > Class Template Reference +ParadisEO-MOMovingObjects: moRandImprSelect< M > Class Template Reference @@ -8,6 +8,7 @@
@@ -210,17 +209,15 @@ One the saved move is randomly chosen.

-

-Implements eoBF< M &, M::EOType::Fitness &, void >.

Definition at line 77 of file moRandImprSelect.h.

-References eoRng::random(), moRandImprSelect< M >::vect_better_fit, and moRandImprSelect< M >::vect_better_moves. +References moRandImprSelect< M >::vect_better_fit, and moRandImprSelect< M >::vect_better_moves.


The documentation for this class was generated from the following file: -
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_rand_impr_select.png b/trunk/paradiseo-mo/doc/html/classmo_rand_impr_select.png index b935a8e2f..6931c3dfd 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_rand_impr_select.png and b/trunk/paradiseo-mo/doc/html/classmo_rand_impr_select.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_rand_move.html b/trunk/paradiseo-mo/doc/html/classmo_rand_move.html index cce34df23..345a4e8ba 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_rand_move.html +++ b/trunk/paradiseo-mo/doc/html/classmo_rand_move.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moRandMove< M > Class Template Reference +ParadisEO-MOMovingObjects: moRandMove< M > Class Template Reference @@ -8,6 +8,7 @@ -

moRandMove< M > Class Template Reference

Random move generator. +

moRandMove< M > Class Template Reference

Random move generator. More...

#include <moRandMove.h>

-

Inheritance diagram for moRandMove< M >: -

- -eoUF< M &, void > -eoFunctorBase - -List of all members. +

Detailed Description

@@ -56,7 +51,7 @@ Only a description... An object that herits from this class needs to be designed

Definition at line 21 of file moRandMove.h.


The documentation for this class was generated from the following file: -
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_s_a-members.html b/trunk/paradiseo-mo/doc/html/classmo_s_a-members.html index ccf4cade6..8d540a37c 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_s_a-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_s_a-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@

moSA< M > Member List

This is the complete list of members for moSA< M >, including all inherited members.

- - - - - - - - - - - -
className() consteoMonOp< M::EOType > [virtual]
contmoSA< M > [private]
cool_schedmoSA< M > [private]
eoMonOp()eoMonOp< M::EOType >
eoOp(OpType _type)eoOp< EOType >
eoOp(const eoOp &_eop)eoOp< EOType >
EOT typedefmoSA< M > [private]
Fitness typedefmoSA< M > [private]
full_evalmoSA< M > [private]
functor_category()eoUF< M::EOType &, bool > [static]
getType() consteoOp< EOType >
incr_evalmoSA< M > [private]
init_tempmoSA< M > [private]
moSA(moRandMove< M > &__move_rand, moMoveIncrEval< M > &__incr_eval, moSolContinue< EOT > &__cont, double __init_temp, moCoolingSchedule &__cool_sched, eoEvalFunc< EOT > &__full_eval)moSA< M > [inline]
move_randmoSA< M > [private]
operator()(EOT &__sol)moSA< M > [inline, virtual]
OpType enum nameeoOp< EOType >
~eoFunctorBase()eoFunctorBase [virtual]
~eoOp()eoOp< EOType > [virtual]
~eoUF()eoUF< M::EOType &, bool > [virtual]


Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  + operator()(EOT &__sol)moSA< M > [inline] +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_s_a.html b/trunk/paradiseo-mo/doc/html/classmo_s_a.html index 54f948215..6d53f6ea6 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_s_a.html +++ b/trunk/paradiseo-mo/doc/html/classmo_s_a.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moSA< M > Class Template Reference +ParadisEO-MOMovingObjects: moSA< M > Class Template Reference @@ -8,6 +8,7 @@
- eoEvalFunc< EOT > &  + eoEvalFunc< EOT > &  __full_eval  @@ -182,7 +179,7 @@ template<class M> EOT__sol  )  - [inline, virtual] + [inline] @@ -199,17 +196,15 @@ As a moTS or
Returns:
TRUE.
-

-Implements eoUF< M::EOType &, bool >.

Definition at line 80 of file moSA.h.

-References moSA< M >::cont, moSA< M >::cool_sched, moSA< M >::full_eval, moSA< M >::incr_eval, moSA< M >::init_temp, moSA< M >::move_rand, and eoRng::uniform(). +References moSA< M >::cont, moSA< M >::cool_sched, moSA< M >::full_eval, moSA< M >::incr_eval, moSA< M >::init_temp, and moSA< M >::move_rand.


The documentation for this class was generated from the following file: -
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_s_a.png b/trunk/paradiseo-mo/doc/html/classmo_s_a.png index e14866c80..59c20157a 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_s_a.png and b/trunk/paradiseo-mo/doc/html/classmo_s_a.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_simple_move_tabu_list-members.html b/trunk/paradiseo-mo/doc/html/classmo_simple_move_tabu_list-members.html index 14f7fa72c..03b6ca8a8 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_simple_move_tabu_list-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_simple_move_tabu_list-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@
-
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_simple_move_tabu_list.png b/trunk/paradiseo-mo/doc/html/classmo_simple_move_tabu_list.png index b291321fa..e98058587 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_simple_move_tabu_list.png and b/trunk/paradiseo-mo/doc/html/classmo_simple_move_tabu_list.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_simple_solution_tabu_list-members.html b/trunk/paradiseo-mo/doc/html/classmo_simple_solution_tabu_list-members.html index 3cee0a6fd..b7eb16bd1 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_simple_solution_tabu_list-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_simple_solution_tabu_list-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@
-
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_simple_solution_tabu_list.png b/trunk/paradiseo-mo/doc/html/classmo_simple_solution_tabu_list.png index df07eba57..f08f987a9 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_simple_solution_tabu_list.png and b/trunk/paradiseo-mo/doc/html/classmo_simple_solution_tabu_list.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_sol_continue-members.html b/trunk/paradiseo-mo/doc/html/classmo_sol_continue-members.html index 3e6ee3c2e..94e657cbc 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_sol_continue-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_sol_continue-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@

moSolContinue< EOT > Member List

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

- - - - -
functor_category()eoUF< const EOT &, bool > [static]
init()=0moSolContinue< EOT > [pure virtual]
operator()(const EOT &)=0eoUF< const EOT &, bool > [pure virtual]
~eoFunctorBase()eoFunctorBase [virtual]
~eoUF()eoUF< const EOT &, bool > [virtual]


Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_sol_continue.html b/trunk/paradiseo-mo/doc/html/classmo_sol_continue.html index 8381967c5..6157338a1 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_sol_continue.html +++ b/trunk/paradiseo-mo/doc/html/classmo_sol_continue.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moSolContinue< EOT > Class Template Reference +ParadisEO-MOMovingObjects: moSolContinue< EOT > Class Template Reference @@ -8,6 +8,7 @@ -

moSolContinue< EOT > Class Template Reference

Class that describes a stop criterion for a solution-based heuristic. +

moSolContinue< EOT > Class Template Reference

Class that describes a stop criterion for a solution-based heuristic. More...

#include <moSolContinue.h> @@ -38,9 +39,10 @@

Inheritance diagram for moSolContinue< EOT >:

-eoUF< const EOT &, bool > -eoFunctorBase -moGenSolContinue< EOT > +moFitSolContinue< EOT > +moGenSolContinue< EOT > +moNoFitImprSolContinue< EOT > +moSteadyFitSolContinue< EOT > List of all members. @@ -55,7 +57,7 @@ Class that describes a stop criterion for a solution-based heuristic.

-It allows to add an initialisation procedure to an object that is a unary function (eoUF). +It allows to add an initialisation procedure to an object that is a unary function (eoUF).

@@ -82,12 +84,12 @@ Procedure which initialises all that the stop criterion needs.

Generally, it allocates some data structures or initialises some counters.

-Implemented in moGenSolContinue< EOT >. +Implemented in moFitSolContinue< EOT >, moGenSolContinue< EOT >, moNoFitImprSolContinue< EOT >, and moSteadyFitSolContinue< EOT >.


The documentation for this class was generated from the following file: -
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_sol_continue.png b/trunk/paradiseo-mo/doc/html/classmo_sol_continue.png index 345d1b66d..c6ccfa6a6 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_sol_continue.png and b/trunk/paradiseo-mo/doc/html/classmo_sol_continue.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_steady_fit_sol_continue-members.html b/trunk/paradiseo-mo/doc/html/classmo_steady_fit_sol_continue-members.html index 2e65cbb33..16cd55868 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_steady_fit_sol_continue-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_steady_fit_sol_continue-members.html @@ -1,14 +1,15 @@ - -PARADISEO-MO: Member List + +ParadisEO-MOMovingObjects: Member List - +
-
+ +
+ +

moSteadyFitSolContinue< EOT > Member List

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

@@ -39,8 +42,8 @@ -
countermoSteadyFitSolContinue< EOT > [private]
firstFitnessSavedmoSteadyFitSolContinue< EOT > [private]
maxNumberOfIterationsWithoutImprovementmoSteadyFitSolContinue< EOT > [private]
moSteadyFitSolContinue(unsigned int __maxNumberOfIterations, unsigned int __maxNumberOfIterationWithoutImprovement)moSteadyFitSolContinue< EOT > [inline]
operator()(const EOT &__sol)moSteadyFitSolContinue< EOT > [inline]


Generated on Fri Sep 14 09:52:19 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  -doxygen 1.4.7
+doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_steady_fit_sol_continue.html b/trunk/paradiseo-mo/doc/html/classmo_steady_fit_sol_continue.html index 5fd1711be..db0c280d3 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_steady_fit_sol_continue.html +++ b/trunk/paradiseo-mo/doc/html/classmo_steady_fit_sol_continue.html @@ -1,14 +1,15 @@ - -PARADISEO-MO: moSteadyFitSolContinue< EOT > Class Template Reference + +ParadisEO-MOMovingObjects: moSteadyFitSolContinue< EOT > Class Template Reference - +
+ + + +

moSteadyFitSolContinue< EOT > Class Template Reference

One possible stopping criterion for a solution-based heuristic. More...

@@ -161,7 +164,7 @@ Indicates if the fitness has not been improved since a number of iterations (aft __sol the current solution. -

Returns:
true or false.
+
Returns:
true or false.

Definition at line 46 of file moSteadyFitSolContinue.h. @@ -200,8 +203,8 @@ References


The documentation for this class was generated from the following file: -
Generated on Fri Sep 14 09:52:19 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  -doxygen 1.4.7
+doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_steady_fit_sol_continue.png b/trunk/paradiseo-mo/doc/html/classmo_steady_fit_sol_continue.png index 1fa229f5a..3e43efb5d 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_steady_fit_sol_continue.png and b/trunk/paradiseo-mo/doc/html/classmo_steady_fit_sol_continue.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_t_s-members.html b/trunk/paradiseo-mo/doc/html/classmo_t_s-members.html index d3e59f14f..697fcda77 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_t_s-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_t_s-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@

moTS< M > Member List

This is the complete list of members for moTS< M >, including all inherited members.

- - - - - - - - - - - -
className() consteoMonOp< M::EOType > [virtual]
contmoTS< M > [private]
eoMonOp()eoMonOp< M::EOType >
eoOp(OpType _type)eoOp< EOType >
eoOp(const eoOp &_eop)eoOp< EOType >
EOT typedefmoTS< M > [private]
Fitness typedefmoTS< M > [private]
full_evalmoTS< M > [private]
functor_category()eoUF< M::EOType &, bool > [static]
getType() consteoOp< EOType >
moTS(moMoveInit< M > &__move_init, moNextMove< M > &__next_move, moMoveIncrEval< M > &__incr_eval, moTabuList< M > &__tabu_list, moAspirCrit< M > &__aspir_crit, moSolContinue< EOT > &__cont, eoEvalFunc< EOT > &__full_eval)moTS< M > [inline]
moTS(moMoveExpl< M > &__move_expl, moSolContinue< EOT > &__cont, eoEvalFunc< EOT > &__full_eval)moTS< M > [inline]
move_explmoTS< M > [private]
operator()(EOT &__sol)moTS< M > [inline, virtual]
OpType enum nameeoOp< EOType >
~eoFunctorBase()eoFunctorBase [virtual]
~eoOp()eoOp< EOType > [virtual]
~eoUF()eoUF< M::EOType &, bool > [virtual]


Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  + operator()(EOT &__sol)moTS< M > [inline] +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_t_s.html b/trunk/paradiseo-mo/doc/html/classmo_t_s.html index 805893b65..e14169d52 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_t_s.html +++ b/trunk/paradiseo-mo/doc/html/classmo_t_s.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moTS< M > Class Template Reference +ParadisEO-MOMovingObjects: moTS< M > Class Template Reference @@ -8,6 +8,7 @@
- eoEvalFunc< EOT > &  + eoEvalFunc< EOT > &  __full_eval  @@ -188,7 +185,7 @@ template<class M> - eoEvalFunc< EOT > &  + eoEvalFunc< EOT > &  __full_eval  @@ -229,7 +226,7 @@ template<class M> EOT__sol  )  - [inline, virtual] + [inline] @@ -246,8 +243,6 @@ Algorithm of the tabu search. As a
Returns:
TRUE.
-

-Implements eoUF< M::EOType &, bool >.

Definition at line 85 of file moTS.h.

@@ -256,7 +251,7 @@ References moTS< M >::co


The documentation for this class was generated from the following file: -
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_t_s.png b/trunk/paradiseo-mo/doc/html/classmo_t_s.png index 8932f0e2f..5d6c7b304 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_t_s.png and b/trunk/paradiseo-mo/doc/html/classmo_t_s.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_t_s_move_loop_expl-members.html b/trunk/paradiseo-mo/doc/html/classmo_t_s_move_loop_expl-members.html index f2ed58970..3ec22d6ed 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_t_s_move_loop_expl-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_t_s_move_loop_expl-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@


The documentation for this class was generated from the following file: -
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/classmo_t_s_move_loop_expl.png b/trunk/paradiseo-mo/doc/html/classmo_t_s_move_loop_expl.png index 717f30a17..c9608b2de 100644 Binary files a/trunk/paradiseo-mo/doc/html/classmo_t_s_move_loop_expl.png and b/trunk/paradiseo-mo/doc/html/classmo_t_s_move_loop_expl.png differ diff --git a/trunk/paradiseo-mo/doc/html/classmo_tabu_list-members.html b/trunk/paradiseo-mo/doc/html/classmo_tabu_list-members.html index b954223fd..d3afd03c9 100644 --- a/trunk/paradiseo-mo/doc/html/classmo_tabu_list-members.html +++ b/trunk/paradiseo-mo/doc/html/classmo_tabu_list-members.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Member List +ParadisEO-MOMovingObjects: Member List @@ -8,6 +8,7 @@
+
+

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-2006
+00006 
+00007 /* LICENCE TEXT
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #include <assert.h>
+00013 
+00014 #include <utils/eoRNG.h>
+00015 
+00016 #include "edge_xover.h"
+00017 #include "route_valid.h"
+00018 
+00019 #define MAXINT 1000000
+00020 
+00021 void
+00022 EdgeXover :: build_map (const Route & __par1, const Route & __par2) 
+00023 {
+00024   
+00025   unsigned int len = __par1.size () ;
+00026   
+00027   /* Initialization */
+00028   _map.clear () ;
+00029   _map.resize (len) ;
+00030   
+00031   for (unsigned int i = 0 ; i < len ; i ++) 
+00032     {
+00033       _map [__par1 [i]].insert (__par1 [(i + 1) % len]) ;
+00034       _map [__par2 [i]].insert (__par2 [(i + 1) % len]) ;
+00035       _map [__par1 [i]].insert (__par1 [(i - 1 + len) % len]) ;
+00036       _map [__par2 [i]].insert (__par2 [(i - 1 + len) % len]) ;
+00037     }
+00038   
+00039   visited.clear () ;
+00040   visited.resize (len, false) ;
+00041 }
+00042 
+00043 void
+00044 EdgeXover :: remove_entry (unsigned int __vertex, std :: vector <std :: set <unsigned int> > & __map) 
+00045 {
+00046   
+00047   std :: set <unsigned int> & neigh = __map [__vertex] ;
+00048 
+00049   for (std :: set <unsigned int> :: iterator it = neigh.begin () ; it != neigh.end () ; it ++)
+00050     {
+00051       __map [* it].erase (__vertex) ; 
+00052     }
+00053       
+00054 }
+00055 
+00056 void
+00057 EdgeXover :: add_vertex (unsigned int __vertex, Route & __child) 
+00058 {
+00059   visited [__vertex] = true ;
+00060   __child.push_back (__vertex) ;    
+00061   remove_entry (__vertex, _map) ; /* Removing entries */    
+00062 }
+00063 
+00064 void
+00065 EdgeXover :: cross (const Route & __par1, const Route & __par2, Route & __child) {
+00066   
+00067   build_map (__par1, __par2) ;
+00068   
+00069   unsigned int len = __par1.size () ;
+00070  
+00071   /* Go ! */
+00072   __child.clear () ;
+00073   
+00074   unsigned int cur_vertex = rng.random (len) ;
+00075   
+00076   add_vertex (cur_vertex, __child) ;
+00077 
+00078   for (unsigned int i = 1 ; i < len ; i ++) {
+00079     
+00080     unsigned int len_min_entry = MAXINT ;
+00081     
+00082     std :: set <unsigned int> & neigh = _map [cur_vertex] ;
+00083     
+00084     for (std :: set <unsigned int> :: iterator it = neigh.begin () ; it != neigh.end () ; it ++) 
+00085       {      
+00086         unsigned int l = _map [* it].size () ;
+00087         if (len_min_entry > l)
+00088           {
+00089             len_min_entry = l ;
+00090           }
+00091       }
+00092     
+00093     std :: vector <unsigned int> cand ; /* Candidates */
+00094     
+00095     for (std :: set <unsigned> :: iterator it = neigh.begin () ; it != neigh.end () ;  it ++) 
+00096       {      
+00097         unsigned int l = _map [* it].size () ;
+00098         if (len_min_entry == l)
+00099           {
+00100             cand.push_back (* it) ;
+00101           }
+00102       }
+00103        
+00104     if (! cand.size ()) 
+00105       {
+00106         
+00107         /* Oh no ! Implicit mutation */      
+00108         for (unsigned int j = 0 ; j < len ; j ++)
+00109           {
+00110             if (! visited [j])
+00111               {
+00112                 cand.push_back (j) ;
+00113               }
+00114           }
+00115       }
+00116     
+00117     cur_vertex = cand [rng.random (cand.size ())] ;
+00118     
+00119     add_vertex (cur_vertex, __child) ;
+00120   } 
+00121 }
+00122 
+00123 bool
+00124 EdgeXover :: operator () (Route & __route1, Route & __route2) 
+00125 {
+00126   
+00127   // Init. copy
+00128   Route par [2] ;
+00129   par [0] = __route1 ;
+00130   par [1] = __route2 ;
+00131   
+00132   cross (par [0], par [1], __route1) ;
+00133   cross (par [1], par [0], __route2) ;
+00134   
+00135   assert (valid (__route1)) ;
+00136   assert (valid (__route2)) ;
+00137 
+00138   __route1.invalidate () ;
+00139   __route2.invalidate () ;
+00140 
+00141   return true ;
+00142 }
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/edge__xover_8h-source.html b/trunk/paradiseo-mo/doc/html/edge__xover_8h-source.html new file mode 100644 index 000000000..9fb1a6145 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/edge__xover_8h-source.html @@ -0,0 +1,76 @@ + + +ParadisEO-MOMovingObjects: 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-2006
+00006 
+00007 /* TEXT LICENCE
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #ifndef edge_xover_h
+00013 #define edge_xover_h
+00014 
+00015 #include <vector>
+00016 #include <set>
+00017 
+00018 #include <eoOp.h>
+00019 
+00020 #include "route.h"
+00021 
+00023 class EdgeXover : public eoQuadOp <Route> 
+00024 {
+00025   
+00026 public :
+00027   
+00028   bool operator () (Route & __route1, Route & __route2) ;
+00029 
+00030 private :
+00031   
+00032   void cross (const Route & __par1, const Route & __par2, Route & __child) ; /* Binary */
+00033 
+00034   void remove_entry (unsigned int __vertex, std :: vector <std :: set <unsigned> > & __map) ;
+00035   /* Updating the map of entries */
+00036 
+00037   void build_map (const Route & __par1, const Route & __par2) ;
+00038 
+00039   void add_vertex (unsigned int __vertex, Route & __child) ;
+00040 
+00041   std :: vector <std :: set <unsigned int> > _map ; /* The handled map */
+00042 
+00043   std :: vector <bool> visited ; /* Vertices that are already visited */
+00044 
+00045 } ;
+00046 
+00047 #endif
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/files.html b/trunk/paradiseo-mo/doc/html/files.html index 980c498ef..6e4112515 100644 --- a/trunk/paradiseo-mo/doc/html/files.html +++ b/trunk/paradiseo-mo/doc/html/files.html @@ -1,6 +1,6 @@ -PARADISEO-MO: File Index +ParadisEO-MOMovingObjects: File Index @@ -8,6 +8,7 @@
-

PARADISEO-MO File List

Here is a list of all documented files with brief descriptions: +

ParadisEO-MOMovingObjects File List

Here is a list of all documented files with brief descriptions:
+ + + + + + + + + + + + + @@ -46,17 +60,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
city_swap.cpp [code]
city_swap.h [code]
edge_xover.cpp [code]
edge_xover.h [code]
graph.cpp [code]
graph.h [code]
hill_climbing.cpp [code]
index.h [code]
iterated_local_search.cpp [code]
mix.h [code]
mo.h [code]
moAlgo.h [code]
moAspirCrit.h [code]
moBestImprSelect.h [code]
moComparator.h [code]
moCoolingSchedule.h [code]
moExponentialCoolingSchedule.h [code]
moFirstImprSelect.h [code]
moFitComparator.h [code]
moFitSolContinue.h [code]
moGenSolContinue.h [code]
moHC.h [code]
moHCMoveLoopExpl.h [code]
moILS.h [code]
moImprBestFitAspirCrit.h [code]
moItRandNextMove.h [code]
moLinearCoolingSchedule.h [code]
moMoveSelect.h [code]
moNextMove.h [code]
moNoAspirCrit.h [code]
moNoFitImprSolContinue.h [code]
moRandImprSelect.h [code]
moRandMove.h [code]
moSA.h [code]
moSimpleMoveTabuList.h [code]
moSimpleSolutionTabuList.h [code]
moSolContinue.h [code]
moSteadyFitSolContinue.h [code]
moTabuList.h [code]
moTS.h [code]
moTSMoveLoopExpl.h [code]
order_xover.cpp [code]
order_xover.h [code]
part_route_eval.cpp [code]
part_route_eval.h [code]
part_two_opt_init.cpp [code]
part_two_opt_init.h [code]
part_two_opt_next.cpp [code]
part_two_opt_next.h [code]
partial_mapped_xover.cpp [code]
partial_mapped_xover.h [code]
route.h [code]
route_eval.cpp [code]
route_eval.h [code]
route_init.cpp [code]
route_init.h [code]
route_valid.cpp [code]
route_valid.h [code]
simulated_annealing.cpp [code]
t-mo.cpp [code]
tabu_search.cpp [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]
two_opt_tabu_list.cpp [code]
two_opt_tabu_list.h [code]
-
Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/functions.html b/trunk/paradiseo-mo/doc/html/functions.html index 73c5af995..122495563 100644 --- a/trunk/paradiseo-mo/doc/html/functions.html +++ b/trunk/paradiseo-mo/doc/html/functions.html @@ -1,6 +1,6 @@ -PARADISEO-MO: Class Members +ParadisEO-MOMovingObjects: Class Members @@ -8,6 +8,7 @@

- c -

- e -

- g -


Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_best_impr_select_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_best_impr_select_8h-source.html index 708582241..ae87e0d73 100644 --- a/trunk/paradiseo-mo/doc/html/mo_best_impr_select_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_best_impr_select_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moBestImprSelect.h Source File +ParadisEO-MOMovingObjects: moBestImprSelect.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_comparator_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_comparator_8h-source.html new file mode 100644 index 000000000..97bc7e9f1 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/mo_comparator_8h-source.html @@ -0,0 +1,52 @@ + + +ParadisEO-MOMovingObjects: moComparator.h Source File + + + + +
+ +
+

moComparator.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
+00002 
+00003 // "moComparator.h"
+00004 
+00005 // (c) OPAC Team, LIFL, 2003-2007
+00006 
+00007 /* TEXT LICENCE
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #ifndef __moComparator_h
+00013 #define __moComparator_h
+00014 
+00015 
+00017 
+00020 template<class EOT>
+00021 class moComparator: public eoBF<const EOT&, const EOT&, bool>
+00022 {
+00023 };
+00024 
+00025 #endif
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/mo_cooling_schedule_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_cooling_schedule_8h-source.html index 9840b9fdb..d85f48936 100644 --- a/trunk/paradiseo-mo/doc/html/mo_cooling_schedule_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_cooling_schedule_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moCoolingSchedule.h Source File +ParadisEO-MOMovingObjects: moCoolingSchedule.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_exponential_cooling_schedule_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_exponential_cooling_schedule_8h-source.html index e37f3b8e7..12be6dc16 100644 --- a/trunk/paradiseo-mo/doc/html/mo_exponential_cooling_schedule_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_exponential_cooling_schedule_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moExponentialCoolingSchedule.h Source File +ParadisEO-MOMovingObjects: moExponentialCoolingSchedule.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_first_impr_select_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_first_impr_select_8h-source.html index a64e0c516..fc45cf98a 100644 --- a/trunk/paradiseo-mo/doc/html/mo_first_impr_select_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_first_impr_select_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moFirstImprSelect.h Source File +ParadisEO-MOMovingObjects: moFirstImprSelect.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_fit_comparator_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_fit_comparator_8h-source.html new file mode 100644 index 000000000..cc3a6e223 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/mo_fit_comparator_8h-source.html @@ -0,0 +1,56 @@ + + +ParadisEO-MOMovingObjects: moFitComparator.h Source File + + + + +
+ +
+

moFitComparator.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
+00002 
+00003 // "moFitComparator.h"
+00004 
+00005 // (c) OPAC Team, LIFL, 2003-2007
+00006 
+00007 /* TEXT LICENCE
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #ifndef __moFitComparator_h
+00013 #define __moFitComparator_h
+00014 
+00016 
+00019 template<class EOT>
+00020 class moFitComparator: public moComparator<EOT>
+00021 {
+00022  public:
+00023   bool operator()(const EOT& _solution1, const EOT& _solution2)
+00024   {
+00025     return _solution1.fitness()>_solution2.fitness();
+00026   }
+00027 };
+00028 
+00029 #endif
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/mo_fit_sol_continue_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_fit_sol_continue_8h-source.html index a766fd675..c2d8e95fc 100644 --- a/trunk/paradiseo-mo/doc/html/mo_fit_sol_continue_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_fit_sol_continue_8h-source.html @@ -1,15 +1,16 @@ - -PARADISEO-MO: moFitSolContinue.h Source File + +ParadisEO-MOMovingObjects: moFitSolContinue.h Source File - +
+ +

moFitSolContinue.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
 00002 
 00003 // "moFitSolContinue.h"
@@ -38,40 +40,40 @@
 00015 #include "moSolContinue.h"
 00016 
 00018 
-00021 template < class EOT > class moFitSolContinue:public moSolContinue < EOT >
+00021 template < class EOT > class moFitSolContinue:public moSolContinue < EOT >
 00022 {
 00023 
 00024 public:
 00025 
-00027   typedef typename EOT::Fitness Fitness;
+00027   typedef typename EOT::Fitness Fitness;
 00028 
 00030 
-00033   moFitSolContinue (Fitness __fitness): fitness (__fitness)
+00033   moFitSolContinue (Fitness __fitness): fitness (__fitness)
 00034   {}
 00035 
 00037 
-00043   bool operator   () (const EOT & __sol)
+00043   bool operator   () (const EOT & __sol)
 00044   {
 00045     if(__sol.invalid())
 00046       {
 00047         return true;
 00048       }
 00049 
-00050     return __sol.fitness() < fitness;
+00050     return __sol.fitness() < fitness;
 00051   }
 00052 
 00054 
-00057   void init ()
+00057   void init ()
 00058   {}
 00059 
 00060 private:
 00061 
-00063   Fitness fitness;
+00063   Fitness fitness;
 00064 };
 00065 
 00066 #endif
-

Generated on Fri Sep 14 09:52:19 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  -doxygen 1.4.7
+doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_gen_sol_continue_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_gen_sol_continue_8h-source.html index fa7c02efa..731979d94 100644 --- a/trunk/paradiseo-mo/doc/html/mo_gen_sol_continue_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_gen_sol_continue_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moGenSolContinue.h Source File +ParadisEO-MOMovingObjects: moGenSolContinue.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_h_c_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_h_c_8h-source.html index e27490ad1..e6d9c65d2 100644 --- a/trunk/paradiseo-mo/doc/html/mo_h_c_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_h_c_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moHC.h Source File +ParadisEO-MOMovingObjects: moHC.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_h_c_move_loop_expl_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_h_c_move_loop_expl_8h-source.html index 2bb7dea2c..85ac1fc1e 100644 --- a/trunk/paradiseo-mo/doc/html/mo_h_c_move_loop_expl_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_h_c_move_loop_expl_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moHCMoveLoopExpl.h Source File +ParadisEO-MOMovingObjects: moHCMoveLoopExpl.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_i_l_s_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_i_l_s_8h-source.html new file mode 100644 index 000000000..8ce3cd008 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/mo_i_l_s_8h-source.html @@ -0,0 +1,156 @@ + + +ParadisEO-MOMovingObjects: moILS.h Source File + + + + +
+ +
+

moILS.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
+00002 
+00003 // "moILS.h"
+00004 
+00005 // (c) OPAC Team, LIFL, 2003-2007
+00006 
+00007 /* LICENCE TEXT
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #ifndef __moILS_h
+00013 #define __moILS_h
+00014 
+00015 #include <eoEvalFunc.h>
+00016 
+00017 #include "moHC.h"
+00018 #include "moTS.h"
+00019 #include "moSA.h"
+00020 
+00022 
+00025 template < class M > class moILS:public moAlgo < typename M::EOType >
+00026 {
+00027 
+00029   typedef typename M::EOType EOT;
+00030   
+00032   typedef typename EOT::Fitness Fitness;
+00033 
+00034 public:
+00035 
+00037 
+00046   moILS (moAlgo<EOT> &__algo, moSolContinue <EOT> &__continue, moComparator<EOT> &__acceptance_criterion, eoMonOp<EOT> &__perturbation, 
+00047          eoEvalFunc<EOT> &__full_eval):
+00048     algo(__algo), cont(__continue), acceptance_criterion(__acceptance_criterion), perturbation(__perturbation), full_eval(__full_eval)
+00049   {}
+00050 
+00052 
+00062   moILS (moMoveInit < M > &__move_init, moNextMove < M > &__next_move, moMoveIncrEval < M > &__incr_eval,
+00063          moMoveSelect < M > &__move_select, moSolContinue <EOT> &__continue, moComparator<EOT> &__acceptance_criterion, 
+00064          eoMonOp<EOT> &__perturbation, eoEvalFunc<EOT> &__full_eval):
+00065     algo(*new moHC<M>(__move_init, __next_move, __incr_eval, __move_select, __full_eval)), cont(__continue), 
+00066     acceptance_criterion(__acceptance_criterion), perturbation(__perturbation), full_eval(__full_eval)
+00067   {}
+00068 
+00070 
+00082   moILS (moMoveInit <M> &__move_init, moNextMove <M> &__next_move, moMoveIncrEval <M> &__incr_eval,
+00083          moTabuList <M> &__tabu_list, moAspirCrit <M> &__aspir_crit, moSolContinue <EOT> &__moTS_continue, 
+00084          moSolContinue <EOT> &__continue, moComparator<EOT> &__acceptance_criterion, eoMonOp<EOT> &__perturbation, 
+00085          eoEvalFunc<EOT> &__full_eval):
+00086     algo(*new moTS<M>(__move_init, __next_move, __incr_eval, __tabu_list, __aspir_crit, __moTS_continue, __full_eval)), 
+00087     cont(__continue), acceptance_criterion(__acceptance_criterion), perturbation(__perturbation), full_eval(__full_eval)
+00088   {}
+00089 
+00091 
+00102   moILS (moRandMove<M> &__move_rand, moMoveIncrEval <M> &__incr_eval, moSolContinue <EOT> &__moSA_continue, double __init_temp,
+00103          moCoolingSchedule & __cool_sched, moSolContinue <EOT> &__continue, moComparator<EOT> &__acceptance_criterion, 
+00104          eoMonOp<EOT> &__perturbation, eoEvalFunc<EOT> &__full_eval):
+00105     algo(*new moSA<M>(__move_rand, __incr_eval, __moSA_continue, init_temp, __cool_sched, __full_eval)), 
+00106     cont(__continue), acceptance_criterion(__acceptance_criterion), perturbation(__perturbation), full_eval(__full_eval)
+00107   {}
+00108 
+00109 
+00110 
+00112 
+00119   bool operator()(EOT & __sol)
+00120   {
+00121     EOT __sol_saved=__sol;
+00122             
+00123     cont.init ();
+00124 
+00125     //some code has been duplicated in order to avoid one perturbation and one evaluation without adding a test in the loop.
+00126 
+00127     //std::cout << "Before intensification: " << __sol.fitness() << std::endl; 
+00128     algo(__sol);
+00129     //std::cout << "After intensification: " << __sol.fitness() << std::endl; 
+00130     
+00131     if(acceptance_criterion(__sol, __sol_saved))
+00132       {
+00133         std::cout << "Accepted: " << __sol.fitness() << std::endl;
+00134         __sol_saved=__sol;
+00135         
+00136       }
+00137     else
+00138       {
+00139         //std::cout << "Refused" << std::endl;
+00140         __sol=__sol_saved;
+00141       }
+00142     
+00143     while (cont (__sol))
+00144     {
+00145       perturbation(__sol);
+00146       full_eval(__sol);
+00147       
+00148       //std::cout << "Before intensification: " << __sol.fitness() << std::endl; 
+00149       algo(__sol);
+00150       //std::cout << "After intensification: " << __sol.fitness() << std::endl; 
+00151       
+00152       if(acceptance_criterion(__sol, __sol_saved))
+00153         {
+00154           std::cout << "Accepted: " << __sol.fitness() << std::endl;
+00155           __sol_saved=__sol;
+00156         }
+00157       else
+00158         {
+00159           //std::cout << "Refused" << std::endl;
+00160           __sol=__sol_saved;
+00161         }
+00162     }
+00163     
+00164     return true;
+00165   }
+00166 
+00167 private:
+00168 
+00170   moAlgo<EOT> &algo;
+00171 
+00173   moSolContinue<EOT> &cont;
+00174 
+00176   moComparator<EOT> &acceptance_criterion;
+00177 
+00179   eoMonOp<EOT> &perturbation;
+00180   
+00182   eoEvalFunc<EOT> &full_eval;
+00183 };
+00184 
+00185 #endif
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/mo_impr_best_fit_aspir_crit_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_impr_best_fit_aspir_crit_8h-source.html index 7c45e8c0d..e98f43ca7 100644 --- a/trunk/paradiseo-mo/doc/html/mo_impr_best_fit_aspir_crit_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_impr_best_fit_aspir_crit_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moImprBestFitAspirCrit.h Source File +ParadisEO-MOMovingObjects: moImprBestFitAspirCrit.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_it_rand_next_move_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_it_rand_next_move_8h-source.html index e9dcdd82a..0eec90615 100644 --- a/trunk/paradiseo-mo/doc/html/mo_it_rand_next_move_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_it_rand_next_move_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moItRandNextMove.h Source File +ParadisEO-MOMovingObjects: moItRandNextMove.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_l_s_check_point_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_l_s_check_point_8h-source.html index 87fe11bc9..795c73cca 100644 --- a/trunk/paradiseo-mo/doc/html/mo_l_s_check_point_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_l_s_check_point_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moLSCheckPoint.h Source File +ParadisEO-MOMovingObjects: moLSCheckPoint.h Source File @@ -8,6 +8,7 @@
  • Main Page
  • +
  • Namespaces
  • Classes
  • Files
  • @@ -39,7 +40,7 @@ 00015 #include <eoFunctor.h> 00016 00018 -00021 template < class M > class moLSCheckPoint:public eoBF < const M &, const typename +00021 template < class M > class moLSCheckPoint:public eoBF < const M &, const typename 00022 M::EOType &, void > 00023 { 00024 @@ -65,7 +66,7 @@ 00054 00055 private: 00056 -00058 std::vector < eoBF < const +00058 std::vector < eoBF < const 00059 M &, const 00060 typename 00061 M::EOType &, void >*> @@ -74,7 +75,7 @@ 00064 }; 00065 00066 #endif -

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_linear_cooling_schedule_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_linear_cooling_schedule_8h-source.html index b4350f947..5ebc9c446 100644 --- a/trunk/paradiseo-mo/doc/html/mo_linear_cooling_schedule_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_linear_cooling_schedule_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moLinearCoolingSchedule.h Source File +ParadisEO-MOMovingObjects: moLinearCoolingSchedule.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_move_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_move_8h-source.html index d7cf4fe67..14b822497 100644 --- a/trunk/paradiseo-mo/doc/html/mo_move_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_move_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moMove.h Source File +ParadisEO-MOMovingObjects: moMove.h Source File @@ -8,6 +8,7 @@
  • Main Page
  • +
  • Namespaces
  • Classes
  • Files
  • @@ -39,7 +40,7 @@ 00015 #include <eoFunctor.h> 00016 00018 -00023 template < class EOT > class moMove:public eoUF < EOT &, void > +00023 template < class EOT > class moMove:public eoUF < EOT &, void > 00024 { 00025 00026 public: @@ -48,7 +49,7 @@ 00030 }; 00031 00032 #endif -

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_move_expl_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_move_expl_8h-source.html index 220136ef2..bf830781d 100644 --- a/trunk/paradiseo-mo/doc/html/mo_move_expl_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_move_expl_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moMoveExpl.h Source File +ParadisEO-MOMovingObjects: moMoveExpl.h Source File @@ -8,6 +8,7 @@
  • Main Page
  • +
  • Namespaces
  • Classes
  • Files
  • @@ -39,7 +40,7 @@ 00015 #include <eoFunctor.h> 00016 00018 -00021 template < class M > class moMoveExpl:public eoBF < const typename +00021 template < class M > class moMoveExpl:public eoBF < const typename 00022 M::EOType &, 00023 typename 00024 M::EOType &, void > @@ -48,7 +49,7 @@ 00027 }; 00028 00029 #endif -

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_move_incr_eval_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_move_incr_eval_8h-source.html index ca863d2b6..5a34aad22 100644 --- a/trunk/paradiseo-mo/doc/html/mo_move_incr_eval_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_move_incr_eval_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moMoveIncrEval.h Source File +ParadisEO-MOMovingObjects: moMoveIncrEval.h Source File @@ -8,6 +8,7 @@
  • Main Page
  • +
  • Namespaces
  • Classes
  • Files
  • @@ -39,7 +40,7 @@ 00015 #include <eoFunctor.h> 00016 00018 -00024 template < class M > class moMoveIncrEval:public eoBF < const M &, const typename +00024 template < class M > class moMoveIncrEval:public eoBF < const M &, const typename 00025 M::EOType &, 00026 typename 00027 M::EOType::Fitness > @@ -48,7 +49,7 @@ 00030 }; 00031 00032 #endif -

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_move_init_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_move_init_8h-source.html index f136fa12b..ba9767ca3 100644 --- a/trunk/paradiseo-mo/doc/html/mo_move_init_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_move_init_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moMoveInit.h Source File +ParadisEO-MOMovingObjects: moMoveInit.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_move_loop_expl_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_move_loop_expl_8h-source.html index 0bb9f770a..679a9fc4c 100644 --- a/trunk/paradiseo-mo/doc/html/mo_move_loop_expl_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_move_loop_expl_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moMoveLoopExpl.h Source File +ParadisEO-MOMovingObjects: moMoveLoopExpl.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_move_select_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_move_select_8h-source.html index 3f066af39..40cd60d59 100644 --- a/trunk/paradiseo-mo/doc/html/mo_move_select_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_move_select_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moMoveSelect.h Source File +ParadisEO-MOMovingObjects: moMoveSelect.h Source File @@ -8,6 +8,7 @@
  • Main Page
  • +
  • Namespaces
  • Classes
  • Files
  • @@ -45,7 +46,7 @@ 00024 }; 00025 00027 -00032 template < class M > class moMoveSelect:public eoBF < M &, typename M::EOType::Fitness &, +00032 template < class M > class moMoveSelect:public eoBF < M &, typename M::EOType::Fitness &, 00033 void > 00034 { 00035 public: @@ -66,7 +67,7 @@ 00063 }; 00064 00065 #endif -

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_next_move_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_next_move_8h-source.html index 7020d03de..d78d3aa4a 100644 --- a/trunk/paradiseo-mo/doc/html/mo_next_move_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_next_move_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moNextMove.h Source File +ParadisEO-MOMovingObjects: moNextMove.h Source File @@ -8,6 +8,7 @@
  • Main Page
  • +
  • Namespaces
  • Classes
  • Files
  • @@ -39,7 +40,7 @@ 00015 #include <eoFunctor.h> 00016 00018 -00022 template < class M > class moNextMove:public eoBF < M &, const typename +00022 template < class M > class moNextMove:public eoBF < M &, const typename 00023 M::EOType &, 00024 bool > 00025 { @@ -47,7 +48,7 @@ 00027 }; 00028 00029 #endif -

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_no_aspir_crit_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_no_aspir_crit_8h-source.html index dd38ac219..874d1ff15 100644 --- a/trunk/paradiseo-mo/doc/html/mo_no_aspir_crit_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_no_aspir_crit_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moNoAspirCrit.h Source File +ParadisEO-MOMovingObjects: moNoAspirCrit.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_no_fit_impr_sol_continue_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_no_fit_impr_sol_continue_8h-source.html index 5b3703006..8c6bea79b 100644 --- a/trunk/paradiseo-mo/doc/html/mo_no_fit_impr_sol_continue_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_no_fit_impr_sol_continue_8h-source.html @@ -1,15 +1,16 @@ - -PARADISEO-MO: moNoFitImprSolContinue.h Source File + +ParadisEO-MOMovingObjects: moNoFitImprSolContinue.h Source File - +
+ +

moNoFitImprSolContinue.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
 00002 
 00003 // "moNoFitImprSolContinue.h"
@@ -38,70 +40,70 @@
 00015 #include "moSolContinue.h"
 00016 
 00018 
-00021 template < class EOT > class moNoFitImprSolContinue:public moSolContinue < EOT >
+00021 template < class EOT > class moNoFitImprSolContinue:public moSolContinue < EOT >
 00022 {
 00023 
 00024 public:
 00025 
-00027   typedef typename EOT::Fitness Fitness;
+00027   typedef typename EOT::Fitness Fitness;
 00028 
 00030 
-00033   moNoFitImprSolContinue (unsigned int __maxNumberOfIterationWithoutImprovement)
-00034     : maxNumberOfIterationsWithoutImprovement(__maxNumberOfIterationWithoutImprovement), firstFitnessSaved(true), counter(0) 
+00033   moNoFitImprSolContinue (unsigned int __maxNumberOfIterationWithoutImprovement)
+00034     : maxNumberOfIterationsWithoutImprovement(__maxNumberOfIterationWithoutImprovement), firstFitnessSaved(true), counter(0) 
 00035   {}
 00036 
 00038 
-00043   bool operator   () (const EOT & __sol)
+00043   bool operator   () (const EOT & __sol)
 00044   {
 00045     if(__sol.invalid())
 00046       {
 00047         return true;
 00048       }
 00049 
-00050     if(firstFitnessSaved)
+00050     if(firstFitnessSaved)
 00051       {
-00052         fitness=__sol.fitness();
-00053         counter=0;
+00052         fitness=__sol.fitness();
+00053         counter=0;
 00054         firstFitnessSaved=false;
 00055         return true;
 00056       }
 00057     
-00058     counter++;
+00058     counter++;
 00059 
-00060     if( __sol.fitness() > fitness)
+00060     if( __sol.fitness() > fitness)
 00061       {
-00062         fitness=__sol.fitness();
-00063         counter=0;
+00062         fitness=__sol.fitness();
+00063         counter=0;
 00064       }
 00065   
-00066     if(counter==maxNumberOfIterationsWithoutImprovement)
+00066     if(counter==maxNumberOfIterationsWithoutImprovement)
 00067       {
-00068         std::cout << "moNoFitImrpSolContinue: Done [" << counter  << "] iterations without improvement." << std::endl;
+00068         std::cout << "moNoFitImrpSolContinue: Done [" << counter  << "] iterations without improvement." << std::endl;
 00069       }
-00070     return counter!=maxNumberOfIterationsWithoutImprovement;
+00070     return counter!=maxNumberOfIterationsWithoutImprovement;
 00071   }
 00072 
 00074 
-00077   void init ()
+00077   void init ()
 00078   {
-00079     firstFitnessSaved=true;
-00080     counter=0;
+00079     firstFitnessSaved=true;
+00080     counter=0;
 00081   }
 00082 
 00083 private:
 00084 
-00086   unsigned int maxNumberOfIterationsWithoutImprovement;
+00086   unsigned int maxNumberOfIterationsWithoutImprovement;
 00087 
-00089   bool firstFitnessSaved;
+00089   bool firstFitnessSaved;
 00090 
-00092   Fitness fitness;
+00092   Fitness fitness;
 00093 
-00095   unsigned int counter;
+00095   unsigned int counter;
 00096 };
 00097 
 00098 #endif
-

Generated on Fri Sep 14 09:52:19 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  -doxygen 1.4.7
+doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_rand_impr_select_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_rand_impr_select_8h-source.html index cbaa03028..17439e508 100644 --- a/trunk/paradiseo-mo/doc/html/mo_rand_impr_select_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_rand_impr_select_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moRandImprSelect.h Source File +ParadisEO-MOMovingObjects: moRandImprSelect.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_rand_move_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_rand_move_8h-source.html index 208a467ad..6832171b4 100644 --- a/trunk/paradiseo-mo/doc/html/mo_rand_move_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_rand_move_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moRandMove.h Source File +ParadisEO-MOMovingObjects: moRandMove.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_s_a_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_s_a_8h-source.html index 73280805a..66f8f1d63 100644 --- a/trunk/paradiseo-mo/doc/html/mo_s_a_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_s_a_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moSA.h Source File +ParadisEO-MOMovingObjects: moSA.h Source File @@ -8,6 +8,7 @@
  • Main Page
  • +
  • Namespaces
  • Classes
  • Files
  • @@ -105,7 +106,7 @@ 00102 00103 Fitness delta_fit = incr_eval (move, __sol) - __sol.fitness (); 00104 -00105 if (delta_fit > 0 || rng.uniform () < exp (delta_fit / temp)) +00105 if (delta_fit > 0 || rng.uniform () < exp (delta_fit / temp)) 00106 { 00107 00108 __sol.fitness (incr_eval (move, __sol)); @@ -144,7 +145,7 @@ 00147 }; 00148 00149 #endif -

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_simple_move_tabu_list_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_simple_move_tabu_list_8h-source.html index 920e30ae3..aca16e63c 100644 --- a/trunk/paradiseo-mo/doc/html/mo_simple_move_tabu_list_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_simple_move_tabu_list_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moSimpleMoveTabuList.h Source File +ParadisEO-MOMovingObjects: moSimpleMoveTabuList.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_simple_solution_tabu_list_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_simple_solution_tabu_list_8h-source.html index 82d9c6b5e..b75356f88 100644 --- a/trunk/paradiseo-mo/doc/html/mo_simple_solution_tabu_list_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_simple_solution_tabu_list_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moSimpleSolutionTabuList.h Source File +ParadisEO-MOMovingObjects: moSimpleSolutionTabuList.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_sol_continue_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_sol_continue_8h-source.html index 708556b1c..bc7e2cb88 100644 --- a/trunk/paradiseo-mo/doc/html/mo_sol_continue_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_sol_continue_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moSolContinue.h Source File +ParadisEO-MOMovingObjects: moSolContinue.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_steady_fit_sol_continue_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_steady_fit_sol_continue_8h-source.html index 0e8be7d36..f156d2de1 100644 --- a/trunk/paradiseo-mo/doc/html/mo_steady_fit_sol_continue_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_steady_fit_sol_continue_8h-source.html @@ -1,15 +1,16 @@ - -PARADISEO-MO: moSteadyFitSolContinue.h Source File + +ParadisEO-MOMovingObjects: moSteadyFitSolContinue.h Source File - +
+ +

moSteadyFitSolContinue.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
 00002 
 00003 // "moSteadyFitSolContinue.h"
@@ -38,28 +40,28 @@
 00015 #include "moSolContinue.h"
 00016 
 00018 
-00021 template < class EOT > class moSteadyFitSolContinue:public moSolContinue < EOT >
+00021 template < class EOT > class moSteadyFitSolContinue:public moSolContinue < EOT >
 00022 {
 00023 
 00024 public:
 00025 
-00027   typedef typename EOT::Fitness Fitness;
+00027   typedef typename EOT::Fitness Fitness;
 00028 
 00030 
-00034   moSteadyFitSolContinue (unsigned int __maxNumberOfIterations, unsigned int __maxNumberOfIterationWithoutImprovement)
-00035     : maxNumberOfIterations (__maxNumberOfIterations), maxNumberOfIterationsWithoutImprovement(__maxNumberOfIterationWithoutImprovement),
-00036       maxNumberOfIterationsReached(false), firstFitnessSaved(true), counter(0) 
+00034   moSteadyFitSolContinue (unsigned int __maxNumberOfIterations, unsigned int __maxNumberOfIterationWithoutImprovement)
+00035     : maxNumberOfIterations (__maxNumberOfIterations), maxNumberOfIterationsWithoutImprovement(__maxNumberOfIterationWithoutImprovement),
+00036       maxNumberOfIterationsReached(false), firstFitnessSaved(true), counter(0) 
 00037   {}
 00038 
 00040 
-00046   bool operator   () (const EOT & __sol)
+00046   bool operator   () (const EOT & __sol)
 00047   {
-00048     if(!maxNumberOfIterationsReached)
+00048     if(!maxNumberOfIterationsReached)
 00049       {
-00050         maxNumberOfIterationsReached=((++counter)==maxNumberOfIterations);
-00051         if(maxNumberOfIterationsReached)
+00050         maxNumberOfIterationsReached=((++counter)==maxNumberOfIterations);
+00051         if(maxNumberOfIterationsReached)
 00052           {
-00053             std::cout << "moSteadyFitSolContinue: Done the minimum number of iterations [" << counter << "]." << std::endl;
+00053             std::cout << "moSteadyFitSolContinue: Done the minimum number of iterations [" << counter << "]." << std::endl;
 00054           }
 00055         return true;
 00056       }
@@ -69,55 +71,55 @@
 00060         return true;
 00061       }
 00062 
-00063     if(firstFitnessSaved)
+00063     if(firstFitnessSaved)
 00064       {
-00065         fitness=__sol.fitness();
-00066         counter=0;
+00065         fitness=__sol.fitness();
+00066         counter=0;
 00067         firstFitnessSaved=false;
 00068         return true;
 00069       }
 00070     
-00071     counter++;
+00071     counter++;
 00072 
-00073     if( __sol.fitness() > fitness )
+00073     if( __sol.fitness() > fitness )
 00074       {
-00075         fitness=__sol.fitness();
-00076         counter=0;
+00075         fitness=__sol.fitness();
+00076         counter=0;
 00077       }
 00078   
-00079     if(counter==maxNumberOfIterationsWithoutImprovement)
+00079     if(counter==maxNumberOfIterationsWithoutImprovement)
 00080       {
-00081         std::cout << "moSteadyFitSolContinue: Done [" << counter  << "] iterations without improvement." << std::endl;
+00081         std::cout << "moSteadyFitSolContinue: Done [" << counter  << "] iterations without improvement." << std::endl;
 00082       }
-00083     return counter!=maxNumberOfIterationsWithoutImprovement;
+00083     return counter!=maxNumberOfIterationsWithoutImprovement;
 00084   }
 00085 
 00087 
-00090   void init ()
+00090   void init ()
 00091   {
-00092     maxNumberOfIterationsReached=false;
-00093     counter=0;
-00094     firstFitnessSaved=true;
+00092     maxNumberOfIterationsReached=false;
+00093     counter=0;
+00094     firstFitnessSaved=true;
 00095   }
 00096 
 00097 private:
 00098 
-00100   unsigned int maxNumberOfIterations;
+00100   unsigned int maxNumberOfIterations;
 00101 
-00103   unsigned int maxNumberOfIterationsWithoutImprovement;
+00103   unsigned int maxNumberOfIterationsWithoutImprovement;
 00104 
-00106   bool maxNumberOfIterationsReached;
+00106   bool maxNumberOfIterationsReached;
 00107 
-00109   bool firstFitnessSaved;
+00109   bool firstFitnessSaved;
 00110 
-00112   Fitness fitness;
+00112   Fitness fitness;
 00113 
-00115   unsigned int counter;
+00115   unsigned int counter;
 00116 };
 00117 
 00118 #endif
-

Generated on Fri Sep 14 09:52:19 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  -doxygen 1.4.7
+doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_t_s_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_t_s_8h-source.html index f32f7b68f..d0c99d3fc 100644 --- a/trunk/paradiseo-mo/doc/html/mo_t_s_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_t_s_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moTS.h Source File +ParadisEO-MOMovingObjects: moTS.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_t_s_move_loop_expl_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_t_s_move_loop_expl_8h-source.html index 1edcee1e1..7c5163cdd 100644 --- a/trunk/paradiseo-mo/doc/html/mo_t_s_move_loop_expl_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_t_s_move_loop_expl_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moTSMoveLoopExpl.h Source File +ParadisEO-MOMovingObjects: moTSMoveLoopExpl.h Source File @@ -8,6 +8,7 @@

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/mo_tabu_list_8h-source.html b/trunk/paradiseo-mo/doc/html/mo_tabu_list_8h-source.html index a7843d915..9fb2667cd 100644 --- a/trunk/paradiseo-mo/doc/html/mo_tabu_list_8h-source.html +++ b/trunk/paradiseo-mo/doc/html/mo_tabu_list_8h-source.html @@ -1,6 +1,6 @@ -PARADISEO-MO: moTabuList.h Source File +ParadisEO-MOMovingObjects: moTabuList.h Source File @@ -8,6 +8,7 @@
  • Main Page
  • +
  • Namespaces
  • Classes
  • Files
  • @@ -39,7 +40,7 @@ 00015 #include <eoFunctor.h> 00016 00018 -00022 template < class M > class moTabuList:public eoBF < const M &, const typename +00022 template < class M > class moTabuList:public eoBF < const M &, const typename 00023 M::EOType &, 00024 bool > 00025 { @@ -61,7 +62,7 @@ 00054 }; 00055 00056 #endif -

Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
diff --git a/trunk/paradiseo-mo/doc/html/namespace_graph.html b/trunk/paradiseo-mo/doc/html/namespace_graph.html new file mode 100644 index 000000000..7a92de2a9 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/namespace_graph.html @@ -0,0 +1,63 @@ + + +ParadisEO-MOMovingObjects: Graph Namespace Reference + + + + +
+ +
+ +

Graph Namespace Reference

+

+ + + + + + + + + + + + + + + + +

Functions

+unsigned size ()
+void computeDistances ()
+void load (const char *__fileName)
+float distance (unsigned int __from, unsigned int __to)

Variables

+static std::vector< std::pair<
+ double, double > > 
vectCoord
+static std::vector< std::vector<
+ unsigned int > > 
dist
+


Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/namespacemembers.html b/trunk/paradiseo-mo/doc/html/namespacemembers.html new file mode 100644 index 000000000..8a3082ed5 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/namespacemembers.html @@ -0,0 +1,59 @@ + + +ParadisEO-MOMovingObjects: Class Members + + + + +
+ +
+ +
+ +
+Here is a list of all documented namespace members with links to the namespaces they belong to: +

+

+
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/namespacemembers_func.html b/trunk/paradiseo-mo/doc/html/namespacemembers_func.html new file mode 100644 index 000000000..1955b4c50 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/namespacemembers_func.html @@ -0,0 +1,55 @@ + + +ParadisEO-MOMovingObjects: Class Members + + + + +
+ +
+ +
+ +
+  +

+

+
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/namespacemembers_vars.html b/trunk/paradiseo-mo/doc/html/namespacemembers_vars.html new file mode 100644 index 000000000..1b84f357f --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/namespacemembers_vars.html @@ -0,0 +1,51 @@ + + +ParadisEO-MOMovingObjects: Class Members + + + + +
+ +
+ +
+ +
+  +

+

+
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/namespaces.html b/trunk/paradiseo-mo/doc/html/namespaces.html new file mode 100644 index 000000000..a748a72db --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/namespaces.html @@ -0,0 +1,39 @@ + + +ParadisEO-MOMovingObjects: Namespace Index + + + + +
+ +
+ +

ParadisEO-MOMovingObjects Namespace List

Here is a list of all documented namespaces with brief descriptions: + +
Graph
+
Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/order__xover_8cpp-source.html b/trunk/paradiseo-mo/doc/html/order__xover_8cpp-source.html new file mode 100644 index 000000000..b65d8fad2 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/order__xover_8cpp-source.html @@ -0,0 +1,124 @@ + + +ParadisEO-MOMovingObjects: 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-2006
+00006 
+00007 /* LICENCE TEXT
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #include <assert.h>
+00013 #include <vector>
+00014 
+00015 #include <utils/eoRNG.h>
+00016 
+00017 #include "order_xover.h"
+00018 #include "route_valid.h"
+00019 
+00020 void OrderXover :: cross (const Route & __par1, const Route & __par2, Route & __child) 
+00021 {
+00022   
+00023   unsigned int cut = rng.random (__par1.size ()) ;
+00024       
+00025   /* To store vertices that have
+00026      already been crossed */
+00027   std::vector<bool> v;
+00028   v.resize(__par1.size());
+00029   
+00030   for (unsigned int i = 0 ; i < __par1.size () ; i ++)
+00031     {
+00032       v [i] = false ;
+00033     }
+00034 
+00035   /* Copy of the left partial
+00036      route of the first parent */ 
+00037   for (unsigned int i = 0 ; i < cut ; i ++) 
+00038     {
+00039       __child [i] = __par1 [i] ; 
+00040       v [__par1 [i]] = true ;
+00041     }
+00042    
+00043   /* Searching the vertex of the second path, that ended
+00044      the previous first one */
+00045   unsigned int from = 0 ;
+00046   for (unsigned int i = 0 ; i < __par2.size () ; i ++)
+00047     {
+00048       if (__par2 [i] == __child [cut - 1]) 
+00049         {
+00050           from = i ;
+00051           break ;
+00052         }
+00053     }
+00054   
+00055   /* Selecting a direction
+00056      Left or Right */
+00057   char direct = rng.flip () ? 1 : -1 ;
+00058     
+00059   /* Copy of the left vertices from
+00060      the second parent path */
+00061   unsigned int l = cut ;
+00062   
+00063   for (unsigned int i = 0 ; i < __par2.size () ; i ++) 
+00064     {
+00065       unsigned int bidule /* :-) */ = (direct * i + from + __par2.size ()) % __par2.size () ;
+00066       if (! v [__par2 [bidule]]) 
+00067         {
+00068           __child [l ++] = __par2 [bidule] ;
+00069           v [__par2 [bidule]] = true ;
+00070         }
+00071     }
+00072   
+00073   v.clear();
+00074 } 
+00075 
+00076 bool OrderXover :: operator () (Route & __route1, Route & __route2) 
+00077 {
+00078   
+00079   // Init. copy
+00080   Route par [2] ;
+00081   par [0] = __route1 ;
+00082   par [1] = __route2 ;
+00083   
+00084   cross (par [0], par [1], __route1) ;
+00085   cross (par [1], par [0], __route2) ;
+00086   
+00087   assert (valid (__route1)) ;
+00088   assert (valid (__route2)) ;
+00089 
+00090   __route1.invalidate () ;
+00091   __route2.invalidate () ;
+00092 
+00093   return true ;
+00094 }
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/order__xover_8h-source.html b/trunk/paradiseo-mo/doc/html/order__xover_8h-source.html new file mode 100644 index 000000000..290353e00 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/order__xover_8h-source.html @@ -0,0 +1,61 @@ + + +ParadisEO-MOMovingObjects: 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-2006
+00006 
+00007 /* LICENCE TEXT
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #ifndef order_xover_h
+00013 #define order_xover_h
+00014 
+00015 #include <eoOp.h>
+00016 
+00017 #include "route.h"
+00018 
+00020 class OrderXover : public eoQuadOp <Route> 
+00021 {
+00022   
+00023 public :
+00024   
+00025   bool operator () (Route & __route1, Route & __route2) ;
+00026   
+00027 private :
+00028   
+00029   void cross (const Route & __par1, const Route & __par2, Route & __child) ;
+00030 } ;
+00031 
+00032 #endif
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/part__route__eval_8cpp-source.html b/trunk/paradiseo-mo/doc/html/part__route__eval_8cpp-source.html new file mode 100644 index 000000000..b382150b5 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/part__route__eval_8cpp-source.html @@ -0,0 +1,57 @@ + + +ParadisEO-MOMovingObjects: 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-2006
+00006 
+00007 /* LICENCE TEXT
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #include "part_route_eval.h"
+00013 #include "graph.h"
+00014 
+00015 PartRouteEval :: PartRouteEval (float __from, float __to) : from (__from), to (__to) {}
+00016 
+00017 void PartRouteEval :: operator () (Route & __route) 
+00018 {
+00019   float len = 0 ;
+00020   
+00021   for (unsigned int i = (unsigned int) (__route.size () * from) ; i < (unsigned int ) (__route.size () * to) ; i ++)
+00022     {
+00023       len -= Graph :: distance (__route [i], __route [(i + 1) % Graph :: size ()]) ;
+00024     }
+00025   
+00026   __route.fitness (len) ;
+00027 }
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/part__route__eval_8h-source.html b/trunk/paradiseo-mo/doc/html/part__route__eval_8h-source.html new file mode 100644 index 000000000..ec7e44f3f --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/part__route__eval_8h-source.html @@ -0,0 +1,65 @@ + + +ParadisEO-MOMovingObjects: 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, 2003-2006
+00006 
+00007 /* LICENCE TEXT 
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #ifndef part_route_eval_h
+00013 #define part_route_eval_h
+00014 
+00015 #include <eoEvalFunc.h>
+00016 
+00017 #include "route.h"
+00018 
+00020 class PartRouteEval : public eoEvalFunc <Route> 
+00021 {
+00022   
+00023 public :
+00024   
+00026   PartRouteEval (float __from, float __to) ;
+00027   
+00028   void operator () (Route & __route) ;
+00029   
+00030 private :
+00031 
+00032   float from, to ;
+00033   
+00034 } ;
+00035 
+00036 
+00037 #endif
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/part__two__opt__init_8cpp-source.html b/trunk/paradiseo-mo/doc/html/part__two__opt__init_8cpp-source.html new file mode 100644 index 000000000..ae94307a5 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/part__two__opt__init_8cpp-source.html @@ -0,0 +1,50 @@ + + +ParadisEO-MOMovingObjects: part_two_opt_init.cpp Source File + + + + +
+ +
+

part_two_opt_init.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
+00002 
+00003 // "part_two_opt_init.cpp"
+00004 
+00005 // (c) OPAC Team, LIFL, 2003-2006
+00006 
+00007 /* LICENCE TEXT
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #include <utils/eoRNG.h>
+00013 
+00014 #include "part_two_opt_init.h"
+00015 
+00016 void PartTwoOptInit :: operator () (TwoOpt & __move, const Route & __route) 
+00017 {
+00018   __move.first = rng.random (__route.size () - 6) ;
+00019   __move.second = __move.first + 2 ;
+00020 }
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/part__two__opt__init_8h-source.html b/trunk/paradiseo-mo/doc/html/part__two__opt__init_8h-source.html new file mode 100644 index 000000000..dfb7a7df0 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/part__two__opt__init_8h-source.html @@ -0,0 +1,58 @@ + + +ParadisEO-MOMovingObjects: part_two_opt_init.h Source File + + + + +
+ +
+

part_two_opt_init.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
+00002 
+00003 // "part_two_opt_init.h"
+00004 
+00005 // (c) OPAC Team, LIFL, 2003-2006
+00006 
+00007 /* LICENCE TEXT
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #ifndef part_two_opt_init_h
+00013 #define part_two_opt_init_h
+00014 
+00015 #include <moMoveInit.h>
+00016 
+00017 #include "two_opt.h"
+00018 
+00020 class PartTwoOptInit : public moMoveInit <TwoOpt> 
+00021 {
+00022   
+00023 public :
+00024   
+00025   void operator () (TwoOpt & __move, const Route & __route) ;
+00026   
+00027 } ;
+00028 
+00029 #endif
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/part__two__opt__next_8cpp-source.html b/trunk/paradiseo-mo/doc/html/part__two__opt__next_8cpp-source.html new file mode 100644 index 000000000..e3558b09d --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/part__two__opt__next_8cpp-source.html @@ -0,0 +1,62 @@ + + +ParadisEO-MOMovingObjects: part_two_opt_next.cpp Source File + + + + +
+ +
+

part_two_opt_next.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
+00002 
+00003 // "part_two_opt_next.cpp"
+00004 
+00005 // (c) OPAC Team, LIFL, 2003-2006
+00006 
+00007 /* LICENCE TEXT
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #include "part_two_opt_next.h"
+00013 #include "graph.h"
+00014 
+00015 bool TwoOptNext :: operator () (TwoOpt & __move, const Route & __route) 
+00016 {
+00017   if (__move.first == Graph :: size () - 4 && __move.second == __move.first + 2)
+00018     {
+00019       return false ;
+00020     }
+00021   else 
+00022     {
+00023       __move.second ++ ;
+00024       if (__move.second == Graph :: size () - 1) 
+00025         {
+00026           __move.first ++ ;
+00027           __move.second = __move.first + 2 ;
+00028         }
+00029       
+00030       return true ;
+00031     }
+00032 }
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/part__two__opt__next_8h-source.html b/trunk/paradiseo-mo/doc/html/part__two__opt__next_8h-source.html new file mode 100644 index 000000000..692ffc60e --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/part__two__opt__next_8h-source.html @@ -0,0 +1,57 @@ + + +ParadisEO-MOMovingObjects: part_two_opt_next.h Source File + + + + +
+ +
+

part_two_opt_next.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
+00002 
+00003 // "part_two_opt_next.h"
+00004 
+00005 // (c) OPAC Team, LIFL, 2003-2006
+00006 
+00007 /* LICENCE TEXT
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #ifndef part_two_opt_next_h
+00013 #define part_two_opt_next_h
+00014 
+00015 #include <moNextMove.h>
+00016 #include "two_opt.h"
+00017 
+00019 class PartTwoOptNext : public moNextMove <TwoOpt> 
+00020 {
+00021   
+00022 public :
+00023   
+00024   bool operator () (TwoOpt & __move, const Route & __route) ;
+00025   
+00026 } ;
+00027 
+00028 #endif
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/partial__mapped__xover_8cpp-source.html b/trunk/paradiseo-mo/doc/html/partial__mapped__xover_8cpp-source.html new file mode 100644 index 000000000..3221f3eea --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/partial__mapped__xover_8cpp-source.html @@ -0,0 +1,123 @@ + + +ParadisEO-MOMovingObjects: 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-2006
+00006 
+00007 /* TEXT LICENCE
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #include <assert.h>
+00013 
+00014 #include <vector>
+00015 
+00016 #include <utils/eoRNG.h>
+00017 
+00018 #include "partial_mapped_xover.h"
+00019 #include "route_valid.h"
+00020 #include "mix.h"
+00021 
+00022 void PartialMappedXover :: repair (Route & __route, unsigned __cut1, unsigned __cut2) 
+00023 {
+00024   
+00025   std::vector<unsigned int> v; // Number of times a cities are visited ...
+00026   
+00027   v.resize(__route.size ()); 
+00028   
+00029   for (unsigned int i = 0 ; i < __route.size () ; i ++)
+00030     {
+00031       v [i] = 0 ;
+00032     }
+00033   
+00034   for (unsigned int i = 0 ; i < __route.size () ; i ++)
+00035     {
+00036       v [__route [i]] ++ ;
+00037     }
+00038   
+00039   std :: vector <unsigned int> vert ;
+00040 
+00041   for (unsigned int i = 0 ; i < __route.size () ; i ++)
+00042     {
+00043       if (! v [i])
+00044         {
+00045           vert.push_back (i) ;
+00046         }
+00047     }
+00048   
+00049   mix (vert) ;
+00050 
+00051   for (unsigned int i = 0 ; i < __route.size () ; i ++)
+00052     {
+00053       if (i < __cut1 || i >= __cut2)
+00054         {
+00055           if (v [__route [i]] > 1) 
+00056             {
+00057               __route [i] = vert.back () ;
+00058               vert.pop_back () ;
+00059             }
+00060         }
+00061    }
+00062 
+00063   v.clear();
+00064 }
+00065 
+00066 bool PartialMappedXover :: operator () (Route & __route1, Route & __route2) 
+00067 {
+00068   unsigned int cut1 = rng.random (__route1.size ()), cut2 = rng.random (__route2.size ()) ;
+00069   
+00070   if (cut2 < cut1)
+00071     {
+00072       std :: swap (cut1, cut2) ;
+00073     }
+00074   
+00075   // Between the cuts
+00076   for (unsigned int i = cut1 ; i < cut2 ; i ++)
+00077     {
+00078       std :: swap (__route1 [i], __route2 [i]) ;
+00079     }
+00080   
+00081   // Outside the cuts
+00082   repair (__route1, cut1, cut2) ;
+00083   repair (__route2, cut1, cut2) ;
+00084   
+00085   // Debug
+00086   assert (valid (__route1)) ;
+00087   assert (valid (__route2)) ;
+00088 
+00089   __route1.invalidate () ;
+00090   __route2.invalidate () ;
+00091 
+00092   return true ;
+00093 }
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/partial__mapped__xover_8h-source.html b/trunk/paradiseo-mo/doc/html/partial__mapped__xover_8h-source.html new file mode 100644 index 000000000..33272c028 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/partial__mapped__xover_8h-source.html @@ -0,0 +1,60 @@ + + +ParadisEO-MOMovingObjects: 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-2006
+00006 
+00007 /* LICENCE TEXT
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #ifndef partial_mapped_xover_h
+00013 #define partial_mapped_xover_h
+00014 
+00015 #include <eoOp.h>
+00016 
+00017 #include "route.h"
+00018 
+00020 class PartialMappedXover : public eoQuadOp <Route> {
+00021   
+00022 public :
+00023   
+00024   bool operator () (Route & __route1, Route & __route2) ;
+00025 
+00026 private :
+00027   
+00028   void repair (Route & __route, unsigned __cut1, unsigned __cut2) ;
+00029 } ;
+00030 
+00031 #endif
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/route_8h-source.html b/trunk/paradiseo-mo/doc/html/route_8h-source.html new file mode 100644 index 000000000..2015e6156 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/route_8h-source.html @@ -0,0 +1,49 @@ + + +ParadisEO-MOMovingObjects: 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, 2003-2006
+00006 
+00007 /* LICENCE TEXT 
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #ifndef route_h
+00013 #define route_h
+00014 
+00015 #include <eoVector.h>
+00016 
+00017 typedef eoVector <float, unsigned int> Route ; // [Fitness (- length), Gene (city)]
+00018 
+00019 #endif
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/route__eval_8cpp-source.html b/trunk/paradiseo-mo/doc/html/route__eval_8cpp-source.html new file mode 100644 index 000000000..8d5c3d32b --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/route__eval_8cpp-source.html @@ -0,0 +1,56 @@ + + +ParadisEO-MOMovingObjects: 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, 2003-2006
+00006 
+00007 /* TEXT LICENCE
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #include "route_eval.h"
+00013 #include "graph.h"
+00014 
+00015 void RouteEval :: operator () (Route & __route) 
+00016 {
+00017   
+00018   float len = 0 ;
+00019   
+00020   for (unsigned int i = 0 ; i < Graph :: size () ; i ++)
+00021     {
+00022       len -= Graph :: distance (__route [i], __route [(i + 1) % Graph :: size ()]) ; 
+00023     }
+00024   
+00025   __route.fitness (len) ;
+00026 }
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/route__eval_8h-source.html b/trunk/paradiseo-mo/doc/html/route__eval_8h-source.html new file mode 100644 index 000000000..f3dd3d37e --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/route__eval_8h-source.html @@ -0,0 +1,59 @@ + + +ParadisEO-MOMovingObjects: 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, 2003-2006
+00006 
+00007 /* LICENCE TEXT
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #ifndef route_eval_h
+00013 #define route_eval_h
+00014 
+00015 #include <eoEvalFunc.h>
+00016 
+00017 #include "route.h"
+00018 
+00020 class RouteEval : public eoEvalFunc <Route> 
+00021 {
+00022   
+00023 public :
+00024   
+00025   void operator () (Route & __route) ;
+00026   
+00027 } ;
+00028 
+00029 
+00030 #endif
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/route__init_8cpp-source.html b/trunk/paradiseo-mo/doc/html/route__init_8cpp-source.html new file mode 100644 index 000000000..d126cb436 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/route__init_8cpp-source.html @@ -0,0 +1,68 @@ + + +ParadisEO-MOMovingObjects: 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, 2003-2006
+00006 
+00007 /* LICENCE TEXT
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #include <utils/eoRNG.h>
+00013 
+00014 #include "route_init.h"
+00015 #include "graph.h"
+00016 
+00017 void RouteInit :: operator () (Route & __route) 
+00018 {
+00019   
+00020   // Init.
+00021   __route.clear () ;
+00022   for (unsigned int i = 0 ; i < Graph :: size () ; i ++)
+00023     {
+00024       __route.push_back (i) ;
+00025     }
+00026   
+00027   // Swap. cities
+00028 
+00029   for (unsigned int i = 0 ; i < Graph :: size () ; i ++) 
+00030     {
+00031       //unsigned int j = rng.random (Graph :: size ()) ;
+00032       
+00033       unsigned int j = (unsigned int) (Graph :: size () * (rand () / (RAND_MAX + 1.0))) ;
+00034       unsigned int city = __route [i] ;
+00035       __route [i] = __route [j] ;
+00036       __route [j] = city ;
+00037     }   
+00038 }
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/route__init_8h-source.html b/trunk/paradiseo-mo/doc/html/route__init_8h-source.html new file mode 100644 index 000000000..c8d6295e7 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/route__init_8h-source.html @@ -0,0 +1,58 @@ + + +ParadisEO-MOMovingObjects: 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, 2002-2006
+00006 
+00007 /* LICENCE TEXT
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #ifndef route_init_h
+00013 #define route_init_h
+00014 
+00015 #include <eoInit.h>
+00016 
+00017 #include "route.h"
+00018 
+00019 class RouteInit : public eoInit <Route> 
+00020 {
+00021   
+00022 public :
+00023   
+00024   void operator () (Route & __route) ;
+00025   
+00026 } ;
+00027 
+00028 #endif
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/route__valid_8cpp-source.html b/trunk/paradiseo-mo/doc/html/route__valid_8cpp-source.html new file mode 100644 index 000000000..3b4e6f3af --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/route__valid_8cpp-source.html @@ -0,0 +1,73 @@ + + +ParadisEO-MOMovingObjects: route_valid.cpp Source File + + + + +
+ +
+

route_valid.cpp

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
+00002 
+00003 // "route_valid.cpp"
+00004 
+00005 // (c) OPAC Team, LIFL, 2003-2006
+00006 
+00007 /* LICENCE TEXT
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #include "route_valid.h"
+00013 
+00014 #include <vector>
+00015 
+00016 bool valid (Route & __route) 
+00017 {
+00018   
+00019   std::vector<unsigned int> t;
+00020   t.resize(__route.size());
+00021   
+00022   for (unsigned int i = 0 ; i < __route.size () ; i ++)
+00023     {
+00024       t [i] = 0 ;
+00025     }
+00026   
+00027   for (unsigned int i = 0 ; i < __route.size () ; i ++)
+00028     {
+00029       t [__route [i]] ++ ;
+00030     }
+00031   
+00032   for (unsigned int i = 0 ; i < __route.size () ; i ++)
+00033     {
+00034       if (t [i] != 1)
+00035         {
+00036           t.clear();
+00037           return false ;
+00038         }
+00039     }
+00040   
+00041   t.clear();
+00042   return true ; // OK.
+00043 }
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/route__valid_8h-source.html b/trunk/paradiseo-mo/doc/html/route__valid_8h-source.html new file mode 100644 index 000000000..dd62cd522 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/route__valid_8h-source.html @@ -0,0 +1,49 @@ + + +ParadisEO-MOMovingObjects: route_valid.h Source File + + + + +
+ +
+

route_valid.h

00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
+00002 
+00003 // "route_valid.h"
+00004 
+00005 // (c) OPAC Team, LIFL, 2003-2006
+00006 
+00007 /* LICENCE TEXT
+00008    
+00009    Contact: paradiseo-help@lists.gforge.inria.fr
+00010 */
+00011 
+00012 #ifndef route_valid_h
+00013 #define route_valid_h
+00014 
+00015 #include "route.h"
+00016 
+00017 bool valid (Route & __route) ;
+00018 
+00019 #endif
+

Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
+ + diff --git a/trunk/paradiseo-mo/doc/html/search.idx b/trunk/paradiseo-mo/doc/html/search.idx index f5121b3f3..87366ea0d 100644 Binary files a/trunk/paradiseo-mo/doc/html/search.idx and b/trunk/paradiseo-mo/doc/html/search.idx differ diff --git a/trunk/paradiseo-mo/doc/html/search.php b/trunk/paradiseo-mo/doc/html/search.php index 20bf8b6aa..76ff67784 100644 --- a/trunk/paradiseo-mo/doc/html/search.php +++ b/trunk/paradiseo-mo/doc/html/search.php @@ -8,6 +8,7 @@
  • Main Page
  • +
  • Namespaces
  • Classes
  • Files
  • @@ -374,7 +375,7 @@ main(); ?> -
    Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by  +
    Generated on Thu Sep 20 11:30:29 2007 for ParadisEO-MOMovingObjects by  doxygen 1.5.2
    diff --git a/trunk/paradiseo-mo/doc/html/simulated__annealing_8cpp-source.html b/trunk/paradiseo-mo/doc/html/simulated__annealing_8cpp-source.html new file mode 100644 index 000000000..bd4af5727 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/simulated__annealing_8cpp-source.html @@ -0,0 +1,97 @@ + + +ParadisEO-MOMovingObjects: simulated_annealing.cpp Source File + + + + +
    + +
    +

    simulated_annealing.cpp

    00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
    +00002 
    +00003 // "simulated_annealing.cpp"
    +00004 
    +00005 // (c) OPAC Team, LIFL, 2003-2006
    +00006 
    +00007 /* LICENCE TEXT
    +00008 
    +00009    Contact:  paradiseo-help@lists.gforge.inria.fr
    +00010 */
    +00011 
    +00012 #include <mo.h>
    +00013 
    +00014 #include <graph.h>
    +00015 #include <route.h>
    +00016 #include <route_eval.h>
    +00017 #include <route_init.h>
    +00018 
    +00019 #include <two_opt.h>
    +00020 #include <two_opt_rand.h>
    +00021 #include <two_opt_incr_eval.h>
    +00022 
    +00023 int
    +00024 main (int __argc, char * __argv []) 
    +00025 {
    +00026   if (__argc != 2) 
    +00027     {
    +00028       std :: cerr << "Usage : ./simulated_annealing [instance]" << std :: endl ;
    +00029       return 1 ;
    +00030     }
    +00031   
    +00032   Graph :: load (__argv [1]) ; // Instance
    +00033 
    +00034   Route route ; // Solution
    +00035   
    +00036   RouteInit init ; // Sol. Random Init.
    +00037   init (route) ;
    +00038 
    +00039   RouteEval full_eval ; // Full. Eval.
    +00040   full_eval (route) ;
    +00041   
    +00042   std :: cout << "[From] " << route << std :: endl ;
    +00043   
    +00044   /* Tools for an efficient (? :-))
    +00045      local search ! */
    +00046   
    +00047   TwoOptRand two_opt_rand ; // Route Random. Gen.
    +00048      
    +00049   TwoOptIncrEval two_opt_incr_eval ; // Eff. eval.
    +00050   
    +00051   TwoOpt move ;
    +00052   
    +00053   moExponentialCoolingSchedule cool_sched (0.1, 0.98) ; // Exponential Cooling Schedule 
    +00054   //moLinearCoolingSchedule cool_sched (0.1, 0.5) ; // Linear Cooling Schedule 
    +00055   
    +00056   moGenSolContinue <Route> cont (1000) ; /* Temperature Descreasing
    +00057                                             will occur each 1000
    +00058                                             iterations */ 
    +00059   
    +00060   moSA <TwoOpt> simulated_annealing (two_opt_rand, two_opt_incr_eval, cont, 1000, cool_sched, full_eval) ;
    +00061   simulated_annealing (route) ;
    +00062 
    +00063   std :: cout << "[To] " << route << std :: endl ;
    +00064   
    +00065   return 0 ;
    +00066 }
    +00067 
    +

    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/t-mo_8cpp-source.html b/trunk/paradiseo-mo/doc/html/t-mo_8cpp-source.html new file mode 100644 index 000000000..88d184923 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/t-mo_8cpp-source.html @@ -0,0 +1,54 @@ + + +ParadisEO-MOMovingObjects: t-mo.cpp Source File + + + + +
    + +
    +

    t-mo.cpp

    00001 //-----------------------------------------------------------------------------
    +00002 // t-mo.cpp
    +00003 //-----------------------------------------------------------------------------
    +00004 
    +00005 #include <eo>  // EO
    +00006 #include <mo.h>  // MO
    +00007 
    +00008 //-----------------------------------------------------------------------------
    +00009 
    +00010 typedef EO<float> Chrom;
    +00011 
    +00012 //-----------------------------------------------------------------------------
    +00013 
    +00014 int main()
    +00015 {
    +00016   Chrom chrom1, chrom2;
    +00017 
    +00018   std::cout << "chrom1 = " << chrom1 << std::endl
    +00019        << "chrom2 = " << chrom2 << std::endl;
    +00020 
    +00021   return 0;
    +00022 }
    +00023 
    +00024 //-----------------------------------------------------------------------------
    +

    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/tabu__search_8cpp-source.html b/trunk/paradiseo-mo/doc/html/tabu__search_8cpp-source.html new file mode 100644 index 000000000..f1d953448 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/tabu__search_8cpp-source.html @@ -0,0 +1,100 @@ + + +ParadisEO-MOMovingObjects: tabu_search.cpp Source File + + + + +
    + +
    +

    tabu_search.cpp

    00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
    +00002 
    +00003 // "tabu_search.cpp"
    +00004 
    +00005 // (c) OPAC Team, LIFL, 2003-2006
    +00006 
    +00007 /* LICENCE TEXT
    +00008    
    +00009    Contact: paradiseo-help@lists.gforge.inria.fr
    +00010 */
    +00011 
    +00012 #include <mo.h>
    +00013 
    +00014 #include <graph.h>
    +00015 #include <route.h>
    +00016 #include <route_eval.h>
    +00017 #include <route_init.h>
    +00018 
    +00019 #include <two_opt.h>
    +00020 #include <two_opt_init.h>
    +00021 #include <two_opt_next.h>
    +00022 #include <two_opt_incr_eval.h>
    +00023 #include <two_opt_tabu_list.h>
    +00024 
    +00025 int
    +00026 main (int __argc, char * __argv []) 
    +00027 {
    +00028   if (__argc != 2) 
    +00029     {
    +00030       std :: cerr << "Usage : ./tabu_search [instance]" << std :: endl ;
    +00031       return 1 ;
    +00032     }
    +00033   
    +00034   Graph :: load (__argv [1]) ; // Instance
    +00035   
    +00036   Route route ; // Solution
    +00037   
    +00038   RouteInit init ; // Sol. Random Init.
    +00039   init (route) ;
    +00040   
    +00041   RouteEval full_eval ; // Full. Eval.
    +00042   full_eval (route) ;
    +00043   
    +00044   std :: cout << "[From] " << route << std :: endl ;
    +00045 
    +00046   /* Tools for an efficient (? :-))
    +00047      local search ! */
    +00048   
    +00049   TwoOptInit two_opt_init ; // Init.
    +00050    
    +00051   TwoOptNext two_opt_next ; // Explorer.
    +00052   
    +00053   TwoOptIncrEval two_opt_incr_eval ; // Eff. eval.
    +00054 
    +00055   TwoOptTabuList tabu_list ; // Tabu List
    +00056   //moSimpleMoveTabuList<TwoOpt> tabu_list(10);
    +00057   //moSimpleSolutionTabuList<TwoOpt> tabu_list(10);
    +00058 
    +00059   moNoAspirCrit <TwoOpt> aspir_crit ; // Aspiration Criterion
    +00060 
    +00061   moGenSolContinue <Route> cont (10000) ; // Continuator
    +00062 
    +00063   moTS <TwoOpt> tabu_search (two_opt_init, two_opt_next, two_opt_incr_eval, tabu_list, aspir_crit, cont, full_eval) ;
    +00064   tabu_search (route) ;
    +00065   
    +00066   std :: cout << "[To] " << route << std :: endl ;
    +00067   
    +00068   return 0 ;
    +00069 }
    +00070 
    +

    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/tree.html b/trunk/paradiseo-mo/doc/html/tree.html index 14d9c2e8e..cbf5c7d4f 100644 --- a/trunk/paradiseo-mo/doc/html/tree.html +++ b/trunk/paradiseo-mo/doc/html/tree.html @@ -61,21 +61,27 @@
    -

    PARADISEO-MO

    +

    ParadisEO-MOMovingObjects

    o*Welcome to PARADISEO-Moving Objects

    o+Class List

    o+Class Hierarchy

    +

    |o*CitySwap

    +

    |o*EdgeXover

    |o*EmptySelection

    -

    |o+eoFunctorBase [external]

    +

    |o*moAlgo< EOT >

    +

    |o+moAlgo< M::EOType >

    -

    ||o+eoBF< const M &, const M::EOType &, bool > [external]

    - -

    ||o+eoBF< const M &, const M::EOType &, M::EOType::Fitness > [external]

    - -

    ||o+eoBF< const M &, const M::EOType &, void > [external]

    - -

    ||o+eoBF< const M &, const M::EOType::Fitness &, bool > [external]

    - -

    ||o+eoBF< const M::EOType &, M::EOType &, void > [external]

    - -

    ||o+eoBF< M &, const M::EOType &, bool > [external]

    - -

    ||o+eoBF< M &, const M::EOType &, void > [external]

    - -

    ||o+eoBF< M &, M::EOType::Fitness &, void > [external]

    - -

    ||o+eoUF< const EOT &, bool > [external]

    - -

    ||o+eoUF< double &, bool > [external]

    - -

    ||o+eoUF< EOT &, bool > [external]

    -
    -

    |||\+eoMonOp< EOT > [external]

    - -
    -

    ||o+eoUF< EOT &, void > [external]

    - -

    ||o*eoUF< EOType &, bool > [external]

    -

    ||o+eoUF< M &, void > [external]

    - -

    ||\+eoUF< M::EOType &, bool > [external]

    - +

    |o+moAspirCrit< M >

    + +

    |o+moComparator< EOT >

    + +

    |o+moCoolingSchedule

    + +

    |o*moLSCheckPoint< M >

    +

    |o*moMove< EOT >

    +

    |o+moMove< Route >

    +
    +

    ||\*TwoOpt

    +
    +

    |o+moMoveExpl< M >

    + -

    |\+eoOp< EOType > [external]

    -

    o*Class Members

    -

    \+File List

    -
    +

    o+Namespace List

    +
    +

    |\*Graph

    +
    +

    o*Namespace Members

    +

    \+File List

    +
    +

     o*city_swap.cpp

    +

     o*city_swap.h

    +

     o*edge_xover.cpp

    +

     o*edge_xover.h

    +

     o*graph.cpp

    +

     o*graph.h

    +

     o*hill_climbing.cpp

     o*index.h

    +

     o*iterated_local_search.cpp

    +

     o*mix.h

     o*mo.h

     o*moAlgo.h

     o*moAspirCrit.h

     o*moBestImprSelect.h

    +

     o*moComparator.h

     o*moCoolingSchedule.h

     o*moExponentialCoolingSchedule.h

     o*moFirstImprSelect.h

    +

     o*moFitComparator.h

    +

     o*moFitSolContinue.h

     o*moGenSolContinue.h

     o*moHC.h

     o*moHCMoveLoopExpl.h

    +

     o*moILS.h

     o*moImprBestFitAspirCrit.h

     o*moItRandNextMove.h

     o*moLinearCoolingSchedule.h

    @@ -234,15 +257,49 @@

     o*moMoveSelect.h

     o*moNextMove.h

     o*moNoAspirCrit.h

    +

     o*moNoFitImprSolContinue.h

     o*moRandImprSelect.h

     o*moRandMove.h

     o*moSA.h

     o*moSimpleMoveTabuList.h

     o*moSimpleSolutionTabuList.h

     o*moSolContinue.h

    +

     o*moSteadyFitSolContinue.h

     o*moTabuList.h

     o*moTS.h

    -

     \*moTSMoveLoopExpl.h

    +

     o*moTSMoveLoopExpl.h

    +

     o*order_xover.cpp

    +

     o*order_xover.h

    +

     o*part_route_eval.cpp

    +

     o*part_route_eval.h

    +

     o*part_two_opt_init.cpp

    +

     o*part_two_opt_init.h

    +

     o*part_two_opt_next.cpp

    +

     o*part_two_opt_next.h

    +

     o*partial_mapped_xover.cpp

    +

     o*partial_mapped_xover.h

    +

     o*route.h

    +

     o*route_eval.cpp

    +

     o*route_eval.h

    +

     o*route_init.cpp

    +

     o*route_init.h

    +

     o*route_valid.cpp

    +

     o*route_valid.h

    +

     o*simulated_annealing.cpp

    +

     o*t-mo.cpp

    +

     o*tabu_search.cpp

    +

     o*two_opt.cpp

    +

     o*two_opt.h

    +

     o*two_opt_incr_eval.cpp

    +

     o*two_opt_incr_eval.h

    +

     o*two_opt_init.cpp

    +

     o*two_opt_init.h

    +

     o*two_opt_next.cpp

    +

     o*two_opt_next.h

    +

     o*two_opt_rand.cpp

    +

     o*two_opt_rand.h

    +

     o*two_opt_tabu_list.cpp

    +

     \*two_opt_tabu_list.h

    diff --git a/trunk/paradiseo-mo/doc/html/two__opt_8cpp-source.html b/trunk/paradiseo-mo/doc/html/two__opt_8cpp-source.html new file mode 100644 index 000000000..c9640f156 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/two__opt_8cpp-source.html @@ -0,0 +1,77 @@ + + +ParadisEO-MOMovingObjects: 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, 2003-2006
    +00006 
    +00007 /* LICENCE TEXT
    +00008    
    +00009    Contact: paradiseo-help@lists.gforge.inria.fr
    +00010 */
    +00011 
    +00012 #include "two_opt.h"
    +00013 
    +00014 TwoOpt TwoOpt :: operator ! () const 
    +00015 {
    +00016   TwoOpt move = * this ;
    +00017   std :: swap (move.first, move.second) ;
    +00018   
    +00019   return move ;
    +00020 }
    +00021 
    +00022 void TwoOpt :: operator () (Route & __route) 
    +00023 {
    +00024   
    +00025   std :: vector <unsigned int> seq_cities ;
    +00026   
    +00027   for (unsigned int i = second ; i > first ; i --)
    +00028     {
    +00029       seq_cities.push_back (__route [i]) ;
    +00030     }
    +00031   
    +00032   unsigned int j = 0 ;
    +00033   for (unsigned int i = first + 1 ; i < second + 1 ; i ++)
    +00034     {
    +00035       __route [i] = seq_cities [j ++] ;
    +00036     }
    +00037 }
    +00038 
    +00039 void TwoOpt :: readFrom (std :: istream & __is) 
    +00040 {
    +00041   __is >> first >> second ;
    +00042 }
    +00043 
    +00044 void TwoOpt :: printOn (std :: ostream & __os) const 
    +00045 {
    +00046   __os << first << ' ' << second ;
    +00047 }
    +

    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/two__opt_8h-source.html b/trunk/paradiseo-mo/doc/html/two__opt_8h-source.html new file mode 100644 index 000000000..b5796eb7f --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/two__opt_8h-source.html @@ -0,0 +1,66 @@ + + +ParadisEO-MOMovingObjects: 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, 2003-2006
    +00006 
    +00007 /* LICENCE TEXT
    +00008    
    +00009    Contact: paradiseo-help@lists.gforge.inria.fr
    +00010 */
    +00011 
    +00012 #ifndef two_opt_h
    +00013 #define two_opt_h
    +00014 
    +00015 #include <eoPersistent.h>
    +00016 
    +00017 #include <utility>
    +00018 #include <moMove.h>
    +00019 
    +00020 #include "route.h"
    +00021 
    +00022 class TwoOpt : public moMove <Route>, public std :: pair <unsigned, unsigned>, public eoPersistent 
    +00023 {
    +00024   
    +00025 public :
    +00026   
    +00027   TwoOpt operator ! () const ;
    +00028   
    +00029   void operator () (Route & __route) ;
    +00030   
    +00031   void readFrom (std :: istream & __is) ;
    +00032   
    +00033   void printOn (std :: ostream & __os) const ;
    +00034 } ;
    +00035 
    +00036 #endif
    +

    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/two__opt__incr__eval_8cpp-source.html b/trunk/paradiseo-mo/doc/html/two__opt__incr__eval_8cpp-source.html new file mode 100644 index 000000000..7f88d424a --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/two__opt__incr__eval_8cpp-source.html @@ -0,0 +1,58 @@ + + +ParadisEO-MOMovingObjects: 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, 2003-2006
    +00006 
    +00007 /* LICENCE TEXT
    +00008    
    +00009    Contact: paradiseo-help@lists.gforge.inria.fr
    +00010 */
    +00011 
    +00012 #include "two_opt_incr_eval.h"
    +00013 #include "graph.h"
    +00014 
    +00015 float TwoOptIncrEval :: operator () (const TwoOpt & __move, const Route & __route) 
    +00016 {
    +00017   // From
    +00018   unsigned int v1 = __route [__move.first], v1_next = __route [__move.first + 1] ;
    +00019   
    +00020   // To
    +00021   unsigned int v2 = __route [__move.second], v2_next = __route [__move.second + 1] ;
    +00022   
    +00023   return __route.fitness ()
    +00024     - Graph :: distance (v1, v2)
    +00025     - Graph :: distance (v1_next, v2_next)
    +00026     + Graph :: distance (v1, v1_next)
    +00027     + Graph :: distance (v2, v2_next)  ;
    +00028 }
    +

    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/two__opt__incr__eval_8h-source.html b/trunk/paradiseo-mo/doc/html/two__opt__incr__eval_8h-source.html new file mode 100644 index 000000000..000b6e9c9 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/two__opt__incr__eval_8h-source.html @@ -0,0 +1,57 @@ + + +ParadisEO-MOMovingObjects: 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, 2003-2006
    +00006 
    +00007 /* LICENCE TEXT
    +00008    
    +00009    Contact: paradiseo-help@lists.gforge.inria.fr
    +00010 */
    +00011 
    +00012 #ifndef two_optincr_eval_h
    +00013 #define two_optincr_eval_h
    +00014 
    +00015 #include <moMoveIncrEval.h>
    +00016 #include "two_opt.h"
    +00017 
    +00018 class TwoOptIncrEval : public moMoveIncrEval <TwoOpt> 
    +00019 {
    +00020   
    +00021 public :
    +00022   
    +00023   float operator () (const TwoOpt & __move, const Route & __route) ; 
    +00024 
    +00025 } ;
    +00026 
    +00027 #endif
    +

    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/two__opt__init_8cpp-source.html b/trunk/paradiseo-mo/doc/html/two__opt__init_8cpp-source.html new file mode 100644 index 000000000..efa6a8be9 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/two__opt__init_8cpp-source.html @@ -0,0 +1,48 @@ + + +ParadisEO-MOMovingObjects: 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-2006
    +00006 
    +00007 /* LICENCE TEXT
    +00008    
    +00009    Contact: paradiseo-help@lists.gforge.inria.fr
    +00010 */
    +00011 
    +00012 #include "two_opt_init.h"
    +00013 
    +00014 void TwoOptInit :: operator () (TwoOpt & __move, const Route & __route) 
    +00015 {
    +00016   __move.first = 0 ;
    +00017   __move.second = 2 ;
    +00018 }
    +

    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/two__opt__init_8h-source.html b/trunk/paradiseo-mo/doc/html/two__opt__init_8h-source.html new file mode 100644 index 000000000..7399aa11a --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/two__opt__init_8h-source.html @@ -0,0 +1,58 @@ + + +ParadisEO-MOMovingObjects: two_opt_init.h Source File + + + + +
    + +
    +

    two_opt_init.h

    00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
    +00002 
    +00003 // "two_opt_init.h"
    +00004 
    +00005 // (c) OPAC Team, LIFL, 2003-2006
    +00006 
    +00007 /* LICENCE TEXT
    +00008    
    +00009    Contact: paradiseo-help@lists.gforge.inria.fr
    +00010 */
    +00011 
    +00012 #ifndef two_opt_init_h
    +00013 #define two_opt_init_h
    +00014 
    +00015 #include <moMoveInit.h>
    +00016 
    +00017 #include "two_opt.h"
    +00018 
    +00020 class TwoOptInit : public moMoveInit <TwoOpt> 
    +00021 {
    +00022   
    +00023 public :
    +00024   
    +00025   void operator () (TwoOpt & __move, const Route & __route) ;
    +00026   
    +00027 } ;
    +00028 
    +00029 #endif
    +

    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/two__opt__next_8cpp-source.html b/trunk/paradiseo-mo/doc/html/two__opt__next_8cpp-source.html new file mode 100644 index 000000000..eb7576154 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/two__opt__next_8cpp-source.html @@ -0,0 +1,62 @@ + + +ParadisEO-MOMovingObjects: 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, 2003-2006
    +00006 
    +00007 /* LICENCE TEXT
    +00008    
    +00009    Contact: paradiseo-help@lists.gforge.inria.fr
    +00010 */
    +00011 
    +00012 #include "two_opt_next.h"
    +00013 #include "graph.h"
    +00014 
    +00015 bool TwoOptNext :: operator () (TwoOpt & __move, const Route & __route) 
    +00016 {
    +00017   if (__move.first == Graph :: size () - 4 && __move.second == __move.first + 2)
    +00018     {
    +00019       return false ;
    +00020     }
    +00021   else 
    +00022     {
    +00023       __move.second ++ ;
    +00024       if (__move.second == Graph :: size () - 1) 
    +00025         {
    +00026           __move.first ++ ;
    +00027           __move.second = __move.first + 2 ;
    +00028         }
    +00029       
    +00030       return true ;
    +00031     }
    +00032 }
    +

    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/two__opt__next_8h-source.html b/trunk/paradiseo-mo/doc/html/two__opt__next_8h-source.html new file mode 100644 index 000000000..4bc1d19c0 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/two__opt__next_8h-source.html @@ -0,0 +1,57 @@ + + +ParadisEO-MOMovingObjects: 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, 2003-2006
    +00006 
    +00007 /* LICENCE TEXT
    +00008    
    +00009    Contact: paradiseo-help@lists.gforge.inria.fr
    +00010 */
    +00011 
    +00012 #ifndef two_opt_next_h
    +00013 #define two_opt_next_h
    +00014 
    +00015 #include <moNextMove.h>
    +00016 #include "two_opt.h"
    +00017 
    +00019 class TwoOptNext : public moNextMove <TwoOpt> 
    +00020 {
    +00021   
    +00022 public :
    +00023   
    +00024   bool operator () (TwoOpt & __move, const Route & __route) ;
    +00025   
    +00026 } ;
    +00027 
    +00028 #endif
    +

    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/two__opt__rand_8cpp-source.html b/trunk/paradiseo-mo/doc/html/two__opt__rand_8cpp-source.html new file mode 100644 index 000000000..9cdf40e44 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/two__opt__rand_8cpp-source.html @@ -0,0 +1,50 @@ + + +ParadisEO-MOMovingObjects: 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, 2003-2006
    +00006 
    +00007 /* LICENCE TEXT
    +00008    
    +00009    Contact: paradiseo-help@lists.gforge.inria.fr
    +00010 */
    +00011 
    +00012 #include "two_opt_rand.h"
    +00013 #include "graph.h"
    +00014 #include <utils/eoRNG.h>
    +00015 
    +00016 void TwoOptRand :: operator () (TwoOpt & __move) 
    +00017 {
    +00018   __move.first = rng.random (Graph :: size () - 3) ;
    +00019   __move.second = __move.first + 2 + rng.random (Graph :: size () - __move.first - 3) ;
    +00020 }
    +

    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/two__opt__rand_8h-source.html b/trunk/paradiseo-mo/doc/html/two__opt__rand_8h-source.html new file mode 100644 index 000000000..b517b7d8b --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/two__opt__rand_8h-source.html @@ -0,0 +1,58 @@ + + +ParadisEO-MOMovingObjects: 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, 2003-2006
    +00006 
    +00007 /* LICENCE TEXT
    +00008    
    +00009    Contact: paradiseo-help@lists.gforge.inria.fr
    +00010 */
    +00011 
    +00012 #ifndef two_opt_rand_h
    +00013 #define two_opt_rand_h
    +00014 
    +00015 #include <moRandMove.h>
    +00016 
    +00017 #include "two_opt.h"
    +00018 
    +00019 class TwoOptRand : public moRandMove <TwoOpt> 
    +00020 {
    +00021   
    +00022 public :
    +00023   
    +00024   void operator () (TwoOpt & __move) ;
    +00025   
    +00026 } ;
    +00027 
    +00028 #endif
    +

    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/two__opt__tabu__list_8cpp-source.html b/trunk/paradiseo-mo/doc/html/two__opt__tabu__list_8cpp-source.html new file mode 100644 index 000000000..a78d1e67c --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/two__opt__tabu__list_8cpp-source.html @@ -0,0 +1,88 @@ + + +ParadisEO-MOMovingObjects: two_opt_tabu_list.cpp Source File + + + + +
    + +
    +

    two_opt_tabu_list.cpp

    00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
    +00002 
    +00003 // "two_opt_tabu_list.cpp"
    +00004 
    +00005 // (c) OPAC Team, LIFL, 2003-2006
    +00006 
    +00007 /* LICENCE TEXT
    +00008    
    +00009    Contact: paradiseo-help@lists.gforge.inria.fr
    +00010 */
    +00011 
    +00012 #include "two_opt_tabu_list.h"
    +00013 #include "graph.h"
    +00014 
    +00015 #define TABU_LENGTH 10
    +00016 
    +00017 void TwoOptTabuList :: init () 
    +00018 {
    +00019   // Size (eventually)
    +00020   tabu_span.resize (Graph :: size ()) ;
    +00021   for (unsigned int i = 0 ; i < tabu_span.size () ; i ++)
    +00022     {
    +00023       tabu_span [i].resize (Graph :: size ()) ;  
    +00024     }
    +00025 
    +00026   // Clear
    +00027   for (unsigned int i = 0 ; i < tabu_span.size () ; i ++)
    +00028     {
    +00029       for (unsigned int j = 0 ; j < tabu_span [i].size () ; j ++)
    +00030         {
    +00031           tabu_span [i] [j] = 0 ;
    +00032         }
    +00033     }
    +00034 }
    +00035 
    +00036 bool TwoOptTabuList :: operator () (const TwoOpt & __move, const Route & __sol) 
    +00037 {
    +00038   return tabu_span [__move.first] [__move.second] > 0 ;
    +00039 }
    +00040 
    +00041 void TwoOptTabuList :: add (const TwoOpt & __move, const Route & __sol) 
    +00042 {
    +00043   tabu_span [__move.first] [__move.second] = tabu_span [__move.second] [__move.first] = TABU_LENGTH ;
    +00044 }
    +00045 
    +00046 void TwoOptTabuList :: update () 
    +00047 {
    +00048   for (unsigned int i = 0 ; i < tabu_span.size () ; i ++)
    +00049     {
    +00050       for (unsigned int j = 0 ; j < tabu_span [i].size () ; j ++)
    +00051         {
    +00052           if (tabu_span [i] [j] > 0)
    +00053             {
    +00054               tabu_span [i] [j] -- ;
    +00055             }
    +00056         }
    +00057     }
    +00058 }
    +

    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/html/two__opt__tabu__list_8h-source.html b/trunk/paradiseo-mo/doc/html/two__opt__tabu__list_8h-source.html new file mode 100644 index 000000000..85bd91b23 --- /dev/null +++ b/trunk/paradiseo-mo/doc/html/two__opt__tabu__list_8h-source.html @@ -0,0 +1,67 @@ + + +ParadisEO-MOMovingObjects: two_opt_tabu_list.h Source File + + + + +
    + +
    +

    two_opt_tabu_list.h

    00001 // -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
    +00002 
    +00003 // "two_opt_tabu_list.h"
    +00004 
    +00005 // (c) OPAC Team, LIFL, 2003-2006
    +00006 
    +00007 /* LICENCE TEXT
    +00008    
    +00009    Contact: paradiseo-help@lists.gforge.inria.fr
    +00010 */
    +00011 
    +00012 #ifndef two_opt_tabu_list_h
    +00013 #define two_opt_tabu_list_h
    +00014 
    +00015 #include <moTabuList.h>
    +00016 #include "two_opt.h"
    +00017 #include "route.h"
    +00018 
    +00020 class TwoOptTabuList : public moTabuList <TwoOpt> 
    +00021 {
    +00022 public :
    +00023   
    +00024   bool operator () (const TwoOpt & __move, const Route & __sol) ;
    +00025   
    +00026   void add (const TwoOpt & __move, const Route & __sol) ;
    +00027   
    +00028   void update () ;
    +00029   
    +00030   void init () ;
    +00031   
    +00032 private :
    +00033   
    +00034   std :: vector <std :: vector <unsigned> > tabu_span ;
    +00035   
    +00036 } ;
    +00037 
    +00038 #endif
    +

    Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by  + +doxygen 1.5.2
    + + diff --git a/trunk/paradiseo-mo/doc/latex/annotated.tex b/trunk/paradiseo-mo/doc/latex/annotated.tex index d9ae06077..b48188e7b 100644 --- a/trunk/paradiseo-mo/doc/latex/annotated.tex +++ b/trunk/paradiseo-mo/doc/latex/annotated.tex @@ -1,15 +1,21 @@ -\section{PARADISEO-MO Class List} +\section{ParadisEO-MOMovingObjects Class List} Here are the classes, structs, unions and interfaces with brief descriptions:\begin{CompactList} +\item\contentsline{section}{{\bf CitySwap} (Its swaps two vertices randomly choosen )}{\pageref{class_city_swap}}{} +\item\contentsline{section}{{\bf EdgeXover} (Edge Crossover )}{\pageref{class_edge_xover}}{} \item\contentsline{section}{{\bf EmptySelection} (Special class that describes the case of no selection )}{\pageref{class_empty_selection}}{} \item\contentsline{section}{{\bf moAlgo$<$ EOT $>$} (Description of an algorithm of the paradiseo-mo library )}{\pageref{classmo_algo}}{} \item\contentsline{section}{{\bf moAspirCrit$<$ M $>$} (Description of the conditions in which a tabu move could be accepted )}{\pageref{classmo_aspir_crit}}{} \item\contentsline{section}{{\bf moBestImprSelect$<$ M $>$} (One of the possible \doxyref{moMoveSelect}{p.}{classmo_move_select} )}{\pageref{classmo_best_impr_select}}{} +\item\contentsline{section}{{\bf moComparator$<$ EOT $>$} (Template for classes which need to compare two EOT and indicate if the first is \char`\"{}better\char`\"{} than the second )}{\pageref{classmo_comparator}}{} \item\contentsline{section}{{\bf moCoolingSchedule} (This class gives the description of a cooling schedule )}{\pageref{classmo_cooling_schedule}}{} \item\contentsline{section}{{\bf moExponentialCoolingSchedule} (One of the possible \doxyref{moCoolingSchedule}{p.}{classmo_cooling_schedule} )}{\pageref{classmo_exponential_cooling_schedule}}{} \item\contentsline{section}{{\bf moFirstImprSelect$<$ M $>$} (One possible \doxyref{moMoveSelect}{p.}{classmo_move_select} )}{\pageref{classmo_first_impr_select}}{} +\item\contentsline{section}{{\bf moFitComparator$<$ EOT $>$} (Comparison according to the fitness )}{\pageref{classmo_fit_comparator}}{} +\item\contentsline{section}{{\bf moFitSolContinue$<$ EOT $>$} (One possible stop criterion for a solution-based heuristic )}{\pageref{classmo_fit_sol_continue}}{} \item\contentsline{section}{{\bf moGenSolContinue$<$ EOT $>$} (One possible stop criterion for a solution-based heuristic )}{\pageref{classmo_gen_sol_continue}}{} \item\contentsline{section}{{\bf moHC$<$ M $>$} (Hill Climbing (HC) )}{\pageref{classmo_h_c}}{} \item\contentsline{section}{{\bf moHCMoveLoopExpl$<$ M $>$} (Iterative explorer used by a \doxyref{moHC}{p.}{classmo_h_c} )}{\pageref{classmo_h_c_move_loop_expl}}{} +\item\contentsline{section}{{\bf moILS$<$ M $>$} (Iterated Local Search (ILS) )}{\pageref{classmo_i_l_s}}{} \item\contentsline{section}{{\bf moImprBestFitAspirCrit$<$ M $>$} (One of the possible \doxyref{moAspirCrit}{p.}{classmo_aspir_crit} )}{\pageref{classmo_impr_best_fit_aspir_crit}}{} \item\contentsline{section}{{\bf moItRandNextMove$<$ M $>$} (One of the possible \doxyref{moNextMove}{p.}{classmo_next_move} )}{\pageref{classmo_it_rand_next_move}}{} \item\contentsline{section}{{\bf moLinearCoolingSchedule} (One of the possible \doxyref{moCoolingSchedule}{p.}{classmo_cooling_schedule} )}{\pageref{classmo_linear_cooling_schedule}}{} @@ -22,13 +28,28 @@ Here are the classes, structs, unions and interfaces with brief descriptions:\be \item\contentsline{section}{{\bf moMoveSelect$<$ M $>$} (Class that describes a move selector (\doxyref{moMove}{p.}{classmo_move}) )}{\pageref{classmo_move_select}}{} \item\contentsline{section}{{\bf moNextMove$<$ M $>$} (Class which allows to generate a new move (\doxyref{moMove}{p.}{classmo_move}) )}{\pageref{classmo_next_move}}{} \item\contentsline{section}{{\bf moNoAspirCrit$<$ M $>$} (One of the possible aspiration criterion (\doxyref{moAspirCrit}{p.}{classmo_aspir_crit}) )}{\pageref{classmo_no_aspir_crit}}{} +\item\contentsline{section}{{\bf moNoFitImprSolContinue$<$ EOT $>$} (One possible stop criterion for a solution-based heuristic )}{\pageref{classmo_no_fit_impr_sol_continue}}{} \item\contentsline{section}{{\bf moRandImprSelect$<$ M $>$} (One of the possible \doxyref{moMove}{p.}{classmo_move} selector (\doxyref{moMoveSelect}{p.}{classmo_move_select}) )}{\pageref{classmo_rand_impr_select}}{} \item\contentsline{section}{{\bf moRandMove$<$ M $>$} (Random move generator )}{\pageref{classmo_rand_move}}{} \item\contentsline{section}{{\bf moSA$<$ M $>$} (Simulated Annealing (SA) )}{\pageref{classmo_s_a}}{} \item\contentsline{section}{{\bf moSimpleMoveTabuList$<$ M $>$} (Class describing a move tabu list with a limited memory )}{\pageref{classmo_simple_move_tabu_list}}{} \item\contentsline{section}{{\bf moSimpleSolutionTabuList$<$ M $>$} (Class describing a solution tabu list with limited length )}{\pageref{classmo_simple_solution_tabu_list}}{} \item\contentsline{section}{{\bf moSolContinue$<$ EOT $>$} (Class that describes a stop criterion for a solution-based heuristic )}{\pageref{classmo_sol_continue}}{} +\item\contentsline{section}{{\bf moSteadyFitSolContinue$<$ EOT $>$} (One possible stopping criterion for a solution-based heuristic )}{\pageref{classmo_steady_fit_sol_continue}}{} \item\contentsline{section}{{\bf moTabuList$<$ M $>$} (Class describing a tabu list that a \doxyref{moTS}{p.}{classmo_t_s} uses )}{\pageref{classmo_tabu_list}}{} \item\contentsline{section}{{\bf moTS$<$ M $>$} (Tabu Search (TS) )}{\pageref{classmo_t_s}}{} \item\contentsline{section}{{\bf moTSMoveLoopExpl$<$ M $>$} (Explorer for a Tabu Search algorithm )}{\pageref{classmo_t_s_move_loop_expl}}{} +\item\contentsline{section}{{\bf OrderXover} (Order Crossover )}{\pageref{class_order_xover}}{} +\item\contentsline{section}{{\bf PartialMappedXover} (Partial Mapped Crossover )}{\pageref{class_partial_mapped_xover}}{} +\item\contentsline{section}{{\bf PartRouteEval} (Route Evaluator )}{\pageref{class_part_route_eval}}{} +\item\contentsline{section}{{\bf PartTwoOptInit} (It sets the first couple of edges )}{\pageref{class_part_two_opt_init}}{} +\item\contentsline{section}{{\bf PartTwoOptNext} (It updates a couple of edges )}{\pageref{class_part_two_opt_next}}{} +\item\contentsline{section}{{\bf RouteEval} (Route Evaluator )}{\pageref{class_route_eval}}{} +\item\contentsline{section}{{\bf RouteInit} }{\pageref{class_route_init}}{} +\item\contentsline{section}{{\bf TwoOpt} }{\pageref{class_two_opt}}{} +\item\contentsline{section}{{\bf TwoOptIncrEval} }{\pageref{class_two_opt_incr_eval}}{} +\item\contentsline{section}{{\bf TwoOptInit} (It sets the first couple of edges )}{\pageref{class_two_opt_init}}{} +\item\contentsline{section}{{\bf TwoOptNext} (It updates a couple of edges )}{\pageref{class_two_opt_next}}{} +\item\contentsline{section}{{\bf TwoOptRand} }{\pageref{class_two_opt_rand}}{} +\item\contentsline{section}{{\bf TwoOptTabuList} (The table of tabu movements, i.e )}{\pageref{class_two_opt_tabu_list}}{} \end{CompactList} diff --git a/trunk/paradiseo-mo/doc/latex/class_city_swap.tex b/trunk/paradiseo-mo/doc/latex/class_city_swap.tex new file mode 100644 index 000000000..55809249f --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_city_swap.tex @@ -0,0 +1,26 @@ +\section{CitySwap Class Reference} +\label{class_city_swap}\index{CitySwap@{CitySwap}} +Its swaps two vertices randomly choosen. + + +{\tt \#include $<$city\_\-swap.h$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +bool {\bf operator()} (Route \&\_\-\_\-route)\label{class_city_swap_7e6958b62048c89604cbf046b86bdf2d} + +\end{CompactItemize} + + +\subsection{Detailed Description} +Its swaps two vertices randomly choosen. + + + +Definition at line 21 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-mo/doc/latex/class_edge_xover.tex b/trunk/paradiseo-mo/doc/latex/class_edge_xover.tex new file mode 100644 index 000000000..a77bd26ea --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_edge_xover.tex @@ -0,0 +1,47 @@ +\section{EdgeXover Class Reference} +\label{class_edge_xover}\index{EdgeXover@{EdgeXover}} +Edge Crossover. + + +{\tt \#include $<$edge\_\-xover.h$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +bool {\bf operator()} (Route \&\_\-\_\-route1, Route \&\_\-\_\-route2)\label{class_edge_xover_cb1c0a103106a4d3319540cb23163a79} + +\end{CompactItemize} +\subsection*{Private Member Functions} +\begin{CompactItemize} +\item +void {\bf cross} (const Route \&\_\-\_\-par1, const Route \&\_\-\_\-par2, Route \&\_\-\_\-child)\label{class_edge_xover_88c2d4c9a878454a32d56010f3dddc27} + +\item +void {\bf build\_\-map} (const Route \&\_\-\_\-par1, const Route \&\_\-\_\-par2)\label{class_edge_xover_04de96aa1016836e0ba5f4b952a5fa16} + +\item +void {\bf add\_\-vertex} (unsigned int \_\-\_\-vertex, Route \&\_\-\_\-child)\label{class_edge_xover_b590458c35c16a14896a4bcdf9674ade} + +\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +std::vector$<$ std::set$<$ unsigned int $>$ $>$ {\bf \_\-map}\label{class_edge_xover_7d9272c12cfa55df4677d5ad837a0e5c} + +\item +std::vector$<$ bool $>$ {\bf visited}\label{class_edge_xover_46d4d4724cf6d660b1a7ab4a346573d4} + +\end{CompactItemize} + + +\subsection{Detailed Description} +Edge Crossover. + + + +Definition at line 23 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-mo/doc/latex/class_order_xover.tex b/trunk/paradiseo-mo/doc/latex/class_order_xover.tex new file mode 100644 index 000000000..c5bf6675e --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_order_xover.tex @@ -0,0 +1,32 @@ +\section{OrderXover Class Reference} +\label{class_order_xover}\index{OrderXover@{OrderXover}} +Order Crossover. + + +{\tt \#include $<$order\_\-xover.h$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +bool {\bf operator()} (Route \&\_\-\_\-route1, Route \&\_\-\_\-route2)\label{class_order_xover_0ff6aada669eb8173322ed68cda1ac61} + +\end{CompactItemize} +\subsection*{Private Member Functions} +\begin{CompactItemize} +\item +void {\bf cross} (const Route \&\_\-\_\-par1, const Route \&\_\-\_\-par2, Route \&\_\-\_\-child)\label{class_order_xover_d2bf90b5f46ac4a344777e17bc5f364d} + +\end{CompactItemize} + + +\subsection{Detailed Description} +Order Crossover. + + + +Definition at line 20 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-mo/doc/latex/class_part_route_eval.tex b/trunk/paradiseo-mo/doc/latex/class_part_route_eval.tex new file mode 100644 index 000000000..72520a0c1 --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_part_route_eval.tex @@ -0,0 +1,38 @@ +\section{PartRouteEval Class Reference} +\label{class_part_route_eval}\index{PartRouteEval@{PartRouteEval}} +Route Evaluator. + + +{\tt \#include $<$part\_\-route\_\-eval.h$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf PartRouteEval} (float \_\-\_\-from, float \_\-\_\-to)\label{class_part_route_eval_a331566b29bc3227f377004232f05491} + +\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item +void {\bf operator()} (Route \&\_\-\_\-route)\label{class_part_route_eval_965fab875fb601f17934a6ece761beae} + +\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +float {\bf from}\label{class_part_route_eval_5bde722e66378b2570ae6c4b4f8df58e} + +\item +float {\bf to}\label{class_part_route_eval_de53cc919faa498663f327b72c357da3} + +\end{CompactItemize} + + +\subsection{Detailed Description} +Route Evaluator. + + + +Definition at line 20 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-mo/doc/latex/class_part_two_opt_init.eps b/trunk/paradiseo-mo/doc/latex/class_part_two_opt_init.eps new file mode 100644 index 000000000..94a58a350 --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_part_two_opt_init.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 264.901 +%%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.8875 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 +(PartTwoOptInit) cw +(moMoveInit< TwoOpt >) 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 ----- + + (PartTwoOptInit) 0 0 box + (moMoveInit< TwoOpt >) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/trunk/paradiseo-mo/doc/latex/class_part_two_opt_init.tex b/trunk/paradiseo-mo/doc/latex/class_part_two_opt_init.tex new file mode 100644 index 000000000..181fc844f --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_part_two_opt_init.tex @@ -0,0 +1,32 @@ +\section{PartTwoOptInit Class Reference} +\label{class_part_two_opt_init}\index{PartTwoOptInit@{PartTwoOptInit}} +It sets the first couple of edges. + + +{\tt \#include $<$part\_\-two\_\-opt\_\-init.h$>$} + +Inheritance diagram for PartTwoOptInit::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{class_part_two_opt_init} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +void {\bf operator()} ({\bf TwoOpt} \&\_\-\_\-move, const Route \&\_\-\_\-route)\label{class_part_two_opt_init_2f6190b1700ca1a12d0baaceaf75383c} + +\end{CompactItemize} + + +\subsection{Detailed Description} +It sets the first couple of edges. + + + +Definition at line 20 of file part\_\-two\_\-opt\_\-init.h. + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +part\_\-two\_\-opt\_\-init.h\item +part\_\-two\_\-opt\_\-init.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-mo/doc/latex/class_part_two_opt_next.eps b/trunk/paradiseo-mo/doc/latex/class_part_two_opt_next.eps new file mode 100644 index 000000000..f304c959b --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_part_two_opt_next.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 250 +%%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 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 +(PartTwoOptNext) cw +(moNextMove< TwoOpt >) 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 ----- + + (PartTwoOptNext) 0 0 box + (moNextMove< TwoOpt >) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/trunk/paradiseo-mo/doc/latex/class_part_two_opt_next.tex b/trunk/paradiseo-mo/doc/latex/class_part_two_opt_next.tex new file mode 100644 index 000000000..f91fb95c3 --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_part_two_opt_next.tex @@ -0,0 +1,25 @@ +\section{PartTwoOptNext Class Reference} +\label{class_part_two_opt_next}\index{PartTwoOptNext@{PartTwoOptNext}} +It updates a couple of edges. + + +{\tt \#include $<$part\_\-two\_\-opt\_\-next.h$>$} + +Inheritance diagram for PartTwoOptNext::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{class_part_two_opt_next} +\end{center} +\end{figure} + + +\subsection{Detailed Description} +It updates a couple of edges. + + + +Definition at line 19 of file part\_\-two\_\-opt\_\-next.h. + +The documentation for this class was generated from the following file:\begin{CompactItemize} +\item +part\_\-two\_\-opt\_\-next.h\end{CompactItemize} diff --git a/trunk/paradiseo-mo/doc/latex/class_partial_mapped_xover.tex b/trunk/paradiseo-mo/doc/latex/class_partial_mapped_xover.tex new file mode 100644 index 000000000..3578de26a --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_partial_mapped_xover.tex @@ -0,0 +1,32 @@ +\section{PartialMappedXover Class Reference} +\label{class_partial_mapped_xover}\index{PartialMappedXover@{PartialMappedXover}} +Partial Mapped Crossover. + + +{\tt \#include $<$partial\_\-mapped\_\-xover.h$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +bool {\bf operator()} (Route \&\_\-\_\-route1, Route \&\_\-\_\-route2)\label{class_partial_mapped_xover_1cda6ea86ca36e5de0125f4ba5cfc695} + +\end{CompactItemize} +\subsection*{Private Member Functions} +\begin{CompactItemize} +\item +void {\bf repair} (Route \&\_\-\_\-route, unsigned \_\-\_\-cut1, unsigned \_\-\_\-cut2)\label{class_partial_mapped_xover_b6d4035544aff3b2b3fe4b0eeea185a2} + +\end{CompactItemize} + + +\subsection{Detailed Description} +Partial Mapped Crossover. + + + +Definition at line 20 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-mo/doc/latex/class_route_eval.tex b/trunk/paradiseo-mo/doc/latex/class_route_eval.tex new file mode 100644 index 000000000..656061643 --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_route_eval.tex @@ -0,0 +1,26 @@ +\section{RouteEval Class Reference} +\label{class_route_eval}\index{RouteEval@{RouteEval}} +Route Evaluator. + + +{\tt \#include $<$route\_\-eval.h$>$} + +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +void {\bf operator()} (Route \&\_\-\_\-route)\label{class_route_eval_e10bbe6f792e6f44405953de4f703901} + +\end{CompactItemize} + + +\subsection{Detailed Description} +Route Evaluator. + + + +Definition at line 20 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-mo/doc/latex/class_route_init.tex b/trunk/paradiseo-mo/doc/latex/class_route_init.tex new file mode 100644 index 000000000..aabbfd29f --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_route_init.tex @@ -0,0 +1,21 @@ +\section{RouteInit Class Reference} +\label{class_route_init}\index{RouteInit@{RouteInit}} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +void {\bf operator()} (Route \&\_\-\_\-route)\label{class_route_init_b65a7137e114458faadb6a5510c001f7} + +\end{CompactItemize} + + +\subsection{Detailed Description} + + + + +Definition at line 19 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-mo/doc/latex/class_two_opt.eps b/trunk/paradiseo-mo/doc/latex/class_two_opt.eps new file mode 100644 index 000000000..e9c3ce886 --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_two_opt.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 322.581 +%%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.55 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 +(TwoOpt) cw +(moMove< Route >) 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 ----- + + (TwoOpt) 0 0 box + (moMove< Route >) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/trunk/paradiseo-mo/doc/latex/class_two_opt.tex b/trunk/paradiseo-mo/doc/latex/class_two_opt.tex new file mode 100644 index 000000000..15f41db39 --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_two_opt.tex @@ -0,0 +1,36 @@ +\section{TwoOpt Class Reference} +\label{class_two_opt}\index{TwoOpt@{TwoOpt}} +Inheritance diagram for TwoOpt::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{class_two_opt} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf TwoOpt} {\bf operator!} () const\label{class_two_opt_bc412d9f7fe3617cafef364f860d8d41} + +\item +void {\bf operator()} (Route \&\_\-\_\-route)\label{class_two_opt_ff87d1649a33d42a6d64e8d314ed1af0} + +\item +void {\bf readFrom} (std::istream \&\_\-\_\-is)\label{class_two_opt_feccfecca2a6bd2d3a12afdf3f724be0} + +\item +void {\bf printOn} (std::ostream \&\_\-\_\-os) const\label{class_two_opt_77ea59d81dd829ee3190219fa8659adc} + +\end{CompactItemize} + + +\subsection{Detailed Description} + + + + +Definition at line 22 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-mo/doc/latex/class_two_opt_incr_eval.eps b/trunk/paradiseo-mo/doc/latex/class_two_opt_incr_eval.eps new file mode 100644 index 000000000..bf3b9428f --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_two_opt_incr_eval.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 219.78 +%%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.275 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 +(TwoOptIncrEval) cw +(moMoveIncrEval< TwoOpt >) 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 ----- + + (TwoOptIncrEval) 0 0 box + (moMoveIncrEval< TwoOpt >) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/trunk/paradiseo-mo/doc/latex/class_two_opt_incr_eval.tex b/trunk/paradiseo-mo/doc/latex/class_two_opt_incr_eval.tex new file mode 100644 index 000000000..73a736caa --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_two_opt_incr_eval.tex @@ -0,0 +1,27 @@ +\section{TwoOptIncrEval Class Reference} +\label{class_two_opt_incr_eval}\index{TwoOptIncrEval@{TwoOptIncrEval}} +Inheritance diagram for TwoOptIncrEval::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{class_two_opt_incr_eval} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +float {\bf operator()} (const {\bf TwoOpt} \&\_\-\_\-move, const Route \&\_\-\_\-route)\label{class_two_opt_incr_eval_4574d0b22065be5b59b88791e2b61138} + +\end{CompactItemize} + + +\subsection{Detailed Description} + + + + +Definition at line 18 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-mo/doc/latex/class_two_opt_init.eps b/trunk/paradiseo-mo/doc/latex/class_two_opt_init.eps new file mode 100644 index 000000000..29f75025b --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_two_opt_init.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 264.901 +%%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.8875 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 +(TwoOptInit) cw +(moMoveInit< TwoOpt >) 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 ----- + + (TwoOptInit) 0 0 box + (moMoveInit< TwoOpt >) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/trunk/paradiseo-mo/doc/latex/class_two_opt_init.tex b/trunk/paradiseo-mo/doc/latex/class_two_opt_init.tex new file mode 100644 index 000000000..92af43cce --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_two_opt_init.tex @@ -0,0 +1,32 @@ +\section{TwoOptInit Class Reference} +\label{class_two_opt_init}\index{TwoOptInit@{TwoOptInit}} +It sets the first couple of edges. + + +{\tt \#include $<$two\_\-opt\_\-init.h$>$} + +Inheritance diagram for TwoOptInit::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{class_two_opt_init} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +void {\bf operator()} ({\bf TwoOpt} \&\_\-\_\-move, const Route \&\_\-\_\-route)\label{class_two_opt_init_5bf6af064d37ebd955ffb5a623e78e1b} + +\end{CompactItemize} + + +\subsection{Detailed Description} +It sets the first couple of edges. + + + +Definition at line 20 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-mo/doc/latex/class_two_opt_next.eps b/trunk/paradiseo-mo/doc/latex/class_two_opt_next.eps new file mode 100644 index 000000000..f9ec94747 --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_two_opt_next.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 250 +%%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 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 +(TwoOptNext) cw +(moNextMove< TwoOpt >) 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 ----- + + (TwoOptNext) 0 0 box + (moNextMove< TwoOpt >) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/trunk/paradiseo-mo/doc/latex/class_two_opt_next.tex b/trunk/paradiseo-mo/doc/latex/class_two_opt_next.tex new file mode 100644 index 000000000..72c11bd39 --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_two_opt_next.tex @@ -0,0 +1,33 @@ +\section{TwoOptNext Class Reference} +\label{class_two_opt_next}\index{TwoOptNext@{TwoOptNext}} +It updates a couple of edges. + + +{\tt \#include $<$two\_\-opt\_\-next.h$>$} + +Inheritance diagram for TwoOptNext::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{class_two_opt_next} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +bool {\bf operator()} ({\bf TwoOpt} \&\_\-\_\-move, const Route \&\_\-\_\-route)\label{class_two_opt_next_baf229b2e056f39ab971cf2ac66a833e} + +\end{CompactItemize} + + +\subsection{Detailed Description} +It updates a couple of edges. + + + +Definition at line 19 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 +part\_\-two\_\-opt\_\-next.cpp\item +two\_\-opt\_\-next.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-mo/doc/latex/class_two_opt_rand.eps b/trunk/paradiseo-mo/doc/latex/class_two_opt_rand.eps new file mode 100644 index 000000000..c8b101630 --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_two_opt_rand.eps @@ -0,0 +1,197 @@ +%!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 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 +(TwoOptRand) cw +(moRandMove< TwoOpt >) 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 ----- + + (TwoOptRand) 0 0 box + (moRandMove< TwoOpt >) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/trunk/paradiseo-mo/doc/latex/class_two_opt_rand.tex b/trunk/paradiseo-mo/doc/latex/class_two_opt_rand.tex new file mode 100644 index 000000000..51435f1ab --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_two_opt_rand.tex @@ -0,0 +1,27 @@ +\section{TwoOptRand Class Reference} +\label{class_two_opt_rand}\index{TwoOptRand@{TwoOptRand}} +Inheritance diagram for TwoOptRand::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{class_two_opt_rand} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +void {\bf operator()} ({\bf TwoOpt} \&\_\-\_\-move)\label{class_two_opt_rand_bcba673ec71e565f536674bfe5bab609} + +\end{CompactItemize} + + +\subsection{Detailed Description} + + + + +Definition at line 19 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-mo/doc/latex/class_two_opt_tabu_list.eps b/trunk/paradiseo-mo/doc/latex/class_two_opt_tabu_list.eps new file mode 100644 index 000000000..50975105c --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_two_opt_tabu_list.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 266.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 1.875 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 +(TwoOptTabuList) cw +(moTabuList< TwoOpt >) 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 ----- + + (TwoOptTabuList) 0 0 box + (moTabuList< TwoOpt >) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/trunk/paradiseo-mo/doc/latex/class_two_opt_tabu_list.tex b/trunk/paradiseo-mo/doc/latex/class_two_opt_tabu_list.tex new file mode 100644 index 000000000..e86575335 --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/class_two_opt_tabu_list.tex @@ -0,0 +1,76 @@ +\section{TwoOptTabuList Class Reference} +\label{class_two_opt_tabu_list}\index{TwoOptTabuList@{TwoOptTabuList}} +The table of tabu movements, i.e. + + +{\tt \#include $<$two\_\-opt\_\-tabu\_\-list.h$>$} + +Inheritance diagram for TwoOptTabuList::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{class_two_opt_tabu_list} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +bool {\bf operator()} (const {\bf TwoOpt} \&\_\-\_\-move, const Route \&\_\-\_\-sol)\label{class_two_opt_tabu_list_94eb6bced415ff97cec89107cc6eebab} + +\item +void {\bf add} (const {\bf TwoOpt} \&\_\-\_\-move, const Route \&\_\-\_\-sol)\label{class_two_opt_tabu_list_10436d67bef09f5893df2d85549d1dbd} + +\item +void {\bf update} () +\begin{CompactList}\small\item\em Procedure that updates the tabu list content. \item\end{CompactList}\item +void {\bf init} () +\begin{CompactList}\small\item\em Procedure which initialises the tabu list. \item\end{CompactList}\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +std::vector$<$ std::vector$<$ unsigned $>$ $>$ {\bf tabu\_\-span}\label{class_two_opt_tabu_list_cbcdf3b501f624a14f3c767652609382} + +\end{CompactItemize} + + +\subsection{Detailed Description} +The table of tabu movements, i.e. + +forbidden edges + + + +Definition at line 20 of file two\_\-opt\_\-tabu\_\-list.h. + +\subsection{Member Function Documentation} +\index{TwoOptTabuList@{TwoOptTabuList}!update@{update}} +\index{update@{update}!TwoOptTabuList@{TwoOptTabuList}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TwoOptTabuList::update ()\hspace{0.3cm}{\tt [virtual]}}\label{class_two_opt_tabu_list_c460034b7debe7198c6df046855155da} + + +Procedure that updates the tabu list content. + +Generally, a counter associated to each saved move is decreased by one. + +Implements {\bf moTabuList$<$ TwoOpt $>$} \doxyref{}{p.}{classmo_tabu_list_a2e5d1132f064093c8ed57046405f5ca}. + +Definition at line 46 of file two\_\-opt\_\-tabu\_\-list.cpp. + +References tabu\_\-span.\index{TwoOptTabuList@{TwoOptTabuList}!init@{init}} +\index{init@{init}!TwoOptTabuList@{TwoOptTabuList}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TwoOptTabuList::init ()\hspace{0.3cm}{\tt [virtual]}}\label{class_two_opt_tabu_list_2d3101e6045700b0e32f5e82672a175e} + + +Procedure which initialises the tabu list. + +Can be useful if the data structure needs to be allocated before being used. + +Implements {\bf moTabuList$<$ TwoOpt $>$} \doxyref{}{p.}{classmo_tabu_list_0a06c459d56e8e2b408a8f3c6aec4e57}. + +Definition at line 17 of file two\_\-opt\_\-tabu\_\-list.cpp. + +References Graph::size(), and tabu\_\-span. + +The documentation for this class was generated from the following files:\begin{CompactItemize} +\item +two\_\-opt\_\-tabu\_\-list.h\item +two\_\-opt\_\-tabu\_\-list.cpp\end{CompactItemize} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_algo.tex b/trunk/paradiseo-mo/doc/latex/classmo_algo.tex index 6564c8f7a..f6caacbe7 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_algo.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_algo.tex @@ -5,12 +5,6 @@ Description of an algorithm of the paradiseo-mo library. {\tt \#include $<$moAlgo.h$>$} -Inheritance diagram for moAlgo$<$ EOT $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=4cm]{classmo_algo} -\end{center} -\end{figure} \subsection{Detailed Description} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_aspir_crit.eps b/trunk/paradiseo-mo/doc/latex/classmo_aspir_crit.eps index da056c4c6..fbf0b26ef 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_aspir_crit.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_aspir_crit.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 119.76 +%%BoundingBox: 0 0 500 109.29 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 4.175 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 4.575 def % aspect ratio of the BoundingBox (width/height) /boundx 500 def /boundy boundx boundaspect div def /xspacing 0 def /yspacing 0 def -/rows 4 def +/rows 2 def /cols 2 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -174,8 +174,6 @@ boxfont setfont 1 boundaspect scale (moAspirCrit< M >) cw -(eoBF< const M &, const M::EOType::Fitness &, bool >) cw -(eoFunctorBase) cw (moImprBestFitAspirCrit< M >) cw (moNoAspirCrit< M >) cw /boxwidth boxwidth marginwidth 2 mul add def @@ -190,21 +188,11 @@ boundx scalefactor div boundy scalefactor div scale % ----- classes ----- (moAspirCrit< M >) 0.5 1 box - (eoBF< const M &, const M::EOType::Fitness &, bool >) 0.5 2 box - (eoFunctorBase) 0.5 3 box (moImprBestFitAspirCrit< M >) 0 0 box (moNoAspirCrit< M >) 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 diff --git a/trunk/paradiseo-mo/doc/latex/classmo_aspir_crit.tex b/trunk/paradiseo-mo/doc/latex/classmo_aspir_crit.tex index 78dea621f..af40895ad 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_aspir_crit.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_aspir_crit.tex @@ -8,7 +8,7 @@ Description of the conditions in which a tabu move could be accepted. Inheritance diagram for moAspirCrit$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=3.35329cm]{classmo_aspir_crit} +\includegraphics[height=2cm]{classmo_aspir_crit} \end{center} \end{figure} \subsection*{Public Member Functions} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_best_impr_select.eps b/trunk/paradiseo-mo/doc/latex/classmo_best_impr_select.eps index e1504ce28..f9c367972 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_best_impr_select.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_best_impr_select.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 303.03 +%%BoundingBox: 0 0 500 259.74 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 1.65 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 1.925 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 +/rows 2 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -175,8 +175,6 @@ boxfont setfont 1 boundaspect scale (moBestImprSelect< M >) cw (moMoveSelect< M >) cw -(eoBF< M &, M::EOType::Fitness &, void >) cw -(eoFunctorBase) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def @@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale (moBestImprSelect< M >) 0 0 box (moMoveSelect< M >) 0 1 box - (eoBF< M &, M::EOType::Fitness &, void >) 0 2 box - (eoFunctorBase) 0 3 box % ----- relations ----- @@ -199,11 +195,3 @@ 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-mo/doc/latex/classmo_best_impr_select.tex b/trunk/paradiseo-mo/doc/latex/classmo_best_impr_select.tex index 1cb7a44d5..bc5e36915 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_best_impr_select.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_best_impr_select.tex @@ -8,7 +8,7 @@ One of the possible \doxyref{moMoveSelect}{p.}{classmo_move_select}. Inheritance diagram for moBestImprSelect$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=4cm]{classmo_best_impr_select} +\includegraphics[height=2cm]{classmo_best_impr_select} \end{center} \end{figure} \subsection*{Public Types} @@ -77,7 +77,7 @@ Definition at line 47 of file moBestImprSelect.h. References moBestImprSelect$<$ M $>$::best\_\-fit, moBestImprSelect$<$ M $>$::best\_\-move, and moBestImprSelect$<$ M $>$::first\_\-time.\index{moBestImprSelect@{moBestImprSelect}!operator()@{operator()}} \index{operator()@{operator()}!moBestImprSelect@{moBestImprSelect}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moBestImprSelect}$<$ M $>$::operator() (M \& {\em \_\-\_\-move}, {\bf Fitness} \& {\em \_\-\_\-fit}) throw ({\bf EmptySelection})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_best_impr_select_169773d4d127acd782cf379f758222da} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moBestImprSelect}$<$ M $>$::operator() (M \& {\em \_\-\_\-move}, {\bf Fitness} \& {\em \_\-\_\-fit}) throw ({\bf EmptySelection})\hspace{0.3cm}{\tt [inline]}}\label{classmo_best_impr_select_169773d4d127acd782cf379f758222da} Procedure which saved the best move and fitness. @@ -94,8 +94,6 @@ Procedure which saved the best move and fitness. \end{Desc} -Implements {\bf eoBF$<$ M \&, M::EOType::Fitness \&, void $>$}. - Definition at line 68 of file moBestImprSelect.h. References moBestImprSelect$<$ M $>$::best\_\-fit, moBestImprSelect$<$ M $>$::best\_\-move, and moBestImprSelect$<$ M $>$::first\_\-time. diff --git a/trunk/paradiseo-mo/doc/latex/classmo_comparator.eps b/trunk/paradiseo-mo/doc/latex/classmo_comparator.eps new file mode 100644 index 000000000..ed564a84f --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/classmo_comparator.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 242.424 +%%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.0625 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 +(moComparator< EOT >) cw +(moFitComparator< 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 ----- + + (moComparator< EOT >) 0 1 box + (moFitComparator< EOT >) 0 0 box + +% ----- relations ----- + +solid +1 0 0.25 out +solid +0 0 0.75 in diff --git a/trunk/paradiseo-mo/doc/latex/classmo_comparator.tex b/trunk/paradiseo-mo/doc/latex/classmo_comparator.tex new file mode 100644 index 000000000..4f7fdff71 --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/classmo_comparator.tex @@ -0,0 +1,29 @@ +\section{moComparator$<$ EOT $>$ Class Template Reference} +\label{classmo_comparator}\index{moComparator@{moComparator}} +Template for classes which need to compare two EOT and indicate if the first is \char`\"{}better\char`\"{} than the second. + + +{\tt \#include $<$moComparator.h$>$} + +Inheritance diagram for moComparator$<$ EOT $>$::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{classmo_comparator} +\end{center} +\end{figure} + + +\subsection{Detailed Description} +\subsubsection*{template$<$class EOT$>$ class moComparator$<$ EOT $>$} + +Template for classes which need to compare two EOT and indicate if the first is \char`\"{}better\char`\"{} than the second. + +The objects that extend this template describe how an EOT is \char`\"{}better\char`\"{} than an other. + + + +Definition at line 21 of file moComparator.h. + +The documentation for this class was generated from the following file:\begin{CompactItemize} +\item +moComparator.h\end{CompactItemize} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_cooling_schedule.eps b/trunk/paradiseo-mo/doc/latex/classmo_cooling_schedule.eps index 099ff0bb2..a1d0c2d59 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_cooling_schedule.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_cooling_schedule.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 203.046 +%%BoundingBox: 0 0 500 101.523 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 2.4625 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 4.925 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 +/rows 2 def /cols 2 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -174,8 +174,6 @@ boxfont setfont 1 boundaspect scale (moCoolingSchedule) cw -(eoUF< double &, bool >) cw -(eoFunctorBase) cw (moExponentialCoolingSchedule) cw (moLinearCoolingSchedule) cw /boxwidth boxwidth marginwidth 2 mul add def @@ -190,21 +188,11 @@ boundx scalefactor div boundy scalefactor div scale % ----- classes ----- (moCoolingSchedule) 0.5 1 box - (eoUF< double &, bool >) 0.5 2 box - (eoFunctorBase) 0.5 3 box (moExponentialCoolingSchedule) 0 0 box (moLinearCoolingSchedule) 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 diff --git a/trunk/paradiseo-mo/doc/latex/classmo_cooling_schedule.tex b/trunk/paradiseo-mo/doc/latex/classmo_cooling_schedule.tex index 47648d9d0..1a48c27d7 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_cooling_schedule.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_cooling_schedule.tex @@ -8,7 +8,7 @@ This class gives the description of a cooling schedule. Inheritance diagram for moCoolingSchedule::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=4cm]{classmo_cooling_schedule} +\includegraphics[height=2cm]{classmo_cooling_schedule} \end{center} \end{figure} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_exponential_cooling_schedule.eps b/trunk/paradiseo-mo/doc/latex/classmo_exponential_cooling_schedule.eps index 92ecef949..9a4b2773b 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_exponential_cooling_schedule.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_exponential_cooling_schedule.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 406.091 +%%BoundingBox: 0 0 500 203.046 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 1.23125 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 2.4625 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 +/rows 2 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -175,8 +175,6 @@ boxfont setfont 1 boundaspect scale (moExponentialCoolingSchedule) cw (moCoolingSchedule) cw -(eoUF< double &, bool >) cw -(eoFunctorBase) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def @@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale (moExponentialCoolingSchedule) 0 0 box (moCoolingSchedule) 0 1 box - (eoUF< double &, bool >) 0 2 box - (eoFunctorBase) 0 3 box % ----- relations ----- @@ -199,11 +195,3 @@ 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-mo/doc/latex/classmo_exponential_cooling_schedule.tex b/trunk/paradiseo-mo/doc/latex/classmo_exponential_cooling_schedule.tex index b572655f6..e4b4643d9 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_exponential_cooling_schedule.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_exponential_cooling_schedule.tex @@ -8,7 +8,7 @@ One of the possible \doxyref{moCoolingSchedule}{p.}{classmo_cooling_schedule}. Inheritance diagram for moExponentialCoolingSchedule::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=4cm]{classmo_exponential_cooling_schedule} +\includegraphics[height=2cm]{classmo_exponential_cooling_schedule} \end{center} \end{figure} \subsection*{Public Member Functions} @@ -58,7 +58,7 @@ Definition at line 31 of file moExponentialCoolingSchedule.h. \subsection{Member Function Documentation} \index{moExponentialCoolingSchedule@{moExponentialCoolingSchedule}!operator()@{operator()}} \index{operator()@{operator()}!moExponentialCoolingSchedule@{moExponentialCoolingSchedule}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool moExponentialCoolingSchedule::operator() (double \& {\em \_\-\_\-temp})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_exponential_cooling_schedule_00642b03453b51612a10fcf2280543db} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool moExponentialCoolingSchedule::operator() (double \& {\em \_\-\_\-temp})\hspace{0.3cm}{\tt [inline]}}\label{classmo_exponential_cooling_schedule_00642b03453b51612a10fcf2280543db} Function which proceeds to the cooling. @@ -74,8 +74,6 @@ It decreases the temperature and indicates if it is greater than the threshold. \item[Returns:]if the new temperature (current temperature $\ast$ ratio) is greater than the threshold. \end{Desc} -Implements {\bf eoUF$<$ double \&, bool $>$}. - Definition at line 41 of file moExponentialCoolingSchedule.h. References ratio, and threshold. diff --git a/trunk/paradiseo-mo/doc/latex/classmo_first_impr_select.eps b/trunk/paradiseo-mo/doc/latex/classmo_first_impr_select.eps index 7057473a9..04ffcb96d 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_first_impr_select.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_first_impr_select.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 303.03 +%%BoundingBox: 0 0 500 258.065 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 1.65 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 1.9375 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 +/rows 2 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -175,8 +175,6 @@ boxfont setfont 1 boundaspect scale (moFirstImprSelect< M >) cw (moMoveSelect< M >) cw -(eoBF< M &, M::EOType::Fitness &, void >) cw -(eoFunctorBase) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def @@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale (moFirstImprSelect< M >) 0 0 box (moMoveSelect< M >) 0 1 box - (eoBF< M &, M::EOType::Fitness &, void >) 0 2 box - (eoFunctorBase) 0 3 box % ----- relations ----- @@ -199,11 +195,3 @@ 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-mo/doc/latex/classmo_first_impr_select.tex b/trunk/paradiseo-mo/doc/latex/classmo_first_impr_select.tex index 412bfec33..c09a27412 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_first_impr_select.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_first_impr_select.tex @@ -8,7 +8,7 @@ One possible \doxyref{moMoveSelect}{p.}{classmo_move_select}. Inheritance diagram for moFirstImprSelect$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=4cm]{classmo_first_impr_select} +\includegraphics[height=2cm]{classmo_first_impr_select} \end{center} \end{figure} \subsection*{Public Types} @@ -90,7 +90,7 @@ Definition at line 52 of file moFirstImprSelect.h. References moFirstImprSelect$<$ M $>$::best\_\-fit, moFirstImprSelect$<$ M $>$::best\_\-move, moFirstImprSelect$<$ M $>$::init\_\-fit, and moFirstImprSelect$<$ M $>$::valid.\index{moFirstImprSelect@{moFirstImprSelect}!operator()@{operator()}} \index{operator()@{operator()}!moFirstImprSelect@{moFirstImprSelect}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moFirstImprSelect}$<$ M $>$::operator() (M \& {\em \_\-\_\-move}, {\bf Fitness} \& {\em \_\-\_\-fit}) throw ({\bf EmptySelection})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_first_impr_select_3be12cf4cbaed00df7c4fa735b2c0a95} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moFirstImprSelect}$<$ M $>$::operator() (M \& {\em \_\-\_\-move}, {\bf Fitness} \& {\em \_\-\_\-fit}) throw ({\bf EmptySelection})\hspace{0.3cm}{\tt [inline]}}\label{classmo_first_impr_select_3be12cf4cbaed00df7c4fa735b2c0a95} Procedure which saved the best move and fitness. @@ -107,8 +107,6 @@ Procedure which saved the best move and fitness. \end{Desc} -Implements {\bf eoBF$<$ M \&, M::EOType::Fitness \&, void $>$}. - Definition at line 76 of file moFirstImprSelect.h. References moFirstImprSelect$<$ M $>$::best\_\-fit, moFirstImprSelect$<$ M $>$::best\_\-move, and moFirstImprSelect$<$ M $>$::valid. diff --git a/trunk/paradiseo-mo/doc/latex/classmo_fit_comparator.eps b/trunk/paradiseo-mo/doc/latex/classmo_fit_comparator.eps new file mode 100644 index 000000000..802516e3a --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/classmo_fit_comparator.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 242.424 +%%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.0625 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 +(moFitComparator< EOT >) cw +(moComparator< 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 ----- + + (moFitComparator< EOT >) 0 0 box + (moComparator< EOT >) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/trunk/paradiseo-mo/doc/latex/classmo_fit_comparator.tex b/trunk/paradiseo-mo/doc/latex/classmo_fit_comparator.tex new file mode 100644 index 000000000..c58ab9d97 --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/classmo_fit_comparator.tex @@ -0,0 +1,35 @@ +\section{moFitComparator$<$ EOT $>$ Class Template Reference} +\label{classmo_fit_comparator}\index{moFitComparator@{moFitComparator}} +Comparison according to the fitness. + + +{\tt \#include $<$moFitComparator.h$>$} + +Inheritance diagram for moFitComparator$<$ EOT $>$::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{classmo_fit_comparator} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +bool {\bf operator()} (const EOT \&\_\-solution1, const EOT \&\_\-solution2)\label{classmo_fit_comparator_c920d5a49deb16710daf1e5fcde6b16c} + +\end{CompactItemize} + + +\subsection{Detailed Description} +\subsubsection*{template$<$class EOT$>$ class moFitComparator$<$ EOT $>$} + +Comparison according to the fitness. + +An EOT is better than an other if its fitness is better. + + + +Definition at line 20 of file moFitComparator.h. + +The documentation for this class was generated from the following file:\begin{CompactItemize} +\item +moFitComparator.h\end{CompactItemize} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_fit_sol_continue.tex b/trunk/paradiseo-mo/doc/latex/classmo_fit_sol_continue.tex index ac4cb93aa..339ea379b 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_fit_sol_continue.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_fit_sol_continue.tex @@ -1,11 +1,11 @@ -\section{mo\-Fit\-Sol\-Continue$<$ EOT $>$ Class Template Reference} +\section{moFitSolContinue$<$ EOT $>$ Class Template Reference} \label{classmo_fit_sol_continue}\index{moFitSolContinue@{moFitSolContinue}} One possible stop criterion for a solution-based heuristic. -{\tt \#include $<$mo\-Fit\-Sol\-Continue.h$>$} +{\tt \#include $<$moFitSolContinue.h$>$} -Inheritance diagram for mo\-Fit\-Sol\-Continue$<$ EOT $>$::\begin{figure}[H] +Inheritance diagram for moFitSolContinue$<$ EOT $>$::\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=2cm]{classmo_fit_sol_continue} @@ -14,28 +14,28 @@ Inheritance diagram for mo\-Fit\-Sol\-Continue$<$ EOT $>$::\begin{figure}[H] \subsection*{Public Types} \begin{CompactItemize} \item -typedef EOT::Fitness \bf{Fitness}\label{classmo_fit_sol_continue_369ed94a788d8bdc08d5554f7669376f} +typedef EOT::Fitness {\bf Fitness}\label{classmo_fit_sol_continue_369ed94a788d8bdc08d5554f7669376f} \begin{CompactList}\small\item\em Alias for the fitness. \item\end{CompactList}\end{CompactItemize} \subsection*{Public Member Functions} \begin{CompactItemize} \item -\bf{mo\-Fit\-Sol\-Continue} (\bf{Fitness} \_\-\_\-fitness) +{\bf moFitSolContinue} ({\bf Fitness} \_\-\_\-fitness) \begin{CompactList}\small\item\em Basic constructor. \item\end{CompactList}\item -bool \bf{operator()} (const EOT \&\_\-\_\-sol) +bool {\bf operator()} (const EOT \&\_\-\_\-sol) \begin{CompactList}\small\item\em Function that activates the stopping criterion. \item\end{CompactList}\item -void \bf{init} () +void {\bf init} () \begin{CompactList}\small\item\em Procedure which allows to initialise all the stuff needed. \item\end{CompactList}\end{CompactItemize} \subsection*{Private Attributes} \begin{CompactItemize} \item -\bf{Fitness} \bf{fitness}\label{classmo_fit_sol_continue_87d0ba8f2f76f61c89317eed5f094dfc} +{\bf Fitness} {\bf fitness}\label{classmo_fit_sol_continue_87d0ba8f2f76f61c89317eed5f094dfc} \begin{CompactList}\small\item\em Fitness target. \item\end{CompactList}\end{CompactItemize} \subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class mo\-Fit\-Sol\-Continue$<$ EOT $>$} +\subsubsection*{template$<$class EOT$>$ class moFitSolContinue$<$ EOT $>$} One possible stop criterion for a solution-based heuristic. @@ -43,12 +43,12 @@ The stop criterion corresponds to a fitness threshold gained. -Definition at line 21 of file mo\-Fit\-Sol\-Continue.h. +Definition at line 21 of file moFitSolContinue.h. \subsection{Constructor \& Destructor Documentation} -\index{moFitSolContinue@{mo\-Fit\-Sol\-Continue}!moFitSolContinue@{moFitSolContinue}} -\index{moFitSolContinue@{moFitSolContinue}!moFitSolContinue@{mo\-Fit\-Sol\-Continue}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \bf{mo\-Fit\-Sol\-Continue}$<$ EOT $>$::\bf{mo\-Fit\-Sol\-Continue} (\bf{Fitness} {\em \_\-\_\-fitness})\hspace{0.3cm}{\tt [inline]}}\label{classmo_fit_sol_continue_b14f37ba88de4e12583b22f5aabeb682} +\index{moFitSolContinue@{moFitSolContinue}!moFitSolContinue@{moFitSolContinue}} +\index{moFitSolContinue@{moFitSolContinue}!moFitSolContinue@{moFitSolContinue}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ {\bf moFitSolContinue}$<$ EOT $>$::{\bf moFitSolContinue} ({\bf Fitness} {\em \_\-\_\-fitness})\hspace{0.3cm}{\tt [inline]}}\label{classmo_fit_sol_continue_b14f37ba88de4e12583b22f5aabeb682} Basic constructor. @@ -60,12 +60,12 @@ Basic constructor. \end{Desc} -Definition at line 33 of file mo\-Fit\-Sol\-Continue.h. +Definition at line 33 of file moFitSolContinue.h. \subsection{Member Function Documentation} -\index{moFitSolContinue@{mo\-Fit\-Sol\-Continue}!operator()@{operator()}} -\index{operator()@{operator()}!moFitSolContinue@{mo\-Fit\-Sol\-Continue}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ bool \bf{mo\-Fit\-Sol\-Continue}$<$ EOT $>$::operator() (const EOT \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_fit_sol_continue_fa9f0a15f99c998115cae9b456403a27} +\index{moFitSolContinue@{moFitSolContinue}!operator()@{operator()}} +\index{operator()@{operator()}!moFitSolContinue@{moFitSolContinue}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ bool {\bf moFitSolContinue}$<$ EOT $>$::operator() (const EOT \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_fit_sol_continue_fa9f0a15f99c998115cae9b456403a27} Function that activates the stopping criterion. @@ -81,21 +81,21 @@ Indicates if the fitness threshold has not yet been reached. \item[Returns:]true or false according to the value of the fitness. \end{Desc} -Definition at line 43 of file mo\-Fit\-Sol\-Continue.h. +Definition at line 43 of file moFitSolContinue.h. -References mo\-Fit\-Sol\-Continue$<$ EOT $>$::fitness.\index{moFitSolContinue@{mo\-Fit\-Sol\-Continue}!init@{init}} -\index{init@{init}!moFitSolContinue@{mo\-Fit\-Sol\-Continue}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{mo\-Fit\-Sol\-Continue}$<$ EOT $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_fit_sol_continue_670bd895b4edfcd3aebb40d2295d7f7c} +References moFitSolContinue$<$ EOT $>$::fitness.\index{moFitSolContinue@{moFitSolContinue}!init@{init}} +\index{init@{init}!moFitSolContinue@{moFitSolContinue}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void {\bf moFitSolContinue}$<$ EOT $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_fit_sol_continue_670bd895b4edfcd3aebb40d2295d7f7c} Procedure which allows to initialise all the stuff needed. It can be also used to reinitialize all the needed things. -Implements \bf{mo\-Sol\-Continue$<$ EOT $>$} \doxyref{p.}{classmo_sol_continue_064dc966a210f4ffb9515be3f03ca4c7}. +Implements {\bf moSolContinue$<$ EOT $>$} \doxyref{}{p.}{classmo_sol_continue_064dc966a210f4ffb9515be3f03ca4c7}. -Definition at line 57 of file mo\-Fit\-Sol\-Continue.h. +Definition at line 57 of file moFitSolContinue.h. The documentation for this class was generated from the following file:\begin{CompactItemize} \item -mo\-Fit\-Sol\-Continue.h\end{CompactItemize} +moFitSolContinue.h\end{CompactItemize} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_gen_sol_continue.eps b/trunk/paradiseo-mo/doc/latex/classmo_gen_sol_continue.eps index c73c60ba3..c9e65107d 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_gen_sol_continue.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_gen_sol_continue.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 441.989 +%%BoundingBox: 0 0 500 227.273 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 1.13125 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 2.2 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 +/rows 2 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -175,8 +175,6 @@ boxfont setfont 1 boundaspect scale (moGenSolContinue< EOT >) cw (moSolContinue< EOT >) cw -(eoUF< const EOT &, bool >) cw -(eoFunctorBase) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def @@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale (moGenSolContinue< EOT >) 0 0 box (moSolContinue< EOT >) 0 1 box - (eoUF< const EOT &, bool >) 0 2 box - (eoFunctorBase) 0 3 box % ----- relations ----- @@ -199,11 +195,3 @@ 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-mo/doc/latex/classmo_gen_sol_continue.tex b/trunk/paradiseo-mo/doc/latex/classmo_gen_sol_continue.tex index 19c044b84..bb62d1690 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_gen_sol_continue.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_gen_sol_continue.tex @@ -8,7 +8,7 @@ One possible stop criterion for a solution-based heuristic. Inheritance diagram for moGenSolContinue$<$ EOT $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=4cm]{classmo_gen_sol_continue} +\includegraphics[height=2cm]{classmo_gen_sol_continue} \end{center} \end{figure} \subsection*{Public Member Functions} @@ -62,7 +62,7 @@ Definition at line 30 of file moGenSolContinue.h. \subsection{Member Function Documentation} \index{moGenSolContinue@{moGenSolContinue}!operator()@{operator()}} \index{operator()@{operator()}!moGenSolContinue@{moGenSolContinue}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ bool {\bf moGenSolContinue}$<$ EOT $>$::operator() (const EOT \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_gen_sol_continue_457257cd73b474d6f7783d84d02c2e61} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ bool {\bf moGenSolContinue}$<$ EOT $>$::operator() (const EOT \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_gen_sol_continue_457257cd73b474d6f7783d84d02c2e61} Function that activates the stop criterion. @@ -78,8 +78,6 @@ Increments the counter and returns TRUE if the current number of iteration is lo \item[Returns:]TRUE or FALSE according to the current generation number. \end{Desc} -Implements {\bf eoUF$<$ const EOT \&, bool $>$}. - Definition at line 44 of file moGenSolContinue.h. References moGenSolContinue$<$ EOT $>$::maxNumGen, and moGenSolContinue$<$ EOT $>$::numGen.\index{moGenSolContinue@{moGenSolContinue}!init@{init}} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_h_c.eps b/trunk/paradiseo-mo/doc/latex/classmo_h_c.eps index 184d2041a..648f11f20 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_h_c.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_h_c.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 271.739 +%%BoundingBox: 0 0 500 268.456 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,13 +19,13 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 1.84 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 1.8625 def % aspect ratio of the BoundingBox (width/height) /boundx 500 def /boundy boundx boundaspect div def /xspacing 0 def /yspacing 0 def -/rows 5 def -/cols 2 def +/rows 2 def +/cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -175,10 +175,6 @@ boxfont setfont 1 boundaspect scale (moHC< M >) cw (moAlgo< M::EOType >) cw -(eoMonOp< M::EOType >) cw -(eoOp< EOType >) cw -(eoUF< M::EOType &, bool >) cw -(eoFunctorBase) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def @@ -190,32 +186,12 @@ boundx scalefactor div boundy scalefactor div scale % ----- classes ----- - (moHC< M >) 0.5 0 box - (moAlgo< M::EOType >) 0.5 1 box - (eoMonOp< M::EOType >) 0.5 2 box - (eoOp< EOType >) 0 3 box - (eoUF< M::EOType &, bool >) 1 3 box - (eoFunctorBase) 1 4 box + (moHC< M >) 0 0 box + (moAlgo< M::EOType >) 0 1 box % ----- relations ----- solid -0 0.5 0 out +0 0 0 out solid -1 0.5 1 in -solid -0 0.5 1 out -solid -1 0.5 2 in -solid -0 0.5 2 out -solid -0 1 3 conn -solid -1 0 3 in -solid -1 1 3 in -solid -0 1 3 out -solid -1 1 4 in +1 0 1 in diff --git a/trunk/paradiseo-mo/doc/latex/classmo_h_c.tex b/trunk/paradiseo-mo/doc/latex/classmo_h_c.tex index b402914eb..43d27ff2b 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_h_c.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_h_c.tex @@ -8,15 +8,15 @@ Hill Climbing (HC). Inheritance diagram for moHC$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=5cm]{classmo_h_c} +\includegraphics[height=2cm]{classmo_h_c} \end{center} \end{figure} \subsection*{Public Member Functions} \begin{CompactItemize} \item -{\bf moHC} ({\bf moMoveInit}$<$ M $>$ \&\_\-\_\-move\_\-init, {\bf moNextMove}$<$ M $>$ \&\_\-\_\-next\_\-move, {\bf moMoveIncrEval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, {\bf moMoveSelect}$<$ M $>$ \&\_\-\_\-move\_\-select, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval) +{\bf moHC} ({\bf moMoveInit}$<$ M $>$ \&\_\-\_\-move\_\-init, {\bf moNextMove}$<$ M $>$ \&\_\-\_\-next\_\-move, {\bf moMoveIncrEval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, {\bf moMoveSelect}$<$ M $>$ \&\_\-\_\-move\_\-select, eoEvalFunc$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval) \begin{CompactList}\small\item\em Full constructor. \item\end{CompactList}\item -{\bf moHC} ({\bf moMoveExpl}$<$ M $>$ \&\_\-\_\-move\_\-expl, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval) +{\bf moHC} ({\bf moMoveExpl}$<$ M $>$ \&\_\-\_\-move\_\-expl, eoEvalFunc$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval) \begin{CompactList}\small\item\em Light constructor. \item\end{CompactList}\item bool {\bf operator()} ({\bf EOT} \&\_\-\_\-sol) \begin{CompactList}\small\item\em Function which launches the HC. \item\end{CompactList}\end{CompactItemize} @@ -35,7 +35,7 @@ typedef EOT::Fitness {\bf Fitness}\label{classmo_h_c_56487c97a7cf0c423cc879d1bbd {\bf moMoveExpl}$<$ M $>$ \& {\bf move\_\-expl}\label{classmo_h_c_f6bfb4553fb699f1e08f7d9c37d06103} \begin{CompactList}\small\item\em Complete exploration of the neighborhood. \item\end{CompactList}\item -{\bf eoEvalFunc}$<$ {\bf EOT} $>$ \& {\bf full\_\-eval}\label{classmo_h_c_4b0d5cc70fc3d83f59a48b2bdea65736} +eoEvalFunc$<$ {\bf EOT} $>$ \& {\bf full\_\-eval}\label{classmo_h_c_4b0d5cc70fc3d83f59a48b2bdea65736} \begin{CompactList}\small\item\em A full evaluation function. \item\end{CompactList}\end{CompactItemize} @@ -54,7 +54,7 @@ Definition at line 26 of file moHC.h. \subsection{Constructor \& Destructor Documentation} \index{moHC@{moHC}!moHC@{moHC}} \index{moHC@{moHC}!moHC@{moHC}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moHC}$<$ M $>$::{\bf moHC} ({\bf moMoveInit}$<$ M $>$ \& {\em \_\-\_\-move\_\-init}, {\bf moNextMove}$<$ M $>$ \& {\em \_\-\_\-next\_\-move}, {\bf moMoveIncrEval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, {\bf moMoveSelect}$<$ M $>$ \& {\em \_\-\_\-move\_\-select}, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_h_c_6cafe093f86a80c225827884cb9dc5b7} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moHC}$<$ M $>$::{\bf moHC} ({\bf moMoveInit}$<$ M $>$ \& {\em \_\-\_\-move\_\-init}, {\bf moNextMove}$<$ M $>$ \& {\em \_\-\_\-next\_\-move}, {\bf moMoveIncrEval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, {\bf moMoveSelect}$<$ M $>$ \& {\em \_\-\_\-move\_\-select}, eoEvalFunc$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_h_c_6cafe093f86a80c225827884cb9dc5b7} Full constructor. @@ -70,7 +70,7 @@ All the boxes are given in order the HC to use a \doxyref{moHCMoveLoopExpl}{p.}{ Definition at line 53 of file moHC.h.\index{moHC@{moHC}!moHC@{moHC}} \index{moHC@{moHC}!moHC@{moHC}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moHC}$<$ M $>$::{\bf moHC} ({\bf moMoveExpl}$<$ M $>$ \& {\em \_\-\_\-move\_\-expl}, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_h_c_45f27309792e584a27fa6dcb86ccda65} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moHC}$<$ M $>$::{\bf moHC} ({\bf moMoveExpl}$<$ M $>$ \& {\em \_\-\_\-move\_\-expl}, eoEvalFunc$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_h_c_45f27309792e584a27fa6dcb86ccda65} Light constructor. @@ -89,7 +89,7 @@ Definition at line 67 of file moHC.h. \subsection{Member Function Documentation} \index{moHC@{moHC}!operator()@{operator()}} \index{operator()@{operator()}!moHC@{moHC}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moHC}$<$ M $>$::operator() ({\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_h_c_ed4e273c420efa6386c5975a696a5010} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moHC}$<$ M $>$::operator() ({\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_h_c_ed4e273c420efa6386c5975a696a5010} Function which launches the HC. @@ -105,8 +105,6 @@ The HC has to improve a current solution. As the \doxyref{moSA}{p.}{classmo_s_a} \item[Returns:]TRUE. \end{Desc} -Implements {\bf eoUF$<$ M::EOType \&, bool $>$}. - Definition at line 82 of file moHC.h. References moHC$<$ M $>$::full\_\-eval, and moHC$<$ M $>$::move\_\-expl. diff --git a/trunk/paradiseo-mo/doc/latex/classmo_h_c_move_loop_expl.eps b/trunk/paradiseo-mo/doc/latex/classmo_h_c_move_loop_expl.eps index 1240e010d..1383bbf1b 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_h_c_move_loop_expl.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_h_c_move_loop_expl.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 327.869 +%%BoundingBox: 0 0 500 346.821 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 1.525 def % aspect ratio of the BoundingBox (width/height) +/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 5 def +/rows 3 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -176,8 +176,6 @@ boxfont setfont (moHCMoveLoopExpl< M >) cw (moMoveLoopExpl< M >) cw (moMoveExpl< M >) cw -(eoBF< const M::EOType &, M::EOType &, void >) cw -(eoFunctorBase) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def @@ -192,8 +190,6 @@ boundx scalefactor div boundy scalefactor div scale (moHCMoveLoopExpl< M >) 0 0 box (moMoveLoopExpl< M >) 0 1 box (moMoveExpl< M >) 0 2 box - (eoBF< const M::EOType &, M::EOType &, void >) 0 3 box - (eoFunctorBase) 0 4 box % ----- relations ----- @@ -205,11 +201,3 @@ solid 0 0 1 out solid 1 0 2 in -solid -0 0 2 out -solid -1 0 3 in -solid -0 0 3 out -solid -1 0 4 in diff --git a/trunk/paradiseo-mo/doc/latex/classmo_h_c_move_loop_expl.tex b/trunk/paradiseo-mo/doc/latex/classmo_h_c_move_loop_expl.tex index 776f8a638..3065c7226 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_h_c_move_loop_expl.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_h_c_move_loop_expl.tex @@ -8,7 +8,7 @@ Iterative explorer used by a \doxyref{moHC}{p.}{classmo_h_c}. Inheritance diagram for moHCMoveLoopExpl$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=5cm]{classmo_h_c_move_loop_expl} +\includegraphics[height=3cm]{classmo_h_c_move_loop_expl} \end{center} \end{figure} \subsection*{Public Member Functions} @@ -75,7 +75,7 @@ Definition at line 43 of file moHCMoveLoopExpl.h. \subsection{Member Function Documentation} \index{moHCMoveLoopExpl@{moHCMoveLoopExpl}!operator()@{operator()}} \index{operator()@{operator()}!moHCMoveLoopExpl@{moHCMoveLoopExpl}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moHCMoveLoopExpl}$<$ M $>$::operator() (const {\bf EOT} \& {\em \_\-\_\-old\_\-sol}, {\bf EOT} \& {\em \_\-\_\-new\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_h_c_move_loop_expl_f48d5379caac7f6a165e9fe8840e6ccb} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moHCMoveLoopExpl}$<$ M $>$::operator() (const {\bf EOT} \& {\em \_\-\_\-old\_\-sol}, {\bf EOT} \& {\em \_\-\_\-new\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_h_c_move_loop_expl_f48d5379caac7f6a165e9fe8840e6ccb} Procedure which launches the explorer. @@ -89,8 +89,6 @@ The exploration starts from an old solution and provides a new solution. \end{Desc} -Implements {\bf eoBF$<$ const M::EOType \&, M::EOType \&, void $>$}. - Definition at line 59 of file moHCMoveLoopExpl.h. References moHCMoveLoopExpl$<$ M $>$::incr\_\-eval, moHCMoveLoopExpl$<$ M $>$::move\_\-init, moHCMoveLoopExpl$<$ M $>$::move\_\-select, and moHCMoveLoopExpl$<$ M $>$::next\_\-move. diff --git a/trunk/paradiseo-mo/doc/latex/classmo_i_l_s.eps b/trunk/paradiseo-mo/doc/latex/classmo_i_l_s.eps new file mode 100644 index 000000000..1073e2446 --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/classmo_i_l_s.eps @@ -0,0 +1,197 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: ClassName +%%Creator: Doxygen +%%CreationDate: Time +%%For: +%Magnification: 1.00 +%%Orientation: Portrait +%%BoundingBox: 0 0 500 268.456 +%%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.8625 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 +(moILS< M >) cw +(moAlgo< M::EOType >) 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 ----- + + (moILS< M >) 0 0 box + (moAlgo< M::EOType >) 0 1 box + +% ----- relations ----- + +solid +0 0 0 out +solid +1 0 1 in diff --git a/trunk/paradiseo-mo/doc/latex/classmo_i_l_s.tex b/trunk/paradiseo-mo/doc/latex/classmo_i_l_s.tex new file mode 100644 index 000000000..4e47a90c4 --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/classmo_i_l_s.tex @@ -0,0 +1,153 @@ +\section{moILS$<$ M $>$ Class Template Reference} +\label{classmo_i_l_s}\index{moILS@{moILS}} +Iterated Local Search (ILS). + + +{\tt \#include $<$moILS.h$>$} + +Inheritance diagram for moILS$<$ M $>$::\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[height=2cm]{classmo_i_l_s} +\end{center} +\end{figure} +\subsection*{Public Member Functions} +\begin{CompactItemize} +\item +{\bf moILS} ({\bf moAlgo}$<$ {\bf EOT} $>$ \&\_\-\_\-algo, {\bf moSolContinue}$<$ {\bf EOT} $>$ \&\_\-\_\-continue, {\bf moComparator}$<$ {\bf EOT} $>$ \&\_\-\_\-acceptance\_\-criterion, eoMonOp$<$ {\bf EOT} $>$ \&\_\-\_\-perturbation, eoEvalFunc$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval) +\begin{CompactList}\small\item\em Generic constructor. \item\end{CompactList}\item +{\bf moILS} ({\bf moMoveInit}$<$ M $>$ \&\_\-\_\-move\_\-init, {\bf moNextMove}$<$ M $>$ \&\_\-\_\-next\_\-move, {\bf moMoveIncrEval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, {\bf moMoveSelect}$<$ M $>$ \&\_\-\_\-move\_\-select, {\bf moSolContinue}$<$ {\bf EOT} $>$ \&\_\-\_\-continue, {\bf moComparator}$<$ {\bf EOT} $>$ \&\_\-\_\-acceptance\_\-criterion, eoMonOp$<$ {\bf EOT} $>$ \&\_\-\_\-perturbation, eoEvalFunc$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval) +\begin{CompactList}\small\item\em Constructor for using a \doxyref{moHC}{p.}{classmo_h_c} for the \doxyref{moAlgo}{p.}{classmo_algo}. \item\end{CompactList}\item +{\bf moILS} ({\bf moMoveInit}$<$ M $>$ \&\_\-\_\-move\_\-init, {\bf moNextMove}$<$ M $>$ \&\_\-\_\-next\_\-move, {\bf moMoveIncrEval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, {\bf moTabuList}$<$ M $>$ \&\_\-\_\-tabu\_\-list, {\bf moAspirCrit}$<$ M $>$ \&\_\-\_\-aspir\_\-crit, {\bf moSolContinue}$<$ {\bf EOT} $>$ \&\_\-\_\-moTS\_\-continue, {\bf moSolContinue}$<$ {\bf EOT} $>$ \&\_\-\_\-continue, {\bf moComparator}$<$ {\bf EOT} $>$ \&\_\-\_\-acceptance\_\-criterion, eoMonOp$<$ {\bf EOT} $>$ \&\_\-\_\-perturbation, eoEvalFunc$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval) +\begin{CompactList}\small\item\em Constructor for using a \doxyref{moTS}{p.}{classmo_t_s} for the \doxyref{moAlgo}{p.}{classmo_algo}. \item\end{CompactList}\item +{\bf moILS} ({\bf moRandMove}$<$ M $>$ \&\_\-\_\-move\_\-rand, {\bf moMoveIncrEval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, {\bf moSolContinue}$<$ {\bf EOT} $>$ \&\_\-\_\-moSA\_\-continue, double \_\-\_\-init\_\-temp, {\bf moCoolingSchedule} \&\_\-\_\-cool\_\-sched, {\bf moSolContinue}$<$ {\bf EOT} $>$ \&\_\-\_\-continue, {\bf moComparator}$<$ {\bf EOT} $>$ \&\_\-\_\-acceptance\_\-criterion, eoMonOp$<$ {\bf EOT} $>$ \&\_\-\_\-perturbation, eoEvalFunc$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval) +\begin{CompactList}\small\item\em Constructor for using a \doxyref{moTS}{p.}{classmo_t_s} for the \doxyref{moAlgo}{p.}{classmo_algo}. \item\end{CompactList}\item +bool {\bf operator()} ({\bf EOT} \&\_\-\_\-sol) +\begin{CompactList}\small\item\em Function which launches the ILS. \item\end{CompactList}\end{CompactItemize} +\subsection*{Private Types} +\begin{CompactItemize} +\item +typedef M::EOType {\bf EOT}\label{classmo_i_l_s_c81bafc611e4d4fd44347cf7162198c7} + +\begin{CompactList}\small\item\em Alias for the type. \item\end{CompactList}\item +typedef EOT::Fitness {\bf Fitness}\label{classmo_i_l_s_8c464a9eae064a78eff75d4c722b619c} + +\begin{CompactList}\small\item\em Alias for the fitness. \item\end{CompactList}\end{CompactItemize} +\subsection*{Private Attributes} +\begin{CompactItemize} +\item +{\bf moAlgo}$<$ {\bf EOT} $>$ \& {\bf algo}\label{classmo_i_l_s_8373e40b60afdd761789a97b47adece9} + +\begin{CompactList}\small\item\em The solution based heuristic. \item\end{CompactList}\item +{\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\bf cont}\label{classmo_i_l_s_c3046ba0a31a35470391987ac37afd64} + +\begin{CompactList}\small\item\em The stopping criterion. \item\end{CompactList}\item +{\bf moComparator}$<$ {\bf EOT} $>$ \& {\bf acceptance\_\-criterion}\label{classmo_i_l_s_295f6d0342c67bd3dc4cb82e2adc26be} + +\begin{CompactList}\small\item\em The acceptance criterion. \item\end{CompactList}\item +eoMonOp$<$ {\bf EOT} $>$ \& {\bf perturbation}\label{classmo_i_l_s_f667a1bda06b6d221292df9aba3db8a2} + +\begin{CompactList}\small\item\em The perturbation generator. \item\end{CompactList}\item +eoEvalFunc$<$ {\bf EOT} $>$ \& {\bf full\_\-eval}\label{classmo_i_l_s_8000f02fac668d51026e458c9febce7c} + +\begin{CompactList}\small\item\em The full evaluation function. \item\end{CompactList}\end{CompactItemize} + + +\subsection{Detailed Description} +\subsubsection*{template$<$class M$>$ class moILS$<$ M $>$} + +Iterated Local Search (ILS). + +Class which describes the algorithm for a iterated local search. + + + +Definition at line 25 of file moILS.h. + +\subsection{Constructor \& Destructor Documentation} +\index{moILS@{moILS}!moILS@{moILS}} +\index{moILS@{moILS}!moILS@{moILS}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moILS}$<$ M $>$::{\bf moILS} ({\bf moAlgo}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-algo}, {\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-continue}, {\bf moComparator}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-acceptance\_\-criterion}, eoMonOp$<$ {\bf EOT} $>$ \& {\em \_\-\_\-perturbation}, eoEvalFunc$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_i_l_s_f7f2fc1f905954d78edcec0e3ca53551} + + +Generic constructor. + +Generic constructor using a \doxyref{moAlgo}{p.}{classmo_algo} + +\begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em \_\-\_\-algo}]The solution based heuristic to use. \item[{\em \_\-\_\-continue}]The stopping criterion. \item[{\em \_\-\_\-acceptance\_\-criterion}]The acceptance criterion. \item[{\em \_\-\_\-perturbation}]The pertubation generator. \item[{\em \_\-\_\-full\_\-eval}]The evaluation function. \end{description} +\end{Desc} + + +Definition at line 46 of file moILS.h.\index{moILS@{moILS}!moILS@{moILS}} +\index{moILS@{moILS}!moILS@{moILS}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moILS}$<$ M $>$::{\bf moILS} ({\bf moMoveInit}$<$ M $>$ \& {\em \_\-\_\-move\_\-init}, {\bf moNextMove}$<$ M $>$ \& {\em \_\-\_\-next\_\-move}, {\bf moMoveIncrEval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, {\bf moMoveSelect}$<$ M $>$ \& {\em \_\-\_\-move\_\-select}, {\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-continue}, {\bf moComparator}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-acceptance\_\-criterion}, eoMonOp$<$ {\bf EOT} $>$ \& {\em \_\-\_\-perturbation}, eoEvalFunc$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_i_l_s_c4ebdab294ee1085ddcb9bf2a6882cf0} + + +Constructor for using a \doxyref{moHC}{p.}{classmo_h_c} for the \doxyref{moAlgo}{p.}{classmo_algo}. + +\begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em \_\-\_\-move\_\-init}]The move initialisation (for the \doxyref{moHC}{p.}{classmo_h_c}). \item[{\em \_\-\_\-next\_\-move}]The move generator (for the \doxyref{moHC}{p.}{classmo_h_c}). \item[{\em \_\-\_\-incr\_\-eval}]The partial evaluation function (for the \doxyref{moHC}{p.}{classmo_h_c}). \item[{\em \_\-\_\-move\_\-select}]The move selection strategy (for the \doxyref{moHC}{p.}{classmo_h_c}). \item[{\em \_\-\_\-continue}]The stopping criterion. \item[{\em \_\-\_\-acceptance\_\-criterion}]The acceptance criterion. \item[{\em \_\-\_\-perturbation}]The pertubation generator. \item[{\em \_\-\_\-full\_\-eval}]The evaluation function. \end{description} +\end{Desc} + + +Definition at line 62 of file moILS.h.\index{moILS@{moILS}!moILS@{moILS}} +\index{moILS@{moILS}!moILS@{moILS}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moILS}$<$ M $>$::{\bf moILS} ({\bf moMoveInit}$<$ M $>$ \& {\em \_\-\_\-move\_\-init}, {\bf moNextMove}$<$ M $>$ \& {\em \_\-\_\-next\_\-move}, {\bf moMoveIncrEval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, {\bf moTabuList}$<$ M $>$ \& {\em \_\-\_\-tabu\_\-list}, {\bf moAspirCrit}$<$ M $>$ \& {\em \_\-\_\-aspir\_\-crit}, {\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-moTS\_\-continue}, {\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-continue}, {\bf moComparator}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-acceptance\_\-criterion}, eoMonOp$<$ {\bf EOT} $>$ \& {\em \_\-\_\-perturbation}, eoEvalFunc$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_i_l_s_d27e3435b8f6592091431fde6f185769} + + +Constructor for using a \doxyref{moTS}{p.}{classmo_t_s} for the \doxyref{moAlgo}{p.}{classmo_algo}. + +\begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em \_\-\_\-move\_\-init}]The move initialisation (for the \doxyref{moTS}{p.}{classmo_t_s}). \item[{\em \_\-\_\-next\_\-move}]The move generator (for the \doxyref{moTS}{p.}{classmo_t_s}). \item[{\em \_\-\_\-incr\_\-eval}]The partial evaluation function (for the \doxyref{moTS}{p.}{classmo_t_s}). \item[{\em \_\-\_\-tabu\_\-list}]The tabu list (for the \doxyref{moTS}{p.}{classmo_t_s} !!!!). \item[{\em \_\-\_\-aspir\_\-crit}]The aspiration criterion (for the \doxyref{moTS}{p.}{classmo_t_s}). \item[{\em \_\-\_\-moTS\_\-continue}]The stopping criterion (for the \doxyref{moTS}{p.}{classmo_t_s}). \item[{\em \_\-\_\-continue}]The stopping criterion. \item[{\em \_\-\_\-acceptance\_\-criterion}]The acceptance criterion. \item[{\em \_\-\_\-perturbation}]The pertubation generator. \item[{\em \_\-\_\-full\_\-eval}]The evaluation function. \end{description} +\end{Desc} + + +Definition at line 82 of file moILS.h.\index{moILS@{moILS}!moILS@{moILS}} +\index{moILS@{moILS}!moILS@{moILS}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moILS}$<$ M $>$::{\bf moILS} ({\bf moRandMove}$<$ M $>$ \& {\em \_\-\_\-move\_\-rand}, {\bf moMoveIncrEval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, {\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-moSA\_\-continue}, double {\em \_\-\_\-init\_\-temp}, {\bf moCoolingSchedule} \& {\em \_\-\_\-cool\_\-sched}, {\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-continue}, {\bf moComparator}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-acceptance\_\-criterion}, eoMonOp$<$ {\bf EOT} $>$ \& {\em \_\-\_\-perturbation}, eoEvalFunc$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_i_l_s_292acc5218e8f148e8b174f183820696} + + +Constructor for using a \doxyref{moTS}{p.}{classmo_t_s} for the \doxyref{moAlgo}{p.}{classmo_algo}. + +\begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em \_\-\_\-move\_\-rand}]The random move generator (for the \doxyref{moSA}{p.}{classmo_s_a}). \item[{\em \_\-\_\-incr\_\-eval}]The partial evaluation function (for the \doxyref{moSA}{p.}{classmo_s_a}). \item[{\em \_\-\_\-moSA\_\-continue}]The stopping criterion (for the \doxyref{moSA}{p.}{classmo_s_a}). \item[{\em \_\-\_\-init\_\-temp}]The initial temperature (for the \doxyref{moSA}{p.}{classmo_s_a}). \item[{\em \_\-\_\-cool\_\-sched}]The cooling scheduler (for the \doxyref{moSA}{p.}{classmo_s_a}). \item[{\em \_\-\_\-continue}]The stopping criterion. \item[{\em \_\-\_\-acceptance\_\-criterion}]The acceptance criterion. \item[{\em \_\-\_\-perturbation}]The pertubation generator. \item[{\em \_\-\_\-full\_\-eval}]The evaluation function. \end{description} +\end{Desc} + + +Definition at line 102 of file moILS.h. + +\subsection{Member Function Documentation} +\index{moILS@{moILS}!operator()@{operator()}} +\index{operator()@{operator()}!moILS@{moILS}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moILS}$<$ M $>$::operator() ({\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_i_l_s_b3954a77b43fee31122d2a210b2a82d7} + + +Function which launches the ILS. + +The ILS has to improve a current solution. As the \doxyref{moSA}{p.}{classmo_s_a}, the \doxyref{moTS}{p.}{classmo_t_s} and the \doxyref{moHC}{p.}{classmo_h_c}, it can be used for HYBRIDATION in an evolutionnary algorithm. + +\begin{Desc} +\item[Parameters:] +\begin{description} +\item[{\em \_\-\_\-sol}]a current solution to improve. \end{description} +\end{Desc} +\begin{Desc} +\item[Returns:]TRUE. \end{Desc} + + +Definition at line 119 of file moILS.h. + +References moILS$<$ M $>$::acceptance\_\-criterion, moILS$<$ M $>$::algo, moILS$<$ M $>$::cont, moILS$<$ M $>$::full\_\-eval, and moILS$<$ M $>$::perturbation. + +The documentation for this class was generated from the following file:\begin{CompactItemize} +\item +moILS.h\end{CompactItemize} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_impr_best_fit_aspir_crit.eps b/trunk/paradiseo-mo/doc/latex/classmo_impr_best_fit_aspir_crit.eps index b569936e2..41cee35a0 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_impr_best_fit_aspir_crit.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_impr_best_fit_aspir_crit.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 239.521 +%%BoundingBox: 0 0 500 218.579 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 2.0875 def % aspect ratio of the BoundingBox (width/height) +/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 4 def +/rows 2 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -175,8 +175,6 @@ boxfont setfont 1 boundaspect scale (moImprBestFitAspirCrit< M >) cw (moAspirCrit< M >) cw -(eoBF< const M &, const M::EOType::Fitness &, bool >) cw -(eoFunctorBase) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def @@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale (moImprBestFitAspirCrit< M >) 0 0 box (moAspirCrit< M >) 0 1 box - (eoBF< const M &, const M::EOType::Fitness &, bool >) 0 2 box - (eoFunctorBase) 0 3 box % ----- relations ----- @@ -199,11 +195,3 @@ 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-mo/doc/latex/classmo_impr_best_fit_aspir_crit.tex b/trunk/paradiseo-mo/doc/latex/classmo_impr_best_fit_aspir_crit.tex index 6647d77fa..5d9b8e803 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_impr_best_fit_aspir_crit.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_impr_best_fit_aspir_crit.tex @@ -8,7 +8,7 @@ One of the possible \doxyref{moAspirCrit}{p.}{classmo_aspir_crit}. Inheritance diagram for moImprBestFitAspirCrit$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=4cm]{classmo_impr_best_fit_aspir_crit} +\includegraphics[height=2cm]{classmo_impr_best_fit_aspir_crit} \end{center} \end{figure} \subsection*{Public Types} @@ -53,7 +53,7 @@ Definition at line 22 of file moImprBestFitAspirCrit.h. \subsection{Member Function Documentation} \index{moImprBestFitAspirCrit@{moImprBestFitAspirCrit}!operator()@{operator()}} \index{operator()@{operator()}!moImprBestFitAspirCrit@{moImprBestFitAspirCrit}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moImprBestFitAspirCrit}$<$ M $>$::operator() (const M \& {\em \_\-\_\-move}, const {\bf Fitness} \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_impr_best_fit_aspir_crit_53f62fb56dcae3051a741f1fddb0204b} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moImprBestFitAspirCrit}$<$ M $>$::operator() (const M \& {\em \_\-\_\-move}, const {\bf Fitness} \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [inline]}}\label{classmo_impr_best_fit_aspir_crit_53f62fb56dcae3051a741f1fddb0204b} Function that indicates if the fit is better that the already saved fit. @@ -69,8 +69,6 @@ The first time, the function only saved the current move and fitness. \item[Returns:]TRUE the first time and if \_\-\_\-fit $>$ best\_\-fit, else FALSE. \end{Desc} -Implements {\bf eoBF$<$ const M \&, const M::EOType::Fitness \&, bool $>$}. - Definition at line 52 of file moImprBestFitAspirCrit.h. References moImprBestFitAspirCrit$<$ M $>$::best\_\-fit, and moImprBestFitAspirCrit$<$ M $>$::first\_\-time. diff --git a/trunk/paradiseo-mo/doc/latex/classmo_it_rand_next_move.eps b/trunk/paradiseo-mo/doc/latex/classmo_it_rand_next_move.eps index 3c5267824..bc4ea56dc 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_it_rand_next_move.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_it_rand_next_move.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 316.206 +%%BoundingBox: 0 0 500 245.399 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 1.58125 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 2.0375 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 +/rows 2 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -175,8 +175,6 @@ boxfont setfont 1 boundaspect scale (moItRandNextMove< M >) cw (moNextMove< M >) cw -(eoBF< M &, const M::EOType &, bool >) cw -(eoFunctorBase) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def @@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale (moItRandNextMove< M >) 0 0 box (moNextMove< M >) 0 1 box - (eoBF< M &, const M::EOType &, bool >) 0 2 box - (eoFunctorBase) 0 3 box % ----- relations ----- @@ -199,11 +195,3 @@ 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-mo/doc/latex/classmo_it_rand_next_move.tex b/trunk/paradiseo-mo/doc/latex/classmo_it_rand_next_move.tex index e7abc9a90..f74e8150a 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_it_rand_next_move.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_it_rand_next_move.tex @@ -8,7 +8,7 @@ One of the possible \doxyref{moNextMove}{p.}{classmo_next_move}. Inheritance diagram for moItRandNextMove$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=4cm]{classmo_it_rand_next_move} +\includegraphics[height=2cm]{classmo_it_rand_next_move} \end{center} \end{figure} \subsection*{Public Member Functions} @@ -57,7 +57,7 @@ Definition at line 22 of file moItRandNextMove.h. The constructor. -{\bf Parameters} only for initialising the attributes. +Parameters only for initialising the attributes. \begin{Desc} \item[Parameters:] @@ -71,7 +71,7 @@ Definition at line 37 of file moItRandNextMove.h. \subsection{Member Function Documentation} \index{moItRandNextMove@{moItRandNextMove}!operator()@{operator()}} \index{operator()@{operator()}!moItRandNextMove@{moItRandNextMove}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moItRandNextMove}$<$ M $>$::operator() (M \& {\em \_\-\_\-move}, const {\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_it_rand_next_move_92a2fbbc02a20853b9a309e99018a102} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moItRandNextMove}$<$ M $>$::operator() (M \& {\em \_\-\_\-move}, const {\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_it_rand_next_move_92a2fbbc02a20853b9a309e99018a102} Generation of a new move. @@ -87,8 +87,6 @@ If the maximum number is not already reached, the current move is forgotten and \item[Returns:]FALSE if the maximum number of iteration is reached, else TRUE. \end{Desc} -Implements {\bf eoBF$<$ M \&, const M::EOType \&, bool $>$}. - Definition at line 52 of file moItRandNextMove.h. References moItRandNextMove$<$ M $>$::max\_\-iter, moItRandNextMove$<$ M $>$::num\_\-iter, and moItRandNextMove$<$ M $>$::rand\_\-move. diff --git a/trunk/paradiseo-mo/doc/latex/classmo_l_s_check_point.tex b/trunk/paradiseo-mo/doc/latex/classmo_l_s_check_point.tex index b9d378132..13bd383b8 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_l_s_check_point.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_l_s_check_point.tex @@ -5,23 +5,17 @@ Class which allows a checkpointing system. {\tt \#include $<$moLSCheckPoint.h$>$} -Inheritance diagram for moLSCheckPoint$<$ M $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{classmo_l_s_check_point} -\end{center} -\end{figure} \subsection*{Public Member Functions} \begin{CompactItemize} \item void {\bf operator()} (const M \&\_\-\_\-move, const typename M::EOType \&\_\-\_\-sol) \begin{CompactList}\small\item\em Function which launches the checkpointing. \item\end{CompactList}\item -void {\bf add} ({\bf eoBF}$<$ const M \&, const typename M::EOType \&, void $>$ \&\_\-\_\-f) +void {\bf add} (eoBF$<$ const M \&, const typename M::EOType \&, void $>$ \&\_\-\_\-f) \begin{CompactList}\small\item\em Procedure which add a new function to the function vector. \item\end{CompactList}\end{CompactItemize} \subsection*{Private Attributes} \begin{CompactItemize} \item -std::vector$<$ {\bf eoBF}$<$ const M \&, const typename M::EOType \&, void $>$ $\ast$ $>$ {\bf func}\label{classmo_l_s_check_point_ff2a31ee5689a804bd9a572c51a36ca4} +std::vector$<$ eoBF$<$ const M \&, const typename M::EOType \&, void $>$ $\ast$ $>$ {\bf func}\label{classmo_l_s_check_point_ff2a31ee5689a804bd9a572c51a36ca4} \begin{CompactList}\small\item\em vector of function \item\end{CompactList}\end{CompactItemize} @@ -58,7 +52,7 @@ Definition at line 34 of file moLSCheckPoint.h. References moLSCheckPoint$<$ M $>$::func.\index{moLSCheckPoint@{moLSCheckPoint}!add@{add}} \index{add@{add}!moLSCheckPoint@{moLSCheckPoint}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moLSCheckPoint}$<$ M $>$::add ({\bf eoBF}$<$ const M \&, const typename M::EOType \&, void $>$ \& {\em \_\-\_\-f})\hspace{0.3cm}{\tt [inline]}}\label{classmo_l_s_check_point_66be5fe2944bcdd752f1e58105e969a6} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moLSCheckPoint}$<$ M $>$::add (eoBF$<$ const M \&, const typename M::EOType \&, void $>$ \& {\em \_\-\_\-f})\hspace{0.3cm}{\tt [inline]}}\label{classmo_l_s_check_point_66be5fe2944bcdd752f1e58105e969a6} Procedure which add a new function to the function vector. diff --git a/trunk/paradiseo-mo/doc/latex/classmo_linear_cooling_schedule.eps b/trunk/paradiseo-mo/doc/latex/classmo_linear_cooling_schedule.eps index 3e62629a9..35d64af4d 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_linear_cooling_schedule.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_linear_cooling_schedule.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 476.19 +%%BoundingBox: 0 0 500 238.095 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 1.05 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 2.1 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 +/rows 2 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -175,8 +175,6 @@ boxfont setfont 1 boundaspect scale (moLinearCoolingSchedule) cw (moCoolingSchedule) cw -(eoUF< double &, bool >) cw -(eoFunctorBase) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def @@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale (moLinearCoolingSchedule) 0 0 box (moCoolingSchedule) 0 1 box - (eoUF< double &, bool >) 0 2 box - (eoFunctorBase) 0 3 box % ----- relations ----- @@ -199,11 +195,3 @@ 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-mo/doc/latex/classmo_linear_cooling_schedule.tex b/trunk/paradiseo-mo/doc/latex/classmo_linear_cooling_schedule.tex index 59b77e02d..971b3203b 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_linear_cooling_schedule.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_linear_cooling_schedule.tex @@ -8,7 +8,7 @@ One of the possible \doxyref{moCoolingSchedule}{p.}{classmo_cooling_schedule}. Inheritance diagram for moLinearCoolingSchedule::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=4cm]{classmo_linear_cooling_schedule} +\includegraphics[height=2cm]{classmo_linear_cooling_schedule} \end{center} \end{figure} \subsection*{Public Member Functions} @@ -58,7 +58,7 @@ Definition at line 31 of file moLinearCoolingSchedule.h. \subsection{Member Function Documentation} \index{moLinearCoolingSchedule@{moLinearCoolingSchedule}!operator()@{operator()}} \index{operator()@{operator()}!moLinearCoolingSchedule@{moLinearCoolingSchedule}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool moLinearCoolingSchedule::operator() (double \& {\em \_\-\_\-temp})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_linear_cooling_schedule_814b109fdfd9426a92a5444b05014da3} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool moLinearCoolingSchedule::operator() (double \& {\em \_\-\_\-temp})\hspace{0.3cm}{\tt [inline]}}\label{classmo_linear_cooling_schedule_814b109fdfd9426a92a5444b05014da3} Function which proceeds to the cooling. @@ -74,8 +74,6 @@ It decreases the temperature and indicates if it is greater than the threshold. \item[Returns:]if the new temperature (current temperature - quantity) is greater than the threshold. \end{Desc} -Implements {\bf eoUF$<$ double \&, bool $>$}. - Definition at line 41 of file moLinearCoolingSchedule.h. References quantity, and threshold. diff --git a/trunk/paradiseo-mo/doc/latex/classmo_move.tex b/trunk/paradiseo-mo/doc/latex/classmo_move.tex index e178fa21e..61a06c1fb 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_move.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_move.tex @@ -5,12 +5,6 @@ Definition of a move. {\tt \#include $<$moMove.h$>$} -Inheritance diagram for moMove$<$ EOT $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{classmo_move} -\end{center} -\end{figure} \subsection*{Public Types} \begin{CompactItemize} \item diff --git a/trunk/paradiseo-mo/doc/latex/classmo_move_expl.eps b/trunk/paradiseo-mo/doc/latex/classmo_move_expl.eps index 18fb8889f..708dd0b50 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_move_expl.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_move_expl.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 163.934 +%%BoundingBox: 0 0 500 173.41 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 3.05 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 2.88333 def % aspect ratio of the BoundingBox (width/height) /boundx 500 def /boundy boundx boundaspect div def /xspacing 0 def /yspacing 0 def -/rows 5 def +/rows 3 def /cols 2 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -174,8 +174,6 @@ boxfont setfont 1 boundaspect scale (moMoveExpl< M >) cw -(eoBF< const M::EOType &, M::EOType &, void >) cw -(eoFunctorBase) cw (moMoveLoopExpl< M >) cw (moHCMoveLoopExpl< M >) cw (moTSMoveLoopExpl< M >) cw @@ -191,22 +189,12 @@ boundx scalefactor div boundy scalefactor div scale % ----- classes ----- (moMoveExpl< M >) 0.5 2 box - (eoBF< const M::EOType &, M::EOType &, void >) 0.5 3 box - (eoFunctorBase) 0.5 4 box (moMoveLoopExpl< M >) 0.5 1 box (moHCMoveLoopExpl< M >) 0 0 box (moTSMoveLoopExpl< M >) 1 0 box % ----- relations ----- -solid -0 0.5 2 out -solid -1 0.5 3 in -solid -0 0.5 3 out -solid -1 0.5 4 in solid 1 0.5 1.25 out solid diff --git a/trunk/paradiseo-mo/doc/latex/classmo_move_expl.tex b/trunk/paradiseo-mo/doc/latex/classmo_move_expl.tex index 0e4a7e621..0d2a1554f 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_move_expl.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_move_expl.tex @@ -8,7 +8,7 @@ Description of a move (\doxyref{moMove}{p.}{classmo_move}) explorer. Inheritance diagram for moMoveExpl$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=4.59016cm]{classmo_move_expl} +\includegraphics[height=3cm]{classmo_move_expl} \end{center} \end{figure} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_move_incr_eval.tex b/trunk/paradiseo-mo/doc/latex/classmo_move_incr_eval.tex index 85bba26c1..b191f77fd 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_move_incr_eval.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_move_incr_eval.tex @@ -5,12 +5,6 @@ {\tt \#include $<$moMoveIncrEval.h$>$} -Inheritance diagram for moMoveIncrEval$<$ M $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{classmo_move_incr_eval} -\end{center} -\end{figure} \subsection{Detailed Description} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_move_init.tex b/trunk/paradiseo-mo/doc/latex/classmo_move_init.tex index 904ac7911..1f1daefa6 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_move_init.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_move_init.tex @@ -5,12 +5,6 @@ Move (\doxyref{moMove}{p.}{classmo_move}) initializer. {\tt \#include $<$moMoveInit.h$>$} -Inheritance diagram for moMoveInit$<$ M $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{classmo_move_init} -\end{center} -\end{figure} \subsection{Detailed Description} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_move_loop_expl.eps b/trunk/paradiseo-mo/doc/latex/classmo_move_loop_expl.eps index c6a78b5b1..76326be37 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_move_loop_expl.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_move_loop_expl.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 163.934 +%%BoundingBox: 0 0 500 173.41 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 3.05 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 2.88333 def % aspect ratio of the BoundingBox (width/height) /boundx 500 def /boundy boundx boundaspect div def /xspacing 0 def /yspacing 0 def -/rows 5 def +/rows 3 def /cols 2 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -175,8 +175,6 @@ boxfont setfont 1 boundaspect scale (moMoveLoopExpl< M >) cw (moMoveExpl< M >) cw -(eoBF< const M::EOType &, M::EOType &, void >) cw -(eoFunctorBase) cw (moHCMoveLoopExpl< M >) cw (moTSMoveLoopExpl< M >) cw /boxwidth boxwidth marginwidth 2 mul add def @@ -192,8 +190,6 @@ boundx scalefactor div boundy scalefactor div scale (moMoveLoopExpl< M >) 0.5 1 box (moMoveExpl< M >) 0.5 2 box - (eoBF< const M::EOType &, M::EOType &, void >) 0.5 3 box - (eoFunctorBase) 0.5 4 box (moHCMoveLoopExpl< M >) 0 0 box (moTSMoveLoopExpl< M >) 1 0 box @@ -204,14 +200,6 @@ solid solid 1 0.5 2 in solid -0 0.5 2 out -solid -1 0.5 3 in -solid -0 0.5 3 out -solid -1 0.5 4 in -solid 1 0.5 0.25 out solid 0 1 1 conn diff --git a/trunk/paradiseo-mo/doc/latex/classmo_move_loop_expl.tex b/trunk/paradiseo-mo/doc/latex/classmo_move_loop_expl.tex index 15968268f..c9e640147 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_move_loop_expl.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_move_loop_expl.tex @@ -8,7 +8,7 @@ Class which describes an iterative explorer. Inheritance diagram for moMoveLoopExpl$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=4.59016cm]{classmo_move_loop_expl} +\includegraphics[height=3cm]{classmo_move_loop_expl} \end{center} \end{figure} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_move_select.eps b/trunk/paradiseo-mo/doc/latex/classmo_move_select.eps index b61e2bf9f..86a37c002 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_move_select.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_move_select.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 101.01 +%%BoundingBox: 0 0 500 83.8574 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 4.95 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 5.9625 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 +/rows 2 def /cols 3 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -174,8 +174,6 @@ boxfont setfont 1 boundaspect scale (moMoveSelect< M >) cw -(eoBF< M &, M::EOType::Fitness &, void >) cw -(eoFunctorBase) cw (moBestImprSelect< M >) cw (moFirstImprSelect< M >) cw (moRandImprSelect< M >) cw @@ -191,22 +189,12 @@ boundx scalefactor div boundy scalefactor div scale % ----- classes ----- (moMoveSelect< M >) 1 1 box - (eoBF< M &, M::EOType::Fitness &, void >) 1 2 box - (eoFunctorBase) 1 3 box (moBestImprSelect< M >) 0 0 box (moFirstImprSelect< M >) 1 0 box (moRandImprSelect< M >) 2 0 box % ----- relations ----- -solid -0 1 1 out -solid -1 1 2 in -solid -0 1 2 out -solid -1 1 3 in solid 1 1 0.25 out solid diff --git a/trunk/paradiseo-mo/doc/latex/classmo_move_select.tex b/trunk/paradiseo-mo/doc/latex/classmo_move_select.tex index 82d8378b7..b9693bcee 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_move_select.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_move_select.tex @@ -8,7 +8,7 @@ Class that describes a move selector (\doxyref{moMove}{p.}{classmo_move}). Inheritance diagram for moMoveSelect$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=2.82828cm]{classmo_move_select} +\includegraphics[height=2cm]{classmo_move_select} \end{center} \end{figure} \subsection*{Public Types} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_next_move.eps b/trunk/paradiseo-mo/doc/latex/classmo_next_move.eps index dfda1c365..d9586a593 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_next_move.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_next_move.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 316.206 +%%BoundingBox: 0 0 500 245.399 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 1.58125 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 2.0375 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 +/rows 2 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -174,8 +174,6 @@ boxfont setfont 1 boundaspect scale (moNextMove< M >) cw -(eoBF< M &, const M::EOType &, bool >) cw -(eoFunctorBase) cw (moItRandNextMove< M >) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def @@ -189,20 +187,10 @@ boundx scalefactor div boundy scalefactor div scale % ----- classes ----- (moNextMove< M >) 0 1 box - (eoBF< M &, const M::EOType &, bool >) 0 2 box - (eoFunctorBase) 0 3 box (moItRandNextMove< M >) 0 0 box % ----- relations ----- -solid -0 0 1 out -solid -1 0 2 in -solid -0 0 2 out -solid -1 0 3 in solid 1 0 0.25 out solid diff --git a/trunk/paradiseo-mo/doc/latex/classmo_next_move.tex b/trunk/paradiseo-mo/doc/latex/classmo_next_move.tex index 3fdea7d9d..764315620 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_next_move.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_next_move.tex @@ -8,7 +8,7 @@ Class which allows to generate a new move (\doxyref{moMove}{p.}{classmo_move}). Inheritance diagram for moNextMove$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=4cm]{classmo_next_move} +\includegraphics[height=2cm]{classmo_next_move} \end{center} \end{figure} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_no_aspir_crit.eps b/trunk/paradiseo-mo/doc/latex/classmo_no_aspir_crit.eps index 8bc333965..4a1de4c86 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_no_aspir_crit.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_no_aspir_crit.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 239.521 +%%BoundingBox: 0 0 500 291.971 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 2.0875 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 1.7125 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 +/rows 2 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -175,8 +175,6 @@ boxfont setfont 1 boundaspect scale (moNoAspirCrit< M >) cw (moAspirCrit< M >) cw -(eoBF< const M &, const M::EOType::Fitness &, bool >) cw -(eoFunctorBase) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def @@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale (moNoAspirCrit< M >) 0 0 box (moAspirCrit< M >) 0 1 box - (eoBF< const M &, const M::EOType::Fitness &, bool >) 0 2 box - (eoFunctorBase) 0 3 box % ----- relations ----- @@ -199,11 +195,3 @@ 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-mo/doc/latex/classmo_no_aspir_crit.tex b/trunk/paradiseo-mo/doc/latex/classmo_no_aspir_crit.tex index c9169ff46..220d5f3d8 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_no_aspir_crit.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_no_aspir_crit.tex @@ -8,7 +8,7 @@ One of the possible aspiration criterion (\doxyref{moAspirCrit}{p.}{classmo_aspi Inheritance diagram for moNoAspirCrit$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=4cm]{classmo_no_aspir_crit} +\includegraphics[height=2cm]{classmo_no_aspir_crit} \end{center} \end{figure} \subsection*{Private Member Functions} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_no_fit_impr_sol_continue.tex b/trunk/paradiseo-mo/doc/latex/classmo_no_fit_impr_sol_continue.tex index 390a2c38b..17d24521a 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_no_fit_impr_sol_continue.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_no_fit_impr_sol_continue.tex @@ -1,11 +1,11 @@ -\section{mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$ Class Template Reference} +\section{moNoFitImprSolContinue$<$ EOT $>$ Class Template Reference} \label{classmo_no_fit_impr_sol_continue}\index{moNoFitImprSolContinue@{moNoFitImprSolContinue}} One possible stop criterion for a solution-based heuristic. -{\tt \#include $<$mo\-No\-Fit\-Impr\-Sol\-Continue.h$>$} +{\tt \#include $<$moNoFitImprSolContinue.h$>$} -Inheritance diagram for mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$::\begin{figure}[H] +Inheritance diagram for moNoFitImprSolContinue$<$ EOT $>$::\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=2cm]{classmo_no_fit_impr_sol_continue} @@ -14,37 +14,37 @@ Inheritance diagram for mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$::\begin{figu \subsection*{Public Types} \begin{CompactItemize} \item -typedef EOT::Fitness \bf{Fitness}\label{classmo_no_fit_impr_sol_continue_64c184de66bb37d75d53aa600ac947b3} +typedef EOT::Fitness {\bf Fitness}\label{classmo_no_fit_impr_sol_continue_64c184de66bb37d75d53aa600ac947b3} \begin{CompactList}\small\item\em Alias for the fitness. \item\end{CompactList}\end{CompactItemize} \subsection*{Public Member Functions} \begin{CompactItemize} \item -\bf{mo\-No\-Fit\-Impr\-Sol\-Continue} (unsigned int \_\-\_\-max\-Number\-Of\-Iteration\-Without\-Improvement) +{\bf moNoFitImprSolContinue} (unsigned int \_\-\_\-maxNumberOfIterationWithoutImprovement) \begin{CompactList}\small\item\em Basic constructor. \item\end{CompactList}\item -bool \bf{operator()} (const EOT \&\_\-\_\-sol) +bool {\bf operator()} (const EOT \&\_\-\_\-sol) \begin{CompactList}\small\item\em Function that activates the stopping criterion. \item\end{CompactList}\item -void \bf{init} () +void {\bf init} () \begin{CompactList}\small\item\em Procedure which allows to initialise all the stuff needed. \item\end{CompactList}\end{CompactItemize} \subsection*{Private Attributes} \begin{CompactItemize} \item -unsigned int \bf{max\-Number\-Of\-Iterations\-Without\-Improvement}\label{classmo_no_fit_impr_sol_continue_03612ffc3af9d943c1b1d2cde09d461b} +unsigned int {\bf maxNumberOfIterationsWithoutImprovement}\label{classmo_no_fit_impr_sol_continue_03612ffc3af9d943c1b1d2cde09d461b} \begin{CompactList}\small\item\em Maximum number of iterations without improvement allowed. \item\end{CompactList}\item -bool \bf{first\-Fitness\-Saved}\label{classmo_no_fit_impr_sol_continue_ca3591e47a075b59e0826f31234c71ef} +bool {\bf firstFitnessSaved}\label{classmo_no_fit_impr_sol_continue_ca3591e47a075b59e0826f31234c71ef} \begin{CompactList}\small\item\em Flag that this is the first time that the fitness is used. \item\end{CompactList}\item -\bf{Fitness} \bf{fitness}\label{classmo_no_fit_impr_sol_continue_3d3d2b43a4dd73e38689cc0018d44ee7} +{\bf Fitness} {\bf fitness}\label{classmo_no_fit_impr_sol_continue_3d3d2b43a4dd73e38689cc0018d44ee7} \begin{CompactList}\small\item\em Current Fitness. \item\end{CompactList}\item -unsigned int \bf{counter}\label{classmo_no_fit_impr_sol_continue_46fc008a8f7cd06dcaaeb4016b433adb} +unsigned int {\bf counter}\label{classmo_no_fit_impr_sol_continue_46fc008a8f7cd06dcaaeb4016b433adb} \begin{CompactList}\small\item\em The iteration couter. \item\end{CompactList}\end{CompactItemize} \subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$} +\subsubsection*{template$<$class EOT$>$ class moNoFitImprSolContinue$<$ EOT $>$} One possible stop criterion for a solution-based heuristic. @@ -52,12 +52,12 @@ The stop criterion corresponds to a maximum number of iterations without improve -Definition at line 21 of file mo\-No\-Fit\-Impr\-Sol\-Continue.h. +Definition at line 21 of file moNoFitImprSolContinue.h. \subsection{Constructor \& Destructor Documentation} -\index{moNoFitImprSolContinue@{mo\-No\-Fit\-Impr\-Sol\-Continue}!moNoFitImprSolContinue@{moNoFitImprSolContinue}} -\index{moNoFitImprSolContinue@{moNoFitImprSolContinue}!moNoFitImprSolContinue@{mo\-No\-Fit\-Impr\-Sol\-Continue}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \bf{mo\-No\-Fit\-Impr\-Sol\-Continue}$<$ EOT $>$::\bf{mo\-No\-Fit\-Impr\-Sol\-Continue} (unsigned int {\em \_\-\_\-max\-Number\-Of\-Iteration\-Without\-Improvement})\hspace{0.3cm}{\tt [inline]}}\label{classmo_no_fit_impr_sol_continue_a447aa0d8ed4ddf6fe47c805269cac6c} +\index{moNoFitImprSolContinue@{moNoFitImprSolContinue}!moNoFitImprSolContinue@{moNoFitImprSolContinue}} +\index{moNoFitImprSolContinue@{moNoFitImprSolContinue}!moNoFitImprSolContinue@{moNoFitImprSolContinue}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ {\bf moNoFitImprSolContinue}$<$ EOT $>$::{\bf moNoFitImprSolContinue} (unsigned int {\em \_\-\_\-maxNumberOfIterationWithoutImprovement})\hspace{0.3cm}{\tt [inline]}}\label{classmo_no_fit_impr_sol_continue_a447aa0d8ed4ddf6fe47c805269cac6c} Basic constructor. @@ -65,16 +65,16 @@ Basic constructor. \begin{Desc} \item[Parameters:] \begin{description} -\item[{\em \_\-\_\-max\-Number\-Of\-Iteration\-Without\-Improvement}]The number of iterations without fitness improvement to reach for stop. \end{description} +\item[{\em \_\-\_\-maxNumberOfIterationWithoutImprovement}]The number of iterations without fitness improvement to reach for stop. \end{description} \end{Desc} -Definition at line 33 of file mo\-No\-Fit\-Impr\-Sol\-Continue.h. +Definition at line 33 of file moNoFitImprSolContinue.h. \subsection{Member Function Documentation} -\index{moNoFitImprSolContinue@{mo\-No\-Fit\-Impr\-Sol\-Continue}!operator()@{operator()}} -\index{operator()@{operator()}!moNoFitImprSolContinue@{mo\-No\-Fit\-Impr\-Sol\-Continue}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ bool \bf{mo\-No\-Fit\-Impr\-Sol\-Continue}$<$ EOT $>$::operator() (const EOT \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_no_fit_impr_sol_continue_dbd663623cae56ec76ee504ecb226fed} +\index{moNoFitImprSolContinue@{moNoFitImprSolContinue}!operator()@{operator()}} +\index{operator()@{operator()}!moNoFitImprSolContinue@{moNoFitImprSolContinue}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ bool {\bf moNoFitImprSolContinue}$<$ EOT $>$::operator() (const EOT \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_no_fit_impr_sol_continue_dbd663623cae56ec76ee504ecb226fed} Function that activates the stopping criterion. @@ -88,23 +88,23 @@ Indicates if the fitness has not been improved since a given number of iteration \item[Returns:]true or false. \end{Desc} -Definition at line 43 of file mo\-No\-Fit\-Impr\-Sol\-Continue.h. +Definition at line 43 of file moNoFitImprSolContinue.h. -References mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$::counter, mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$::first\-Fitness\-Saved, mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$::fitness, and mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$::max\-Number\-Of\-Iterations\-Without\-Improvement.\index{moNoFitImprSolContinue@{mo\-No\-Fit\-Impr\-Sol\-Continue}!init@{init}} -\index{init@{init}!moNoFitImprSolContinue@{mo\-No\-Fit\-Impr\-Sol\-Continue}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{mo\-No\-Fit\-Impr\-Sol\-Continue}$<$ EOT $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_no_fit_impr_sol_continue_21641c0a38a4501baae6133cbc591de4} +References moNoFitImprSolContinue$<$ EOT $>$::counter, moNoFitImprSolContinue$<$ EOT $>$::firstFitnessSaved, moNoFitImprSolContinue$<$ EOT $>$::fitness, and moNoFitImprSolContinue$<$ EOT $>$::maxNumberOfIterationsWithoutImprovement.\index{moNoFitImprSolContinue@{moNoFitImprSolContinue}!init@{init}} +\index{init@{init}!moNoFitImprSolContinue@{moNoFitImprSolContinue}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void {\bf moNoFitImprSolContinue}$<$ EOT $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_no_fit_impr_sol_continue_21641c0a38a4501baae6133cbc591de4} Procedure which allows to initialise all the stuff needed. It can be also used to reinitialize all the needed things. -Implements \bf{mo\-Sol\-Continue$<$ EOT $>$} \doxyref{p.}{classmo_sol_continue_064dc966a210f4ffb9515be3f03ca4c7}. +Implements {\bf moSolContinue$<$ EOT $>$} \doxyref{}{p.}{classmo_sol_continue_064dc966a210f4ffb9515be3f03ca4c7}. -Definition at line 77 of file mo\-No\-Fit\-Impr\-Sol\-Continue.h. +Definition at line 77 of file moNoFitImprSolContinue.h. -References mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$::counter, and mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$::first\-Fitness\-Saved. +References moNoFitImprSolContinue$<$ EOT $>$::counter, and moNoFitImprSolContinue$<$ EOT $>$::firstFitnessSaved. The documentation for this class was generated from the following file:\begin{CompactItemize} \item -mo\-No\-Fit\-Impr\-Sol\-Continue.h\end{CompactItemize} +moNoFitImprSolContinue.h\end{CompactItemize} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_rand_impr_select.eps b/trunk/paradiseo-mo/doc/latex/classmo_rand_impr_select.eps index fe55210a4..74d2fc0f6 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_rand_impr_select.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_rand_impr_select.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 303.03 +%%BoundingBox: 0 0 500 251.572 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 1.65 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 1.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 +/rows 2 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -175,8 +175,6 @@ boxfont setfont 1 boundaspect scale (moRandImprSelect< M >) cw (moMoveSelect< M >) cw -(eoBF< M &, M::EOType::Fitness &, void >) cw -(eoFunctorBase) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def @@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale (moRandImprSelect< M >) 0 0 box (moMoveSelect< M >) 0 1 box - (eoBF< M &, M::EOType::Fitness &, void >) 0 2 box - (eoFunctorBase) 0 3 box % ----- relations ----- @@ -199,11 +195,3 @@ 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-mo/doc/latex/classmo_rand_impr_select.tex b/trunk/paradiseo-mo/doc/latex/classmo_rand_impr_select.tex index 965d745cd..8fa7df0f8 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_rand_impr_select.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_rand_impr_select.tex @@ -8,7 +8,7 @@ One of the possible \doxyref{moMove}{p.}{classmo_move} selector (\doxyref{moMove Inheritance diagram for moRandImprSelect$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=4cm]{classmo_rand_impr_select} +\includegraphics[height=2cm]{classmo_rand_impr_select} \end{center} \end{figure} \subsection*{Public Types} @@ -96,7 +96,7 @@ Definition at line 56 of file moRandImprSelect.h. References moRandImprSelect$<$ M $>$::init\_\-fit, moRandImprSelect$<$ M $>$::vect\_\-better\_\-fit, and moRandImprSelect$<$ M $>$::vect\_\-better\_\-moves.\index{moRandImprSelect@{moRandImprSelect}!operator()@{operator()}} \index{operator()@{operator()}!moRandImprSelect@{moRandImprSelect}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moRandImprSelect}$<$ M $>$::operator() (M \& {\em \_\-\_\-move}, {\bf Fitness} \& {\em \_\-\_\-fit}) throw ({\bf EmptySelection})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_rand_impr_select_5ee57f77a450c0a9ce50bfccf3ad2a55} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moRandImprSelect}$<$ M $>$::operator() (M \& {\em \_\-\_\-move}, {\bf Fitness} \& {\em \_\-\_\-fit}) throw ({\bf EmptySelection})\hspace{0.3cm}{\tt [inline]}}\label{classmo_rand_impr_select_5ee57f77a450c0a9ce50bfccf3ad2a55} The move selection. @@ -115,11 +115,9 @@ One the saved move is randomly chosen. \end{Desc} -Implements {\bf eoBF$<$ M \&, M::EOType::Fitness \&, void $>$}. - Definition at line 77 of file moRandImprSelect.h. -References eoRng::random(), moRandImprSelect$<$ M $>$::vect\_\-better\_\-fit, and moRandImprSelect$<$ M $>$::vect\_\-better\_\-moves. +References moRandImprSelect$<$ M $>$::vect\_\-better\_\-fit, and moRandImprSelect$<$ M $>$::vect\_\-better\_\-moves. The documentation for this class was generated from the following file:\begin{CompactItemize} \item diff --git a/trunk/paradiseo-mo/doc/latex/classmo_rand_move.tex b/trunk/paradiseo-mo/doc/latex/classmo_rand_move.tex index 665d27245..87275c96c 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_rand_move.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_rand_move.tex @@ -5,12 +5,6 @@ Random move generator. {\tt \#include $<$moRandMove.h$>$} -Inheritance diagram for moRandMove$<$ M $>$::\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=3cm]{classmo_rand_move} -\end{center} -\end{figure} \subsection{Detailed Description} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_s_a.eps b/trunk/paradiseo-mo/doc/latex/classmo_s_a.eps index efa0100f9..90945c761 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_s_a.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_s_a.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 271.739 +%%BoundingBox: 0 0 500 268.456 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,13 +19,13 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 1.84 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 1.8625 def % aspect ratio of the BoundingBox (width/height) /boundx 500 def /boundy boundx boundaspect div def /xspacing 0 def /yspacing 0 def -/rows 5 def -/cols 2 def +/rows 2 def +/cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -175,10 +175,6 @@ boxfont setfont 1 boundaspect scale (moSA< M >) cw (moAlgo< M::EOType >) cw -(eoMonOp< M::EOType >) cw -(eoOp< EOType >) cw -(eoUF< M::EOType &, bool >) cw -(eoFunctorBase) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def @@ -190,32 +186,12 @@ boundx scalefactor div boundy scalefactor div scale % ----- classes ----- - (moSA< M >) 0.5 0 box - (moAlgo< M::EOType >) 0.5 1 box - (eoMonOp< M::EOType >) 0.5 2 box - (eoOp< EOType >) 0 3 box - (eoUF< M::EOType &, bool >) 1 3 box - (eoFunctorBase) 1 4 box + (moSA< M >) 0 0 box + (moAlgo< M::EOType >) 0 1 box % ----- relations ----- solid -0 0.5 0 out +0 0 0 out solid -1 0.5 1 in -solid -0 0.5 1 out -solid -1 0.5 2 in -solid -0 0.5 2 out -solid -0 1 3 conn -solid -1 0 3 in -solid -1 1 3 in -solid -0 1 3 out -solid -1 1 4 in +1 0 1 in diff --git a/trunk/paradiseo-mo/doc/latex/classmo_s_a.tex b/trunk/paradiseo-mo/doc/latex/classmo_s_a.tex index a58e3a510..374ffc7fb 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_s_a.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_s_a.tex @@ -8,13 +8,13 @@ Simulated Annealing (SA). Inheritance diagram for moSA$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=5cm]{classmo_s_a} +\includegraphics[height=2cm]{classmo_s_a} \end{center} \end{figure} \subsection*{Public Member Functions} \begin{CompactItemize} \item -{\bf moSA} ({\bf moRandMove}$<$ M $>$ \&\_\-\_\-move\_\-rand, {\bf moMoveIncrEval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, {\bf moSolContinue}$<$ {\bf EOT} $>$ \&\_\-\_\-cont, double \_\-\_\-init\_\-temp, {\bf moCoolingSchedule} \&\_\-\_\-cool\_\-sched, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval) +{\bf moSA} ({\bf moRandMove}$<$ M $>$ \&\_\-\_\-move\_\-rand, {\bf moMoveIncrEval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, {\bf moSolContinue}$<$ {\bf EOT} $>$ \&\_\-\_\-cont, double \_\-\_\-init\_\-temp, {\bf moCoolingSchedule} \&\_\-\_\-cool\_\-sched, eoEvalFunc$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval) \begin{CompactList}\small\item\em SA constructor. \item\end{CompactList}\item bool {\bf operator()} ({\bf EOT} \&\_\-\_\-sol) \begin{CompactList}\small\item\em function that launches the SA algorithm. \item\end{CompactList}\end{CompactItemize} @@ -45,7 +45,7 @@ double {\bf init\_\-temp}\label{classmo_s_a_f1af7636b52aa5f6b381f8187b667bd4} {\bf moCoolingSchedule} \& {\bf cool\_\-sched}\label{classmo_s_a_11c7d0cab649b7d680dd85bb74cb4ff6} \begin{CompactList}\small\item\em The cooling schedule. \item\end{CompactList}\item -{\bf eoEvalFunc}$<$ {\bf EOT} $>$ \& {\bf full\_\-eval}\label{classmo_s_a_bcd6a940046f23dd741444c0b85edf2c} +eoEvalFunc$<$ {\bf EOT} $>$ \& {\bf full\_\-eval}\label{classmo_s_a_bcd6a940046f23dd741444c0b85edf2c} \begin{CompactList}\small\item\em A full evaluation function. \item\end{CompactList}\end{CompactItemize} @@ -64,7 +64,7 @@ Definition at line 30 of file moSA.h. \subsection{Constructor \& Destructor Documentation} \index{moSA@{moSA}!moSA@{moSA}} \index{moSA@{moSA}!moSA@{moSA}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moSA}$<$ M $>$::{\bf moSA} ({\bf moRandMove}$<$ M $>$ \& {\em \_\-\_\-move\_\-rand}, {\bf moMoveIncrEval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, {\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-cont}, double {\em \_\-\_\-init\_\-temp}, {\bf moCoolingSchedule} \& {\em \_\-\_\-cool\_\-sched}, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_s_a_01f6a44483e5a7abbce33eb480b6a9b9} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moSA}$<$ M $>$::{\bf moSA} ({\bf moRandMove}$<$ M $>$ \& {\em \_\-\_\-move\_\-rand}, {\bf moMoveIncrEval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, {\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-cont}, double {\em \_\-\_\-init\_\-temp}, {\bf moCoolingSchedule} \& {\em \_\-\_\-cool\_\-sched}, eoEvalFunc$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_s_a_01f6a44483e5a7abbce33eb480b6a9b9} SA constructor. @@ -83,7 +83,7 @@ Definition at line 58 of file moSA.h. \subsection{Member Function Documentation} \index{moSA@{moSA}!operator()@{operator()}} \index{operator()@{operator()}!moSA@{moSA}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moSA}$<$ M $>$::operator() ({\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_s_a_0e4c54b57bc13fcbd4763883b8f719e5} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moSA}$<$ M $>$::operator() ({\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_s_a_0e4c54b57bc13fcbd4763883b8f719e5} function that launches the SA algorithm. @@ -99,11 +99,9 @@ As a \doxyref{moTS}{p.}{classmo_t_s} or a \doxyref{moHC}{p.}{classmo_h_c}, the S \item[Returns:]TRUE. \end{Desc} -Implements {\bf eoUF$<$ M::EOType \&, bool $>$}. - Definition at line 80 of file moSA.h. -References moSA$<$ M $>$::cont, moSA$<$ M $>$::cool\_\-sched, moSA$<$ M $>$::full\_\-eval, moSA$<$ M $>$::incr\_\-eval, moSA$<$ M $>$::init\_\-temp, moSA$<$ M $>$::move\_\-rand, and eoRng::uniform(). +References moSA$<$ M $>$::cont, moSA$<$ M $>$::cool\_\-sched, moSA$<$ M $>$::full\_\-eval, moSA$<$ M $>$::incr\_\-eval, moSA$<$ M $>$::init\_\-temp, and moSA$<$ M $>$::move\_\-rand. The documentation for this class was generated from the following file:\begin{CompactItemize} \item diff --git a/trunk/paradiseo-mo/doc/latex/classmo_simple_move_tabu_list.eps b/trunk/paradiseo-mo/doc/latex/classmo_simple_move_tabu_list.eps index 95d9a8476..624cb75de 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_simple_move_tabu_list.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_simple_move_tabu_list.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 277.778 +%%BoundingBox: 0 0 500 213.904 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 1.8 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 2.3375 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 +/rows 2 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -175,8 +175,6 @@ boxfont setfont 1 boundaspect scale (moSimpleMoveTabuList< M >) cw (moTabuList< M >) cw -(eoBF< const M &, const M::EOType &, bool >) cw -(eoFunctorBase) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def @@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale (moSimpleMoveTabuList< M >) 0 0 box (moTabuList< M >) 0 1 box - (eoBF< const M &, const M::EOType &, bool >) 0 2 box - (eoFunctorBase) 0 3 box % ----- relations ----- @@ -199,11 +195,3 @@ 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-mo/doc/latex/classmo_simple_move_tabu_list.tex b/trunk/paradiseo-mo/doc/latex/classmo_simple_move_tabu_list.tex index d80f3328b..0349b3de0 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_simple_move_tabu_list.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_simple_move_tabu_list.tex @@ -8,7 +8,7 @@ Class describing a move tabu list with a limited memory. Inheritance diagram for moSimpleMoveTabuList$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=4cm]{classmo_simple_move_tabu_list} +\includegraphics[height=2cm]{classmo_simple_move_tabu_list} \end{center} \end{figure} \subsection*{Public Types} @@ -62,7 +62,7 @@ Definition at line 22 of file moSimpleMoveTabuList.h. \subsection{Member Function Documentation} \index{moSimpleMoveTabuList@{moSimpleMoveTabuList}!operator()@{operator()}} \index{operator()@{operator()}!moSimpleMoveTabuList@{moSimpleMoveTabuList}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moSimpleMoveTabuList}$<$ M $>$::operator() (const M \& {\em \_\-\_\-move}, const {\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_simple_move_tabu_list_bb7fe9da28617f56734af71c42c8265a} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moSimpleMoveTabuList}$<$ M $>$::operator() (const M \& {\em \_\-\_\-move}, const {\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_simple_move_tabu_list_bb7fe9da28617f56734af71c42c8265a} Function that indicates if, in a given state, the \_\-move is tabu or not. @@ -76,8 +76,6 @@ Function that indicates if, in a given state, the \_\-move is tabu or not. \item[Returns:]true or false. \end{Desc} -Implements {\bf eoBF$<$ const M \&, const M::EOType \&, bool $>$}. - Definition at line 46 of file moSimpleMoveTabuList.h. References moSimpleMoveTabuList$<$ M $>$::tabuList.\index{moSimpleMoveTabuList@{moSimpleMoveTabuList}!add@{add}} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_simple_solution_tabu_list.eps b/trunk/paradiseo-mo/doc/latex/classmo_simple_solution_tabu_list.eps index c673817e4..e46012fd0 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_simple_solution_tabu_list.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_simple_solution_tabu_list.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 277.778 +%%BoundingBox: 0 0 500 200 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 1.8 def % aspect ratio of the BoundingBox (width/height) +/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 +/rows 2 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -175,8 +175,6 @@ boxfont setfont 1 boundaspect scale (moSimpleSolutionTabuList< M >) cw (moTabuList< M >) cw -(eoBF< const M &, const M::EOType &, bool >) cw -(eoFunctorBase) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def @@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale (moSimpleSolutionTabuList< M >) 0 0 box (moTabuList< M >) 0 1 box - (eoBF< const M &, const M::EOType &, bool >) 0 2 box - (eoFunctorBase) 0 3 box % ----- relations ----- @@ -199,11 +195,3 @@ 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-mo/doc/latex/classmo_simple_solution_tabu_list.tex b/trunk/paradiseo-mo/doc/latex/classmo_simple_solution_tabu_list.tex index 9437723d9..1de062a76 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_simple_solution_tabu_list.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_simple_solution_tabu_list.tex @@ -8,7 +8,7 @@ Class describing a solution tabu list with limited length. Inheritance diagram for moSimpleSolutionTabuList$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=4cm]{classmo_simple_solution_tabu_list} +\includegraphics[height=2cm]{classmo_simple_solution_tabu_list} \end{center} \end{figure} \subsection*{Public Types} @@ -80,7 +80,7 @@ References moSimpleSolutionTabuList$<$ M $>$::currentSize. \subsection{Member Function Documentation} \index{moSimpleSolutionTabuList@{moSimpleSolutionTabuList}!operator()@{operator()}} \index{operator()@{operator()}!moSimpleSolutionTabuList@{moSimpleSolutionTabuList}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moSimpleSolutionTabuList}$<$ M $>$::operator() (const M \& {\em \_\-\_\-move}, const {\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_simple_solution_tabu_list_e1f1cf258b55554d8be88fb5780a0047} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moSimpleSolutionTabuList}$<$ M $>$::operator() (const M \& {\em \_\-\_\-move}, const {\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_simple_solution_tabu_list_e1f1cf258b55554d8be88fb5780a0047} Function that indicates if, in a given state, the \_\-move is tabu or not. @@ -94,8 +94,6 @@ Function that indicates if, in a given state, the \_\-move is tabu or not. \item[Returns:]true or false. \end{Desc} -Implements {\bf eoBF$<$ const M \&, const M::EOType \&, bool $>$}. - Definition at line 45 of file moSimpleSolutionTabuList.h. References moSimpleSolutionTabuList$<$ M $>$::tabuList.\index{moSimpleSolutionTabuList@{moSimpleSolutionTabuList}!add@{add}} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_sol_continue.eps b/trunk/paradiseo-mo/doc/latex/classmo_sol_continue.eps index c2a7fb9ca..34ec5563d 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_sol_continue.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_sol_continue.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 441.989 +%%BoundingBox: 0 0 500 48.3092 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,13 +19,13 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 1.13125 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 10.35 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 +/rows 2 def +/cols 4 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -174,9 +174,10 @@ boxfont setfont 1 boundaspect scale (moSolContinue< EOT >) cw -(eoUF< const EOT &, bool >) cw -(eoFunctorBase) cw +(moFitSolContinue< EOT >) cw (moGenSolContinue< EOT >) cw +(moNoFitImprSolContinue< EOT >) cw +(moSteadyFitSolContinue< EOT >) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def @@ -188,22 +189,23 @@ boundx scalefactor div boundy scalefactor div scale % ----- classes ----- - (moSolContinue< EOT >) 0 1 box - (eoUF< const EOT &, bool >) 0 2 box - (eoFunctorBase) 0 3 box - (moGenSolContinue< EOT >) 0 0 box + (moSolContinue< EOT >) 1.5 1 box + (moFitSolContinue< EOT >) 0 0 box + (moGenSolContinue< EOT >) 1 0 box + (moNoFitImprSolContinue< EOT >) 2 0 box + (moSteadyFitSolContinue< EOT >) 3 0 box % ----- relations ----- solid -0 0 1 out +1 1.5 0.25 out solid -1 0 2 in -solid -0 0 2 out -solid -1 0 3 in -solid -1 0 0.25 out +0 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-mo/doc/latex/classmo_sol_continue.tex b/trunk/paradiseo-mo/doc/latex/classmo_sol_continue.tex index bc98d68d9..a4f7f0a52 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_sol_continue.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_sol_continue.tex @@ -8,7 +8,7 @@ Class that describes a stop criterion for a solution-based heuristic. Inheritance diagram for moSolContinue$<$ EOT $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=4cm]{classmo_sol_continue} +\includegraphics[height=1.35266cm]{classmo_sol_continue} \end{center} \end{figure} \subsection*{Public Member Functions} @@ -23,7 +23,7 @@ virtual void {\bf init} ()=0 Class that describes a stop criterion for a solution-based heuristic. -It allows to add an initialisation procedure to an object that is a unary function ({\bf eoUF}). +It allows to add an initialisation procedure to an object that is a unary function (eoUF). @@ -39,7 +39,7 @@ Procedure which initialises all that the stop criterion needs. Generally, it allocates some data structures or initialises some counters. -Implemented in {\bf moGenSolContinue$<$ EOT $>$} \doxyref{}{p.}{classmo_gen_sol_continue_6c5db8182157584b56507cc9075602d4}. +Implemented in {\bf moFitSolContinue$<$ EOT $>$} \doxyref{}{p.}{classmo_fit_sol_continue_670bd895b4edfcd3aebb40d2295d7f7c}, {\bf moGenSolContinue$<$ EOT $>$} \doxyref{}{p.}{classmo_gen_sol_continue_6c5db8182157584b56507cc9075602d4}, {\bf moNoFitImprSolContinue$<$ EOT $>$} \doxyref{}{p.}{classmo_no_fit_impr_sol_continue_21641c0a38a4501baae6133cbc591de4}, and {\bf moSteadyFitSolContinue$<$ EOT $>$} \doxyref{}{p.}{classmo_steady_fit_sol_continue_87563493addc8e4b58982c55a67179b9}. The documentation for this class was generated from the following file:\begin{CompactItemize} \item diff --git a/trunk/paradiseo-mo/doc/latex/classmo_steady_fit_sol_continue.tex b/trunk/paradiseo-mo/doc/latex/classmo_steady_fit_sol_continue.tex index 5a4f980aa..43efce92e 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_steady_fit_sol_continue.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_steady_fit_sol_continue.tex @@ -1,11 +1,11 @@ -\section{mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$ Class Template Reference} +\section{moSteadyFitSolContinue$<$ EOT $>$ Class Template Reference} \label{classmo_steady_fit_sol_continue}\index{moSteadyFitSolContinue@{moSteadyFitSolContinue}} One possible stopping criterion for a solution-based heuristic. -{\tt \#include $<$mo\-Steady\-Fit\-Sol\-Continue.h$>$} +{\tt \#include $<$moSteadyFitSolContinue.h$>$} -Inheritance diagram for mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::\begin{figure}[H] +Inheritance diagram for moSteadyFitSolContinue$<$ EOT $>$::\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=2cm]{classmo_steady_fit_sol_continue} @@ -14,43 +14,43 @@ Inheritance diagram for mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::\begin{figure \subsection*{Public Types} \begin{CompactItemize} \item -typedef EOT::Fitness \bf{Fitness}\label{classmo_steady_fit_sol_continue_c289721abbbafe50f6e3b8305dd31007} +typedef EOT::Fitness {\bf Fitness}\label{classmo_steady_fit_sol_continue_c289721abbbafe50f6e3b8305dd31007} \begin{CompactList}\small\item\em Alias for the fitness. \item\end{CompactList}\end{CompactItemize} \subsection*{Public Member Functions} \begin{CompactItemize} \item -\bf{mo\-Steady\-Fit\-Sol\-Continue} (unsigned int \_\-\_\-max\-Number\-Of\-Iterations, unsigned int \_\-\_\-max\-Number\-Of\-Iteration\-Without\-Improvement) +{\bf moSteadyFitSolContinue} (unsigned int \_\-\_\-maxNumberOfIterations, unsigned int \_\-\_\-maxNumberOfIterationWithoutImprovement) \begin{CompactList}\small\item\em Basic constructor. \item\end{CompactList}\item -bool \bf{operator()} (const EOT \&\_\-\_\-sol) +bool {\bf operator()} (const EOT \&\_\-\_\-sol) \begin{CompactList}\small\item\em Function that activates the stopping criterion. \item\end{CompactList}\item -void \bf{init} () +void {\bf init} () \begin{CompactList}\small\item\em Procedure which allows to initialise the stuff needed. \item\end{CompactList}\end{CompactItemize} \subsection*{Private Attributes} \begin{CompactItemize} \item -unsigned int \bf{max\-Number\-Of\-Iterations}\label{classmo_steady_fit_sol_continue_36b43c2a252887ad027165ac32393fe8} +unsigned int {\bf maxNumberOfIterations}\label{classmo_steady_fit_sol_continue_36b43c2a252887ad027165ac32393fe8} \begin{CompactList}\small\item\em Maximum number of iterations before considering the fitness. \item\end{CompactList}\item -unsigned int \bf{max\-Number\-Of\-Iterations\-Without\-Improvement}\label{classmo_steady_fit_sol_continue_cde593c09f497a5fa66ff62732544f40} +unsigned int {\bf maxNumberOfIterationsWithoutImprovement}\label{classmo_steady_fit_sol_continue_cde593c09f497a5fa66ff62732544f40} \begin{CompactList}\small\item\em Maximum number of iterations without improvement allowed. \item\end{CompactList}\item -bool \bf{max\-Number\-Of\-Iterations\-Reached}\label{classmo_steady_fit_sol_continue_7d88c0eb91b2a12121ba1c3ae9139887} +bool {\bf maxNumberOfIterationsReached}\label{classmo_steady_fit_sol_continue_7d88c0eb91b2a12121ba1c3ae9139887} -\begin{CompactList}\small\item\em Flag that indicates that the max\-Number\-Iteration have been reached. \item\end{CompactList}\item -bool \bf{first\-Fitness\-Saved}\label{classmo_steady_fit_sol_continue_025bf2789e470fdde989eee9121035c3} +\begin{CompactList}\small\item\em Flag that indicates that the maxNumberIteration have been reached. \item\end{CompactList}\item +bool {\bf firstFitnessSaved}\label{classmo_steady_fit_sol_continue_025bf2789e470fdde989eee9121035c3} \begin{CompactList}\small\item\em Flag that this is the first time that the fitness is used. \item\end{CompactList}\item -\bf{Fitness} \bf{fitness}\label{classmo_steady_fit_sol_continue_a5c62e7049b36f6e71e92b559568c09e} +{\bf Fitness} {\bf fitness}\label{classmo_steady_fit_sol_continue_a5c62e7049b36f6e71e92b559568c09e} \begin{CompactList}\small\item\em Current Fitness. \item\end{CompactList}\item -unsigned int \bf{counter}\label{classmo_steady_fit_sol_continue_245c9099a2c40dfc4f34b3ff216d13ce} +unsigned int {\bf counter}\label{classmo_steady_fit_sol_continue_245c9099a2c40dfc4f34b3ff216d13ce} \begin{CompactList}\small\item\em The iteration couter. \item\end{CompactList}\end{CompactItemize} \subsection{Detailed Description} -\subsubsection*{template$<$class EOT$>$ class mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$} +\subsubsection*{template$<$class EOT$>$ class moSteadyFitSolContinue$<$ EOT $>$} One possible stopping criterion for a solution-based heuristic. @@ -58,12 +58,12 @@ The stop criterion corresponds to a maximum number of iterations without improve -Definition at line 21 of file mo\-Steady\-Fit\-Sol\-Continue.h. +Definition at line 21 of file moSteadyFitSolContinue.h. \subsection{Constructor \& Destructor Documentation} -\index{moSteadyFitSolContinue@{mo\-Steady\-Fit\-Sol\-Continue}!moSteadyFitSolContinue@{moSteadyFitSolContinue}} -\index{moSteadyFitSolContinue@{moSteadyFitSolContinue}!moSteadyFitSolContinue@{mo\-Steady\-Fit\-Sol\-Continue}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \bf{mo\-Steady\-Fit\-Sol\-Continue}$<$ EOT $>$::\bf{mo\-Steady\-Fit\-Sol\-Continue} (unsigned int {\em \_\-\_\-max\-Number\-Of\-Iterations}, unsigned int {\em \_\-\_\-max\-Number\-Of\-Iteration\-Without\-Improvement})\hspace{0.3cm}{\tt [inline]}}\label{classmo_steady_fit_sol_continue_5f50fb18e380230e37301f33319786a4} +\index{moSteadyFitSolContinue@{moSteadyFitSolContinue}!moSteadyFitSolContinue@{moSteadyFitSolContinue}} +\index{moSteadyFitSolContinue@{moSteadyFitSolContinue}!moSteadyFitSolContinue@{moSteadyFitSolContinue}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ {\bf moSteadyFitSolContinue}$<$ EOT $>$::{\bf moSteadyFitSolContinue} (unsigned int {\em \_\-\_\-maxNumberOfIterations}, unsigned int {\em \_\-\_\-maxNumberOfIterationWithoutImprovement})\hspace{0.3cm}{\tt [inline]}}\label{classmo_steady_fit_sol_continue_5f50fb18e380230e37301f33319786a4} Basic constructor. @@ -71,16 +71,16 @@ Basic constructor. \begin{Desc} \item[Parameters:] \begin{description} -\item[{\em \_\-\_\-max\-Number\-Of\-Iterations}]The number of iterations to reach before looking for the fitness. \item[{\em \_\-\_\-max\-Number\-Of\-Iteration\-Without\-Improvement}]The number of iterations without fitness improvement to reach for stop. \end{description} +\item[{\em \_\-\_\-maxNumberOfIterations}]The number of iterations to reach before looking for the fitness. \item[{\em \_\-\_\-maxNumberOfIterationWithoutImprovement}]The number of iterations without fitness improvement to reach for stop. \end{description} \end{Desc} -Definition at line 34 of file mo\-Steady\-Fit\-Sol\-Continue.h. +Definition at line 34 of file moSteadyFitSolContinue.h. \subsection{Member Function Documentation} -\index{moSteadyFitSolContinue@{mo\-Steady\-Fit\-Sol\-Continue}!operator()@{operator()}} -\index{operator()@{operator()}!moSteadyFitSolContinue@{mo\-Steady\-Fit\-Sol\-Continue}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ bool \bf{mo\-Steady\-Fit\-Sol\-Continue}$<$ EOT $>$::operator() (const EOT \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_steady_fit_sol_continue_942e58ec00bb61000a83c80176e14bc3} +\index{moSteadyFitSolContinue@{moSteadyFitSolContinue}!operator()@{operator()}} +\index{operator()@{operator()}!moSteadyFitSolContinue@{moSteadyFitSolContinue}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ bool {\bf moSteadyFitSolContinue}$<$ EOT $>$::operator() (const EOT \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_steady_fit_sol_continue_942e58ec00bb61000a83c80176e14bc3} Function that activates the stopping criterion. @@ -96,23 +96,23 @@ Indicates if the fitness has not been improved since a number of iterations (aft \item[Returns:]true or false. \end{Desc} -Definition at line 46 of file mo\-Steady\-Fit\-Sol\-Continue.h. +Definition at line 46 of file moSteadyFitSolContinue.h. -References mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::counter, mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::first\-Fitness\-Saved, mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::fitness, mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::max\-Number\-Of\-Iterations, mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::max\-Number\-Of\-Iterations\-Reached, and mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::max\-Number\-Of\-Iterations\-Without\-Improvement.\index{moSteadyFitSolContinue@{mo\-Steady\-Fit\-Sol\-Continue}!init@{init}} -\index{init@{init}!moSteadyFitSolContinue@{mo\-Steady\-Fit\-Sol\-Continue}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{mo\-Steady\-Fit\-Sol\-Continue}$<$ EOT $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_steady_fit_sol_continue_87563493addc8e4b58982c55a67179b9} +References moSteadyFitSolContinue$<$ EOT $>$::counter, moSteadyFitSolContinue$<$ EOT $>$::firstFitnessSaved, moSteadyFitSolContinue$<$ EOT $>$::fitness, moSteadyFitSolContinue$<$ EOT $>$::maxNumberOfIterations, moSteadyFitSolContinue$<$ EOT $>$::maxNumberOfIterationsReached, and moSteadyFitSolContinue$<$ EOT $>$::maxNumberOfIterationsWithoutImprovement.\index{moSteadyFitSolContinue@{moSteadyFitSolContinue}!init@{init}} +\index{init@{init}!moSteadyFitSolContinue@{moSteadyFitSolContinue}} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void {\bf moSteadyFitSolContinue}$<$ EOT $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_steady_fit_sol_continue_87563493addc8e4b58982c55a67179b9} Procedure which allows to initialise the stuff needed. It can be also used to reinitialize the counter all the needed things. -Implements \bf{mo\-Sol\-Continue$<$ EOT $>$} \doxyref{p.}{classmo_sol_continue_064dc966a210f4ffb9515be3f03ca4c7}. +Implements {\bf moSolContinue$<$ EOT $>$} \doxyref{}{p.}{classmo_sol_continue_064dc966a210f4ffb9515be3f03ca4c7}. -Definition at line 90 of file mo\-Steady\-Fit\-Sol\-Continue.h. +Definition at line 90 of file moSteadyFitSolContinue.h. -References mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::counter, mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::first\-Fitness\-Saved, and mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::max\-Number\-Of\-Iterations\-Reached. +References moSteadyFitSolContinue$<$ EOT $>$::counter, moSteadyFitSolContinue$<$ EOT $>$::firstFitnessSaved, and moSteadyFitSolContinue$<$ EOT $>$::maxNumberOfIterationsReached. The documentation for this class was generated from the following file:\begin{CompactItemize} \item -mo\-Steady\-Fit\-Sol\-Continue.h\end{CompactItemize} +moSteadyFitSolContinue.h\end{CompactItemize} diff --git a/trunk/paradiseo-mo/doc/latex/classmo_t_s.eps b/trunk/paradiseo-mo/doc/latex/classmo_t_s.eps index a62652ad5..7f23b6aef 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_t_s.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_t_s.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 271.739 +%%BoundingBox: 0 0 500 268.456 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,13 +19,13 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 1.84 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 1.8625 def % aspect ratio of the BoundingBox (width/height) /boundx 500 def /boundy boundx boundaspect div def /xspacing 0 def /yspacing 0 def -/rows 5 def -/cols 2 def +/rows 2 def +/cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -175,10 +175,6 @@ boxfont setfont 1 boundaspect scale (moTS< M >) cw (moAlgo< M::EOType >) cw -(eoMonOp< M::EOType >) cw -(eoOp< EOType >) cw -(eoUF< M::EOType &, bool >) cw -(eoFunctorBase) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def @@ -190,32 +186,12 @@ boundx scalefactor div boundy scalefactor div scale % ----- classes ----- - (moTS< M >) 0.5 0 box - (moAlgo< M::EOType >) 0.5 1 box - (eoMonOp< M::EOType >) 0.5 2 box - (eoOp< EOType >) 0 3 box - (eoUF< M::EOType &, bool >) 1 3 box - (eoFunctorBase) 1 4 box + (moTS< M >) 0 0 box + (moAlgo< M::EOType >) 0 1 box % ----- relations ----- solid -0 0.5 0 out +0 0 0 out solid -1 0.5 1 in -solid -0 0.5 1 out -solid -1 0.5 2 in -solid -0 0.5 2 out -solid -0 1 3 conn -solid -1 0 3 in -solid -1 1 3 in -solid -0 1 3 out -solid -1 1 4 in +1 0 1 in diff --git a/trunk/paradiseo-mo/doc/latex/classmo_t_s.tex b/trunk/paradiseo-mo/doc/latex/classmo_t_s.tex index 28299680d..cceaa8d92 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_t_s.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_t_s.tex @@ -8,15 +8,15 @@ Tabu Search (TS). Inheritance diagram for moTS$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=5cm]{classmo_t_s} +\includegraphics[height=2cm]{classmo_t_s} \end{center} \end{figure} \subsection*{Public Member Functions} \begin{CompactItemize} \item -{\bf moTS} ({\bf moMoveInit}$<$ M $>$ \&\_\-\_\-move\_\-init, {\bf moNextMove}$<$ M $>$ \&\_\-\_\-next\_\-move, {\bf moMoveIncrEval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, {\bf moTabuList}$<$ M $>$ \&\_\-\_\-tabu\_\-list, {\bf moAspirCrit}$<$ M $>$ \&\_\-\_\-aspir\_\-crit, {\bf moSolContinue}$<$ {\bf EOT} $>$ \&\_\-\_\-cont, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval) +{\bf moTS} ({\bf moMoveInit}$<$ M $>$ \&\_\-\_\-move\_\-init, {\bf moNextMove}$<$ M $>$ \&\_\-\_\-next\_\-move, {\bf moMoveIncrEval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, {\bf moTabuList}$<$ M $>$ \&\_\-\_\-tabu\_\-list, {\bf moAspirCrit}$<$ M $>$ \&\_\-\_\-aspir\_\-crit, {\bf moSolContinue}$<$ {\bf EOT} $>$ \&\_\-\_\-cont, eoEvalFunc$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval) \begin{CompactList}\small\item\em Constructor of a \doxyref{moTS}{p.}{classmo_t_s} specifying all the boxes. \item\end{CompactList}\item -{\bf moTS} ({\bf moMoveExpl}$<$ M $>$ \&\_\-\_\-move\_\-expl, {\bf moSolContinue}$<$ {\bf EOT} $>$ \&\_\-\_\-cont, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval) +{\bf moTS} ({\bf moMoveExpl}$<$ M $>$ \&\_\-\_\-move\_\-expl, {\bf moSolContinue}$<$ {\bf EOT} $>$ \&\_\-\_\-cont, eoEvalFunc$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval) \begin{CompactList}\small\item\em Constructor with less parameters. \item\end{CompactList}\item bool {\bf operator()} ({\bf EOT} \&\_\-\_\-sol) \begin{CompactList}\small\item\em Function which launchs the Tabu Search. \item\end{CompactList}\end{CompactItemize} @@ -38,7 +38,7 @@ typedef EOT::Fitness {\bf Fitness}\label{classmo_t_s_aa0eefbb17111422e495d1255f8 {\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\bf cont}\label{classmo_t_s_969371cd2202f3d29cbb426f57ac7d3a} \begin{CompactList}\small\item\em Stop criterion. \item\end{CompactList}\item -{\bf eoEvalFunc}$<$ {\bf EOT} $>$ \& {\bf full\_\-eval}\label{classmo_t_s_fb67eddae5d0bfca4ed881995523231e} +eoEvalFunc$<$ {\bf EOT} $>$ \& {\bf full\_\-eval}\label{classmo_t_s_fb67eddae5d0bfca4ed881995523231e} \begin{CompactList}\small\item\em Full evaluation function. \item\end{CompactList}\end{CompactItemize} @@ -57,7 +57,7 @@ Definition at line 29 of file moTS.h. \subsection{Constructor \& Destructor Documentation} \index{moTS@{moTS}!moTS@{moTS}} \index{moTS@{moTS}!moTS@{moTS}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moTS}$<$ M $>$::{\bf moTS} ({\bf moMoveInit}$<$ M $>$ \& {\em \_\-\_\-move\_\-init}, {\bf moNextMove}$<$ M $>$ \& {\em \_\-\_\-next\_\-move}, {\bf moMoveIncrEval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, {\bf moTabuList}$<$ M $>$ \& {\em \_\-\_\-tabu\_\-list}, {\bf moAspirCrit}$<$ M $>$ \& {\em \_\-\_\-aspir\_\-crit}, {\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-cont}, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_t_s_2be23f4524733ee6f37b71310d76407e} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moTS}$<$ M $>$::{\bf moTS} ({\bf moMoveInit}$<$ M $>$ \& {\em \_\-\_\-move\_\-init}, {\bf moNextMove}$<$ M $>$ \& {\em \_\-\_\-next\_\-move}, {\bf moMoveIncrEval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, {\bf moTabuList}$<$ M $>$ \& {\em \_\-\_\-tabu\_\-list}, {\bf moAspirCrit}$<$ M $>$ \& {\em \_\-\_\-aspir\_\-crit}, {\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-cont}, eoEvalFunc$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_t_s_2be23f4524733ee6f37b71310d76407e} Constructor of a \doxyref{moTS}{p.}{classmo_t_s} specifying all the boxes. @@ -73,7 +73,7 @@ In this constructor, a \doxyref{moTSMoveLoopExpl}{p.}{classmo_t_s_move_loop_expl Definition at line 58 of file moTS.h.\index{moTS@{moTS}!moTS@{moTS}} \index{moTS@{moTS}!moTS@{moTS}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moTS}$<$ M $>$::{\bf moTS} ({\bf moMoveExpl}$<$ M $>$ \& {\em \_\-\_\-move\_\-expl}, {\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-cont}, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_t_s_508e675c4232cf2ca06dded931c90bab} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moTS}$<$ M $>$::{\bf moTS} ({\bf moMoveExpl}$<$ M $>$ \& {\em \_\-\_\-move\_\-expl}, {\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-cont}, eoEvalFunc$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_t_s_508e675c4232cf2ca06dded931c90bab} Constructor with less parameters. @@ -92,7 +92,7 @@ Definition at line 71 of file moTS.h. \subsection{Member Function Documentation} \index{moTS@{moTS}!operator()@{operator()}} \index{operator()@{operator()}!moTS@{moTS}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moTS}$<$ M $>$::operator() ({\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_t_s_94d25a76fe1bc9ef0bbd0358ff55aceb} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moTS}$<$ M $>$::operator() ({\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_t_s_94d25a76fe1bc9ef0bbd0358ff55aceb} Function which launchs the Tabu Search. @@ -108,8 +108,6 @@ Algorithm of the tabu search. As a \doxyref{moSA}{p.}{classmo_s_a} or a \doxyref \item[Returns:]TRUE. \end{Desc} -Implements {\bf eoUF$<$ M::EOType \&, bool $>$}. - Definition at line 85 of file moTS.h. References moTS$<$ M $>$::cont, moTS$<$ M $>$::full\_\-eval, and moTS$<$ M $>$::move\_\-expl. diff --git a/trunk/paradiseo-mo/doc/latex/classmo_t_s_move_loop_expl.eps b/trunk/paradiseo-mo/doc/latex/classmo_t_s_move_loop_expl.eps index fd31fc02a..d8324527a 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_t_s_move_loop_expl.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_t_s_move_loop_expl.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 327.869 +%%BoundingBox: 0 0 500 352.941 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 1.525 def % aspect ratio of the BoundingBox (width/height) +/boundaspect 1.41667 def % aspect ratio of the BoundingBox (width/height) /boundx 500 def /boundy boundx boundaspect div def /xspacing 0 def /yspacing 0 def -/rows 5 def +/rows 3 def /cols 1 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -176,8 +176,6 @@ boxfont setfont (moTSMoveLoopExpl< M >) cw (moMoveLoopExpl< M >) cw (moMoveExpl< M >) cw -(eoBF< const M::EOType &, M::EOType &, void >) cw -(eoFunctorBase) cw /boxwidth boxwidth marginwidth 2 mul add def /xspacing boxwidth distx add def /yspacing boxheight disty add def @@ -192,8 +190,6 @@ boundx scalefactor div boundy scalefactor div scale (moTSMoveLoopExpl< M >) 0 0 box (moMoveLoopExpl< M >) 0 1 box (moMoveExpl< M >) 0 2 box - (eoBF< const M::EOType &, M::EOType &, void >) 0 3 box - (eoFunctorBase) 0 4 box % ----- relations ----- @@ -205,11 +201,3 @@ solid 0 0 1 out solid 1 0 2 in -solid -0 0 2 out -solid -1 0 3 in -solid -0 0 3 out -solid -1 0 4 in diff --git a/trunk/paradiseo-mo/doc/latex/classmo_t_s_move_loop_expl.tex b/trunk/paradiseo-mo/doc/latex/classmo_t_s_move_loop_expl.tex index 2a5d367c6..5960c57c6 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_t_s_move_loop_expl.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_t_s_move_loop_expl.tex @@ -8,7 +8,7 @@ Explorer for a Tabu Search algorithm. Inheritance diagram for moTSMoveLoopExpl$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=5cm]{classmo_t_s_move_loop_expl} +\includegraphics[height=3cm]{classmo_t_s_move_loop_expl} \end{center} \end{figure} \subsection*{Public Member Functions} @@ -83,7 +83,7 @@ References moTSMoveLoopExpl$<$ M $>$::aspir\_\-crit, and moTSMoveLoopExpl$<$ M $ \subsection{Member Function Documentation} \index{moTSMoveLoopExpl@{moTSMoveLoopExpl}!operator()@{operator()}} \index{operator()@{operator()}!moTSMoveLoopExpl@{moTSMoveLoopExpl}} -\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moTSMoveLoopExpl}$<$ M $>$::operator() (const {\bf EOT} \& {\em \_\-\_\-old\_\-sol}, {\bf EOT} \& {\em \_\-\_\-new\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_t_s_move_loop_expl_f601bbd0ccc41d6fbe3df9fcd87ad9e7} +\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moTSMoveLoopExpl}$<$ M $>$::operator() (const {\bf EOT} \& {\em \_\-\_\-old\_\-sol}, {\bf EOT} \& {\em \_\-\_\-new\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_t_s_move_loop_expl_f601bbd0ccc41d6fbe3df9fcd87ad9e7} Procedure which lauches the exploration. @@ -97,8 +97,6 @@ The exploration continues while the chosen move is not in the tabu list or the a \end{Desc} -Implements {\bf eoBF$<$ const M::EOType \&, M::EOType \&, void $>$}. - Definition at line 69 of file moTSMoveLoopExpl.h. References moTSMoveLoopExpl$<$ M $>$::aspir\_\-crit, moTSMoveLoopExpl$<$ M $>$::incr\_\-eval, moTSMoveLoopExpl$<$ M $>$::move\_\-init, moTSMoveLoopExpl$<$ M $>$::move\_\-select, moTSMoveLoopExpl$<$ M $>$::next\_\-move, and moTSMoveLoopExpl$<$ M $>$::tabu\_\-list. diff --git a/trunk/paradiseo-mo/doc/latex/classmo_tabu_list.eps b/trunk/paradiseo-mo/doc/latex/classmo_tabu_list.eps index 2aee2f1b6..63ca07c99 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_tabu_list.eps +++ b/trunk/paradiseo-mo/doc/latex/classmo_tabu_list.eps @@ -5,7 +5,7 @@ %%For: %Magnification: 1.00 %%Orientation: Portrait -%%BoundingBox: 0 0 500 138.889 +%%BoundingBox: 0 0 500 100 %%Pages: 0 %%BeginSetup %%EndSetup @@ -19,12 +19,12 @@ /marginwidth 10 def /distx 20 def /disty 40 def -/boundaspect 3.6 def % aspect ratio of the BoundingBox (width/height) +/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 +/rows 2 def /cols 2 def /scalefactor 0 def /boxfont /Times-Roman findfont fontheight scalefont def @@ -174,8 +174,6 @@ boxfont setfont 1 boundaspect scale (moTabuList< M >) cw -(eoBF< const M &, const M::EOType &, bool >) cw -(eoFunctorBase) cw (moSimpleMoveTabuList< M >) cw (moSimpleSolutionTabuList< M >) cw /boxwidth boxwidth marginwidth 2 mul add def @@ -190,21 +188,11 @@ boundx scalefactor div boundy scalefactor div scale % ----- classes ----- (moTabuList< M >) 0.5 1 box - (eoBF< const M &, const M::EOType &, bool >) 0.5 2 box - (eoFunctorBase) 0.5 3 box (moSimpleMoveTabuList< M >) 0 0 box (moSimpleSolutionTabuList< M >) 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 diff --git a/trunk/paradiseo-mo/doc/latex/classmo_tabu_list.tex b/trunk/paradiseo-mo/doc/latex/classmo_tabu_list.tex index 1ed7c1b47..5cc19f839 100644 --- a/trunk/paradiseo-mo/doc/latex/classmo_tabu_list.tex +++ b/trunk/paradiseo-mo/doc/latex/classmo_tabu_list.tex @@ -8,7 +8,7 @@ Class describing a tabu list that a \doxyref{moTS}{p.}{classmo_t_s} uses. Inheritance diagram for moTabuList$<$ M $>$::\begin{figure}[H] \begin{center} \leavevmode -\includegraphics[height=3.88889cm]{classmo_tabu_list} +\includegraphics[height=2cm]{classmo_tabu_list} \end{center} \end{figure} \subsection*{Public Types} @@ -65,7 +65,7 @@ Procedure that updates the tabu list content. Generally, a counter associated to each saved move is decreased by one. -Implemented in {\bf moSimpleMoveTabuList$<$ M $>$} \doxyref{}{p.}{classmo_simple_move_tabu_list_96cffc8118456ed762b07b9fc0e0679f}, and {\bf moSimpleSolutionTabuList$<$ M $>$} \doxyref{}{p.}{classmo_simple_solution_tabu_list_91b8b01dba7ffea8b63765d931e56f56}.\index{moTabuList@{moTabuList}!init@{init}} +Implemented in {\bf moSimpleMoveTabuList$<$ M $>$} \doxyref{}{p.}{classmo_simple_move_tabu_list_96cffc8118456ed762b07b9fc0e0679f}, {\bf moSimpleSolutionTabuList$<$ M $>$} \doxyref{}{p.}{classmo_simple_solution_tabu_list_91b8b01dba7ffea8b63765d931e56f56}, and {\bf TwoOptTabuList} \doxyref{}{p.}{class_two_opt_tabu_list_c460034b7debe7198c6df046855155da}.\index{moTabuList@{moTabuList}!init@{init}} \index{init@{init}!moTabuList@{moTabuList}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ virtual void {\bf moTabuList}$<$ M $>$::init ()\hspace{0.3cm}{\tt [pure virtual]}}\label{classmo_tabu_list_0a06c459d56e8e2b408a8f3c6aec4e57} @@ -74,7 +74,7 @@ Procedure which initialises the tabu list. Can be useful if the data structure needs to be allocated before being used. -Implemented in {\bf moSimpleMoveTabuList$<$ M $>$} \doxyref{}{p.}{classmo_simple_move_tabu_list_b91ae9971be30769757d1ad92c6009dc}, and {\bf moSimpleSolutionTabuList$<$ M $>$} \doxyref{}{p.}{classmo_simple_solution_tabu_list_d5645c39fec71a6110a2cbccbb08b816}. +Implemented in {\bf moSimpleMoveTabuList$<$ M $>$} \doxyref{}{p.}{classmo_simple_move_tabu_list_b91ae9971be30769757d1ad92c6009dc}, {\bf moSimpleSolutionTabuList$<$ M $>$} \doxyref{}{p.}{classmo_simple_solution_tabu_list_d5645c39fec71a6110a2cbccbb08b816}, and {\bf TwoOptTabuList} \doxyref{}{p.}{class_two_opt_tabu_list_2d3101e6045700b0e32f5e82672a175e}. The documentation for this class was generated from the following file:\begin{CompactItemize} \item diff --git a/trunk/paradiseo-mo/doc/latex/doxygen.sty b/trunk/paradiseo-mo/doc/latex/doxygen.sty index cca9cf2eb..380517dc0 100644 --- a/trunk/paradiseo-mo/doc/latex/doxygen.sty +++ b/trunk/paradiseo-mo/doc/latex/doxygen.sty @@ -10,8 +10,8 @@ {\fancyplain{}{\bfseries\rightmark}} \rhead[\fancyplain{}{\bfseries\leftmark}] {\fancyplain{}{\bfseries\thepage}} -\rfoot[\fancyplain{}{\bfseries\scriptsize Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by Doxygen }]{} -\lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Fri Jul 6 17:23:18 2007 for PARADISEO-MO by Doxygen }} +\rfoot[\fancyplain{}{\bfseries\scriptsize Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by Doxygen }]{} +\lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Thu Sep 20 11:30:28 2007 for ParadisEO-MOMovingObjects by Doxygen }} \cfoot{} \newenvironment{Code} {\footnotesize} diff --git a/trunk/paradiseo-mo/doc/latex/hierarchy.tex b/trunk/paradiseo-mo/doc/latex/hierarchy.tex index 66deba8dc..018b31b01 100644 --- a/trunk/paradiseo-mo/doc/latex/hierarchy.tex +++ b/trunk/paradiseo-mo/doc/latex/hierarchy.tex @@ -1,28 +1,36 @@ -\section{PARADISEO-MO Class Hierarchy} +\section{ParadisEO-MOMovingObjects Class Hierarchy} This inheritance list is sorted roughly, but not completely, alphabetically:\begin{CompactList} +\item \contentsline{section}{CitySwap}{\pageref{class_city_swap}}{} +\item \contentsline{section}{EdgeXover}{\pageref{class_edge_xover}}{} \item \contentsline{section}{EmptySelection}{\pageref{class_empty_selection}}{} -\item eoFunctorBase{\tt [external]}\begin{CompactList} -\item eoBF$<$ const M \&, const M::EOType \&, bool $>${\tt [external]}\begin{CompactList} -\item \contentsline{section}{moTabuList$<$ M $>$}{\pageref{classmo_tabu_list}}{} +\item \contentsline{section}{moAlgo$<$ EOT $>$}{\pageref{classmo_algo}}{} +\item \contentsline{section}{moAlgo$<$ M::EOType $>$}{\pageref{classmo_algo}}{} \begin{CompactList} -\item \contentsline{section}{moSimpleMoveTabuList$<$ M $>$}{\pageref{classmo_simple_move_tabu_list}}{} -\item \contentsline{section}{moSimpleSolutionTabuList$<$ M $>$}{\pageref{classmo_simple_solution_tabu_list}}{} +\item \contentsline{section}{moHC$<$ M $>$}{\pageref{classmo_h_c}}{} +\item \contentsline{section}{moILS$<$ M $>$}{\pageref{classmo_i_l_s}}{} +\item \contentsline{section}{moSA$<$ M $>$}{\pageref{classmo_s_a}}{} +\item \contentsline{section}{moTS$<$ M $>$}{\pageref{classmo_t_s}}{} \end{CompactList} -\end{CompactList} -\item eoBF$<$ const M \&, const M::EOType \&, M::EOType::Fitness $>${\tt [external]}\begin{CompactList} -\item \contentsline{section}{moMoveIncrEval$<$ M $>$}{\pageref{classmo_move_incr_eval}}{} -\end{CompactList} -\item eoBF$<$ const M \&, const M::EOType \&, void $>${\tt [external]}\begin{CompactList} -\item \contentsline{section}{moLSCheckPoint$<$ M $>$}{\pageref{classmo_l_s_check_point}}{} -\end{CompactList} -\item eoBF$<$ const M \&, const M::EOType::Fitness \&, bool $>${\tt [external]}\begin{CompactList} \item \contentsline{section}{moAspirCrit$<$ M $>$}{\pageref{classmo_aspir_crit}}{} \begin{CompactList} \item \contentsline{section}{moImprBestFitAspirCrit$<$ M $>$}{\pageref{classmo_impr_best_fit_aspir_crit}}{} \item \contentsline{section}{moNoAspirCrit$<$ M $>$}{\pageref{classmo_no_aspir_crit}}{} \end{CompactList} +\item \contentsline{section}{moComparator$<$ EOT $>$}{\pageref{classmo_comparator}}{} +\begin{CompactList} +\item \contentsline{section}{moFitComparator$<$ EOT $>$}{\pageref{classmo_fit_comparator}}{} +\end{CompactList} +\item \contentsline{section}{moCoolingSchedule}{\pageref{classmo_cooling_schedule}}{} +\begin{CompactList} +\item \contentsline{section}{moExponentialCoolingSchedule}{\pageref{classmo_exponential_cooling_schedule}}{} +\item \contentsline{section}{moLinearCoolingSchedule}{\pageref{classmo_linear_cooling_schedule}}{} +\end{CompactList} +\item \contentsline{section}{moLSCheckPoint$<$ M $>$}{\pageref{classmo_l_s_check_point}}{} +\item \contentsline{section}{moMove$<$ EOT $>$}{\pageref{classmo_move}}{} +\item \contentsline{section}{moMove$<$ Route $>$}{\pageref{classmo_move}}{} +\begin{CompactList} +\item \contentsline{section}{TwoOpt}{\pageref{class_two_opt}}{} \end{CompactList} -\item eoBF$<$ const M::EOType \&, M::EOType \&, void $>${\tt [external]}\begin{CompactList} \item \contentsline{section}{moMoveExpl$<$ M $>$}{\pageref{classmo_move_expl}}{} \begin{CompactList} \item \contentsline{section}{moMoveLoopExpl$<$ M $>$}{\pageref{classmo_move_loop_expl}}{} @@ -31,59 +39,56 @@ This inheritance list is sorted roughly, but not completely, alphabetically:\beg \item \contentsline{section}{moTSMoveLoopExpl$<$ M $>$}{\pageref{classmo_t_s_move_loop_expl}}{} \end{CompactList} \end{CompactList} -\end{CompactList} -\item eoBF$<$ M \&, const M::EOType \&, bool $>${\tt [external]}\begin{CompactList} -\item \contentsline{section}{moNextMove$<$ M $>$}{\pageref{classmo_next_move}}{} +\item \contentsline{section}{moMoveIncrEval$<$ M $>$}{\pageref{classmo_move_incr_eval}}{} +\item \contentsline{section}{moMoveIncrEval$<$ TwoOpt $>$}{\pageref{classmo_move_incr_eval}}{} \begin{CompactList} -\item \contentsline{section}{moItRandNextMove$<$ M $>$}{\pageref{classmo_it_rand_next_move}}{} +\item \contentsline{section}{TwoOptIncrEval}{\pageref{class_two_opt_incr_eval}}{} \end{CompactList} -\end{CompactList} -\item eoBF$<$ M \&, const M::EOType \&, void $>${\tt [external]}\begin{CompactList} \item \contentsline{section}{moMoveInit$<$ M $>$}{\pageref{classmo_move_init}}{} +\item \contentsline{section}{moMoveInit$<$ TwoOpt $>$}{\pageref{classmo_move_init}}{} +\begin{CompactList} +\item \contentsline{section}{PartTwoOptInit}{\pageref{class_part_two_opt_init}}{} +\item \contentsline{section}{TwoOptInit}{\pageref{class_two_opt_init}}{} \end{CompactList} -\item eoBF$<$ M \&, M::EOType::Fitness \&, void $>${\tt [external]}\begin{CompactList} \item \contentsline{section}{moMoveSelect$<$ M $>$}{\pageref{classmo_move_select}}{} \begin{CompactList} \item \contentsline{section}{moBestImprSelect$<$ M $>$}{\pageref{classmo_best_impr_select}}{} \item \contentsline{section}{moFirstImprSelect$<$ M $>$}{\pageref{classmo_first_impr_select}}{} \item \contentsline{section}{moRandImprSelect$<$ M $>$}{\pageref{classmo_rand_impr_select}}{} \end{CompactList} +\item \contentsline{section}{moNextMove$<$ M $>$}{\pageref{classmo_next_move}}{} +\begin{CompactList} +\item \contentsline{section}{moItRandNextMove$<$ M $>$}{\pageref{classmo_it_rand_next_move}}{} +\end{CompactList} +\item \contentsline{section}{moNextMove$<$ TwoOpt $>$}{\pageref{classmo_next_move}}{} +\begin{CompactList} +\item \contentsline{section}{PartTwoOptNext}{\pageref{class_part_two_opt_next}}{} +\item \contentsline{section}{TwoOptNext}{\pageref{class_two_opt_next}}{} +\end{CompactList} +\item \contentsline{section}{moRandMove$<$ M $>$}{\pageref{classmo_rand_move}}{} +\item \contentsline{section}{moRandMove$<$ TwoOpt $>$}{\pageref{classmo_rand_move}}{} +\begin{CompactList} +\item \contentsline{section}{TwoOptRand}{\pageref{class_two_opt_rand}}{} \end{CompactList} -\item eoUF$<$ const EOT \&, bool $>${\tt [external]}\begin{CompactList} \item \contentsline{section}{moSolContinue$<$ EOT $>$}{\pageref{classmo_sol_continue}}{} \begin{CompactList} +\item \contentsline{section}{moFitSolContinue$<$ EOT $>$}{\pageref{classmo_fit_sol_continue}}{} \item \contentsline{section}{moGenSolContinue$<$ EOT $>$}{\pageref{classmo_gen_sol_continue}}{} +\item \contentsline{section}{moNoFitImprSolContinue$<$ EOT $>$}{\pageref{classmo_no_fit_impr_sol_continue}}{} +\item \contentsline{section}{moSteadyFitSolContinue$<$ EOT $>$}{\pageref{classmo_steady_fit_sol_continue}}{} \end{CompactList} -\end{CompactList} -\item eoUF$<$ double \&, bool $>${\tt [external]}\begin{CompactList} -\item \contentsline{section}{moCoolingSchedule}{\pageref{classmo_cooling_schedule}}{} +\item \contentsline{section}{moTabuList$<$ M $>$}{\pageref{classmo_tabu_list}}{} \begin{CompactList} -\item \contentsline{section}{moExponentialCoolingSchedule}{\pageref{classmo_exponential_cooling_schedule}}{} -\item \contentsline{section}{moLinearCoolingSchedule}{\pageref{classmo_linear_cooling_schedule}}{} +\item \contentsline{section}{moSimpleMoveTabuList$<$ M $>$}{\pageref{classmo_simple_move_tabu_list}}{} +\item \contentsline{section}{moSimpleSolutionTabuList$<$ M $>$}{\pageref{classmo_simple_solution_tabu_list}}{} \end{CompactList} -\end{CompactList} -\item eoUF$<$ EOT \&, bool $>${\tt [external]}\begin{CompactList} -\item eoMonOp$<$ EOT $>${\tt [external]}\begin{CompactList} -\item \contentsline{section}{moAlgo$<$ EOT $>$}{\pageref{classmo_algo}}{} -\end{CompactList} -\end{CompactList} -\item eoUF$<$ EOT \&, void $>${\tt [external]}\begin{CompactList} -\item \contentsline{section}{moMove$<$ EOT $>$}{\pageref{classmo_move}}{} -\end{CompactList} -\item eoUF$<$ EOType \&, bool $>${\tt [external]}\item eoUF$<$ M \&, void $>${\tt [external]}\begin{CompactList} -\item \contentsline{section}{moRandMove$<$ M $>$}{\pageref{classmo_rand_move}}{} -\end{CompactList} -\item eoUF$<$ M::EOType \&, bool $>${\tt [external]}\begin{CompactList} -\item eoMonOp$<$ M::EOType $>${\tt [external]}\begin{CompactList} -\item \contentsline{section}{moAlgo$<$ M::EOType $>$}{\pageref{classmo_algo}}{} +\item \contentsline{section}{moTabuList$<$ TwoOpt $>$}{\pageref{classmo_tabu_list}}{} \begin{CompactList} -\item \contentsline{section}{moHC$<$ M $>$}{\pageref{classmo_h_c}}{} -\item \contentsline{section}{moSA$<$ M $>$}{\pageref{classmo_s_a}}{} -\item \contentsline{section}{moTS$<$ M $>$}{\pageref{classmo_t_s}}{} +\item \contentsline{section}{TwoOptTabuList}{\pageref{class_two_opt_tabu_list}}{} \end{CompactList} -\end{CompactList} -\end{CompactList} -\end{CompactList} -\item eoOp$<$ EOType $>${\tt [external]}\begin{CompactList} -\item eoMonOp$<$ EOT $>${\tt [external]}\item eoMonOp$<$ M::EOType $>${\tt [external]}\end{CompactList} +\item \contentsline{section}{OrderXover}{\pageref{class_order_xover}}{} +\item \contentsline{section}{PartialMappedXover}{\pageref{class_partial_mapped_xover}}{} +\item \contentsline{section}{PartRouteEval}{\pageref{class_part_route_eval}}{} +\item \contentsline{section}{RouteEval}{\pageref{class_route_eval}}{} +\item \contentsline{section}{RouteInit}{\pageref{class_route_init}}{} \end{CompactList} diff --git a/trunk/paradiseo-mo/doc/latex/main.tex b/trunk/paradiseo-mo/doc/latex/main.tex index 8dba03e9c..3ce1b6114 100644 --- a/trunk/paradiseo-mo/doc/latex/main.tex +++ b/trunk/paradiseo-mo/doc/latex/main.tex @@ -1,5 +1,5 @@ -\section{intro}\label{main_intro} -MO is an extension of the ANSI-C++ compliant evolutionary computation library {\bf EO}. \par - It contains classes for almost any kind of one solution based heuristics.\section{tutorial}\label{main_tutorial} -\section{install}\label{main_install} -The installation procedure of the package is detailed in the {\tt README} file in the top-directory of the source-tree.\section{design}\label{main_design} +\section{Introduction}\label{main_intro} +MO is an extension of the ANSI-C++ compliant evolutionary computation library EO. \par + It contains classes for almost any kind of one solution based heuristics.\section{Tutorial}\label{main_tutorial} +\section{Installation}\label{main_install} +The installation procedure of the package is detailed in the {\tt README} file in the top-directory of the source-tree.\section{Overall Design}\label{main_design} diff --git a/trunk/paradiseo-mo/doc/latex/namespace_graph.tex b/trunk/paradiseo-mo/doc/latex/namespace_graph.tex new file mode 100644 index 000000000..c4e7f4315 --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/namespace_graph.tex @@ -0,0 +1,28 @@ +\section{Graph Namespace Reference} +\label{namespace_graph}\index{Graph@{Graph}} + + +\subsection*{Functions} +\begin{CompactItemize} +\item +unsigned {\bf size} ()\label{namespace_graph_28d00fd97d57e79738e7df7ba8214f5c} + +\item +void {\bf computeDistances} ()\label{namespace_graph_517d15215e1529a6585e15949f29c326} + +\item +void {\bf load} (const char $\ast$\_\-\_\-fileName)\label{namespace_graph_95f0bc08fa93f8f4abf1801674488b30} + +\item +float {\bf distance} (unsigned int \_\-\_\-from, unsigned int \_\-\_\-to)\label{namespace_graph_510a8b9e849ec2c3241a09cac9d45cc6} + +\end{CompactItemize} +\subsection*{Variables} +\begin{CompactItemize} +\item +static std::vector$<$ std::pair$<$ double, double $>$ $>$ {\bf vectCoord}\label{namespace_graph_4199f2387f0cda6c75804c94b635e24c} + +\item +static std::vector$<$ std::vector$<$ unsigned int $>$ $>$ {\bf dist}\label{namespace_graph_c1316f71ab101e1f63eecd81a8d7a400} + +\end{CompactItemize} diff --git a/trunk/paradiseo-mo/doc/latex/namespaces.tex b/trunk/paradiseo-mo/doc/latex/namespaces.tex new file mode 100644 index 000000000..dda2d6978 --- /dev/null +++ b/trunk/paradiseo-mo/doc/latex/namespaces.tex @@ -0,0 +1,4 @@ +\section{ParadisEO-MOMovingObjects Namespace List} +Here is a list of all documented namespaces with brief descriptions:\begin{CompactList} +\item\contentsline{section}{{\bf Graph} }{\pageref{namespace_graph}}{} +\end{CompactList} diff --git a/trunk/paradiseo-mo/doc/latex/refman.tex b/trunk/paradiseo-mo/doc/latex/refman.tex index 8bfca074c..08441c13f 100644 --- a/trunk/paradiseo-mo/doc/latex/refman.tex +++ b/trunk/paradiseo-mo/doc/latex/refman.tex @@ -16,11 +16,11 @@ \begin{titlepage} \vspace*{7cm} \begin{center} -{\Large PARADISEO-MO Reference Manual\\[1ex]\large 0.1 }\\ +{\Large ParadisEO-MOMovingObjects Reference Manual\\[1ex]\large 1.0 }\\ \vspace*{1cm} {\large Generated by Doxygen 1.5.2}\\ \vspace*{0.5cm} -{\small Fri Jul 6 17:23:18 2007}\\ +{\small Thu Sep 20 11:30:28 2007}\\ \end{center} \end{titlepage} \clearemptydoublepage @@ -30,21 +30,31 @@ \pagenumbering{arabic} \chapter{Welcome to PARADISEO-Moving Objects } \label{index}\input{main} -\chapter{PARADISEO-MO Hierarchical Index} +\chapter{ParadisEO-MOMovingObjects Namespace Index} +\input{namespaces} +\chapter{ParadisEO-MOMovingObjects Hierarchical Index} \input{hierarchy} -\chapter{PARADISEO-MO Class Index} +\chapter{ParadisEO-MOMovingObjects Class Index} \input{annotated} -\chapter{PARADISEO-MO Class Documentation} -\input{class_empty_selection} +\chapter{ParadisEO-MOMovingObjects Namespace Documentation} +\input{namespace_graph} +\chapter{ParadisEO-MOMovingObjects Class Documentation} +\input{class_city_swap} +\include{class_edge_xover} +\include{class_empty_selection} \include{classmo_algo} \include{classmo_aspir_crit} \include{classmo_best_impr_select} +\include{classmo_comparator} \include{classmo_cooling_schedule} \include{classmo_exponential_cooling_schedule} \include{classmo_first_impr_select} +\include{classmo_fit_comparator} +\include{classmo_fit_sol_continue} \include{classmo_gen_sol_continue} \include{classmo_h_c} \include{classmo_h_c_move_loop_expl} +\include{classmo_i_l_s} \include{classmo_impr_best_fit_aspir_crit} \include{classmo_it_rand_next_move} \include{classmo_linear_cooling_schedule} @@ -57,14 +67,29 @@ \include{classmo_move_select} \include{classmo_next_move} \include{classmo_no_aspir_crit} +\include{classmo_no_fit_impr_sol_continue} \include{classmo_rand_impr_select} \include{classmo_rand_move} \include{classmo_s_a} \include{classmo_simple_move_tabu_list} \include{classmo_simple_solution_tabu_list} \include{classmo_sol_continue} +\include{classmo_steady_fit_sol_continue} \include{classmo_tabu_list} \include{classmo_t_s} \include{classmo_t_s_move_loop_expl} +\include{class_order_xover} +\include{class_partial_mapped_xover} +\include{class_part_route_eval} +\include{class_part_two_opt_init} +\include{class_part_two_opt_next} +\include{class_route_eval} +\include{class_route_init} +\include{class_two_opt} +\include{class_two_opt_incr_eval} +\include{class_two_opt_init} +\include{class_two_opt_next} +\include{class_two_opt_rand} +\include{class_two_opt_tabu_list} \printindex \end{document} diff --git a/trunk/paradiseo-mo/doc/man/man3/EmptySelection.3 b/trunk/paradiseo-mo/doc/man/man3/EmptySelection.3 index 775ecd2a0..b180dac12 100644 --- a/trunk/paradiseo-mo/doc/man/man3/EmptySelection.3 +++ b/trunk/paradiseo-mo/doc/man/man3/EmptySelection.3 @@ -1,4 +1,4 @@ -.TH "EmptySelection" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "EmptySelection" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -20,4 +20,4 @@ Definition at line 21 of file moMoveSelect.h. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moAlgo.3 b/trunk/paradiseo-mo/doc/man/man3/moAlgo.3 index 5f53fcb2f..7c804c380 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moAlgo.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moAlgo.3 @@ -1,4 +1,4 @@ -.TH "moAlgo" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moAlgo" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -10,8 +10,6 @@ moAlgo \- Description of an algorithm of the paradiseo-mo library. .PP \fC#include \fP .PP -Inherits \fBeoMonOp< EOT >\fP. -.PP .SH "Detailed Description" .PP @@ -24,4 +22,4 @@ Definition at line 21 of file moAlgo.h. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moAspirCrit.3 b/trunk/paradiseo-mo/doc/man/man3/moAspirCrit.3 index 2b6d6d7b9..557c88d1a 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moAspirCrit.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moAspirCrit.3 @@ -1,4 +1,4 @@ -.TH "moAspirCrit" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moAspirCrit" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -10,8 +10,6 @@ moAspirCrit \- Description of the conditions in which a tabu move could be accep .PP \fC#include \fP .PP -Inherits \fBeoBF< const M &, const M::EOType::Fitness &, bool >\fP. -.PP Inherited by \fBmoImprBestFitAspirCrit< M >\fP, and \fBmoNoAspirCrit< M >\fP. .PP .SS "Public Member Functions" @@ -43,4 +41,4 @@ Implemented in \fBmoImprBestFitAspirCrit< M >\fP, and \fBmoNoAspirCrit< M >\fP. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moBestImprSelect.3 b/trunk/paradiseo-mo/doc/man/man3/moBestImprSelect.3 index d8749d1a2..6a8550809 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moBestImprSelect.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moBestImprSelect.3 @@ -1,4 +1,4 @@ -.TH "moBestImprSelect" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moBestImprSelect" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -88,7 +88,7 @@ Implements \fBmoMoveSelect< M >\fP. Definition at line 47 of file moBestImprSelect.h. .PP References moBestImprSelect< M >::best_fit, moBestImprSelect< M >::best_move, and moBestImprSelect< M >::first_time. -.SS "template void \fBmoBestImprSelect\fP< M >::operator() (M & __move, \fBFitness\fP & __fit) throw (\fBEmptySelection\fP)\fC [inline, virtual]\fP" +.SS "template void \fBmoBestImprSelect\fP< M >::operator() (M & __move, \fBFitness\fP & __fit) throw (\fBEmptySelection\fP)\fC [inline]\fP" .PP Procedure which saved the best move and fitness. .PP @@ -105,8 +105,6 @@ Procedure which saved the best move and fitness. .RE .PP -.PP -Implements \fBeoBF< M &, M::EOType::Fitness &, void >\fP. .PP Definition at line 68 of file moBestImprSelect.h. .PP @@ -114,4 +112,4 @@ References moBestImprSelect< M >::best_fit, moBestImprSelect< M >::best_move, an .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moCoolingSchedule.3 b/trunk/paradiseo-mo/doc/man/man3/moCoolingSchedule.3 index 1a4aa6538..f8eb17ebe 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moCoolingSchedule.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moCoolingSchedule.3 @@ -1,4 +1,4 @@ -.TH "moCoolingSchedule" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moCoolingSchedule" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -10,8 +10,6 @@ moCoolingSchedule \- This class gives the description of a cooling schedule. .PP \fC#include \fP .PP -Inherits \fBeoUF< double &, bool >\fP. -.PP Inherited by \fBmoExponentialCoolingSchedule\fP, and \fBmoLinearCoolingSchedule\fP. .PP .SH "Detailed Description" @@ -24,4 +22,4 @@ Definition at line 22 of file moCoolingSchedule.h. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moExponentialCoolingSchedule.3 b/trunk/paradiseo-mo/doc/man/man3/moExponentialCoolingSchedule.3 index 0879a5d03..f5b65f427 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moExponentialCoolingSchedule.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moExponentialCoolingSchedule.3 @@ -1,4 +1,4 @@ -.TH "moExponentialCoolingSchedule" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moExponentialCoolingSchedule" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -61,7 +61,7 @@ Simple constructor. Definition at line 31 of file moExponentialCoolingSchedule.h. .SH "Member Function Documentation" .PP -.SS "bool moExponentialCoolingSchedule::operator() (double & __temp)\fC [inline, virtual]\fP" +.SS "bool moExponentialCoolingSchedule::operator() (double & __temp)\fC [inline]\fP" .PP Function which proceeds to the cooling. .PP @@ -78,8 +78,6 @@ if the new temperature (current temperature * ratio) is greater than the thresho .RE .PP -.PP -Implements \fBeoUF< double &, bool >\fP. .PP Definition at line 41 of file moExponentialCoolingSchedule.h. .PP @@ -87,4 +85,4 @@ References ratio, and threshold. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moFirstImprSelect.3 b/trunk/paradiseo-mo/doc/man/man3/moFirstImprSelect.3 index 718b000a1..dda667197 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moFirstImprSelect.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moFirstImprSelect.3 @@ -1,4 +1,4 @@ -.TH "moFirstImprSelect" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moFirstImprSelect" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -101,7 +101,7 @@ TRUE if the move does not improve the fitness. Definition at line 52 of file moFirstImprSelect.h. .PP References moFirstImprSelect< M >::best_fit, moFirstImprSelect< M >::best_move, moFirstImprSelect< M >::init_fit, and moFirstImprSelect< M >::valid. -.SS "template void \fBmoFirstImprSelect\fP< M >::operator() (M & __move, \fBFitness\fP & __fit) throw (\fBEmptySelection\fP)\fC [inline, virtual]\fP" +.SS "template void \fBmoFirstImprSelect\fP< M >::operator() (M & __move, \fBFitness\fP & __fit) throw (\fBEmptySelection\fP)\fC [inline]\fP" .PP Procedure which saved the best move and fitness. .PP @@ -118,8 +118,6 @@ Procedure which saved the best move and fitness. .RE .PP -.PP -Implements \fBeoBF< M &, M::EOType::Fitness &, void >\fP. .PP Definition at line 76 of file moFirstImprSelect.h. .PP @@ -127,4 +125,4 @@ References moFirstImprSelect< M >::best_fit, moFirstImprSelect< M >::best_move, .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moFitSolContinue.3 b/trunk/paradiseo-mo/doc/man/man3/moFitSolContinue.3 index c2b285459..fb7562987 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moFitSolContinue.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moFitSolContinue.3 @@ -1,4 +1,4 @@ -.TH "moFitSolContinue" 3 "14 Sep 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moFitSolContinue" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -102,4 +102,4 @@ Definition at line 57 of file moFitSolContinue.h. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moGenSolContinue.3 b/trunk/paradiseo-mo/doc/man/man3/moGenSolContinue.3 index 9f61aa6ed..d071e1b7d 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moGenSolContinue.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moGenSolContinue.3 @@ -1,4 +1,4 @@ -.TH "moGenSolContinue" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moGenSolContinue" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -65,7 +65,7 @@ Simple constructor. Definition at line 30 of file moGenSolContinue.h. .SH "Member Function Documentation" .PP -.SS "template bool \fBmoGenSolContinue\fP< EOT >::operator() (const EOT & __sol)\fC [inline, virtual]\fP" +.SS "template bool \fBmoGenSolContinue\fP< EOT >::operator() (const EOT & __sol)\fC [inline]\fP" .PP Function that activates the stop criterion. .PP @@ -82,8 +82,6 @@ TRUE or FALSE according to the current generation number. .RE .PP -.PP -Implements \fBeoUF< const EOT &, bool >\fP. .PP Definition at line 44 of file moGenSolContinue.h. .PP @@ -102,4 +100,4 @@ References moGenSolContinue< EOT >::numGen. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moHC.3 b/trunk/paradiseo-mo/doc/man/man3/moHC.3 index 70f1222c8..1d1f713c7 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moHC.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moHC.3 @@ -1,4 +1,4 @@ -.TH "moHC" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moHC" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -16,11 +16,11 @@ Inherits \fBmoAlgo< M::EOType >\fP. .in +1c .ti -1c -.RI "\fBmoHC\fP (\fBmoMoveInit\fP< M > &__move_init, \fBmoNextMove\fP< M > &__next_move, \fBmoMoveIncrEval\fP< M > &__incr_eval, \fBmoMoveSelect\fP< M > &__move_select, \fBeoEvalFunc\fP< \fBEOT\fP > &__full_eval)" +.RI "\fBmoHC\fP (\fBmoMoveInit\fP< M > &__move_init, \fBmoNextMove\fP< M > &__next_move, \fBmoMoveIncrEval\fP< M > &__incr_eval, \fBmoMoveSelect\fP< M > &__move_select, eoEvalFunc< \fBEOT\fP > &__full_eval)" .br .RI "\fIFull constructor. \fP" .ti -1c -.RI "\fBmoHC\fP (\fBmoMoveExpl\fP< M > &__move_expl, \fBeoEvalFunc\fP< \fBEOT\fP > &__full_eval)" +.RI "\fBmoHC\fP (\fBmoMoveExpl\fP< M > &__move_expl, eoEvalFunc< \fBEOT\fP > &__full_eval)" .br .RI "\fILight constructor. \fP" .ti -1c @@ -48,7 +48,7 @@ Inherits \fBmoAlgo< M::EOType >\fP. .br .RI "\fIComplete exploration of the neighborhood. \fP" .ti -1c -.RI "\fBeoEvalFunc\fP< \fBEOT\fP > & \fBfull_eval\fP" +.RI "eoEvalFunc< \fBEOT\fP > & \fBfull_eval\fP" .br .RI "\fIA full evaluation function. \fP" .in -1c @@ -63,7 +63,7 @@ Class which describes the algorithm for a hill climbing. Definition at line 26 of file moHC.h. .SH "Constructor & Destructor Documentation" .PP -.SS "template \fBmoHC\fP< M >::\fBmoHC\fP (\fBmoMoveInit\fP< M > & __move_init, \fBmoNextMove\fP< M > & __next_move, \fBmoMoveIncrEval\fP< M > & __incr_eval, \fBmoMoveSelect\fP< M > & __move_select, \fBeoEvalFunc\fP< \fBEOT\fP > & __full_eval)\fC [inline]\fP" +.SS "template \fBmoHC\fP< M >::\fBmoHC\fP (\fBmoMoveInit\fP< M > & __move_init, \fBmoNextMove\fP< M > & __next_move, \fBmoMoveIncrEval\fP< M > & __incr_eval, \fBmoMoveSelect\fP< M > & __move_select, eoEvalFunc< \fBEOT\fP > & __full_eval)\fC [inline]\fP" .PP Full constructor. .PP @@ -85,7 +85,7 @@ All the boxes are given in order the HC to use a \fBmoHCMoveLoopExpl\fP. .PP Definition at line 53 of file moHC.h. -.SS "template \fBmoHC\fP< M >::\fBmoHC\fP (\fBmoMoveExpl\fP< M > & __move_expl, \fBeoEvalFunc\fP< \fBEOT\fP > & __full_eval)\fC [inline]\fP" +.SS "template \fBmoHC\fP< M >::\fBmoHC\fP (\fBmoMoveExpl\fP< M > & __move_expl, eoEvalFunc< \fBEOT\fP > & __full_eval)\fC [inline]\fP" .PP Light constructor. .PP @@ -103,7 +103,7 @@ This constructor allow to use another \fBmoMoveExpl\fP (generally not a \fBmoHCM Definition at line 67 of file moHC.h. .SH "Member Function Documentation" .PP -.SS "template bool \fBmoHC\fP< M >::operator() (\fBEOT\fP & __sol)\fC [inline, virtual]\fP" +.SS "template bool \fBmoHC\fP< M >::operator() (\fBEOT\fP & __sol)\fC [inline]\fP" .PP Function which launches the HC. .PP @@ -120,8 +120,6 @@ TRUE. .RE .PP -.PP -Implements \fBeoUF< M::EOType &, bool >\fP. .PP Definition at line 82 of file moHC.h. .PP @@ -129,4 +127,4 @@ References moHC< M >::full_eval, and moHC< M >::move_expl. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moHCMoveLoopExpl.3 b/trunk/paradiseo-mo/doc/man/man3/moHCMoveLoopExpl.3 index fe9ac40f4..5e39357ce 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moHCMoveLoopExpl.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moHCMoveLoopExpl.3 @@ -1,4 +1,4 @@ -.TH "moHCMoveLoopExpl" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moHCMoveLoopExpl" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -87,7 +87,7 @@ All the boxes have to be specified. Definition at line 43 of file moHCMoveLoopExpl.h. .SH "Member Function Documentation" .PP -.SS "template void \fBmoHCMoveLoopExpl\fP< M >::operator() (const \fBEOT\fP & __old_sol, \fBEOT\fP & __new_sol)\fC [inline, virtual]\fP" +.SS "template void \fBmoHCMoveLoopExpl\fP< M >::operator() (const \fBEOT\fP & __old_sol, \fBEOT\fP & __new_sol)\fC [inline]\fP" .PP Procedure which launches the explorer. .PP @@ -101,8 +101,6 @@ The exploration starts from an old solution and provides a new solution. .RE .PP -.PP -Implements \fBeoBF< const M::EOType &, M::EOType &, void >\fP. .PP Definition at line 59 of file moHCMoveLoopExpl.h. .PP @@ -110,4 +108,4 @@ References moHCMoveLoopExpl< M >::incr_eval, moHCMoveLoopExpl< M >::move_init, m .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moImprBestFitAspirCrit.3 b/trunk/paradiseo-mo/doc/man/man3/moImprBestFitAspirCrit.3 index fd6fbbde8..88bd421fa 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moImprBestFitAspirCrit.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moImprBestFitAspirCrit.3 @@ -1,4 +1,4 @@ -.TH "moImprBestFitAspirCrit" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moImprBestFitAspirCrit" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -59,7 +59,7 @@ This criterion is satisfied when a given fitness is the best ever considered. Definition at line 22 of file moImprBestFitAspirCrit.h. .SH "Member Function Documentation" .PP -.SS "template bool \fBmoImprBestFitAspirCrit\fP< M >::operator() (const M & __move, const \fBFitness\fP & __fit)\fC [inline, virtual]\fP" +.SS "template bool \fBmoImprBestFitAspirCrit\fP< M >::operator() (const M & __move, const \fBFitness\fP & __fit)\fC [inline]\fP" .PP Function that indicates if the fit is better that the already saved fit. .PP @@ -78,8 +78,6 @@ TRUE the first time and if __fit > best_fit, else FALSE. .RE .PP -.PP -Implements \fBeoBF< const M &, const M::EOType::Fitness &, bool >\fP. .PP Definition at line 52 of file moImprBestFitAspirCrit.h. .PP @@ -87,4 +85,4 @@ References moImprBestFitAspirCrit< M >::best_fit, and moImprBestFitAspirCrit< M .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moItRandNextMove.3 b/trunk/paradiseo-mo/doc/man/man3/moItRandNextMove.3 index 056367846..1222715d9 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moItRandNextMove.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moItRandNextMove.3 @@ -1,4 +1,4 @@ -.TH "moItRandNextMove" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moItRandNextMove" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -63,7 +63,7 @@ Definition at line 22 of file moItRandNextMove.h. .PP The constructor. .PP -\fBParameters\fP only for initialising the attributes. +Parameters only for initialising the attributes. .PP \fBParameters:\fP .RS 4 @@ -77,7 +77,7 @@ The constructor. Definition at line 37 of file moItRandNextMove.h. .SH "Member Function Documentation" .PP -.SS "template bool \fBmoItRandNextMove\fP< M >::operator() (M & __move, const \fBEOT\fP & __sol)\fC [inline, virtual]\fP" +.SS "template bool \fBmoItRandNextMove\fP< M >::operator() (M & __move, const \fBEOT\fP & __sol)\fC [inline]\fP" .PP Generation of a new move. .PP @@ -96,8 +96,6 @@ FALSE if the maximum number of iteration is reached, else TRUE. .RE .PP -.PP -Implements \fBeoBF< M &, const M::EOType &, bool >\fP. .PP Definition at line 52 of file moItRandNextMove.h. .PP @@ -105,4 +103,4 @@ References moItRandNextMove< M >::max_iter, moItRandNextMove< M >::num_iter, and .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moLSCheckPoint.3 b/trunk/paradiseo-mo/doc/man/man3/moLSCheckPoint.3 index cb9dcfc4e..4f45f9ee7 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moLSCheckPoint.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moLSCheckPoint.3 @@ -1,4 +1,4 @@ -.TH "moLSCheckPoint" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moLSCheckPoint" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -10,8 +10,6 @@ moLSCheckPoint \- Class which allows a checkpointing system. .PP \fC#include \fP .PP -Inherits \fBeoBF< const M &, const M::EOType &, void >\fP. -.PP .SS "Public Member Functions" .in +1c @@ -20,7 +18,7 @@ Inherits \fBeoBF< const M &, const M::EOType &, void >\fP. .br .RI "\fIFunction which launches the checkpointing. \fP" .ti -1c -.RI "void \fBadd\fP (\fBeoBF\fP< const M &, const typename M::EOType &, void > &__f)" +.RI "void \fBadd\fP (eoBF< const M &, const typename M::EOType &, void > &__f)" .br .RI "\fIProcedure which add a new function to the function vector. \fP" .in -1c @@ -28,7 +26,7 @@ Inherits \fBeoBF< const M &, const M::EOType &, void >\fP. .in +1c .ti -1c -.RI "std::vector< \fBeoBF\fP< const M &, const typename M::EOType &, void > * > \fBfunc\fP" +.RI "std::vector< eoBF< const M &, const typename M::EOType &, void > * > \fBfunc\fP" .br .RI "\fIvector of function \fP" .in -1c @@ -61,7 +59,7 @@ Each saved function is used on the current move and the current solution. Definition at line 34 of file moLSCheckPoint.h. .PP References moLSCheckPoint< M >::func. -.SS "template void \fBmoLSCheckPoint\fP< M >::add (\fBeoBF\fP< const M &, const typename M::EOType &, void > & __f)\fC [inline]\fP" +.SS "template void \fBmoLSCheckPoint\fP< M >::add (eoBF< const M &, const typename M::EOType &, void > & __f)\fC [inline]\fP" .PP Procedure which add a new function to the function vector. .PP @@ -80,4 +78,4 @@ References moLSCheckPoint< M >::func. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moLinearCoolingSchedule.3 b/trunk/paradiseo-mo/doc/man/man3/moLinearCoolingSchedule.3 index d0879534f..c85b8d177 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moLinearCoolingSchedule.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moLinearCoolingSchedule.3 @@ -1,4 +1,4 @@ -.TH "moLinearCoolingSchedule" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moLinearCoolingSchedule" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -61,7 +61,7 @@ Simple constructor. Definition at line 31 of file moLinearCoolingSchedule.h. .SH "Member Function Documentation" .PP -.SS "bool moLinearCoolingSchedule::operator() (double & __temp)\fC [inline, virtual]\fP" +.SS "bool moLinearCoolingSchedule::operator() (double & __temp)\fC [inline]\fP" .PP Function which proceeds to the cooling. .PP @@ -78,8 +78,6 @@ if the new temperature (current temperature - quantity) is greater than the thre .RE .PP -.PP -Implements \fBeoUF< double &, bool >\fP. .PP Definition at line 41 of file moLinearCoolingSchedule.h. .PP @@ -87,4 +85,4 @@ References quantity, and threshold. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moMove.3 b/trunk/paradiseo-mo/doc/man/man3/moMove.3 index 3232ee1ce..ef64528a3 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moMove.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moMove.3 @@ -1,4 +1,4 @@ -.TH "moMove" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moMove" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -10,8 +10,6 @@ moMove \- Definition of a move. .PP \fC#include \fP .PP -Inherits \fBeoUF< EOT &, void >\fP. -.PP .SS "Public Types" .in +1c @@ -32,4 +30,4 @@ Definition at line 23 of file moMove.h. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moMoveExpl.3 b/trunk/paradiseo-mo/doc/man/man3/moMoveExpl.3 index 6090b07c8..27b34bfd5 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moMoveExpl.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moMoveExpl.3 @@ -1,4 +1,4 @@ -.TH "moMoveExpl" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moMoveExpl" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -10,8 +10,6 @@ moMoveExpl \- Description of a move (\fBmoMove\fP) explorer. .PP \fC#include \fP .PP -Inherits \fBeoBF< const M::EOType &, M::EOType &, void >\fP. -.PP Inherited by \fBmoMoveLoopExpl< M >\fP. .PP .SH "Detailed Description" @@ -26,4 +24,4 @@ Definition at line 21 of file moMoveExpl.h. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moMoveIncrEval.3 b/trunk/paradiseo-mo/doc/man/man3/moMoveIncrEval.3 index e6263650a..b9cd0a2d6 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moMoveIncrEval.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moMoveIncrEval.3 @@ -1,4 +1,4 @@ -.TH "moMoveIncrEval" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moMoveIncrEval" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -10,8 +10,6 @@ moMoveIncrEval \- (generally) Efficient evaluation function based a move and a s .PP \fC#include \fP .PP -Inherits \fBeoBF< const M &, const M::EOType &, M::EOType::Fitness >\fP. -.PP .SH "Detailed Description" .PP @@ -24,4 +22,4 @@ Definition at line 24 of file moMoveIncrEval.h. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moMoveInit.3 b/trunk/paradiseo-mo/doc/man/man3/moMoveInit.3 index c96403f6b..c137282c7 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moMoveInit.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moMoveInit.3 @@ -1,4 +1,4 @@ -.TH "moMoveInit" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moMoveInit" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -10,8 +10,6 @@ moMoveInit \- Move (\fBmoMove\fP) initializer. .PP \fC#include \fP .PP -Inherits \fBeoBF< M &, const M::EOType &, void >\fP. -.PP .SH "Detailed Description" .PP @@ -24,4 +22,4 @@ Definition at line 22 of file moMoveInit.h. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moMoveLoopExpl.3 b/trunk/paradiseo-mo/doc/man/man3/moMoveLoopExpl.3 index 3c53f0b3a..ab1d57a2e 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moMoveLoopExpl.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moMoveLoopExpl.3 @@ -1,4 +1,4 @@ -.TH "moMoveLoopExpl" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moMoveLoopExpl" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -26,4 +26,4 @@ Definition at line 21 of file moMoveLoopExpl.h. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moMoveSelect.3 b/trunk/paradiseo-mo/doc/man/man3/moMoveSelect.3 index f01d62530..b7fc81be7 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moMoveSelect.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moMoveSelect.3 @@ -1,4 +1,4 @@ -.TH "moMoveSelect" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moMoveSelect" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -10,8 +10,6 @@ moMoveSelect \- Class that describes a move selector (\fBmoMove\fP). .PP \fC#include \fP .PP -Inherits \fBeoBF< M &, M::EOType::Fitness &, void >\fP. -.PP Inherited by \fBmoBestImprSelect< M >\fP, \fBmoFirstImprSelect< M >\fP, and \fBmoRandImprSelect< M >\fP. .PP .SS "Public Types" @@ -81,4 +79,4 @@ Implemented in \fBmoBestImprSelect< M >\fP, and \fBmoRandImprSelect< M >\fP. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moNextMove.3 b/trunk/paradiseo-mo/doc/man/man3/moNextMove.3 index 4b70f19a3..e3fbfbc82 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moNextMove.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moNextMove.3 @@ -1,4 +1,4 @@ -.TH "moNextMove" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moNextMove" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -10,8 +10,6 @@ moNextMove \- Class which allows to generate a new move (\fBmoMove\fP). .PP \fC#include \fP .PP -Inherits \fBeoBF< M &, const M::EOType &, bool >\fP. -.PP Inherited by \fBmoItRandNextMove< M >\fP. .PP .SH "Detailed Description" @@ -26,4 +24,4 @@ Definition at line 22 of file moNextMove.h. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moNoAspirCrit.3 b/trunk/paradiseo-mo/doc/man/man3/moNoAspirCrit.3 index 854cccf66..f7ac8b395 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moNoAspirCrit.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moNoAspirCrit.3 @@ -1,4 +1,4 @@ -.TH "moNoAspirCrit" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moNoAspirCrit" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -68,4 +68,4 @@ Definition at line 43 of file moNoAspirCrit.h. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moNoFitImprSolContinue.3 b/trunk/paradiseo-mo/doc/man/man3/moNoFitImprSolContinue.3 index 933693c3a..68bdba67d 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moNoFitImprSolContinue.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moNoFitImprSolContinue.3 @@ -1,4 +1,4 @@ -.TH "moNoFitImprSolContinue" 3 "14 Sep 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moNoFitImprSolContinue" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -116,4 +116,4 @@ References moNoFitImprSolContinue< EOT >::counter, and moNoFitImprSolContinue< E .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moRandImprSelect.3 b/trunk/paradiseo-mo/doc/man/man3/moRandImprSelect.3 index 76197a989..88d44862c 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moRandImprSelect.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moRandImprSelect.3 @@ -1,4 +1,4 @@ -.TH "moRandImprSelect" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moRandImprSelect" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -106,7 +106,7 @@ Implements \fBmoMoveSelect< M >\fP. Definition at line 56 of file moRandImprSelect.h. .PP References moRandImprSelect< M >::init_fit, moRandImprSelect< M >::vect_better_fit, and moRandImprSelect< M >::vect_better_moves. -.SS "template void \fBmoRandImprSelect\fP< M >::operator() (M & __move, \fBFitness\fP & __fit) throw (\fBEmptySelection\fP)\fC [inline, virtual]\fP" +.SS "template void \fBmoRandImprSelect\fP< M >::operator() (M & __move, \fBFitness\fP & __fit) throw (\fBEmptySelection\fP)\fC [inline]\fP" .PP The move selection. .PP @@ -125,13 +125,11 @@ One the saved move is randomly chosen. .RE .PP -.PP -Implements \fBeoBF< M &, M::EOType::Fitness &, void >\fP. .PP Definition at line 77 of file moRandImprSelect.h. .PP -References eoRng::random(), moRandImprSelect< M >::vect_better_fit, and moRandImprSelect< M >::vect_better_moves. +References moRandImprSelect< M >::vect_better_fit, and moRandImprSelect< M >::vect_better_moves. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moRandMove.3 b/trunk/paradiseo-mo/doc/man/man3/moRandMove.3 index 567e72041..104b70a1d 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moRandMove.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moRandMove.3 @@ -1,4 +1,4 @@ -.TH "moRandMove" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moRandMove" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -10,8 +10,6 @@ moRandMove \- Random move generator. .PP \fC#include \fP .PP -Inherits \fBeoUF< M &, void >\fP. -.PP .SH "Detailed Description" .PP @@ -24,4 +22,4 @@ Definition at line 21 of file moRandMove.h. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moSA.3 b/trunk/paradiseo-mo/doc/man/man3/moSA.3 index b21d90d0c..cf69b90c7 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moSA.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moSA.3 @@ -1,4 +1,4 @@ -.TH "moSA" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moSA" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -16,7 +16,7 @@ Inherits \fBmoAlgo< M::EOType >\fP. .in +1c .ti -1c -.RI "\fBmoSA\fP (\fBmoRandMove\fP< M > &__move_rand, \fBmoMoveIncrEval\fP< M > &__incr_eval, \fBmoSolContinue\fP< \fBEOT\fP > &__cont, double __init_temp, \fBmoCoolingSchedule\fP &__cool_sched, \fBeoEvalFunc\fP< \fBEOT\fP > &__full_eval)" +.RI "\fBmoSA\fP (\fBmoRandMove\fP< M > &__move_rand, \fBmoMoveIncrEval\fP< M > &__incr_eval, \fBmoSolContinue\fP< \fBEOT\fP > &__cont, double __init_temp, \fBmoCoolingSchedule\fP &__cool_sched, eoEvalFunc< \fBEOT\fP > &__full_eval)" .br .RI "\fISA constructor. \fP" .ti -1c @@ -60,7 +60,7 @@ Inherits \fBmoAlgo< M::EOType >\fP. .br .RI "\fIThe cooling schedule. \fP" .ti -1c -.RI "\fBeoEvalFunc\fP< \fBEOT\fP > & \fBfull_eval\fP" +.RI "eoEvalFunc< \fBEOT\fP > & \fBfull_eval\fP" .br .RI "\fIA full evaluation function. \fP" .in -1c @@ -75,7 +75,7 @@ Class that describes a Simulated Annealing algorithm. Definition at line 30 of file moSA.h. .SH "Constructor & Destructor Documentation" .PP -.SS "template \fBmoSA\fP< M >::\fBmoSA\fP (\fBmoRandMove\fP< M > & __move_rand, \fBmoMoveIncrEval\fP< M > & __incr_eval, \fBmoSolContinue\fP< \fBEOT\fP > & __cont, double __init_temp, \fBmoCoolingSchedule\fP & __cool_sched, \fBeoEvalFunc\fP< \fBEOT\fP > & __full_eval)\fC [inline]\fP" +.SS "template \fBmoSA\fP< M >::\fBmoSA\fP (\fBmoRandMove\fP< M > & __move_rand, \fBmoMoveIncrEval\fP< M > & __incr_eval, \fBmoSolContinue\fP< \fBEOT\fP > & __cont, double __init_temp, \fBmoCoolingSchedule\fP & __cool_sched, eoEvalFunc< \fBEOT\fP > & __full_eval)\fC [inline]\fP" .PP SA constructor. .PP @@ -101,7 +101,7 @@ All the boxes used by a SA need to be given. Definition at line 58 of file moSA.h. .SH "Member Function Documentation" .PP -.SS "template bool \fBmoSA\fP< M >::operator() (\fBEOT\fP & __sol)\fC [inline, virtual]\fP" +.SS "template bool \fBmoSA\fP< M >::operator() (\fBEOT\fP & __sol)\fC [inline]\fP" .PP function that launches the SA algorithm. .PP @@ -118,13 +118,11 @@ TRUE. .RE .PP -.PP -Implements \fBeoUF< M::EOType &, bool >\fP. .PP Definition at line 80 of file moSA.h. .PP -References moSA< M >::cont, moSA< M >::cool_sched, moSA< M >::full_eval, moSA< M >::incr_eval, moSA< M >::init_temp, moSA< M >::move_rand, and eoRng::uniform(). +References moSA< M >::cont, moSA< M >::cool_sched, moSA< M >::full_eval, moSA< M >::incr_eval, moSA< M >::init_temp, and moSA< M >::move_rand. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moSimpleMoveTabuList.3 b/trunk/paradiseo-mo/doc/man/man3/moSimpleMoveTabuList.3 index 1e47ab9ae..e70b99a11 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moSimpleMoveTabuList.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moSimpleMoveTabuList.3 @@ -1,4 +1,4 @@ -.TH "moSimpleMoveTabuList" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moSimpleMoveTabuList" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -77,7 +77,7 @@ Class describing a move tabu list with a limited memory. Definition at line 22 of file moSimpleMoveTabuList.h. .SH "Member Function Documentation" .PP -.SS "template bool \fBmoSimpleMoveTabuList\fP< M >::operator() (const M & __move, const \fBEOT\fP & __sol)\fC [inline, virtual]\fP" +.SS "template bool \fBmoSimpleMoveTabuList\fP< M >::operator() (const M & __move, const \fBEOT\fP & __sol)\fC [inline]\fP" .PP Function that indicates if, in a given state, the _move is tabu or not. .PP @@ -94,8 +94,6 @@ true or false. .RE .PP -.PP -Implements \fBeoBF< const M &, const M::EOType &, bool >\fP. .PP Definition at line 46 of file moSimpleMoveTabuList.h. .PP @@ -157,4 +155,4 @@ Referenced by moSimpleMoveTabuList< M >::add(). .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moSimpleSolutionTabuList.3 b/trunk/paradiseo-mo/doc/man/man3/moSimpleSolutionTabuList.3 index 560960857..327986a8b 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moSimpleSolutionTabuList.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moSimpleSolutionTabuList.3 @@ -1,4 +1,4 @@ -.TH "moSimpleSolutionTabuList" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moSimpleSolutionTabuList" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -93,7 +93,7 @@ Definition at line 34 of file moSimpleSolutionTabuList.h. References moSimpleSolutionTabuList< M >::currentSize. .SH "Member Function Documentation" .PP -.SS "template bool \fBmoSimpleSolutionTabuList\fP< M >::operator() (const M & __move, const \fBEOT\fP & __sol)\fC [inline, virtual]\fP" +.SS "template bool \fBmoSimpleSolutionTabuList\fP< M >::operator() (const M & __move, const \fBEOT\fP & __sol)\fC [inline]\fP" .PP Function that indicates if, in a given state, the _move is tabu or not. .PP @@ -110,8 +110,6 @@ true or false. .RE .PP -.PP -Implements \fBeoBF< const M &, const M::EOType &, bool >\fP. .PP Definition at line 45 of file moSimpleSolutionTabuList.h. .PP @@ -173,4 +171,4 @@ Referenced by moSimpleSolutionTabuList< M >::add(). .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moSolContinue.3 b/trunk/paradiseo-mo/doc/man/man3/moSolContinue.3 index 1d8d40e8a..c405d240e 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moSolContinue.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moSolContinue.3 @@ -1,4 +1,4 @@ -.TH "moSolContinue" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moSolContinue" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -10,9 +10,7 @@ moSolContinue \- Class that describes a stop criterion for a solution-based heur .PP \fC#include \fP .PP -Inherits \fBeoUF< const EOT &, bool >\fP. -.PP -Inherited by \fBmoGenSolContinue< EOT >\fP. +Inherited by \fBmoFitSolContinue< EOT >\fP, \fBmoGenSolContinue< EOT >\fP, \fBmoNoFitImprSolContinue< EOT >\fP, and \fBmoSteadyFitSolContinue< EOT >\fP. .PP .SS "Public Member Functions" @@ -28,7 +26,7 @@ Inherited by \fBmoGenSolContinue< EOT >\fP. .SS "template class moSolContinue< EOT >" Class that describes a stop criterion for a solution-based heuristic. -It allows to add an initialisation procedure to an object that is a unary function (\fBeoUF\fP). +It allows to add an initialisation procedure to an object that is a unary function (eoUF). .PP Definition at line 22 of file moSolContinue.h. .SH "Member Function Documentation" @@ -39,8 +37,8 @@ Procedure which initialises all that the stop criterion needs. .PP Generally, it allocates some data structures or initialises some counters. .PP -Implemented in \fBmoGenSolContinue< EOT >\fP. +Implemented in \fBmoFitSolContinue< EOT >\fP, \fBmoGenSolContinue< EOT >\fP, \fBmoNoFitImprSolContinue< EOT >\fP, and \fBmoSteadyFitSolContinue< EOT >\fP. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moSteadyFitSolContinue.3 b/trunk/paradiseo-mo/doc/man/man3/moSteadyFitSolContinue.3 index 0bd148bca..d1a430265 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moSteadyFitSolContinue.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moSteadyFitSolContinue.3 @@ -1,4 +1,4 @@ -.TH "moSteadyFitSolContinue" 3 "14 Sep 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moSteadyFitSolContinue" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -126,4 +126,4 @@ References moSteadyFitSolContinue< EOT >::counter, moSteadyFitSolContinue< EOT > .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moTS.3 b/trunk/paradiseo-mo/doc/man/man3/moTS.3 index aa81de64e..990f2e4ba 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moTS.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moTS.3 @@ -1,4 +1,4 @@ -.TH "moTS" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moTS" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -16,11 +16,11 @@ Inherits \fBmoAlgo< M::EOType >\fP. .in +1c .ti -1c -.RI "\fBmoTS\fP (\fBmoMoveInit\fP< M > &__move_init, \fBmoNextMove\fP< M > &__next_move, \fBmoMoveIncrEval\fP< M > &__incr_eval, \fBmoTabuList\fP< M > &__tabu_list, \fBmoAspirCrit\fP< M > &__aspir_crit, \fBmoSolContinue\fP< \fBEOT\fP > &__cont, \fBeoEvalFunc\fP< \fBEOT\fP > &__full_eval)" +.RI "\fBmoTS\fP (\fBmoMoveInit\fP< M > &__move_init, \fBmoNextMove\fP< M > &__next_move, \fBmoMoveIncrEval\fP< M > &__incr_eval, \fBmoTabuList\fP< M > &__tabu_list, \fBmoAspirCrit\fP< M > &__aspir_crit, \fBmoSolContinue\fP< \fBEOT\fP > &__cont, eoEvalFunc< \fBEOT\fP > &__full_eval)" .br .RI "\fIConstructor of a \fBmoTS\fP specifying all the boxes. \fP" .ti -1c -.RI "\fBmoTS\fP (\fBmoMoveExpl\fP< M > &__move_expl, \fBmoSolContinue\fP< \fBEOT\fP > &__cont, \fBeoEvalFunc\fP< \fBEOT\fP > &__full_eval)" +.RI "\fBmoTS\fP (\fBmoMoveExpl\fP< M > &__move_expl, \fBmoSolContinue\fP< \fBEOT\fP > &__cont, eoEvalFunc< \fBEOT\fP > &__full_eval)" .br .RI "\fIConstructor with less parameters. \fP" .ti -1c @@ -52,7 +52,7 @@ Inherits \fBmoAlgo< M::EOType >\fP. .br .RI "\fIStop criterion. \fP" .ti -1c -.RI "\fBeoEvalFunc\fP< \fBEOT\fP > & \fBfull_eval\fP" +.RI "eoEvalFunc< \fBEOT\fP > & \fBfull_eval\fP" .br .RI "\fIFull evaluation function. \fP" .in -1c @@ -67,7 +67,7 @@ Generic algorithm that describes a tabu search. Definition at line 29 of file moTS.h. .SH "Constructor & Destructor Documentation" .PP -.SS "template \fBmoTS\fP< M >::\fBmoTS\fP (\fBmoMoveInit\fP< M > & __move_init, \fBmoNextMove\fP< M > & __next_move, \fBmoMoveIncrEval\fP< M > & __incr_eval, \fBmoTabuList\fP< M > & __tabu_list, \fBmoAspirCrit\fP< M > & __aspir_crit, \fBmoSolContinue\fP< \fBEOT\fP > & __cont, \fBeoEvalFunc\fP< \fBEOT\fP > & __full_eval)\fC [inline]\fP" +.SS "template \fBmoTS\fP< M >::\fBmoTS\fP (\fBmoMoveInit\fP< M > & __move_init, \fBmoNextMove\fP< M > & __next_move, \fBmoMoveIncrEval\fP< M > & __incr_eval, \fBmoTabuList\fP< M > & __tabu_list, \fBmoAspirCrit\fP< M > & __aspir_crit, \fBmoSolContinue\fP< \fBEOT\fP > & __cont, eoEvalFunc< \fBEOT\fP > & __full_eval)\fC [inline]\fP" .PP Constructor of a \fBmoTS\fP specifying all the boxes. .PP @@ -93,7 +93,7 @@ In this constructor, a \fBmoTSMoveLoopExpl\fP is instanciated. .PP Definition at line 58 of file moTS.h. -.SS "template \fBmoTS\fP< M >::\fBmoTS\fP (\fBmoMoveExpl\fP< M > & __move_expl, \fBmoSolContinue\fP< \fBEOT\fP > & __cont, \fBeoEvalFunc\fP< \fBEOT\fP > & __full_eval)\fC [inline]\fP" +.SS "template \fBmoTS\fP< M >::\fBmoTS\fP (\fBmoMoveExpl\fP< M > & __move_expl, \fBmoSolContinue\fP< \fBEOT\fP > & __cont, eoEvalFunc< \fBEOT\fP > & __full_eval)\fC [inline]\fP" .PP Constructor with less parameters. .PP @@ -113,7 +113,7 @@ The explorer is given in the parameters. Definition at line 71 of file moTS.h. .SH "Member Function Documentation" .PP -.SS "template bool \fBmoTS\fP< M >::operator() (\fBEOT\fP & __sol)\fC [inline, virtual]\fP" +.SS "template bool \fBmoTS\fP< M >::operator() (\fBEOT\fP & __sol)\fC [inline]\fP" .PP Function which launchs the Tabu Search. .PP @@ -130,8 +130,6 @@ TRUE. .RE .PP -.PP -Implements \fBeoUF< M::EOType &, bool >\fP. .PP Definition at line 85 of file moTS.h. .PP @@ -139,4 +137,4 @@ References moTS< M >::cont, moTS< M >::full_eval, and moTS< M >::move_expl. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moTSMoveLoopExpl.3 b/trunk/paradiseo-mo/doc/man/man3/moTSMoveLoopExpl.3 index ae467fe08..25b5b624b 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moTSMoveLoopExpl.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moTSMoveLoopExpl.3 @@ -1,4 +1,4 @@ -.TH "moTSMoveLoopExpl" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moTSMoveLoopExpl" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -99,7 +99,7 @@ Definition at line 49 of file moTSMoveLoopExpl.h. References moTSMoveLoopExpl< M >::aspir_crit, and moTSMoveLoopExpl< M >::tabu_list. .SH "Member Function Documentation" .PP -.SS "template void \fBmoTSMoveLoopExpl\fP< M >::operator() (const \fBEOT\fP & __old_sol, \fBEOT\fP & __new_sol)\fC [inline, virtual]\fP" +.SS "template void \fBmoTSMoveLoopExpl\fP< M >::operator() (const \fBEOT\fP & __old_sol, \fBEOT\fP & __new_sol)\fC [inline]\fP" .PP Procedure which lauches the exploration. .PP @@ -113,8 +113,6 @@ The exploration continues while the chosen move is not in the tabu list or the a .RE .PP -.PP -Implements \fBeoBF< const M::EOType &, M::EOType &, void >\fP. .PP Definition at line 69 of file moTSMoveLoopExpl.h. .PP @@ -122,4 +120,4 @@ References moTSMoveLoopExpl< M >::aspir_crit, moTSMoveLoopExpl< M >::incr_eval, .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/man/man3/moTabuList.3 b/trunk/paradiseo-mo/doc/man/man3/moTabuList.3 index 19fa9d5b7..cbc9bcd7d 100644 --- a/trunk/paradiseo-mo/doc/man/man3/moTabuList.3 +++ b/trunk/paradiseo-mo/doc/man/man3/moTabuList.3 @@ -1,4 +1,4 @@ -.TH "moTabuList" 3 "6 Jul 2007" "Version 0.1" "PARADISEO-MO" \" -*- nroff -*- +.TH "moTabuList" 3 "20 Sep 2007" "Version 1.0" "ParadisEO-MOMovingObjects" \" -*- nroff -*- .ad l .nh .SH NAME @@ -10,8 +10,6 @@ moTabuList \- Class describing a tabu list that a \fBmoTS\fP uses. .PP \fC#include \fP .PP -Inherits \fBeoBF< const M &, const M::EOType &, bool >\fP. -.PP Inherited by \fBmoSimpleMoveTabuList< M >\fP, and \fBmoSimpleSolutionTabuList< M >\fP. .PP .SS "Public Types" @@ -71,15 +69,15 @@ Procedure that updates the tabu list content. .PP Generally, a counter associated to each saved move is decreased by one. .PP -Implemented in \fBmoSimpleMoveTabuList< M >\fP, and \fBmoSimpleSolutionTabuList< M >\fP. +Implemented in \fBmoSimpleMoveTabuList< M >\fP, \fBmoSimpleSolutionTabuList< M >\fP, and \fBTwoOptTabuList\fP. .SS "template virtual void \fBmoTabuList\fP< M >::init ()\fC [pure virtual]\fP" .PP Procedure which initialises the tabu list. .PP Can be useful if the data structure needs to be allocated before being used. .PP -Implemented in \fBmoSimpleMoveTabuList< M >\fP, and \fBmoSimpleSolutionTabuList< M >\fP. +Implemented in \fBmoSimpleMoveTabuList< M >\fP, \fBmoSimpleSolutionTabuList< M >\fP, and \fBTwoOptTabuList\fP. .SH "Author" .PP -Generated automatically by Doxygen for PARADISEO-MO from the source code. +Generated automatically by Doxygen for ParadisEO-MOMovingObjects from the source code. diff --git a/trunk/paradiseo-mo/doc/mo.doxytag b/trunk/paradiseo-mo/doc/mo.doxytag new file mode 100644 index 000000000..cd684b20c --- /dev/null +++ b/trunk/paradiseo-mo/doc/mo.doxytag @@ -0,0 +1,1342 @@ + + + + main + Welcome to PARADISEO-Moving Objects + main + intro + tutorial + install + design + + + EmptySelection + class_empty_selection.html + + + moAlgo + classmo_algo.html + EOT + + + moAspirCrit + classmo_aspir_crit.html + M + + virtual void + init + classmo_aspir_crit.html + a8ce84510a5ec7c9078381e542c6d140 + ()=0 + + + + moBestImprSelect + classmo_best_impr_select.html + M + moMoveSelect + + M::EOType::Fitness + Fitness + classmo_best_impr_select.html + c4ae17435221fb0a8e8acd285210cfcb + + + + void + init + classmo_best_impr_select.html + 2d2abf9aa17dc77cbb4f41810ab7b956 + (const Fitness &__fit) + + + bool + update + classmo_best_impr_select.html + d10e3e6f8a0277731e95ef506d064d6d + (const M &__move, const Fitness &__fit) + + + void + operator() + classmo_best_impr_select.html + 169773d4d127acd782cf379f758222da + (M &__move, Fitness &__fit) + + + bool + first_time + classmo_best_impr_select.html + 352b14d206b0772eb9f40efb7beb0f13 + + + + M + best_move + classmo_best_impr_select.html + bd86f70519f954c07ff0d8a2a3a8ff6a + + + + Fitness + best_fit + classmo_best_impr_select.html + dcac897424b5805f146bb1dbb429f2fe + + + + + moComparator + classmo_comparator.html + EOT + + + moCoolingSchedule + classmo_cooling_schedule.html + + + moExponentialCoolingSchedule + classmo_exponential_cooling_schedule.html + moCoolingSchedule + + + moExponentialCoolingSchedule + classmo_exponential_cooling_schedule.html + b01930c1051c0940666c6325bfd036bc + (double __threshold, double __ratio) + + + bool + operator() + classmo_exponential_cooling_schedule.html + 00642b03453b51612a10fcf2280543db + (double &__temp) + + + double + threshold + classmo_exponential_cooling_schedule.html + 8d4327c0bb33b7121a322279eea97f84 + + + + double + ratio + classmo_exponential_cooling_schedule.html + e8f3f87417c1c7253efb938a740846fa + + + + + moFirstImprSelect + classmo_first_impr_select.html + M + moMoveSelect + + M::EOType::Fitness + Fitness + classmo_first_impr_select.html + 64763ce3e6d2873266624382b407fa5a + + + + virtual void + init + classmo_first_impr_select.html + 4c5ce18ede46247a439c68f6954a4055 + (const Fitness &__fit) + + + bool + update + classmo_first_impr_select.html + 7ba0882728daedc75c249647c070ccf0 + (const M &__move, const typename M::EOType::Fitness &__fit) + + + void + operator() + classmo_first_impr_select.html + 3be12cf4cbaed00df7c4fa735b2c0a95 + (M &__move, Fitness &__fit) + + + bool + valid + classmo_first_impr_select.html + a99c0586ba07449234705c17a258d58c + + + + M + best_move + classmo_first_impr_select.html + dfed419a608dd7c41f07fa1f1279cb8c + + + + Fitness + init_fit + classmo_first_impr_select.html + ce7ba63e8cc3a9164f4e546477e98ca8 + + + + Fitness + best_fit + classmo_first_impr_select.html + e1190347b76ec6fe717be32354b4a9a9 + + + + + moFitComparator + classmo_fit_comparator.html + EOT + moComparator + + bool + operator() + classmo_fit_comparator.html + c920d5a49deb16710daf1e5fcde6b16c + (const EOT &_solution1, const EOT &_solution2) + + + + moFitSolContinue + classmo_fit_sol_continue.html + EOT + moSolContinue + + EOT::Fitness + Fitness + classmo_fit_sol_continue.html + 369ed94a788d8bdc08d5554f7669376f + + + + + moFitSolContinue + classmo_fit_sol_continue.html + b14f37ba88de4e12583b22f5aabeb682 + (Fitness __fitness) + + + bool + operator() + classmo_fit_sol_continue.html + fa9f0a15f99c998115cae9b456403a27 + (const EOT &__sol) + + + void + init + classmo_fit_sol_continue.html + 670bd895b4edfcd3aebb40d2295d7f7c + () + + + Fitness + fitness + classmo_fit_sol_continue.html + 87d0ba8f2f76f61c89317eed5f094dfc + + + + + moGenSolContinue + classmo_gen_sol_continue.html + EOT + moSolContinue + + + moGenSolContinue + classmo_gen_sol_continue.html + b56e890f1caa3f98e161c6512b59c95b + (unsigned int __maxNumGen) + + + bool + operator() + classmo_gen_sol_continue.html + 457257cd73b474d6f7783d84d02c2e61 + (const EOT &__sol) + + + void + init + classmo_gen_sol_continue.html + 6c5db8182157584b56507cc9075602d4 + () + + + unsigned int + maxNumGen + classmo_gen_sol_continue.html + 30b9861e090578bdfa2374806600987a + + + + unsigned int + numGen + classmo_gen_sol_continue.html + 630d9736a3a2c952540cdc211764258c + + + + + moHC + classmo_h_c.html + M + moAlgo< M::EOType > + + + moHC + classmo_h_c.html + 6cafe093f86a80c225827884cb9dc5b7 + (moMoveInit< M > &__move_init, moNextMove< M > &__next_move, moMoveIncrEval< M > &__incr_eval, moMoveSelect< M > &__move_select, eoEvalFunc< EOT > &__full_eval) + + + + moHC + classmo_h_c.html + 45f27309792e584a27fa6dcb86ccda65 + (moMoveExpl< M > &__move_expl, eoEvalFunc< EOT > &__full_eval) + + + bool + operator() + classmo_h_c.html + ed4e273c420efa6386c5975a696a5010 + (EOT &__sol) + + + M::EOType + EOT + classmo_h_c.html + d219296ede03c679646bce2fe8ff96cb + + + + EOT::Fitness + Fitness + classmo_h_c.html + 56487c97a7cf0c423cc879d1bbd45027 + + + + moMoveExpl< M > & + move_expl + classmo_h_c.html + f6bfb4553fb699f1e08f7d9c37d06103 + + + + eoEvalFunc< EOT > & + full_eval + classmo_h_c.html + 4b0d5cc70fc3d83f59a48b2bdea65736 + + + + + moHCMoveLoopExpl + classmo_h_c_move_loop_expl.html + M + moMoveLoopExpl + + + moHCMoveLoopExpl + classmo_h_c_move_loop_expl.html + 11410d648d79746253e9dc249c4ec7b5 + (moMoveInit< M > &__move_init, moNextMove< M > &__next_move, moMoveIncrEval< M > &__incr_eval, moMoveSelect< M > &__move_select) + + + void + operator() + classmo_h_c_move_loop_expl.html + f48d5379caac7f6a165e9fe8840e6ccb + (const EOT &__old_sol, EOT &__new_sol) + + + M::EOType + EOT + classmo_h_c_move_loop_expl.html + 077befd4106c201eafd3ea22bcea2fe9 + + + + M::EOType::Fitness + Fitness + classmo_h_c_move_loop_expl.html + f24871224316d5549b9013a2d27ab465 + + + + moMoveInit< M > & + move_init + classmo_h_c_move_loop_expl.html + 6776fc51331c1b452d026b92448b4ffc + + + + moNextMove< M > & + next_move + classmo_h_c_move_loop_expl.html + f716c5271e0eba9275c585dc52768443 + + + + moMoveIncrEval< M > & + incr_eval + classmo_h_c_move_loop_expl.html + 84a8fccba05ab30414281469bc8ee779 + + + + moMoveSelect< M > & + move_select + classmo_h_c_move_loop_expl.html + 13bcd1322b2b97fd665be2f60c532fbb + + + + + moILS + classmo_i_l_s.html + M + moAlgo< M::EOType > + + + moILS + classmo_i_l_s.html + f7f2fc1f905954d78edcec0e3ca53551 + (moAlgo< EOT > &__algo, moSolContinue< EOT > &__continue, moComparator< EOT > &__acceptance_criterion, eoMonOp< EOT > &__perturbation, eoEvalFunc< EOT > &__full_eval) + + + + moILS + classmo_i_l_s.html + c4ebdab294ee1085ddcb9bf2a6882cf0 + (moMoveInit< M > &__move_init, moNextMove< M > &__next_move, moMoveIncrEval< M > &__incr_eval, moMoveSelect< M > &__move_select, moSolContinue< EOT > &__continue, moComparator< EOT > &__acceptance_criterion, eoMonOp< EOT > &__perturbation, eoEvalFunc< EOT > &__full_eval) + + + + moILS + classmo_i_l_s.html + d27e3435b8f6592091431fde6f185769 + (moMoveInit< M > &__move_init, moNextMove< M > &__next_move, moMoveIncrEval< M > &__incr_eval, moTabuList< M > &__tabu_list, moAspirCrit< M > &__aspir_crit, moSolContinue< EOT > &__moTS_continue, moSolContinue< EOT > &__continue, moComparator< EOT > &__acceptance_criterion, eoMonOp< EOT > &__perturbation, eoEvalFunc< EOT > &__full_eval) + + + + moILS + classmo_i_l_s.html + 292acc5218e8f148e8b174f183820696 + (moRandMove< M > &__move_rand, moMoveIncrEval< M > &__incr_eval, moSolContinue< EOT > &__moSA_continue, double __init_temp, moCoolingSchedule &__cool_sched, moSolContinue< EOT > &__continue, moComparator< EOT > &__acceptance_criterion, eoMonOp< EOT > &__perturbation, eoEvalFunc< EOT > &__full_eval) + + + bool + operator() + classmo_i_l_s.html + b3954a77b43fee31122d2a210b2a82d7 + (EOT &__sol) + + + M::EOType + EOT + classmo_i_l_s.html + c81bafc611e4d4fd44347cf7162198c7 + + + + EOT::Fitness + Fitness + classmo_i_l_s.html + 8c464a9eae064a78eff75d4c722b619c + + + + moAlgo< EOT > & + algo + classmo_i_l_s.html + 8373e40b60afdd761789a97b47adece9 + + + + moSolContinue< EOT > & + cont + classmo_i_l_s.html + c3046ba0a31a35470391987ac37afd64 + + + + moComparator< EOT > & + acceptance_criterion + classmo_i_l_s.html + 295f6d0342c67bd3dc4cb82e2adc26be + + + + eoMonOp< EOT > & + perturbation + classmo_i_l_s.html + f667a1bda06b6d221292df9aba3db8a2 + + + + eoEvalFunc< EOT > & + full_eval + classmo_i_l_s.html + 8000f02fac668d51026e458c9febce7c + + + + + moImprBestFitAspirCrit + classmo_impr_best_fit_aspir_crit.html + M + moAspirCrit + + M::EOType::Fitness + Fitness + classmo_impr_best_fit_aspir_crit.html + 0bc1a8c9af99781e662570c04750cca8 + + + + + moImprBestFitAspirCrit + classmo_impr_best_fit_aspir_crit.html + e2c697a5cf3a7696e38bb52b6694a340 + () + + + void + init + classmo_impr_best_fit_aspir_crit.html + ffa451a14ff4ea86fb8bd9fdbc348630 + () + + + bool + operator() + classmo_impr_best_fit_aspir_crit.html + 53f62fb56dcae3051a741f1fddb0204b + (const M &__move, const Fitness &__fit) + + + Fitness + best_fit + classmo_impr_best_fit_aspir_crit.html + 9e52383f0af8013b4aff0942325e1bf3 + + + + bool + first_time + classmo_impr_best_fit_aspir_crit.html + 2d5226c7dd661b33011402dbbbe78265 + + + + + moItRandNextMove + classmo_it_rand_next_move.html + M + moNextMove + + + moItRandNextMove + classmo_it_rand_next_move.html + 2b61b3713d482ecf71db8d941551ff7a + (moRandMove< M > &__rand_move, unsigned int __max_iter) + + + bool + operator() + classmo_it_rand_next_move.html + 92a2fbbc02a20853b9a309e99018a102 + (M &__move, const EOT &__sol) + + + M::EOType + EOT + classmo_it_rand_next_move.html + ee666007fc494bf4a5f0cd065e5671cf + + + + moRandMove< M > & + rand_move + classmo_it_rand_next_move.html + ef9410ec5e7dfa7f002e05967931c459 + + + + unsigned int + max_iter + classmo_it_rand_next_move.html + dc67fa86677d7a4f982de8d8b1eba033 + + + + unsigned int + num_iter + classmo_it_rand_next_move.html + f43494b13931d8f76b5d9d5d6469e91b + + + + + moLinearCoolingSchedule + classmo_linear_cooling_schedule.html + moCoolingSchedule + + + moLinearCoolingSchedule + classmo_linear_cooling_schedule.html + 2fdde7b1520d5a41251627e81cc9c13d + (double __threshold, double __quantity) + + + bool + operator() + classmo_linear_cooling_schedule.html + 814b109fdfd9426a92a5444b05014da3 + (double &__temp) + + + double + threshold + classmo_linear_cooling_schedule.html + e7f539f986801ea71392c4a55ba08a76 + + + + double + quantity + classmo_linear_cooling_schedule.html + 6159dc39ceda89b23ffdab3d6ce8d8ed + + + + + moLSCheckPoint + classmo_l_s_check_point.html + M + + void + operator() + classmo_l_s_check_point.html + 2f9c1250279e3f49ec77a66c10029f1e + (const M &__move, const typename M::EOType &__sol) + + + void + add + classmo_l_s_check_point.html + 66be5fe2944bcdd752f1e58105e969a6 + (eoBF< const M &, const typename M::EOType &, void > &__f) + + + std::vector< eoBF< const M &, const typename M::EOType &, void > * > + func + classmo_l_s_check_point.html + ff2a31ee5689a804bd9a572c51a36ca4 + + + + + moMove + classmo_move.html + EOT + + EOT + EOType + classmo_move.html + 7fb853a91ba1319530529e515380bbba + + + + + moMoveExpl + classmo_move_expl.html + M + + + moMoveIncrEval + classmo_move_incr_eval.html + M + + + moMoveInit + classmo_move_init.html + M + + + moMoveLoopExpl + classmo_move_loop_expl.html + M + moMoveExpl + + + moMoveSelect + classmo_move_select.html + M + + M::EOType::Fitness + Fitness + classmo_move_select.html + 8148ccc0e6fbd209c3fe6829559895c8 + + + + virtual void + init + classmo_move_select.html + bca4c43f13d26eca7163aeb272a4a52e + (const Fitness &__fit)=0 + + + virtual bool + update + classmo_move_select.html + 7c157b6e64fd417acf6e900059204eb1 + (const M &__move, const Fitness &__fit)=0 + + + + moNextMove + classmo_next_move.html + M + + + moNoAspirCrit + classmo_no_aspir_crit.html + M + moAspirCrit + + bool + operator() + classmo_no_aspir_crit.html + 8a7180a8d5c25bfb6727d0b59551b0f8 + (const M &__move, const typename M::EOType::Fitness &__sol) + + + void + init + classmo_no_aspir_crit.html + f3a286fc4c2d36bd390ba9a3074f3037 + () + + + + moNoFitImprSolContinue + classmo_no_fit_impr_sol_continue.html + EOT + moSolContinue + + EOT::Fitness + Fitness + classmo_no_fit_impr_sol_continue.html + 64c184de66bb37d75d53aa600ac947b3 + + + + + moNoFitImprSolContinue + classmo_no_fit_impr_sol_continue.html + a447aa0d8ed4ddf6fe47c805269cac6c + (unsigned int __maxNumberOfIterationWithoutImprovement) + + + bool + operator() + classmo_no_fit_impr_sol_continue.html + dbd663623cae56ec76ee504ecb226fed + (const EOT &__sol) + + + void + init + classmo_no_fit_impr_sol_continue.html + 21641c0a38a4501baae6133cbc591de4 + () + + + unsigned int + maxNumberOfIterationsWithoutImprovement + classmo_no_fit_impr_sol_continue.html + 03612ffc3af9d943c1b1d2cde09d461b + + + + bool + firstFitnessSaved + classmo_no_fit_impr_sol_continue.html + ca3591e47a075b59e0826f31234c71ef + + + + Fitness + fitness + classmo_no_fit_impr_sol_continue.html + 3d3d2b43a4dd73e38689cc0018d44ee7 + + + + unsigned int + counter + classmo_no_fit_impr_sol_continue.html + 46fc008a8f7cd06dcaaeb4016b433adb + + + + + moRandImprSelect + classmo_rand_impr_select.html + M + moMoveSelect + + M::EOType::Fitness + Fitness + classmo_rand_impr_select.html + 3bff2fdb963297430543c82ffb567a5c + + + + void + init + classmo_rand_impr_select.html + a19726a1509cff874801615d63a3b5d9 + (const Fitness &__fit) + + + bool + update + classmo_rand_impr_select.html + 60ae5548560caee7e28d5ed2446186c9 + (const M &__move, const Fitness &__fit) + + + void + operator() + classmo_rand_impr_select.html + 5ee57f77a450c0a9ce50bfccf3ad2a55 + (M &__move, Fitness &__fit) + + + Fitness + init_fit + classmo_rand_impr_select.html + d153c277a0a2ea95ac484210d445b40e + + + + std::vector< Fitness > + vect_better_fit + classmo_rand_impr_select.html + 05c7c3b858e8a25632f2f5c86b0c97a3 + + + + std::vector< M > + vect_better_moves + classmo_rand_impr_select.html + 2ace12bd179144fa71d56324694201f5 + + + + + moRandMove + classmo_rand_move.html + M + + + moSA + classmo_s_a.html + M + moAlgo< M::EOType > + + + moSA + classmo_s_a.html + 01f6a44483e5a7abbce33eb480b6a9b9 + (moRandMove< M > &__move_rand, moMoveIncrEval< M > &__incr_eval, moSolContinue< EOT > &__cont, double __init_temp, moCoolingSchedule &__cool_sched, eoEvalFunc< EOT > &__full_eval) + + + bool + operator() + classmo_s_a.html + 0e4c54b57bc13fcbd4763883b8f719e5 + (EOT &__sol) + + + M::EOType + EOT + classmo_s_a.html + d5d64a8797bdedc7b3af7893aded0bd5 + + + + EOT::Fitness + Fitness + classmo_s_a.html + 97f1a40d5ab5a0b3f878d0347b34804b + + + + moRandMove< M > & + move_rand + classmo_s_a.html + 71c49935b63a202d25888a5f86121fec + + + + moMoveIncrEval< M > & + incr_eval + classmo_s_a.html + 4c3be32e9832e465b24e6d33559356bc + + + + moSolContinue< EOT > & + cont + classmo_s_a.html + 54484c8a514866ea496e0058c2e09716 + + + + double + init_temp + classmo_s_a.html + f1af7636b52aa5f6b381f8187b667bd4 + + + + moCoolingSchedule & + cool_sched + classmo_s_a.html + 11c7d0cab649b7d680dd85bb74cb4ff6 + + + + eoEvalFunc< EOT > & + full_eval + classmo_s_a.html + bcd6a940046f23dd741444c0b85edf2c + + + + + moSimpleMoveTabuList + classmo_simple_move_tabu_list.html + M + moTabuList + + M::EOType + EOT + classmo_simple_move_tabu_list.html + 91286ff3ba6b1e9e1db9e4fdade2edb7 + + + + + moSimpleMoveTabuList + classmo_simple_move_tabu_list.html + 12798ce0bc3a2ee031fb301290ed6d79 + (unsigned int __size) + + + bool + operator() + classmo_simple_move_tabu_list.html + bb7fe9da28617f56734af71c42c8265a + (const M &__move, const EOT &__sol) + + + void + add + classmo_simple_move_tabu_list.html + 43c979a9ec876c5e5b591b1c422395ef + (const M &__move, const EOT &__sol) + + + void + update + classmo_simple_move_tabu_list.html + 96cffc8118456ed762b07b9fc0e0679f + () + + + void + init + classmo_simple_move_tabu_list.html + b91ae9971be30769757d1ad92c6009dc + () + + + void + removeMove + classmo_simple_move_tabu_list.html + a3fa2bd19e09f1541878fa28e867d20f + (const M &__move) + + + unsigned int + maxSize + classmo_simple_move_tabu_list.html + e48848e9e5c9c8435475cbdf21658e23 + + + + unsigned int + currentSize + classmo_simple_move_tabu_list.html + f1f9524e62d48f3688aa58a6055ccceb + + + + std::list< M > + tabuList + classmo_simple_move_tabu_list.html + d91bc838361524720616b44eda9b2c3a + + + + + moSimpleSolutionTabuList + classmo_simple_solution_tabu_list.html + M + moTabuList + + M::EOType + EOT + classmo_simple_solution_tabu_list.html + 881060871a6b49e5e8554c5df85176d9 + + + + + moSimpleSolutionTabuList + classmo_simple_solution_tabu_list.html + 8f8ce82b49ff49efbd934cedd3e34178 + (unsigned int __size) + + + bool + operator() + classmo_simple_solution_tabu_list.html + e1f1cf258b55554d8be88fb5780a0047 + (const M &__move, const EOT &__sol) + + + void + add + classmo_simple_solution_tabu_list.html + fd6b3a1764121169650c969bba895615 + (const M &__move, const EOT &__sol) + + + void + update + classmo_simple_solution_tabu_list.html + 91b8b01dba7ffea8b63765d931e56f56 + () + + + void + init + classmo_simple_solution_tabu_list.html + d5645c39fec71a6110a2cbccbb08b816 + () + + + void + removeSolution + classmo_simple_solution_tabu_list.html + 7847a48f33c15e31298f3e715d754560 + (const EOT &__sol) + + + unsigned int + maxSize + classmo_simple_solution_tabu_list.html + 662e1f65fadff234692be009a2440845 + + + + unsigned int + currentSize + classmo_simple_solution_tabu_list.html + 2aaf6e882d10495adddae94cb7a48fbf + + + + std::list< EOT > + tabuList + classmo_simple_solution_tabu_list.html + 75df9cd683528d3722d02bac407b710b + + + + + moSolContinue + classmo_sol_continue.html + EOT + + virtual void + init + classmo_sol_continue.html + 064dc966a210f4ffb9515be3f03ca4c7 + ()=0 + + + + moSteadyFitSolContinue + classmo_steady_fit_sol_continue.html + EOT + moSolContinue + + EOT::Fitness + Fitness + classmo_steady_fit_sol_continue.html + c289721abbbafe50f6e3b8305dd31007 + + + + + moSteadyFitSolContinue + classmo_steady_fit_sol_continue.html + 5f50fb18e380230e37301f33319786a4 + (unsigned int __maxNumberOfIterations, unsigned int __maxNumberOfIterationWithoutImprovement) + + + bool + operator() + classmo_steady_fit_sol_continue.html + 942e58ec00bb61000a83c80176e14bc3 + (const EOT &__sol) + + + void + init + classmo_steady_fit_sol_continue.html + 87563493addc8e4b58982c55a67179b9 + () + + + unsigned int + maxNumberOfIterations + classmo_steady_fit_sol_continue.html + 36b43c2a252887ad027165ac32393fe8 + + + + unsigned int + maxNumberOfIterationsWithoutImprovement + classmo_steady_fit_sol_continue.html + cde593c09f497a5fa66ff62732544f40 + + + + bool + maxNumberOfIterationsReached + classmo_steady_fit_sol_continue.html + 7d88c0eb91b2a12121ba1c3ae9139887 + + + + bool + firstFitnessSaved + classmo_steady_fit_sol_continue.html + 025bf2789e470fdde989eee9121035c3 + + + + Fitness + fitness + classmo_steady_fit_sol_continue.html + a5c62e7049b36f6e71e92b559568c09e + + + + unsigned int + counter + classmo_steady_fit_sol_continue.html + 245c9099a2c40dfc4f34b3ff216d13ce + + + + + moTabuList + classmo_tabu_list.html + M + + M::EOType + EOT + classmo_tabu_list.html + e219715cc3fdd5626764bc50ce6357df + + + + virtual void + add + classmo_tabu_list.html + d279d72cb486d812da1ad3d24a69c286 + (const M &__move, const EOT &__sol)=0 + + + virtual void + update + classmo_tabu_list.html + a2e5d1132f064093c8ed57046405f5ca + ()=0 + + + virtual void + init + classmo_tabu_list.html + 0a06c459d56e8e2b408a8f3c6aec4e57 + ()=0 + + + + moTS + classmo_t_s.html + M + moAlgo< M::EOType > + + + moTS + classmo_t_s.html + 2be23f4524733ee6f37b71310d76407e + (moMoveInit< M > &__move_init, moNextMove< M > &__next_move, moMoveIncrEval< M > &__incr_eval, moTabuList< M > &__tabu_list, moAspirCrit< M > &__aspir_crit, moSolContinue< EOT > &__cont, eoEvalFunc< EOT > &__full_eval) + + + + moTS + classmo_t_s.html + 508e675c4232cf2ca06dded931c90bab + (moMoveExpl< M > &__move_expl, moSolContinue< EOT > &__cont, eoEvalFunc< EOT > &__full_eval) + + + bool + operator() + classmo_t_s.html + 94d25a76fe1bc9ef0bbd0358ff55aceb + (EOT &__sol) + + + M::EOType + EOT + classmo_t_s.html + 90d19d468c12ab5bd796948ce1ce79b1 + + + + EOT::Fitness + Fitness + classmo_t_s.html + aa0eefbb17111422e495d1255f876fca + + + + moMoveExpl< M > & + move_expl + classmo_t_s.html + 06914ddc90ca96e9158c8dbe182a7865 + + + + moSolContinue< EOT > & + cont + classmo_t_s.html + 969371cd2202f3d29cbb426f57ac7d3a + + + + eoEvalFunc< EOT > & + full_eval + classmo_t_s.html + fb67eddae5d0bfca4ed881995523231e + + + + + moTSMoveLoopExpl + classmo_t_s_move_loop_expl.html + M + moMoveLoopExpl + + + moTSMoveLoopExpl + classmo_t_s_move_loop_expl.html + 43306dae9df150a8d9dc0dec9cd6a381 + (moMoveInit< M > &__move_init, moNextMove< M > &__next_move, moMoveIncrEval< M > &__incr_eval, moTabuList< M > &__tabu_list, moAspirCrit< M > &__aspir_crit) + + + void + operator() + classmo_t_s_move_loop_expl.html + f601bbd0ccc41d6fbe3df9fcd87ad9e7 + (const EOT &__old_sol, EOT &__new_sol) + + + M::EOType + EOT + classmo_t_s_move_loop_expl.html + 47f42225e2ed096374b818bdb848a527 + + + + M::EOType::Fitness + Fitness + classmo_t_s_move_loop_expl.html + a1ba36c937b195ca2f7d1a24adaa7018 + + + + moMoveInit< M > & + move_init + classmo_t_s_move_loop_expl.html + 6b23f99648902fb72ed17a4a6fa4e400 + + + + moNextMove< M > & + next_move + classmo_t_s_move_loop_expl.html + aeeff6666d26ff5c67acd9c153a5ae49 + + + + moMoveIncrEval< M > & + incr_eval + classmo_t_s_move_loop_expl.html + ee4443fc8e45d840697619678628c26c + + + + moBestImprSelect< M > + move_select + classmo_t_s_move_loop_expl.html + 35a3f3035fb8df875c281d9838904bf1 + + + + moTabuList< M > & + tabu_list + classmo_t_s_move_loop_expl.html + 0e5988a940ba218e87c53b7e56d79790 + + + + moAspirCrit< M > & + aspir_crit + classmo_t_s_move_loop_expl.html + 6786cf5422d17cbf872b07ae74ca6b0f + + + + diff --git a/trunk/paradiseo-mo/src/mo.h b/trunk/paradiseo-mo/src/mo.h index 58476ce6b..e94fc25f3 100755 --- a/trunk/paradiseo-mo/src/mo.h +++ b/trunk/paradiseo-mo/src/mo.h @@ -15,13 +15,16 @@ #include "moAlgo.h" #include "moAspirCrit.h" #include "moBestImprSelect.h" +#include "moComparator.h" #include "moCoolingSchedule.h" #include "moExponentialCoolingSchedule.h" #include "moFirstImprSelect.h" +#include "moFitComparator.h" #include "moGenSolContinue.h" #include "moHC.h" #include "moHCMoveLoopExpl.h" #include "moImprBestFitAspirCrit.h" +#include "moILS.h" #include "moItRandNextMove.h" #include "moLinearCoolingSchedule.h" #include "moLSCheckPoint.h" diff --git a/trunk/paradiseo-mo/src/moComparator.h b/trunk/paradiseo-mo/src/moComparator.h new file mode 100644 index 000000000..a76642385 --- /dev/null +++ b/trunk/paradiseo-mo/src/moComparator.h @@ -0,0 +1,25 @@ +// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- + +// "moComparator.h" + +// (c) OPAC Team, LIFL, 2003-2007 + +/* TEXT LICENCE + + Contact: paradiseo-help@lists.gforge.inria.fr +*/ + +#ifndef __moComparator_h +#define __moComparator_h + + +//! Template for classes which need to compare two EOT and indicate if the first is "better" than the second. +/*! + The objects that extend this template describe how an EOT is "better" than an other. + */ +template +class moComparator: public eoBF +{ +}; + +#endif diff --git a/trunk/paradiseo-mo/src/moFitComparator.h b/trunk/paradiseo-mo/src/moFitComparator.h new file mode 100644 index 000000000..8b0ab6493 --- /dev/null +++ b/trunk/paradiseo-mo/src/moFitComparator.h @@ -0,0 +1,29 @@ +// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- + +// "moFitComparator.h" + +// (c) OPAC Team, LIFL, 2003-2007 + +/* TEXT LICENCE + + Contact: paradiseo-help@lists.gforge.inria.fr +*/ + +#ifndef __moFitComparator_h +#define __moFitComparator_h + +//! Comparison according to the fitness. +/*! + An EOT is better than an other if its fitness is better. + */ +template +class moFitComparator: public moComparator +{ + public: + bool operator()(const EOT& _solution1, const EOT& _solution2) + { + return _solution1.fitness()>_solution2.fitness(); + } +}; + +#endif diff --git a/trunk/paradiseo-mo/src/moILS.h b/trunk/paradiseo-mo/src/moILS.h new file mode 100644 index 000000000..be88ebb59 --- /dev/null +++ b/trunk/paradiseo-mo/src/moILS.h @@ -0,0 +1,185 @@ +// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- + +// "moILS.h" + +// (c) OPAC Team, LIFL, 2003-2007 + +/* LICENCE TEXT + + Contact: paradiseo-help@lists.gforge.inria.fr +*/ + +#ifndef __moILS_h +#define __moILS_h + +#include + +#include "moHC.h" +#include "moTS.h" +#include "moSA.h" + +//! Iterated Local Search (ILS) +/*! + Class which describes the algorithm for a iterated local search. + */ +template < class M > class moILS:public moAlgo < typename M::EOType > +{ + + //! Alias for the type. + typedef typename M::EOType EOT; + + //! Alias for the fitness. + typedef typename EOT::Fitness Fitness; + +public: + + //! Generic constructor + /*! + Generic constructor using a moAlgo + + \param __algo The solution based heuristic to use. + \param __continue The stopping criterion. + \param __acceptance_criterion The acceptance criterion. + \param __perturbation The pertubation generator. + \param __full_eval The evaluation function. + */ + moILS (moAlgo &__algo, moSolContinue &__continue, moComparator &__acceptance_criterion, eoMonOp &__perturbation, + eoEvalFunc &__full_eval): + algo(__algo), cont(__continue), acceptance_criterion(__acceptance_criterion), perturbation(__perturbation), full_eval(__full_eval) + {} + + //! Constructor for using a moHC for the moAlgo + /*! + \param __move_init The move initialisation (for the moHC). + \param __next_move The move generator (for the moHC). + \param __incr_eval The partial evaluation function (for the moHC). + \param __move_select The move selection strategy (for the moHC). + \param __continue The stopping criterion. + \param __acceptance_criterion The acceptance criterion. + \param __perturbation The pertubation generator. + \param __full_eval The evaluation function. + */ + moILS (moMoveInit < M > &__move_init, moNextMove < M > &__next_move, moMoveIncrEval < M > &__incr_eval, + moMoveSelect < M > &__move_select, moSolContinue &__continue, moComparator &__acceptance_criterion, + eoMonOp &__perturbation, eoEvalFunc &__full_eval): + algo(*new moHC(__move_init, __next_move, __incr_eval, __move_select, __full_eval)), cont(__continue), + acceptance_criterion(__acceptance_criterion), perturbation(__perturbation), full_eval(__full_eval) + {} + + //! Constructor for using a moTS for the moAlgo + /*! + \param __move_init The move initialisation (for the moTS). + \param __next_move The move generator (for the moTS). + \param __incr_eval The partial evaluation function (for the moTS). + \param __tabu_list The tabu list (for the moTS !!!!). + \param __aspir_crit The aspiration criterion (for the moTS). + \param __moTS_continue The stopping criterion (for the moTS). + \param __continue The stopping criterion. + \param __acceptance_criterion The acceptance criterion. + \param __perturbation The pertubation generator. + \param __full_eval The evaluation function. + */ + moILS (moMoveInit &__move_init, moNextMove &__next_move, moMoveIncrEval &__incr_eval, + moTabuList &__tabu_list, moAspirCrit &__aspir_crit, moSolContinue &__moTS_continue, + moSolContinue &__continue, moComparator &__acceptance_criterion, eoMonOp &__perturbation, + eoEvalFunc &__full_eval): + algo(*new moTS(__move_init, __next_move, __incr_eval, __tabu_list, __aspir_crit, __moTS_continue, __full_eval)), + cont(__continue), acceptance_criterion(__acceptance_criterion), perturbation(__perturbation), full_eval(__full_eval) + {} + + //! Constructor for using a moTS for the moAlgo + /*! + \param __move_rand The random move generator (for the moSA). + \param __incr_eval The partial evaluation function (for the moSA). + \param __moSA_continue The stopping criterion (for the moSA). + \param __init_temp The initial temperature (for the moSA). + \param __cool_sched The cooling scheduler (for the moSA). + \param __continue The stopping criterion. + \param __acceptance_criterion The acceptance criterion. + \param __perturbation The pertubation generator. + \param __full_eval The evaluation function. + */ + moILS (moRandMove &__move_rand, moMoveIncrEval &__incr_eval, moSolContinue &__moSA_continue, double __init_temp, + moCoolingSchedule & __cool_sched, moSolContinue &__continue, moComparator &__acceptance_criterion, + eoMonOp &__perturbation, eoEvalFunc &__full_eval): + algo(*new moSA(__move_rand, __incr_eval, __moSA_continue, __init_temp, __cool_sched, __full_eval)), + cont(__continue), acceptance_criterion(__acceptance_criterion), perturbation(__perturbation), full_eval(__full_eval) + {} + + + + //! Function which launches the ILS + /*! + The ILS has to improve a current solution. + As the moSA, the moTS and the moHC, it can be used for HYBRIDATION in an evolutionnary algorithm. + + \param __sol a current solution to improve. + \return TRUE. + */ + bool operator()(EOT & __sol) + { + EOT __sol_saved=__sol; + + cont.init (); + + //some code has been duplicated in order to avoid one perturbation and one evaluation without adding a test in the loop. + + //std::cout << "Before intensification: " << __sol.fitness() << std::endl; + algo(__sol); + //std::cout << "After intensification: " << __sol.fitness() << std::endl; + + if(acceptance_criterion(__sol, __sol_saved)) + { + std::cout << "Accepted: " << __sol.fitness() << std::endl; + __sol_saved=__sol; + + } + else + { + //std::cout << "Refused" << std::endl; + __sol=__sol_saved; + } + + while (cont (__sol)) + { + perturbation(__sol); + full_eval(__sol); + + //std::cout << "Before intensification: " << __sol.fitness() << std::endl; + algo(__sol); + //std::cout << "After intensification: " << __sol.fitness() << std::endl; + + if(acceptance_criterion(__sol, __sol_saved)) + { + std::cout << "Accepted: " << __sol.fitness() << std::endl; + __sol_saved=__sol; + } + else + { + //std::cout << "Refused" << std::endl; + __sol=__sol_saved; + } + } + + return true; + } + +private: + + //! The solution based heuristic. + moAlgo &algo; + + //! The stopping criterion. + moSolContinue &cont; + + //! The acceptance criterion. + moComparator &acceptance_criterion; + + //! The perturbation generator + eoMonOp &perturbation; + + //! The full evaluation function + eoEvalFunc &full_eval; +}; + +#endif diff --git a/trunk/paradiseo-mo/tutorial/CMakeLists.txt b/trunk/paradiseo-mo/tutorial/CMakeLists.txt index 0bc6daac1..e8d84ac73 100644 --- a/trunk/paradiseo-mo/tutorial/CMakeLists.txt +++ b/trunk/paradiseo-mo/tutorial/CMakeLists.txt @@ -12,6 +12,6 @@ SET(TSP_BINARY_DIR ${ParadisEO-MO_BINARY_DIR}/tutorial/examples/tsp CACHE PATH " ### 2) Where must cmake go now ? ###################################################################################### -SUBDIRS(examples Lesson1 Lesson2 Lesson3) +SUBDIRS(examples Lesson1 Lesson2 Lesson3 Lesson4) ###################################################################################### diff --git a/trunk/paradiseo-mo/tutorial/Lesson4/CMakeLists.txt b/trunk/paradiseo-mo/tutorial/Lesson4/CMakeLists.txt new file mode 100644 index 000000000..5afdc8647 --- /dev/null +++ b/trunk/paradiseo-mo/tutorial/Lesson4/CMakeLists.txt @@ -0,0 +1,81 @@ + + +###################################################################################### +### 1) Include the sources +###################################################################################### + +INCLUDE_DIRECTORIES(${EO_SRC_DIR}/src) +INCLUDE_DIRECTORIES(${EO_SRC_DIR}/src/utils) +INCLUDE_DIRECTORIES(${ParadisEO-MO_SOURCE_DIR}/src) +INCLUDE_DIRECTORIES(${TSP_SRC_DIR}) +###################################################################################### + + + +###################################################################################### +### 2) Specify where CMake can find the libraries +###################################################################################### + +IF(NOT WIN32 OR CYGWIN) + LINK_DIRECTORIES(${EO_BIN_DIR}/lib ${TSP_BINARY_DIR}/lib) +ENDIF(NOT WIN32 OR CYGWIN) + +# especially for Visual Studio +IF(WIN32 AND NOT CYGWIN) + LINK_DIRECTORIES(${EO_BIN_DIR}\\lib\\${CMAKE_BUILD_TYPE}) +ENDIF(WIN32 AND NOT CYGWIN) + +###################################################################################### + + + +###################################################################################### +### 3) Define your target(s): just an executable here +###################################################################################### + +ADD_EXECUTABLE(iterated_local_search iterated_local_search.cpp) + +ADD_DEPENDENCIES(iterated_local_search tsp) +###################################################################################### + + + +###################################################################################### +### 4) Optionnal: define your target(s)'s version: no effect for windows +###################################################################################### + +SET(ITERATEDLOCALSEARCH_VERSION ${GLOBAL_VERSION}) +SET_TARGET_PROPERTIES(iterated_local_search PROPERTIES VERSION "${ITERATEDLOCALSEARCH_VERSION}") +###################################################################################### + + + +###################################################################################### +### 5) Link the librairies for your target(s) +###################################################################################### + +TARGET_LINK_LIBRARIES(iterated_local_search tsp eo eoutils) + +###################################################################################### + + + +###################################################################################### +### 6) Windows advanced config - especially for Microsoft Visual Studio 8 +###################################################################################### + + IF(CMAKE_CXX_COMPILER MATCHES cl) + IF(NOT WITH_SHARED_LIBS) + IF(CMAKE_GENERATOR STREQUAL "Visual Studio 8 2005") + SET(CMAKE_CXX_FLAGS "/nologo /W3 /Gy") + SET(CMAKE_CXX_FLAGS_DEBUG "/MTd /Z7 /Od") + SET(CMAKE_CXX_FLAGS_RELEASE "/MT /O2") + SET(CMAKE_CXX_FLAGS_MINSIZEREL "/MT /O2") + SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/MTd /Z7 /Od") + SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SUBSYSTEM:CONSOLE") + + ENDIF(CMAKE_GENERATOR STREQUAL "Visual Studio 8 2005") + ENDIF(NOT WITH_SHARED_LIBS) + ENDIF(CMAKE_CXX_COMPILER MATCHES cl) +###################################################################################### + diff --git a/trunk/paradiseo-mo/tutorial/Lesson4/iterated_local_search.cpp b/trunk/paradiseo-mo/tutorial/Lesson4/iterated_local_search.cpp new file mode 100644 index 000000000..f18a4b3ab --- /dev/null +++ b/trunk/paradiseo-mo/tutorial/Lesson4/iterated_local_search.cpp @@ -0,0 +1,95 @@ +// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*- + +// "iterated_local_search.cpp" + +// (c) OPAC Team, LIFL, 2003-2007 + +/* LICENCE TEXT + + Contact: paradiseo-help@lists.gforge.inria.fr +*/ + +#include + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +#include + +int +main (int __argc, char * __argv []) +{ + if (__argc != 2) + { + std :: cerr << "Usage : ./iterated_local_search [instance]" << std :: endl ; + return 1 ; + } + + Graph :: load (__argv [1]) ; // Instance + + Route route ; // Solution + + RouteInit init ; // Sol. Random Init. + init (route) ; + + RouteEval full_eval ; // Full. Eval. + full_eval (route) ; + + std :: cout << "[From] " << route << std :: endl ; + + /* Tools for an efficient (? :-)) + local search ! */ + + TwoOptInit two_opt_init ; // Init. + + TwoOptNext two_opt_next ; // Explorer. + + TwoOptIncrEval two_opt_incr_eval ; // Eff. eval. + + moBestImprSelect two_opt_select ; + + //moHC hill_climbing (two_opt_init, two_opt_next, two_opt_incr_eval, two_opt_select, full_eval) ; + + moGenSolContinue cont (1000) ; + + moFitComparator comparator; + + CitySwap perturbation; + + //moILS iterated_local_search (hill_climbing, cont, comparator, perturbation, full_eval) ; + //moILS iterated_local_search (two_opt_init, two_opt_next, two_opt_incr_eval, + // two_opt_select, cont, comparator, perturbation, full_eval) ; + + moGenSolContinue ts_cont (100) ; + + TwoOptTabuList tabu_list ; // Tabu List + moNoAspirCrit aspir_crit ; // Aspiration Criterion + + //moILS iterated_local_search (two_opt_init, two_opt_next, two_opt_incr_eval, tabu_list, aspir_crit, ts_cont, + // cont, comparator, perturbation, full_eval) ; + + TwoOptRand two_opt_rand ; // Route Random. Gen. + + moExponentialCoolingSchedule cool_sched (0.1, 0.98) ; // Exponential Cooling Schedule + + moGenSolContinue sa_cont (100) ; + + moILS iterated_local_search (two_opt_rand, two_opt_incr_eval, sa_cont, 100, cool_sched, + cont, comparator, perturbation, full_eval) ; + + iterated_local_search(route) ; + + std :: cout << "[To] " << route << std :: endl ; + + return 0 ; +} + diff --git a/trunk/paradiseo-mo/tutorial/examples/tsp/benchs/berlin52.tsp b/trunk/paradiseo-mo/tutorial/examples/tsp/benchs/berlin52.tsp new file mode 100644 index 000000000..9854458a9 --- /dev/null +++ b/trunk/paradiseo-mo/tutorial/examples/tsp/benchs/berlin52.tsp @@ -0,0 +1,53 @@ +52 +565 575 +25 185 +345 750 +945 685 +845 655 +880 660 +25 230 +525 1000 +580 1175 +650 1130 +1605 620 +1220 580 +1465 200 +1530 5 +845 680 +725 370 +145 665 +415 635 +510 875 +560 365 +300 465 +520 585 +480 415 +835 625 +975 580 +1215 245 +1320 315 +1250 400 +660 180 +410 250 +420 555 +575 665 +1150 1160 +700 580 +685 595 +685 610 +770 610 +795 645 +720 635 +760 650 +475 960 +95 260 +875 920 +700 500 +555 815 +830 485 +1170 65 +830 610 +605 625 +595 360 +1340 725 +1740 245