Change bool** marked in heuristique to std::vector.