Template Struct THypothesis

Struct Documentation

template<class GRAPH_T>
struct THypothesis

Represents a hypothesis (potential edge) between two nodes in a graph, used by the graphslam-engine infrastructure.

Public Types

using constraint_t = typename GRAPH_T::constraint_t

Public Functions

inline void setEdge(const constraint_t &edge)
inline const constraint_t &getEdge() const
inline bool hasEnds(TNodeID a, TNodeID b) const
inline std::string getAsString(bool oneline = false) const

Public Members

TNodeID from = {0}
TNodeID to = {0}
int id = {0}
bool is_valid = {true}
double goodness = {0.0}