You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys,
I'm trying to implement a simple program with Jahmm. I create two
Hmm<ObservationInteger> variables, I introduce their data in order to model the
HMM and I try to see their difference with these lines:
KullbackLeiblerDistanceCalculator cal = new KullbackLeiblerDistanceCalculator();
double dist = cal.distance(learntHmm, originalHmm);
But I can't compile it due this error:
method distance in class
be.ac.ulg.montefiore.run.jahmm.toolbox.KullbackLeiblerDistanceCalculator cannot
be applied to given types;
required: be.ac.ulg.montefiore.run.jahmm.Hmm<O>,be.ac.ulg.montefiore.run.jahmm.Hmm<? super O>
found: be.ac.ulg.montefiore.run.jahmm.Hmm<capture#11 of ?>,be.ac.ulg.montefiore.run.jahmm.Hmm<be.ac.ulg.montefiore.run.jahmm.ObservationInteger>
reason: no instance(s) of type variable(s) O exist so that argument type be.ac.ulg.montefiore.run.jahmm.Hmm<be.ac.ulg.montefiore.run.jahmm.ObservationInteger> conforms to formal parameter type be.ac.ulg.montefiore.run.jahmm.Hmm<? super O>
Any suggestions?
Thanks in advance,
Original issue reported on code.google.com by miguel8...@gmail.com on 5 Nov 2011 at 1:46
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
miguel8...@gmail.com
on 5 Nov 2011 at 1:46The text was updated successfully, but these errors were encountered: