170 { |
170 { |
171 if (m_bestSolution == nullptr or sol.isSuperiorTo (m_bestSolution)) |
171 if (m_bestSolution == nullptr or sol.isSuperiorTo (m_bestSolution)) |
172 m_bestSolution = / |
172 m_bestSolution = / |
173 } |
173 } |
174 |
174 |
175 return (m_bestSolution != nullptr); |
175 return (m_bestSolution); |
176 } |
176 } |
177 |
177 |
178 // |
178 // |
179 // Compares this solution with @other and determines which |
179 // Compares this solution with @other and determines which |
180 // one is superior. |
180 // one is superior. |