194extern void message(
const char *
file,
int line,
const char *format, ...);
205extern void error(
const char *
file,
int line,
const char *format, ...);
216extern void exit(
const char *
file,
int line,
const char *format, ...);
227extern void warning(
const char *
file,
int line,
const char *format, ...);
246#define MESSAGE(...) \
247 Aleph::message(__FILE__, __LINE__, __VA_ARGS__)
253#define WARNING(...) \
254 Aleph::warning(__FILE__, __LINE__, __VA_ARGS__)
270#define AH_ERROR(...) \
271 Aleph::error(__FILE__, __LINE__, __VA_ARGS__)
278 Aleph::exit(__FILE__, __LINE__, __VA_ARGS__)
285#define POINTER_HAS_BEEN_FOUND(ptr) ((ptr) not_eq nullptr)
292#define POINTER_HAS_NOT_BEEN_FOUND(ptr) ((ptr) == nullptr)
300#define Exception_Prototypes(...)
EmptyCtor
Tag type for empty/default construction.
SentinelCtor
Tag type for sentinel node construction.
NoExceptionCtor
Tag type for no-exception construction.
size_t blossom_maximum_cardinality_matching(const GT &g, DynDlist< typename GT::Arc * > &matching, SA sa=SA())
Alias of compute_maximum_cardinality_general_matching().
Main namespace for Aleph-w library functions.
const IPv4_Address Null_IPv4_Address
Null/invalid IPv4 address constant.
double max_time
Maximum allowed execution time (in seconds).
const int UnknownLine
Constant indicating unknown line number.
void message(const char *file, int line, const char *format,...)
Print an informational message with file and line info.
const int UnknownSize
Constant indicating unknown size.
void syslog(const char *format, va_list ap)
Write a message to syslog.
void exit(const char *file, int line, const char *format,...)
Print a message and exit the program.
void warning(const char *file, int line, const char *format,...)
Print a warning message with file and line info.
uint32_t IPv4_Address
Type alias for IPv4 addresses stored as 32-bit integers.
void error(const char *file, int line, const char *format,...)
Print an error message with file and line info.
const int UnknownLoad
Constant indicating unknown load factor.
bool daemonized
Flag indicating if the process is running as a daemon.
bool verbose
Flag enabling verbose output.
Empty placeholder class with no data members.
bool operator!=(const Empty_Class &) const
Inequality comparison (always false).
bool operator==(const Empty_Class &) const
Equality comparison (always true).
friend std::ostream & operator<<(std::ostream &o, const Empty_Class &)
Stream output operator (outputs nothing).
Empty_Class & operator=(const Empty_Class &unused)
Copy assignment operator.
Empty_Class(const Empty_Class &unused)
Copy constructor.
friend std::istream & operator>>(std::istream &i, const Empty_Class &)
Stream input operator (reads nothing).
Empty_Class(EmptyCtor unused)
Empty constructor variant.
Empty_Class(SentinelCtor unused)
Sentinel constructor variant.
Empty_Class()
Default constructor.