ca.aura.algorithms
Class LRFU

java.lang.Object
  |
  +--ca.aura.algorithms.LRFU
All Implemented Interfaces:
AuraAlgorithm

public class LRFU
extends java.lang.Object
implements AuraAlgorithm

Author:
aforward

Constructor Summary
LRFU(Report report)
          default
LRFU(Report report, F f)
          default
 
Method Summary
 double F(int dt)
          get the F value
protected  void finalizeCRF(Report report)
          finalize the CRF numbers
 double getCRF(Artefact artefact)
          get the last CRF value
protected  int getDeltaT(java.util.Date start, java.util.Date end)
          get the age of artefact on a certain day
 Hashtable getResults()
          get the hashtable describing...
protected  void initialCRF(Report report)
          init the CRF numbers
 void setCRF(Artefact artefact, double crf)
          set the CRF value
 java.util.Iterator sortedResults()
          get vector of sorted results
protected  void updateCRF(Artefact artefact, Usage usage)
          update the crf number
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LRFU

public LRFU(Report report)
default


LRFU

public LRFU(Report report,
            F f)
default

Method Detail

getResults

public Hashtable getResults()
Description copied from interface: AuraAlgorithm
get the hashtable describing... Artefact -> Value ( which is a double)

Specified by:
getResults in interface AuraAlgorithm
See Also:
ca.aura.algorithms.RateAlgorithm#getResults()

sortedResults

public java.util.Iterator sortedResults()
get vector of sorted results


initialCRF

protected void initialCRF(Report report)
init the CRF numbers


updateCRF

protected void updateCRF(Artefact artefact,
                         Usage usage)
update the crf number


finalizeCRF

protected void finalizeCRF(Report report)
finalize the CRF numbers


getDeltaT

protected int getDeltaT(java.util.Date start,
                        java.util.Date end)
get the age of artefact on a certain day


getCRF

public double getCRF(Artefact artefact)
get the last CRF value


setCRF

public void setCRF(Artefact artefact,
                   double crf)
set the CRF value


F

public double F(int dt)
get the F value



Copyright © 2002 University of Ottawa. All Rights Reserved.