This documentation is automatically generated by online-judge-tools/verification-helper
package library.graph;
import java.util.Objects;
/**
* 辺を表すクラス
*/
public final class Edge {
public int src, to, id;
public long cost;
/**
* コンストラクタ
* @param src 出発点
* @param to 行先
* @param cost 費用
* @param id
*/
public Edge(final int src, final int to, final long cost, final int id) {
this.src = src;
this.to = to;
this.cost = cost;
this.id = id;
}
@Override
public final boolean equals(final Object o) {
if(this == o) {
return true;
}
if(o == null || getClass() != o.getClass()) {
return false;
}
final Edge e = (Edge) o;
return src == e.src && to == e.to && cost == e.cost;
}
@Override
public final int hashCode(){ return Objects.hash(src, to, cost, id); }
@Override
public final String toString(){ return "(" + src + ", " + to + ", " + cost + ")"; }
}
Traceback (most recent call last):
File "/home/runner/.local/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py", line 71, in _render_source_code_stat
bundled_code = language.bundle(stat.path, basedir=basedir, options={'include_paths': [basedir]}).decode()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/.local/lib/python3.12/site-packages/onlinejudge_verify/languages/user_defined.py", line 68, in bundle
raise RuntimeError('bundler is not specified: {}'.format(str(path)))
RuntimeError: bundler is not specified: Java/library/graph/Edge.java