001 package jcolibri.method.retrieve.NNretrieval.similarity.local.textual.compressionbased; 002 003 /** 004 * Interface that defines a function for returning the size of a string after compression. 005 * 006 * @author Derek Bridge 007 * 18/05/07 008 * 009 */ 010 public interface ICompressor 011 { 012 /** 013 * Returns the size of a string after compression. 014 * @param s the string to be compressed 015 * @return the size of the string after compression 016 */ 017 public int getCompressedSize(String s); 018 }