private void InitSimulator() { //distanceMeasureHelper = DistanceMeasureHelper.GetInstance; distcalc = new PolyRegressionModelDistanceCalculator(); tags = new List<BluetoothTagDisplay>(); nearbyTags = new List<NearbyBluetoothTag>(); realDev = new RealDevice(backgr); simDev = new SimulatedDevice(backgr); CommonPointStrategy inspect_two_point_strategy = new ClosestPointsStrategy(); calculator_strategy = new ClosestDistanceLocationCalculator(inspect_two_point_strategy); //closestdistance_strategy = new AverageLocationCalculator(); // EZ A RÉGI VERZIÓ }
private void InitSimulator() { //distanceMeasureHelper = DistanceMeasureHelper.GetInstance; distcalc = new PolyRegressionModelDistanceCalculator(); tags = new List <BluetoothTagDisplay>(); nearbyTags = new List <NearbyBluetoothTag>(); realDev = new RealDevice(backgr); simDev = new SimulatedDevice(backgr); CommonPointStrategy inspect_two_point_strategy = new ClosestPointsStrategy(); calculator_strategy = new ClosestDistanceLocationCalculator(inspect_two_point_strategy); //closestdistance_strategy = new AverageLocationCalculator(); // EZ A RÉGI VERZIÓ }