private double CameraScoreFormer(HandSetFeatures phone) { double max, min; double secondaryCameraScore, cameraScore, dualCameraScore; /**** Camera ****/ basket.GetMaxAndMinLimits(x => x.Camera, out min, out max); cameraScore = LogisticFunc(phone.Camera, max - min); /******* Dual Camera ****/ basket.GetMaxAndMinLimits(x => x.DualCamera, out min, out max); dualCameraScore = LogisticFunc(phone.DualCamera, max - min); /******* Secondary Camera Score ****/ basket.GetMaxAndMinLimits(x => x.SecondaryCamera, out min, out max); secondaryCameraScore = LogisticFunc(phone.SecondaryCamera, max - min); return(dualCameraScore * secondaryCameraScore * cameraScore); }