removed old PSO stuff. I'm just not into it any more.
This commit is contained in:
1 parent
898adda122
commit
7d8c0064a9
2 files changed
-40
No files matched your search
@@ -1,34 +0,0 @@
|
||||
#ifndef __pso_h__
|
||||
#define __pso_h__
|
||||
|
||||
namespace PSO
|
||||
{
|
||||
template <unsigned int DIM, unsigned int POP=(DIM*10)>
|
||||
class Engine
|
||||
{
|
||||
public:
|
||||
|
||||
Engine();
|
||||
virtual ~Engine();
|
||||
|
||||
void Reset();
|
||||
|
||||
const double* GetBest() const;
|
||||
|
||||
void SetRange(double minimum, double maximum);
|
||||
void SetRange(const Vector<DIM>& minimum, const Vector<DIM>& maximum);
|
||||
|
||||
virtual double CalculateError(const double testcase[DIM], bool& stop) = 0;
|
||||
|
||||
bool Solve(unsigned int maxgenerations = 1000000000);
|
||||
|
||||
private:
|
||||
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif // __pso_h__
|
||||
|
||||
Reference in new issue
Block a user