|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmain.WebFace
public class WebFace
Programa que representa la capa web del sistema de segmentacion RSS.
Este programa permite invocar al sistema desde consola, y entregando un conjunto de resultados en formato XML. Esta clase representa una capa para encapsular los objetos retornados por los metodos principales.
| Constructor Summary | |
|---|---|
WebFace()
|
|
| Method Summary | |
|---|---|
static void |
clusteringBatch(java.lang.String source)
clustering batch: realiza el clustering inicial de la coleccion. |
static void |
clusteringVector(int article_id)
clustering online: agrega un nuevo articulo a la coleccion. |
static java.lang.String |
getClusters(int numclusters,
int deltaT)
consulta por los top-k clusters |
static java.lang.String |
getRelated(int id_cluster,
int numrelateds)
consulta por los k articulos relacionados a un cluster |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebFace()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
public static void clusteringBatch(java.lang.String source)
throws java.lang.Exception
java.lang.Exception
public static void clusteringVector(int article_id)
throws java.lang.Exception
java.lang.Exception
public static java.lang.String getClusters(int numclusters,
int deltaT)
throws java.lang.Exception
numclusters - cantidad de clusters a entregardeltaT - ventana de tiempo (dias) a considerar
java.lang.Exception
public static java.lang.String getRelated(int id_cluster,
int numrelateds)
id_cluster - identificador del cluster a obtenernumrelateds - cantidad de articulos a entregar
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||