3 #include "../bm/blockmodel.h"
23 BlockIndexType _first;
24 BlockIndexType _second;
32 Arc(
const delphos::BlockIndexType & first,
const delphos::BlockIndexType & second);
51 delphos::BlockIndexType
First()
const;
61 delphos::BlockIndexType
Second()
const;
69 delphos::BlockIndexType
From()
const;
77 delphos::BlockIndexType
To()
const;
delphos::BlockIndexType To() const
Return the first element in the arc (the tail). Equivalent to First().
Definition: arcs.cpp:33
delphos::BlockIndexType First() const
Return the first element in the arc (the tail). Equivalent to To().
Definition: arcs.cpp:15
A class that abstracts a relation between two indexes that represent two block ids.
Definition: arcs.h:21
delphos::BlockIndexType From() const
Return the head of the arc. Equivalent to Second().
Definition: arcs.cpp:27
delphos::BlockIndexType Second() const
Return the second element in the arc (the head). Equivalent to From().
Definition: arcs.cpp:21
Arc(const delphos::BlockIndexType &first, const delphos::BlockIndexType &second)
Creates a new arc between the given blocks referenced by indexes.
Definition: arcs.cpp:5