re-layout parameters

This commit is contained in:
Dennis Luxen 2014-05-30 13:30:54 +02:00
parent 507dadebf4
commit 87fe073118

View File

@ -83,8 +83,7 @@ bool EdgeBasedEdge::operator<(const EdgeBasedEdge &other) const
template <class EdgeT> template <class EdgeT>
EdgeBasedEdge::EdgeBasedEdge(const EdgeT &other) EdgeBasedEdge::EdgeBasedEdge(const EdgeT &other)
: source(other.source), target(other.target), edge_id(other.data.via), : source(other.source), target(other.target), edge_id(other.data.via),
weight(other.data.distance), forward(other.data.forward), weight(other.data.distance), forward(other.data.forward), backward(other.data.backward)
backward(other.data.backward)
{ {
} }
@ -94,8 +93,13 @@ EdgeBasedEdge::EdgeBasedEdge()
{ {
} }
EdgeBasedEdge::EdgeBasedEdge( EdgeBasedEdge::EdgeBasedEdge(const NodeID source,
const NodeID source, const NodeID target, const NodeID edge_id, const EdgeWeight weight, const bool forward, const bool backward) const NodeID target,
: source(source), target(target), edge_id(edge_id), weight(weight), forward(forward), backward(backward) const NodeID edge_id,
const EdgeWeight weight,
const bool forward,
const bool backward)
: source(source), target(target), edge_id(edge_id), weight(weight), forward(forward),
backward(backward)
{ {
} }