TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
Loading...
Searching...
No Matches
others::Cache Namespace Reference

Cache algorithm. More...

Classes

class  D_Node
 Node for a doubly linked list with data, prev and next pointers. More...
 
class  LFUCache
 LFUCache. More...
 
class  LRUCache
 LRUCache. More...
 

Typedefs

template<typename K , typename V >
using CacheNode = D_Node<std::pair<K, V>>
 

Detailed Description

Cache algorithm.

Typedef Documentation

◆ CacheNode

template<typename K , typename V >
using others::Cache::CacheNode = D_Node<std::pair<K, V>>

Definition at line 55 of file lfu_cache.cpp.