summaryrefslogtreecommitdiff
path: root/nauty/geng.h
blob: 42f01494d646a1b8467cddd351dc45a1d9e18cfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "gtools.h"
#include <ucontext.h>
#include <stdbool.h>

struct geng_iterator
{
    ucontext_t geng_worker, geng_user;
    char geng_stack[1 << 20];
    int graph_size;
    bool generation_done;
    bool iteration_done;
    int batch_size;
    int batch_capacity;
    set *batch;
};