zero property

W zero

The weight of an empty path.

  • Used as the initial value when summing the weight of a path.
  • Represents the additive identity of type W.
  • Has the property: (w + zero) == w, where w and zero are of type W.
  • Examples: int: 0, double: 0.0, String: ''.


final W zero;