re-layout parameters
This commit is contained in:
parent
507dadebf4
commit
87fe073118
@ -27,7 +27,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
|
|
||||||
#include "ImportEdge.h"
|
#include "ImportEdge.h"
|
||||||
|
|
||||||
bool NodeBasedEdge::operator<(const NodeBasedEdge & other) const
|
bool NodeBasedEdge::operator<(const NodeBasedEdge &other) const
|
||||||
{
|
{
|
||||||
if (source == other.source)
|
if (source == other.source)
|
||||||
{
|
{
|
||||||
@ -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)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user