summaryrefslogtreecommitdiff
path: root/lib/include/wolff/graph.hpp
blob: 165544a71adfaa01622ac14a4a78e61fd1aea9a8 (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;
    std::vector<std::vector<double>> coordinate;

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