public LocationClustering( ILegRepository legRepository, IGeocodingDbSync geocodingDbSync) { _legRepository = legRepository; _geocodingDbSync = geocodingDbSync; }
public GeocodingController( IGeocodingDbSync dbSync, ILegRepository legRepository, IAuthorizationService authorizationService) { _dbSync = dbSync; _legRepository = legRepository; _authorizationService = authorizationService; }
/// <summary> /// Initializes a new instance of the <see cref="T:DriverTracker.Domain.PickupPrediction"/> class. /// </summary> /// <param name="locationClustering">Location clustering servive.</param> /// <param name="legRepository">Leg repository.</param> /// <param name="logisticRegressionAnalysis">Object that can perform logistic regression analysis.</param> public PickupPrediction(ILocationClustering locationClustering, ILegRepository legRepository, IGeocodingDbSync geocodingDbSync, ISupervisedLearning <LogisticRegression, double[], double> logisticRegressionAnalysis) { _locationClustering = locationClustering; _legRepository = legRepository; _geocodingDbSync = geocodingDbSync; _logisticRegressionAnalysis = logisticRegressionAnalysis; }