GraphDom
Loading...
Searching...
No Matches
mixed_graph_labeled_vertex_container.h
1/*
2 * Copyright 2026 Michele Comparini
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef GRAPHDOM_MIXED_GRAPH_LABELED_VERTEX_CONTAINER_IMPL_H
8#define GRAPHDOM_MIXED_GRAPH_LABELED_VERTEX_CONTAINER_IMPL_H
9
10#include "../../graph.h"
11#include "../mixed_graph_vertex_container.h"
12#include "../mixed_graph_labeled_vertex_container.h"
13
14template <typename VertexType>
15template <typename VertexContainerPointerType, typename VertexLabelType>
17mixed_graph_labeled_vertex_container(const VertexType& v, const VertexLabelType& vl) :
18 mixed_graph_vertex_container<VertexContainerPointerType>(v),
19 vertex_label(vl) {}
20
21template <typename VertexType>
22template <typename VertexContainerPointerType, typename VertexLabelType>
24mixed_graph_labeled_vertex_container(const VertexType& v, VertexLabelType&& vl) :
25 mixed_graph_vertex_container<VertexContainerPointerType>(v),
26 vertex_label(std::move(vl)) {}
27
28template <typename VertexType>
29template <typename VertexContainerPointerType, typename VertexLabelType>
31mixed_graph_labeled_vertex_container(VertexType&& v, const VertexLabelType& vl) :
32 mixed_graph_vertex_container<VertexContainerPointerType>(std::move(v)),
33 vertex_label(vl) {}
34
35template <typename VertexType>
36template <typename VertexContainerPointerType, typename VertexLabelType>
38mixed_graph_labeled_vertex_container(VertexType&& v, VertexLabelType&& vl) :
39 mixed_graph_vertex_container<VertexContainerPointerType>(std::move(v)),
40 vertex_label(std::move(vl)) {}
41
42#endif //GRAPHDOM_MIXED_GRAPH_LABELED_VERTEX_CONTAINER_IMPL_H
Every graph created using this library is an instance of a concrete class publicly derived,...
Definition graph.h:43