Graphle 1.0.0
A C++20 header-only graph library
Loading...
Searching...
No Matches
Public Types | List of all members
graphle::compare_by_value< Vertex > Struct Template Reference

#include <vertex_compare.hpp>

Public Types

using vertex_compare = comparators::vertex_value< Vertex >
 
using edge_compare = comparators::edge_as_vertex< Vertex, vertex_compare >
 
using vertex_hash = hashers::vertex_value< Vertex >
 
using edge_hash = hashers::edge_as_vertex< Vertex, vertex_hash >
 

Detailed Description

template<typename Vertex>
struct graphle::compare_by_value< Vertex >

Compare vertices by their value. Can be used for the CompareAs parameter of graphle::graph.

Definition at line 107 of file vertex_compare.hpp.

Member Typedef Documentation

◆ edge_compare

template<typename Vertex >
using graphle::compare_by_value< Vertex >::edge_compare = comparators::edge_as_vertex<Vertex, vertex_compare>

Definition at line 109 of file vertex_compare.hpp.

◆ edge_hash

template<typename Vertex >
using graphle::compare_by_value< Vertex >::edge_hash = hashers::edge_as_vertex<Vertex, vertex_hash>

Definition at line 111 of file vertex_compare.hpp.

◆ vertex_compare

template<typename Vertex >
using graphle::compare_by_value< Vertex >::vertex_compare = comparators::vertex_value<Vertex>

Definition at line 108 of file vertex_compare.hpp.

◆ vertex_hash

template<typename Vertex >
using graphle::compare_by_value< Vertex >::vertex_hash = hashers::vertex_value<Vertex>

Definition at line 110 of file vertex_compare.hpp.


The documentation for this struct was generated from the following file: