00001 /**************************************************************************** 00002 00003 $Id: EGTSelection.h,v 1.1.1.1 2002/10/19 08:14:51 motegi Exp $ 00004 Copyright (C) 2002 Higuchi Lab. All rights reserved. 00005 00006 *****************************************************************************/ 00007 #ifndef INCLUDE__SELECTION_H__FILE 00008 #define INCLUDE__SELECTION_H__FILE 00009 00010 #include "defs.h" 00011 #include "EGTVector.h" 00012 00022 template<class TP> 00023 class EGTSelection { 00024 public: 00025 typedef TP Pop; 00026 typedef typename Pop::Graph Graph; 00027 typedef EGTVector<const Graph*> Graphs; 00028 00030 virtual ~EGTSelection() { } 00040 virtual void Selection(const Pop& src, Graphs& dest, UInt uCount) = 0; 00050 virtual void Selection(const Pop& src, Pop& dest, UInt uCount) = 0; 00051 }; 00052 00053 #endif //INCLUDE__SELECTION_H__FILE