Class VectorQueryModule

  • All Implemented Interfaces:
    IQueryModule

    public class VectorQueryModule
    extends Object
    implements IQueryModule
    This class reads vectors contained in a text file so as to enable LIMES to compute the similarity of the entities described by these vectors efficiently. The file format is assumed to be URI\tVector. The vector itself is read by the metrics of the metric factory for maximum flexibility.
    Version:
    Nov 23, 2015
    Author:
    Axel-C. Ngonga Ngomo (ngonga@informatik.uni-leipzig.de), Mohamed Sherif (sherif@informatik.uni-leipzig.de)
    • Constructor Detail

      • VectorQueryModule

        public VectorQueryModule​(KBInfo kbinfo)
        Constructor
        Parameters:
        kbinfo - Contains the knowledge base infos necessary to read the input stream
    • Method Detail

      • fillCache

        public void fillCache​(ACache c)
        Fills the cache c with the data contained in the data source described by kb
        Specified by:
        fillCache in interface IQueryModule
        Parameters:
        c - The cache to be filled