Generated on for Gecode by doxygen 1.17.0
eval.cpp File Reference
#include <gecode/instance/eval.hpp>
#include <climits>
#include <iomanip>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  Gecode
 Gecode toplevel namespace
namespace  Gecode::Instance
 Reading instance files described by reader specs.

Functions

std::string Gecode::Instance::quote (const std::string &s)
 Return s in single quotes, with newlines and tabs escaped.
bool Gecode::Instance::add (long long int x, long long int y, long long int &r)
 Store x + y in r unless it overflows.
bool Gecode::Instance::sub (long long int x, long long int y, long long int &r)
 Store x - y in r unless it overflows.