When demand is not constant, the reorder point is function

When demand is not constant, the reorder point is function of what four parameters?