Home | Develop | Download | Contact
FuncOptFirefly.hpp
1/*
2 * FuncOptFirefly.hpp
3 *
4 * Copyright 2018 Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 * MA 02110-1301, USA.
20 *
21 */
22
30#ifndef __PDS_FUNCOPTFIREFLY_HPP__
31#define __PDS_FUNCOPTFIREFLY_HPP__
32
33#include <Pds/Ra>
34#include <Pds/FireflyConf>
35#include <vector>
36
46namespace Pds{
47
51namespace Optimization{
52
53
54
128 unsigned int L,
129 double (*CostFunc)(const Pds::Vector &W,const std::vector<Pds::Matrix> &Params),
130 const std::vector<Pds::Matrix> &Params,
131 Pds::Vector (*WorkingRegion)(const Pds::Vector &W,const std::vector<Pds::Matrix> &Params),
132 double *BestCost=NULL);
133
200 const std::vector<Pds::Vector> &W0,
201 double (*CostFunc)(const Pds::Vector &W,const std::vector<Pds::Matrix> &Params),
202 const std::vector<Pds::Matrix> &Params,
203 Pds::Vector (*WorkingRegion)(const Pds::Vector &W,const std::vector<Pds::Matrix> &Params),
204 double *BestCost=NULL);
205
212} // namespace Optimization
213
214} // namespace Pds
215
216
221#endif /* __PDS_FUNCCLUSTERINGFirefly_HPP__ */
La clase tipo Pds::FireflyConf . Esta clase genera una matriz de Nlin lineas y 1 columna....
Definition: FireflyConf.hpp:57
La clase tipo Pds::Vector . Esta clase genera una matriz de Nlin lineas y 1 columna....
Definition: Vector.hpp:80
Pds::Vector Firefly(Pds::FireflyConf &Conf, unsigned int L, double(*CostFunc)(const Pds::Vector &W, const std::vector< Pds::Matrix > &Params), const std::vector< Pds::Matrix > &Params, Pds::Vector(*WorkingRegion)(const Pds::Vector &W, const std::vector< Pds::Matrix > &Params), double *BestCost=NULL)
Implementa Firefly Algorithm [pp. 81] .
Nombre de espacio para Pds (Procesamiento Digital de Senales)
Definition: AbstractRV.hpp:42

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed