filezen.frequencyHeap package¶
Submodules¶
filezen.frequencyHeap.frequencyheap module¶
NOTE ON FREQUENCYHEAP¶
- This program will maintain a heap of file
locations according to their occurrences.
- It helps to get the folder location where a
file of a particular type is stored.
-
class
filezen.frequencyHeap.frequencyheap.MaxFrequency¶ Bases:
objectDefined class builds a heap of elements according to their occurrence
-
appendAddress(path)¶ adds new addresses to the heap
Parameters: path (string) – the file path to add to the heap
-
getMaxOccurringAddress¶ returns the most occurring folder location in the heap
Returns: most frequent folder location: string
-
getValueList¶ returns the complete heap
Returns: the heap of folder locations
-