Exemplo n.º 1
0
 public LocationClustering(
     ILegRepository legRepository,
     IGeocodingDbSync geocodingDbSync)
 {
     _legRepository   = legRepository;
     _geocodingDbSync = geocodingDbSync;
 }
Exemplo n.º 2
0
 public GeocodingController(
     IGeocodingDbSync dbSync,
     ILegRepository legRepository,
     IAuthorizationService authorizationService)
 {
     _dbSync               = dbSync;
     _legRepository        = legRepository;
     _authorizationService = authorizationService;
 }
Exemplo n.º 3
0
 /// <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;
 }