type [TimeCostFunctionType]:
the method of density measurement.