X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=mtp_graph.cc;h=8160211ca6ed0dc9c41587e46c3b72723ed349c3;hb=c8a37f33eb29f651fed648a48918390f0da1eefb;hp=a208403226a884832dd47fe5d28926ab8cbd6603;hpb=f2f1701bfeb50ecb468489d58a59741400d1d791;p=mtp.git diff --git a/mtp_graph.cc b/mtp_graph.cc index a208403..8160211 100644 --- a/mtp_graph.cc +++ b/mtp_graph.cc @@ -83,17 +83,6 @@ void Vertex::del_edge(Edge *e) { ////////////////////////////////////////////////////////////////////// -Path::Path(int l) { - length = l; - nodes = new int[length]; -} - -Path::~Path() { - delete[] nodes; -} - -////////////////////////////////////////////////////////////////////// - MTPGraph::MTPGraph(int nb_vertices, int nb_edges, int *from, int *to, int source, int sink) {