Struct Trace::Connection
Defined in File Trace.hpp
Nested Relationships
This struct is a nested type of Class Trace.
Struct Documentation
-
struct Connection
Inner class of Trace, contains information about last append and a pointer to the Connection before.
Public Functions
Construct a new Connection object.
- Parameters:
edge – [in]
heur – [in]
loopClosed – [in]
before – [in]
Public Members
-
const std::shared_ptr<Connection> before
A shared pointer to the Connection that goes before this.
-
const double heur
The heuristic of this append.
-
const double sumHeur
The sum of heuristics of the Connection chain.
-
const bool loopClosed
Whether or not the Trace has closed the loop (and thus it contains (or may contain) repeated Edge(s)).
-
const uint32_t connectionsSinceLoopClosed
Number of Connections since the loop was closed.
Friends
-
inline friend std::ostream &operator<<(std::ostream &os, const Connection &conn)
Cout operator.
- Parameters:
os – [inout]
conn – [in]