GraphDom
Loading...
Searching...
No Matches
mixed_graph_vertex_container.h
1/*
2 * Copyright 2026 Michele Comparini
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef GRAPHDOM_MIXED_GRAPH_VERTEX_CONTAINER_H
8#define GRAPHDOM_MIXED_GRAPH_VERTEX_CONTAINER_H
9
10#include "../graph.h"
11#include "vertex_container.h"
12
13namespace graphdom {
14 template <typename VertexType>
15 template <typename VertexContainerPointerType>
16 class graph<VertexType>::mixed_graph_vertex_container : public vertex_container {
17 public:
18 mixed_graph_vertex_container() = delete;
19 mixed_graph_vertex_container(const mixed_graph_vertex_container&) = delete;
20 mixed_graph_vertex_container(mixed_graph_vertex_container&&) = delete;
21 explicit mixed_graph_vertex_container(const VertexType& v);
22 explicit mixed_graph_vertex_container(VertexType&& v);
23
24 ~mixed_graph_vertex_container() = default;
25
26 mutable adj_set<VertexContainerPointerType> undirected_adj;
27 mutable adj_set<VertexContainerPointerType> directed_adj;
28 };
29}
30
31#include "impl/mixed_graph_vertex_container.h"
32
33#endif //GRAPHDOM_MIXED_GRAPH_VERTEX_CONTAINER_H
Every graph created using this library is an instance of a concrete class publicly derived,...
Definition graph.h:43
Definition adj_list.h:16