Skip to content

Data-Structure Curriculum Design, Grade 2 First-Half, Topic 1

License

Notifications You must be signed in to change notification settings

smdsbz/SystemLogAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Announcement

THIS THREAD IS NO LONGER UNDER ACTIVE DEVELOPMENT!
For incremental updates, please move to the GUI version, where a GUI is also presented (using Qt5), whilst core parts remain the same.

SystemLogAnalysis

Data-Structure Curriculum Design, Grade 2 First-Half, Topic 1

LightBulbs

How to use?

$ make build
  • Run without arguments
$ ./a.out
  • Run with argument
$ ./a.out path/to/dumped-syslog

Structure

SystemLogAnalysis/
+-- utils/
|   +-- LogClass/               // basic wrapper for log messages
|   |   +-- LogClass.h
|   |   +-- LogDate.cpp
|   |   +-- LogMessage.cpp
|   |   +-- LogRecord.cpp
|   |   +-- LogRecord_iterator.cpp
|   +-- HashTable/              // enable fast search
|   |   +-- HashTable.h
|   |   +-- HashCell.cpp
|   |   +-- HashTable_test.cpp
|   +-- StorageGraph/           // could query along multiple axes intuitively
|   |   +-- StorageGraph.h
|   +-- FPTree/                 // pattern digging, ack. Jiawei Han et. al.
|   |   +-- FPTree.h
|   +-- UIGadgets/
|       +-- UIGadgets.h
|
+-- test_env/                   // all tests should be done in here
|
+-- Misc.h                      // some UI logic helper funcs
+-- main.cpp
+-- makefile

Starring

  • FP-Tree (Jiawei Han et. al.)
  • Adaptive HashTable, via tuning the sigmoid function

Fun-Facts

  1. (20180102) Finally! It can read from the dumped text file! I spent a whole afternoon adjusting the parameters in HashFunc, but I found that it couldn't be improved no more. Guess what? It was because that the log itself have repetitive parts, and there were a lot of them!

About

Data-Structure Curriculum Design, Grade 2 First-Half, Topic 1

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages