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

#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();

};