class browsed_pages

{

String url;

double R_rank; // is the relative rank assigned to the page with URL url

Date browsing_date; // is the date of browsing the page

browsed_pages next_page; // a reference to another page in the cluster

}

class Cluster

{

String keyWords[100]; //set of keywords deduced from the search query

Cluster (String words) {keyWords = words} // class constructor

browsed_pages pages; // a reference to the set of browsed pages

Cluster next_cluster; // a reference to another cluster in the user profile

}

class profile

{

String user_name;

long ID;

Cluster cluster_ref; // a reference to a cluster object

}