it.unipd.dei.ims.nestor.experiment.utils
Class ArrayBasedNestorCharBasedCompleteInvertedTables

java.lang.Object
  extended by it.unipd.dei.ims.nestor.experiment.utils.ArrayBasedNestorCharBasedCompleteInvertedTables

public class ArrayBasedNestorCharBasedCompleteInvertedTables
extends java.lang.Object

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
ArrayBasedNestorCharBasedCompleteInvertedTables()
           
ArrayBasedNestorCharBasedCompleteInvertedTables(int[][] directSubsets, int[][] supersets, int[][] elements, char[][] content, int[][] attributes, java.lang.String[] contentAttributes, int[][][] invertedAttributeNames, int[][][] tags)
           
 
Method Summary
 int[][] getAttributesTable()
           
 java.lang.String[] getContentAttributesTable()
           
 char[][] getContentTable()
           
 int[][] getDirectSubsetsTable()
           
 int[][] getElementsTable()
           
 int[][][] getInvertedAttributeNamesTable()
           
 int[][][] getInvertedTagsTable()
           
 int[][] getSupersetsTable()
           
 void setAttributesTable(int[][] attributes)
           
 void setContentAttributesTable(java.lang.String[] contentAttributes)
           
 void setInvertedAttributeNamesTable(int[][][] invertedAttributeNames)
           
 void setInvertedTagsTable(int[][][] invertedTags)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayBasedNestorCharBasedCompleteInvertedTables

public ArrayBasedNestorCharBasedCompleteInvertedTables()

ArrayBasedNestorCharBasedCompleteInvertedTables

public ArrayBasedNestorCharBasedCompleteInvertedTables(int[][] directSubsets,
                                                       int[][] supersets,
                                                       int[][] elements,
                                                       char[][] content,
                                                       int[][] attributes,
                                                       java.lang.String[] contentAttributes,
                                                       int[][][] invertedAttributeNames,
                                                       int[][][] tags)
Method Detail

getDirectSubsetsTable

public int[][] getDirectSubsetsTable()

getSupersetsTable

public int[][] getSupersetsTable()

getElementsTable

public int[][] getElementsTable()

getContentTable

public char[][] getContentTable()

getAttributesTable

public int[][] getAttributesTable()

getContentAttributesTable

public java.lang.String[] getContentAttributesTable()

getInvertedTagsTable

public int[][][] getInvertedTagsTable()

getInvertedAttributeNamesTable

public int[][][] getInvertedAttributeNamesTable()

setAttributesTable

public void setAttributesTable(int[][] attributes)

setContentAttributesTable

public void setContentAttributesTable(java.lang.String[] contentAttributes)

setInvertedTagsTable

public void setInvertedTagsTable(int[][][] invertedTags)

setInvertedAttributeNamesTable

public void setInvertedAttributeNamesTable(int[][][] invertedAttributeNames)