dejavu
Fast probabilistic symmetry detection.
Loading...
Searching...
No Matches
utility.h File Reference
#include <iostream>
#include <algorithm>
#include <random>
#include <unordered_map>
#include <unordered_set>
#include <fstream>
#include <set>
#include <cstring>
#include <queue>
#include <memory>
#include <chrono>
#include <iomanip>
#include <functional>
+ Include dependency graph for utility.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  dejavu::random_source
 Random number generation. More...
 
class  dejavu::big_number
 Stores big numbers. More...
 
class  dejavu::timed_print
 Prints information to the console. More...
 

Namespaces

namespace  dejavu
 

Macros

#define PRINT_NO_NEWLINE(str)   std::cout << str << std::flush;
 
#define PRINT(str)   std::cout << str << std::endl;
 
#define dej_assert(expr)   (void)0
 
#define dej_nodiscard
 

Typedefs

typedef void type_dejavu_hook(int, const int *, int, const int *)
 
typedef std::function< void(int, const int *, int, const int *)> dejavu_hook
 

Functions

std::ostream & dejavu::operator<< (std::ostream &out, big_number number)
 

Macro Definition Documentation

◆ dej_assert

#define dej_assert (   expr)    (void)0

Definition at line 40 of file utility.h.

◆ dej_nodiscard

#define dej_nodiscard

Definition at line 46 of file utility.h.

◆ PRINT

#define PRINT (   str)    std::cout << str << std::endl;

Definition at line 35 of file utility.h.

◆ PRINT_NO_NEWLINE

#define PRINT_NO_NEWLINE (   str)    std::cout << str << std::flush;

Definition at line 34 of file utility.h.

Typedef Documentation

◆ dejavu_hook

typedef std::function<void(int, const int*, int, const int*)> dejavu_hook

Definition at line 95 of file utility.h.

◆ type_dejavu_hook

typedef void type_dejavu_hook(int, const int *, int, const int *)

Definition at line 94 of file utility.h.