edu.iu.iv.modeling.tarl.publication
Interface AgingHelperInterface

All Known Implementing Classes:
DefaultAgingHelper

public interface AgingHelperInterface

The Aging Helper provides utility functions in order to successfully implement the aging process of citations in the TARL model. When aging is enabled, the PublicationManager uses this interface to randomly select the time slice from which to pick the citation for a newly created Publication. The Aging Helper is responsible for providing a random number (according to any probability distribution) due to which the selected citations would represent the aging effect - i.e. past publications before their time get cited more and more often and past publications past their prime, are cited less and less often as time increases

Author:
Jeegar T Maru
See Also:
PublicationManager

Method Summary
 int getRandomYearDifference()
          Returns a random positive number (or 0) which simulates the aging effect among citations
 void initialize(java.io.File agingFile)
          Initializes the aging helper
 

Method Detail

initialize

public void initialize(java.io.File agingFile)
Initializes the aging helper


getRandomYearDifference

public int getRandomYearDifference()
Returns a random positive number (or 0) which simulates the aging effect among citations

Returns:
the random positive number (or 0)