Logo Search packages:      
Sourcecode: gaffitter version File versions  Download package

Optimizer Class Reference

#include <Optimizer.hh>

Inheritance diagram for Optimizer:

BestFirst BruteForce GeneticAlgorithm Split

List of all members.

Detailed Description

Base class for search algorithms.

Definition at line 40 of file Optimizer.hh.

Public Member Functions

virtual void Evolve ()=0
 Optimizer (vector< SizeName > &sn, Params &p)
bool Output ()
virtual ~Optimizer ()

Protected Member Functions

Params::Size_t CalcSum (const vector< bool > &) const
Params::Size_t Diff (const vector< bool > &v) const
Params::Size_t Diff (Params::Size_t s) const
Params::Size_t Evaluate (const vector< bool > &v) const
virtual void Reset ()
virtual ostream & Write (ostream &s) const

Protected Attributes

vector< bool > * m_best
vector< SizeName > & m_files

Private Member Functions

Optimizeroperator= (const Optimizer &)
 Optimizer (const Optimizer &)

Private Attributes

int m_cur_iter


ostream & operator<< (ostream &, const Optimizer &)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index