public RouteService()
 {
     _edgeRepository = new EdgeRepository();
     _archiveRepository = new ArchiveRepository();
     _archiveStationRepository = new ArchiveStationRepository();
     _stationRepository = new StationRepository();
 }
        public AStar()
        {
            _edgeRepository = new EdgeRepository();
            _stationService = new StationService();

            _closedSet = new List<Station>();
            _openSet = new MinHeap<Station, List<Station>>(1064);
            _cameFrom = new Dictionary<Station, Station>();
            _gScores = new Dictionary<int, decimal>();
            _fScores = new Dictionary<Station, decimal>();
            _path = new List<Station>();
        }
 public StationRepository()
 {
     db = new BPDbContext();
     _batteryStorageRepo = new BatteryStorageRepository();
     _edgeRepository = new EdgeRepository();
 }