Mercurial > hg > audiodb
view bindings/java/src/org/omras2/Result.java @ 765:337e72088f76
Fix for some sample bugs
a + b ? c : d does not do what I think it does. That bug mostly masked
a thorough logic error in building the table of counts of possible sequences;
there was too much cumulativeness.
There apparently remain problems
author | mas01cr |
---|---|
date | Thu, 02 Jun 2011 16:31:35 +0000 |
parents | a9978a6d0bb3 |
children |
line wrap: on
line source
package org.omras2; import lombok.Getter; public class Result { @Getter String key; @Getter int ipos; @Getter int qpos; @Getter double distance; public Result(String key, double distance, int ipos, int qpos) { this.key = key; this.distance = distance; this.ipos = ipos; this.qpos = qpos; } public String toString() { return "{key="+key+" distance="+distance+" ipos="+ipos+" qpos="+qpos+"}"; } }