src/population.cpp
/**
 *	Orders the pool	for selection. This order
 *	should give high fitness covers a higher chance
 *	of making it through selection.
 */
Orders the pool for selection. This order
should give high fitness covers a higher chance
of making it through selection.
Orders the pool for selection . This order should give high fitness covers a higher chance of making it through selection .
void Population::order() {
	for (Cover& c : pool_) {
		c.gen_order_token();
	}
	sort(pool_.begin(), pool_.end());
}
void Population :: order ( ) { for ( Cover & c : pool_ ) { c . gen_order_token ( ) ; } sort ( pool_ . begin ( ) , pool_ . end ( ) ) ; }
Orders the pool for selection.
Orders the pool for selection .
// Assign tokens. // Order the pool.