code: func (a admissionRequirementList) distance(pod *v1.Pod) float64 {
  	dist := float64(0)
  	for _, req := range a {
  		remainingRequest := float64(req.quantity - resource.GetResourceRequest(pod, req.resourceName))
  		if remainingRequest < 0 {
  			remainingRequest = 0
  		}
  		dist += math.Pow(remainingRequest/float64(req.quantity), 2)
  	}
  	return dist
  }
docs: // distance returns distance of the pods requests from the admissionRequirements.
  // The distance is measured by the fraction of the requirement satisfied by the pod,
  // so that each requirement is weighted equally, regardless of absolute magnitude.