src/population.cpp
/**
 *	Default constructor. Creates a new
 * 	set of random covers.
 */
Default constructor. Creates a new
set of random covers.
Default constructor . Creates a new set of random covers .
Population::Population(const Pizza& pizza, const int pop_count) {
	pop_count_ 	= pop_count;
	for (int i = 0; i < pop_count_; i++) {
		pool_.push_back(Cover(pizza));
	}
}
Population :: Population ( const Pizza & pizza , const int pop_count ) { pop_count_ = pop_count ; for ( int i = 0 ; i < pop_count_ ; i ++ ) { pool_ . push_back ( Cover ( pizza ) ) ; } }
Default constructor.
Default constructor .