Class StatisticsBasedConstraintCostFunction