private Recognizer() { this.view = new HashSet<>(); this.gestureListener = new HashSet<>(); this.intToStringGestureMapping = new HashMap<>(); this.userManager = new UserManager(); this.userDataset = null; this.lastGestureTime = 0; this.recognitionSettings = new RecognitionSettingsImpl(UpdateRate.FPS_10, 0, 0, 0, 0, 0); this.dtw = new DynamicTimeWarping<Vector2D>((a, b) -> a.distance(b), this.recognitionSettings.getDtwRadius()); RecognitionScreenView.startFxThread(); }