XNetwork 1.7.5; VERSION ${PROJECT_VERSION}
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs
graph.hpp File Reference

Undirected graph data structure for XNetwork. More...

#include <cassert>
#include <cstdint>
#include <py2cpp/py2cpp.hpp>
#include <type_traits>
#include <vector>
#include <xnetwork/classes/coreviews.hpp>
#include <xnetwork/classes/reportviews.hpp>
Include dependency graph for graph.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  xnetwork::Graph< _nodeview_t, adjlist_t, adjlist_outer_dict_factory >
 Undirected graph with arbitrary node types. More...
 

Namespaces

namespace  xnetwork
 

Typedefs

template<typename T >
using Value_type = typename T::value_type
 Alias for the value_type of a container.
 
using xnetwork::SimpleGraph = Graph< decltype(py::range< uint32_t >(uint32_t{})), py::set< uint32_t >, std::vector< py::set< uint32_t > > >
 A simple undirected graph with integer nodes.
 

Detailed Description

Undirected graph data structure for XNetwork.

Defines the Graph class template and related utilities for representing undirected graphs with arbitrary node types.

Typedef Documentation

◆ Value_type

template<typename T >
using Value_type = typename T::value_type

Alias for the value_type of a container.