Mercurial > hg > audiodb
view bindings/java/src/org/omras2/Query.java @ 767:6d0d41604aba
Fix analogous signed/unsigned mistake in command-line binary
Now that I've made this mistake somewhat catastrophically, it's fairly
easy to spot.
author | mas01cr |
---|---|
date | Thu, 02 Jun 2011 16:31:44 +0000 |
parents | a9978a6d0bb3 |
children |
line wrap: on
line source
package org.omras2; import lombok.Getter; import lombok.Setter; public class Query { public enum Accumulation { DB, PER_TRACK, ONE_TO_ONE }; public enum Distance { DOT, EUCLIDEAN_NORMED, EUCLIDEAN }; @Getter @Setter private int seqLength; @Getter @Setter private int seqStart; @Getter @Setter private int npoints; @Getter @Setter private int ntracks; @Getter @Setter private int hopSize; @Getter @Setter private boolean exhaustive; @Getter @Setter private boolean hasFalsePositives; @Getter @Setter private Accumulation accumulation; @Getter @Setter private Distance distance; @Getter @Setter private String[] includeKeys = {}; @Getter @Setter private String[] excludeKeys = {}; @Getter @Setter private double radius; @Getter @Setter private double absThres; @Getter @Setter private double relThres; @Getter @Setter private double durRatio; @Getter @Setter private Datum datum; public Query() { accumulation = Accumulation.PER_TRACK; distance = Distance.EUCLIDEAN_NORMED; datum = new Datum(); } }