[shark] 20/58: removed unused parameter from SMSEMOA::init
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Mar 16 10:05:29 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository shark.
commit 0e2160728887ea40ac690ccf998c3463c01ca08a
Author: Tobias Glasmachers <tobias.glasmachers at ini.rub.de>
Date: Sun Feb 7 22:38:00 2016 +0100
removed unused parameter from SMSEMOA::init
---
include/shark/Algorithms/DirectSearch/SMS-EMOA.h | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/include/shark/Algorithms/DirectSearch/SMS-EMOA.h b/include/shark/Algorithms/DirectSearch/SMS-EMOA.h
index 4ca04ee..7f97d74 100644
--- a/include/shark/Algorithms/DirectSearch/SMS-EMOA.h
+++ b/include/shark/Algorithms/DirectSearch/SMS-EMOA.h
@@ -130,15 +130,11 @@ public:
* \brief Initializes the algorithm for the supplied objective function.
*
* \param [in] function The objective function.
- * \param [in] startingPoints A set of intiial search points.
*/
- void init(
- ObjectiveFunctionType& function,
- std::vector<SearchPointType> const& startingPoints
- ){
+ void init(ObjectiveFunctionType& function) {
checkFeatures(function);
function.init();
-
+
m_pop.resize( mu() + 1 );
m_best.resize(mu());
for(std::size_t i = 0; i != mu(); ++i){
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/shark.git
More information about the debian-science-commits
mailing list