| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.qbe.Related
public class Related
Description of the Class
| Field Summary | |
|---|---|
| private  java.util.Map | cocitations | 
| private  java.sql.Connection | conn | 
| private  java.util.Map | couplings | 
| private static boolean | debug | 
| private  java.util.Map | id_to_url | 
| private  org.apache.log4j.Logger | logger | 
| private static int | maxLevels | 
| private  int | maxLinks | 
| private  java.util.Random | rand | 
| private  java.util.Map | siblings | 
| private  java.util.Map | url_authority_score | 
| private  java.util.Map | url_from_urls | 
| private  java.util.Map | url_hub_score | 
| private  long | url_id | 
| private  java.util.Map | url_to_id | 
| private  java.util.Map | url_to_urls | 
| Constructor Summary | |
|---|---|
| Related(java.sql.Connection conn,
        org.apache.log4j.Logger logger,
        int maxLinks)Constructor for the Related object | |
| Method Summary | |
|---|---|
| (package private)  java.lang.Long | addURL(java.lang.Long url,
       boolean cocite)Adds a feature to the URL attribute of the Related object | 
|  void | addURL(java.lang.Long fromURL,
       java.util.Iterator toURL)Adds a feature to the URL attribute of the Related object | 
|  void | addURL(java.lang.Long fromURL,
       java.lang.Long toURL)Adds a feature to the URL attribute of the Related object | 
| (package private)  java.util.List | CoCitation(java.lang.Long url,
           boolean return_url)Description of the Method | 
|  void | compute()Description of the Method | 
|  void | computeCocitations()Description of the Method | 
|  void | computeCouplings()Description of the Method | 
|  void | computeHITS()Description of the Method | 
|  void | computeSiblings()Description of the Method | 
| (package private)  java.util.List | Coupling(java.lang.Long url,
         boolean return_url)Description of the Method | 
| private  java.lang.String | escreveQuery(boolean outbound,
             int levels,
             long id)Description of the Method | 
| (package private)  java.util.List | exchangePos(java.util.List v,
            int p1,
            int p2)Description of the Method | 
|  double | getAuthorityScore(java.lang.String url)Gets the authorityScore attribute of the Related object | 
|  double | getAuthorityScoreFromID(java.lang.Long id)Gets the authorityScoreFromID attribute of the Related object | 
|  double | getHubScore(java.lang.String url)Gets the hubScore attribute of the Related object | 
|  double | getHubScoreFromID(java.lang.Long id)Gets the hubScoreFromID attribute of the Related object | 
|  java.util.List | getInLinks(java.lang.String url2)Gets the inLinks attribute of the Related object | 
|  java.util.List | getOutLinks(java.lang.String url2)Gets the outLinks attribute of the Related object | 
|  java.util.List | getRelated(java.lang.String url2)Gets the related attribute of the Related object | 
|  void | loadLinks(java.lang.String url2)Description of the Method | 
| static void | main(java.lang.String[] args)Description of the Method | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
private static boolean debug
private int maxLinks
private org.apache.log4j.Logger logger
private static int maxLevels
private java.sql.Connection conn
private java.util.Map cocitations
private java.util.Map couplings
private java.util.Map siblings
private java.util.Map id_to_url
private java.util.Map url_to_id
private java.util.Map url_authority_score
private java.util.Map url_hub_score
private java.util.Map url_from_urls
private java.util.Map url_to_urls
private java.util.Random rand
private long url_id
| Constructor Detail | 
|---|
public Related(java.sql.Connection conn,
               org.apache.log4j.Logger logger,
               int maxLinks)
arquive - Description of the Parameter| Method Detail | 
|---|
public static void main(java.lang.String[] args)
args - Description of the Parameter
java.lang.Long addURL(java.lang.Long url,
                      boolean cocite)
url - The feature to be added to the URL attributecocite - The feature to be added to the URL attribute
public void addURL(java.lang.Long fromURL,
                   java.util.Iterator toURL)
fromURL - The feature to be added to the URL attributetoURL - The feature to be added to the URL attribute
public void addURL(java.lang.Long fromURL,
                   java.lang.Long toURL)
fromURL - The feature to be added to the URL attributetoURL - The feature to be added to the URL attribute
java.util.List CoCitation(java.lang.Long url,
                          boolean return_url)
url - Description of the Parameterreturn_url - Description of the Parameter
public void compute()
public void computeCocitations()
public void computeCouplings()
public void computeHITS()
public void computeSiblings()
java.util.List Coupling(java.lang.Long url,
                        boolean return_url)
url - Description of the Parameterreturn_url - Description of the Parameter
private java.lang.String escreveQuery(boolean outbound,
                                      int levels,
                                      long id)
outbound - Description of the Parameterlayer - Description of the Parameterlevels - Description of the Parameterid - Description of the Parameter
java.util.List exchangePos(java.util.List v,
                           int p1,
                           int p2)
v - Description of the Parameterp1 - Description of the Parameterp2 - Description of the Parameter
public double getAuthorityScore(java.lang.String url)
url - Description of the Parameter
public double getAuthorityScoreFromID(java.lang.Long id)
id - Description of the Parameter
public double getHubScore(java.lang.String url)
url - Description of the Parameter
public double getHubScoreFromID(java.lang.Long id)
id - Description of the Parameter
public java.util.List getInLinks(java.lang.String url2)
url - Description of the Parameter
public java.util.List getOutLinks(java.lang.String url2)
url - Description of the Parameter
public java.util.List getRelated(java.lang.String url2)
url2 - Description of the Parameter
public void loadLinks(java.lang.String url2)
url - Description of the Parameter| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||