Created
April 9, 2014 16:14
-
-
Save fmder/10287805 to your computer and use it in GitHub Desktop.
MOCMA.h modification
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(!function.isFeasible(m_pop[mu()+i].searchPoint())){ | |
RealVector t(m_pop[mu()+i].searchPoint()); | |
function.closestFeasible( t ); | |
double dist = norm_sqr( t - m_pop[mu()+i].searchPoint() ); | |
std::cout << dist << std::endl; | |
m_invalidCount++; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment