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

Interface for a weighted Edge. More...

#include <Edge.hpp>

Concept definition

template<typename E, typename N E::node_type, typename A E::annotation_type, typename W E::weight_function>
concept fishnet::graph::WeightedEdge = Edge<E,N> && WeightFunction<W,N,A> && requires (const E & e, const N & cNodeRef, const A & constARef, A&& ARval ){
{E(cNodeRef,cNodeRef,constARef)};
{E(cNodeRef,cNodeRef,ARval)};
{e.getWeight()} -> std::convertible_to<A>;
{e.unweighted()} -> std::convertible_to<E>;
typename E::annotation_type;
typename E::weight_function;
}
Interface for an Edge.
Definition Edge.hpp:21
Definition Edge.hpp:36
Interface for a weighted Edge.
Definition Edge.hpp:47

Detailed Description

Interface for a weighted Edge.

Template Parameters
Eunweighted edge implementation type
Nnode type
Aannotation type
Wweight function type