/usr/include/ga/GADCrowdingGA.h is in libga-dev 1:2.4.7-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | // $Header$
/* ----------------------------------------------------------------------------
dcrowdingga.h
mbwall 29mar99
Copyright (c) 1999 Matthew Wall, all rights reserved
Header file for the steady-state genetic algorithm class.
---------------------------------------------------------------------------- */
#ifndef _ga_deterministic_crowding_ga_h_
#define _ga_deterministic_crowding_ga_h_
#include <ga/GABaseGA.h>
class GADCrowdingGA : public GAGeneticAlgorithm {
public:
GADefineIdentity("GADeterministicCrowdingGA", 241);
GADCrowdingGA(const GAGenome& g) : GAGeneticAlgorithm(g) {}
virtual ~GADCrowdingGA() {}
virtual void initialize(unsigned int seed=0);
virtual void step();
GADCrowdingGA& operator++() { step(); return *this; }
};
#endif
|