This documentation is automatically generated by online-judge-tools/verification-helper
#include "src/Edge.hpp"
#pragma once
template<class T>
struct Edge {
int from{}, to{};
T cost;
Edge() = default;
Edge(int to, T cost) : to(to), cost(move(cost)) {}
Edge(int from, int to, T cost) : from(from), to(to), cost(move(cost)) {}
bool operator>(const Edge &r) const { return this->cost > r.cost; }
};
#line 2 "src/Edge.hpp"
template<class T>
struct Edge {
int from{}, to{};
T cost;
Edge() = default;
Edge(int to, T cost) : to(to), cost(move(cost)) {}
Edge(int from, int to, T cost) : from(from), to(to), cost(move(cost)) {}
bool operator>(const Edge &r) const { return this->cost > r.cost; }
};