DDSubGradient: removed std::cout's and changed default visitor to EmptyVisitor