code: func (nm *nmVertex) less(config NelderMeadConfiguration, other *nmVertex) bool {
  	if config.Target == min { // looking for a min
  		return nm.result < other.result
  	}
  	if config.Target == max { // looking for a max
  		return nm.result > other.result
  	}
  
  	return nm.distance < other.distance
  }
docs: // less defines a relationship between two points.  It is best not to
  // think of less as returning a value indicating absolute relationship between
  // two points, but instead think of less returning a bool indicating
  // if this vertex is *closer* to the desired convergence, or a delta
  // less than the other vertex.  For -inf, this returns a value indicating
  // if this vertex has a less absolute value than the other vertex, if +inf
  // less returns a bool indicating if this vertex has a *greater* absolute
  // value than the other vertex.  Otherwise, this method returns a bool
  // indicating if this vertex is closer to *converging* upon the desired
  // value.