#include "BinaryHeuristic.h" BinaryHeuristic::BinaryHeuristic(std::ostream& outstream): outstream(outstream) { } std::function BinaryHeuristic::getOperatorFromGoal(ObjectiveFunctionGoal goal) { switch (goal) { case ObjectiveFunctionGoal::min: return std::less(); case ObjectiveFunctionGoal::max: default: return std::greater(); } }