2 #ifndef ANDRES_GRAPH_ADJACENCY_HXX
3 #define ANDRES_GRAPH_ADJACENCY_HXX
9 template<
class T = std::
size_t>
19 bool operator<(const Adjacency<Value>&)
const;
20 bool operator<=(const Adjacency<Value>&)
const;
85 if(vertex_ < in.vertex_) {
88 else if(vertex_ == in.vertex_) {
89 return edge_ < in.edge_;
103 if(vertex_ < in.vertex_) {
106 else if(vertex_ == in.vertex_) {
107 return edge_ <= in.edge_;
121 if(vertex_ > in.vertex_) {
124 else if(vertex_ == in.vertex_) {
125 return edge_ > in.edge_;
139 if(vertex_ > in.vertex_) {
142 else if(vertex_ == in.vertex_) {
143 return edge_ >= in.edge_;
157 return vertex_ == in.vertex_ && edge_ == in.edge_;
167 return !(*
this == in);
173 #endif // #ifndef ANDRES_GRAPH_ADJACENCY_HXX