aboutsummaryrefslogtreecommitdiffstats
path: root/methods/aga
diff options
context:
space:
mode:
Diffstat (limited to 'methods/aga')
-rw-r--r--methods/aga/aga.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/methods/aga/aga.hpp b/methods/aga/aga.hpp
index f5edff3..81c53df 100644
--- a/methods/aga/aga.hpp
+++ b/methods/aga/aga.hpp
@@ -1,3 +1,8 @@
+/**
+ \file aga.hpp
+ asexual genetic algorithm method
+*/
+
#ifndef AGA_METHOD
#define AGA_METHOD
#include <core/optimizer.hpp>
@@ -37,6 +42,14 @@ namespace opt_utilities
}
};
+
+ /**
+ Implement of the asexual genetic algorithm
+ 2009A&A...501.1259C
+ http://adsabs.harvard.edu/abs/2009arXiv0905.3712C
+ \tparam rT return type of the object function
+ \tparam pT parameter type of the object function
+ */
template <typename rT,typename pT>
class aga_method
:public opt_method<rT,pT>