Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
fishnet::graph::Edge Concept Reference

Interface for an Edge. More...

#include <Edge.hpp>

Concept definition

template<typename E, typename N E::node_type>
concept fishnet::graph::Edge = fishnet::util::HasHashMethod<E> && std::equality_comparable<E> && requires(const E & e, const E & o, const N & cNodeRef ){
{E(cNodeRef,cNodeRef)};
{E::isDirected()} -> std::convertible_to<bool>;
{e.getFrom()} -> std::same_as<const N &>;
{e.getTo()} -> std::same_as<const N &>;
typename E::node_type;
typename E::hash_function;
typename E::equality_predicate;
}
Interface for an Edge.
Definition Edge.hpp:21
Helper concept which checks whether a class has a hash method.
Definition ObjectConcepts.hpp:22

Detailed Description

Interface for an Edge.

Template Parameters
Eedge implementation type
Nnode type