GraphDom
Toggle main menu visibility
Loading...
Searching...
No Matches
non_mixed_graph.h
1
/*
2
* Copyright 2026 Michele Comparini
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef GRAPHDOM_NON_MIXED_GRAPH_H
8
#define GRAPHDOM_NON_MIXED_GRAPH_H
9
10
#include "graph.h"
11
12
namespace
graphdom
{
14
17
template
<
typename
VertexType>
18
class
non_mixed_graph
:
virtual
public
graph
<VertexType> {
19
public
:
21
~non_mixed_graph
()
override
=
default
;
22
30
virtual
void
insert_edge
(
const
typename
graph<VertexType>::vertex_const_handle
& first_endpoint,
const
typename
graph<VertexType>::vertex_const_handle
& second_endpoint) = 0;
31
};
32
}
33
34
#endif
//GRAPHDOM_NON_MIXED_GRAPH_H
graphdom::graph::vertex_const_handle
Every valid instance of this class can be used to identify a specific vertex of a graph and to access...
Definition
vertex_const_handle.h:35
graphdom::graph
Every graph created using this library is an instance of a concrete class publicly derived,...
Definition
graph.h:43
graphdom::non_mixed_graph
Every non-mixed graph created using this library is an instance of a concrete class publicly derived,...
Definition
non_mixed_graph.h:18
graphdom::non_mixed_graph::insert_edge
virtual void insert_edge(const typename graph< VertexType >::vertex_const_handle &first_endpoint, const typename graph< VertexType >::vertex_const_handle &second_endpoint)=0
graphdom::non_mixed_graph::~non_mixed_graph
~non_mixed_graph() override=default
To be polymorphic, this class has a virtual destructor.
graphdom
Definition
adj_list.h:16
include
graphdom
non_mixed_graph.h
Generated by
1.17.0