classifier
Class Categoria

java.lang.Object
  |
  +--classifier.Categoria

public class Categoria
extends java.lang.Object

Implementa una categoria del Catalogo.


Field Summary
 int index
          index in the MatriceCategorie
 int level
          Path length
 java.lang.String title
           
 java.lang.String[] titlePath
          Path with titles of catalog from root to this category
 
Constructor Summary
Categoria(java.lang.String _titlePath, java.util.Vector titleVector, int idx)
           
 
Method Summary
 float[] getStatistiche()
           
 java.lang.String[] getTitleWords()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

public java.lang.String title

index

public int index
index in the MatriceCategorie

level

public int level
Path length

titlePath

public java.lang.String[] titlePath
Path with titles of catalog from root to this category
Constructor Detail

Categoria

public Categoria(java.lang.String _titlePath,
                 java.util.Vector titleVector,
                 int idx)
Parameters:
_title - describes the path of titles from root to this category, separated by colon It would be better to supply parent category instead. Beppe
Method Detail

getStatistiche

public float[] getStatistiche()
Returns:
vettore delle statistiche.

getTitleWords

public java.lang.String[] getTitleWords()
Returns:
vector of words in the title of the category.