Struct Key

Struct Documentation

struct Key

Struct to hold key values for nodes used in D* Lite.

Public Functions

bool operator<(const Key &k) const

Overload < operator for comparison.

Return
result of comparison
Parameters
  • k: key to be compared

bool operator>(const Key &k) const

Overload < operator for comparison.

Return
result of comparison
Parameters
  • k: key to be compared

bool operator==(const Key &k) const

Overload == operator for comparison.

Return
result of comparison
Parameters
  • k: key to be compared

bool operator!=(const Key &k) const

Overload != operator for comparison.

Return
result of comparison
Parameters
  • k: key to be compared

Public Members

double first
double second