Heading cost weighted by the number of samples.
Merge details
assigned to @shernand
mentioned in commit 16fa933f
merged