Algorithms and Computability Project 0.0.1
Algorithms and Computability Project, we implement graph size, a graph metric, maximum clique search and maximum common subgraph search
Loading...
Searching...
No Matches
graph.cpp File Reference

Graph representation implementations. More...

#include "graph.hpp"
#include <algorithm>
#include <iostream>
#include <numeric>
#include <sstream>
#include <stdexcept>
#include <unordered_map>
Include dependency graph for graph.cpp:

Functions

auto operator<< (std::ostream &outputStream, const Graph &graph) -> std::ostream &
 
auto operator== (const Graph &lhs, const Graph &rhs) -> bool
 

Detailed Description

Graph representation implementations.

Function Documentation

◆ operator<<()

auto operator<< ( std::ostream &  outputStream,
const Graph graph 
) -> std::ostream&
Parameters
outputStreamthe stream to write to
graphthe graph. (?)
Returns
the outputStream

◆ operator==()

auto operator== ( const Graph lhs,
const Graph rhs 
) -> bool
Parameters
lhsthe lhs of A == B
rhsthe rhs, lol
Returns
true iff the pair is isomorphic