it.unipd.dei.ims.nestor.experiment.utils
Class NestorCompleteInvertedTables
java.lang.Object
it.unipd.dei.ims.nestor.experiment.utils.NestorSetAndElementTables
it.unipd.dei.ims.nestor.experiment.utils.NestorCompleteInvertedTables
public class NestorCompleteInvertedTables
- extends NestorSetAndElementTables
Defines the NESTOR tables containing all the sets of the data structures, the
elements, the content of the elements, the attribute and their content. It is
called inverted tables because the attribute and tag content tables contains
an entry for each attribute name and tag and to each of it is assigned a list
of integer values indicating in which attribute or set that string occours.
- Author:
- gianmariasilvello
Constructor Summary |
NestorCompleteInvertedTables()
|
NestorCompleteInvertedTables(java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> directSubsets,
java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> supersets,
java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> elements,
java.util.HashMap<java.lang.Integer,java.lang.String> content,
java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> attributes,
java.util.HashMap<java.lang.Integer,java.lang.String> contentAttributes,
java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> invertedAttributeNames,
java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> tags)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NestorCompleteInvertedTables
public NestorCompleteInvertedTables()
NestorCompleteInvertedTables
public NestorCompleteInvertedTables(java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> directSubsets,
java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> supersets,
java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> elements,
java.util.HashMap<java.lang.Integer,java.lang.String> content,
java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> attributes,
java.util.HashMap<java.lang.Integer,java.lang.String> contentAttributes,
java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> invertedAttributeNames,
java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> tags)
getAttributesTable
public java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> getAttributesTable()
getContentAttributesTable
public java.util.HashMap<java.lang.Integer,java.lang.String> getContentAttributesTable()
getInvertedTagsTable
public java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> getInvertedTagsTable()
getInvertedAttributeNamesTable
public java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> getInvertedAttributeNamesTable()
setAttributesTable
public void setAttributesTable(java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> attributes)
setContentAttributesTable
public void setContentAttributesTable(java.util.HashMap<java.lang.Integer,java.lang.String> contentAttributes)
setInvertedTagsTable
public void setInvertedTagsTable(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> invertedTags)
setInvertedAttributeNamesTable
public void setInvertedAttributeNamesTable(java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.Integer>> invertedAttributeNames)