Markopy
Utilizing Markov Models for brute forcing attacks
|
Model class template. More...
#include <map>
#include <vector>
#include <fstream>
#include <assert.h>
#include <string>
#include <algorithm>
#include "node.h"
#include "edge.h"
Go to the source code of this file.
Classes | |
class | Markov::Model< NodeStorageType > |
class for the final Markov Model, constructed from nodes and edges. More... | |
Namespaces | |
Markov | |
Namespace for the markov-model related classes. Contains Model, Node and Edge classes. | |
Model class template.
class for the final Markov Model, constructed from nodes and edges. Each atomic piece of the generation result is stored in a node, while edges contain the relation weights. Extending: To extend the class, implement the template and inherit from it, as "class MyModel : public Markov::Model<char>". For a complete demonstration of how to extend the class, see MarkovPasswords.
Whole model can be defined as a list of the edges, as dangling nodes are pointless. This approach is used for the import/export operations. For more information on importing/exporting model, check out the github readme and wiki page.
Definition in file model.h.