/* $Id: querygrams.h 5720 2010-09-09 05:42:48Z abehm $ Copyright (C) 2010 by The Regents of the University of California Redistribution of this file is permitted under the terms of the BSD license. Date: 11/07/2008 Author: Rares Vernica */ #ifndef _querygrams_h_ #define _querygrams_h_ #include "common/src/simmetric.h" #include class QueryGrams { public: const std::vector &str; const uint noGrams, len; const SimMetric ∼ const uint k; QueryGrams( std::vector &grams, const SimMetric &sim, uint k): str(grams), noGrams(grams.size()), len(noGrams), sim(sim), k(k) {} }; #endif