edu.utdallas.paged.mem.algorithm
Class NodeStampTransitiveCC

java.lang.Object
  extended by edu.utdallas.paged.mem.algorithm.CacheAlgorithmBase
      extended by edu.utdallas.paged.mem.algorithm.NodeStampTransitiveCC
All Implemented Interfaces:
java.lang.Comparable<java.lang.Object>

public class NodeStampTransitiveCC
extends CacheAlgorithmBase

A class that implements the transitive clustering algorithm. Nodes with a higher individual clustering coefficient are left in memory, whereas nodes with a lower individual clustering coefficient are written to disk

Author:
vaibhav

Field Summary
 
Fields inherited from class edu.utdallas.paged.mem.algorithm.CacheAlgorithmBase
connections, currTime, individualCC, transitiveCC
 
Constructor Summary
NodeStampTransitiveCC()
           
 
Method Summary
 int compareTo(java.lang.Object o1)
          Method that implements the comparable interface for transitive clustering.
 
Methods inherited from class edu.utdallas.paged.mem.algorithm.CacheAlgorithmBase
getConnections, getCurrentTime, getIndividualCC, getTransitiveCC, setConnections, setCurrentTime, setIndividualCC, setTransitiveCC
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeStampTransitiveCC

public NodeStampTransitiveCC()
Method Detail

compareTo

public int compareTo(java.lang.Object o1)
Method that implements the comparable interface for transitive clustering.

Specified by:
compareTo in interface java.lang.Comparable<java.lang.Object>
Specified by:
compareTo in class CacheAlgorithmBase
Parameters:
o1 - - nodestamp object against which the current object is compared
Returns:
an integer that determines if the current node must come before the parameter node based on the transitive clustering coefficient