summaryrefslogtreecommitdiff
path: root/lib/graph.h
blob: a4732fb73ee6cce11a900102fe271143245beb79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

#pragma once

#include <inttypes.h>
#include <cmath>
#include <stdlib.h>
#include <vector>

#include "types.h"

class graph_t {
  public:
    v_t ne;
    v_t nv;
    std::vector<std::vector<v_t>> v_adj;

    graph_t(D_t D, L_t L);
    void add_ext();

};