break;
}
}
}
GestureModel ret = new GestureModel();
ret.setDefaultProbability(defaultprobability);
Quantizer quantizer = new Quantizer(numStates);
quantizer.setUpManually(map, radius);
ret.setQuantizer(quantizer);
HMM hmm = new HMM(numStates, numObservations);
hmm.setPi(pi);
hmm.setA(a);
hmm.setB(b);
ret.setHMM(hmm);
return ret;
} catch (Exception e) {
System.out.println("Error: Read from File!");
e.printStackTrace();