From 8c40a38cdc672175839c90f3132ba935bafd4d56 Mon Sep 17 00:00:00 2001 From: paradiseo Date: Fri, 5 Dec 2008 13:55:41 +0000 Subject: [PATCH] add "=0;" at the end of two virtual method --- eo/src/eoTopology.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eo/src/eoTopology.h b/eo/src/eoTopology.h index 827064fe..531f1fe9 100644 --- a/eo/src/eoTopology.h +++ b/eo/src/eoTopology.h @@ -33,7 +33,7 @@ /** * Defines the interface of a swarm topology. Can be static (usually the case for the social topologies) - * or dynamic. It's the same interface for both social and physical topologies. ("social" topology means + * or dynamic. It's the same interface for both social and physical topologies. ("social" topology means * social-neighborhood-based toplogy and so on ...) */ template < class POT > class eoTopology:public eoPop < POT > @@ -59,24 +59,24 @@ public: for (unsigned i = 0; i < _pop.size (); i++) updateNeighborhood(_pop[i],i); } - + /** * Builds the neighborhoods contained in the topology. */ - virtual POT & best (unsigned ) = 0; + virtual POT & best (unsigned ) = 0; /* * Return the global best of the topology - */ - virtual POT & globalBest(){} + */ + virtual POT & globalBest() = 0; /** * Prints the neighborhoods contained in the topology. */ - virtual void printOn(){} + virtual void printOn() = 0; };