26#ifndef __TERRALIB_GRAPH_INTERNAL_LFUCACHEPOLICY_H
27#define __TERRALIB_GRAPH_INTERNAL_LFUCACHEPOLICY_H
This class is used to set the main functions of a cache policy.
AbstractCachePolicy()
Default constructor.
virtual void toRemove(int &value)
Function used to check what index has to be removed from the cache.
virtual ~LFUCachePolicy()
Virtual destructor.
std::map< int, double > m_LFU
virtual void accessed(int value)
Function used to inform that an index was accessed.
LFUCachePolicy()
Default constructor.
virtual void update(int value)
Function used to inform that an index must be updated.
virtual void added(int value)
Function used to add a new index to be controlled.
Configuration flags for the Graph module of TerraLib.
#define TEGRAPHEXPORT
You can use this macro in order to export/import classes and functions from this module.