Sequoia
Loading...
Searching...
No Matches
Classes | Functions
GraphErrors.hpp File Reference

Error messages for graphs. More...

#include <string>
#include <stdexcept>

Go to the source code of this file.

Classes

struct  sequoia::maths::graph_errors::edge_indices
 
struct  sequoia::maths::graph_errors::edge_inversion_info
 

Functions

std::string sequoia::maths::graph_errors::node_index_range_message (std::string_view method, const std::size_t order, const std::size_t node)
 
std::string sequoia::maths::graph_errors::node_index_range_message (std::string_view method, const std::size_t order, const std::size_t node1, const std::size_t node2)
 
std::string sequoia::maths::graph_errors::edge_index_range_message (std::string_view method, const edge_indices edgeIndices, std::string_view indexName, const std::size_t size, const std::size_t index)
 
std::string sequoia::maths::graph_errors::edge_insertion_index_message (std::string_view method, const std::size_t node, const std::size_t sizeAfterFirstInsertion, const std::size_t index)
 
std::string sequoia::maths::graph_errors::edge_swap_indices_message (std::size_t node, std::size_t index, std::size_t numEdges)
 
std::string sequoia::maths::graph_errors::reciprocated_error_message (const edge_indices edgeIndices, const std::string_view indexName, const std::size_t reciprocatedIndex, const std::size_t index)
 
std::string sequoia::maths::graph_errors::embedded_edge_message (const std::size_t nodeIndex, const std::size_t source, const std::size_t target)
 
std::string sequoia::maths::graph_errors::inconsistent_initialization_message (std::size_t numNodes, std::size_t edgeParitions)
 
std::string sequoia::maths::graph_errors::inversion_consistency_message (std::size_t nodeIndex, edge_inversion_info zerothEdge, edge_inversion_info firstEdge)
 
constexpr void sequoia::maths::graph_errors::check_node_index_range (std::string_view method, const std::size_t order, const std::size_t node)
 
constexpr void sequoia::maths::graph_errors::check_node_index_range (std::string_view method, const std::size_t order, const std::size_t node1, const std::size_t node2)
 
constexpr void sequoia::maths::graph_errors::check_edge_index_range (std::string_view method, const edge_indices edgeIndices, std::string_view indexName, const std::size_t size, const std::size_t index)
 
constexpr void sequoia::maths::graph_errors::check_edge_insertion_index (std::string_view method, const std::size_t node, const std::size_t sizeAfterFirstInsertion, const std::size_t index)
 
constexpr void sequoia::maths::graph_errors::check_edge_swap_indices (std::size_t node, std::size_t i, std::size_t j, std::size_t numEdges)
 
constexpr void sequoia::maths::graph_errors::check_reciprocated_index (const edge_indices edgeIndices, std::string_view indexName, const std::size_t reciprocatedIndex, const std::size_t index)
 
constexpr void sequoia::maths::graph_errors::check_embedded_edge (const std::size_t nodeIndex, const std::size_t source, const std::size_t target)
 
constexpr void sequoia::maths::graph_errors::check_inversion_consistency (std::size_t nodeIndex, edge_inversion_info zerothEdge, edge_inversion_info firstEdge)
 
std::string sequoia::maths::graph_errors::erase_edge_error (const std::size_t partner, const edge_indices indices)
 
std::string sequoia::maths::graph_errors::odd_num_loops_error (std::string_view method, std::size_t nodeIndex)
 
std::string sequoia::maths::graph_errors::self_referential_error (const edge_indices edgeIndices, const std::size_t target, const std::size_t compIndex)
 
std::string sequoia::maths::graph_errors::mismatched_weights_message (std::string_view method, edge_indices edgeIndices)
 
std::string sequoia::maths::graph_errors::absent_reciprocated_partial_edge_message (std::string_view method, edge_indices edgeIndices)
 
std::string sequoia::maths::graph_errors::absent_partner_weight_message (std::string_view method, edge_indices edgeIndices)
 

Detailed Description

Error messages for graphs.