◆ Edge() [1/6]
◆ Edge() [2/6]
vert_t start_vert_
Definition graph.hpp:731
vert_t end_vert_
Definition graph.hpp:732
weight_t weight_
Definition graph.hpp:733
◆ Edge() [3/6]
◆ Edge() [4/6]
◆ Edge() [5/6]
◆ Edge() [6/6]
vert_t EndVertFromTuple(const std::tuple< vert_t, vert_t, weight_t > &edge)
Definition graph.hpp:23
weight_t WeightFromTuple(const std::tuple< vert_t, vert_t, weight_t > &edge)
Definition graph.hpp:29
vert_t StartVertFromTuple(const std::tuple< vert_t, vert_t, weight_t > &edge)
Definition graph.hpp:17
◆ EndVert()
◆ IsWeighted()
◆ Name()
703 {
704 static std::string
name;
705
706 if constexpr (std::is_arithmetic_v<vert_t>) {
710 ", w: " + std::to_string(
Weight()) +
"]";
711 else
713 std::to_string(
EndVert()) +
"]";
714
715
716
717 } else if constexpr (std::is_same_v<vert_t, std::string>) {
720 "', w: " + std::to_string(
Weight()) +
"]";
721 else
723
724
725 }
726
728 }
bool IsWeighted() const
Definition graph.hpp:681
weight_t Weight() const
Definition graph.hpp:686
vert_t StartVert() const
Definition graph.hpp:683
vert_t EndVert() const
Definition graph.hpp:684
◆ operator!=()
699{
return !(*
this ==
rhs); }
◆ operator<=>()
◆ operator==()
690 {
692 return false;
693
695
696 return true;
697 }
◆ SetWeight()
◆ StartVert()
◆ Weight()
◆ end_vert_
◆ start_vert_
◆ weight_
weight_t Graph< vert_t, weight_t >::Edge::weight_ = 0 |
|
private |
The documentation for this class was generated from the following file: