Markopy
Utilizing Markov Models for brute forcing attacks
|
CUDA extension to MarkopyCLI. More...
Public Member Functions | |
None | __init__ (self) |
def | help (self) |
overload help function to print submodel helps More... | |
def | parse (self) |
def | parse_fail (self) |
def | add_arguments (self) |
add -mt/–model_type constructor More... | |
def | init_post_arguments (self) |
def | init_post_arguments (sel) |
def | process (self) |
Process parameters for operation. More... | |
def | stub (self) |
def | evaluate (self, str filename) |
def | parse_arguments (self) |
def | parse_arguments (self) |
def | parse_arguments (self) |
def | parse_arguments (self) |
def | import_model (self, str filename) |
Import a model file. More... | |
def | import_model (self, str filename) |
Import a model file. More... | |
def | import_model (self, str filename) |
Import a model file. More... | |
def | import_model (self, str filename) |
Import a model file. More... | |
def | train (self, str dataset, str seperator, str output, bool output_forced=False, bool bulk=False) |
Train a model via CLI parameters. More... | |
def | train (self, str dataset, str seperator, str output, bool output_forced=False, bool bulk=False) |
Train a model via CLI parameters. More... | |
def | train (self, str dataset, str seperator, str output, bool output_forced=False, bool bulk=False) |
Train a model via CLI parameters. More... | |
def | train (self, str dataset, str seperator, str output, bool output_forced=False, bool bulk=False) |
Train a model via CLI parameters. More... | |
def | export (self, str filename) |
Export model to a file. More... | |
def | export (self, str filename) |
Export model to a file. More... | |
def | export (self, str filename) |
Export model to a file. More... | |
def | export (self, str filename) |
Export model to a file. More... | |
def | generate (self, str wordlist, bool bulk=False) |
Generate strings from the model. More... | |
def | generate (self, str wordlist, bool bulk=False) |
Generate strings from the model. More... | |
def | generate (self, str wordlist, bool bulk=False) |
Generate strings from the model. More... | |
def | generate (self, str wordlist, bool bulk=False) |
Generate strings from the model. More... | |
def | FastRandomWalk (int count, str wordlist, int minlen, int maxlen) |
int | FastRandomWalk (unsigned long int n, const char *wordlistFileName, int minLen=6, int maxLen=12, int threads=20, bool bFileIO=true) |
Random walk on the Matrix-reduced Markov::Model. More... | |
bool | ConstructMatrix () |
Construct the related Matrix data for the model. More... | |
void | DumpJSON () |
Debug function to dump the model to a JSON file. More... | |
void | Import (const char *filename) |
Open a file to import with filename, and call bool Model::Import with std::ifstream. More... | |
bool | Import (std::ifstream *) |
Import a file to construct the model. More... | |
def | Import (str filename) |
bool | Import (std::ifstream *) |
Import a file to construct the model. More... | |
void | Train (const char *datasetFileName, char delimiter, int threads) |
Train the model with the dataset file. More... | |
def | Train (str dataset, str seperator, int threads) |
std::ifstream * | OpenDatasetFile (const char *filename) |
Open dataset file and return the ifstream pointer. More... | |
std::ifstream * | OpenDatasetFile (const char *filename) |
Open dataset file and return the ifstream pointer. More... | |
std::ofstream * | Save (const char *filename) |
Export model to file. More... | |
std::ofstream * | Save (const char *filename) |
Export model to file. More... | |
void | Generate (unsigned long int n, const char *wordlistFileName, int minLen=6, int maxLen=12, int threads=20) |
Call Markov::Model::RandomWalk n times, and collect output. More... | |
def | Generate (int count, str wordlist, int minlen, int maxlen, int threads) |
void | Generate (unsigned long int n, const char *wordlistFileName, int minLen=6, int maxLen=12, int threads=20) |
Call Markov::Model::RandomWalk n times, and collect output. More... | |
void | Buff (const char *str, double multiplier, bool bDontAdjustSelfLoops=true, bool bDontAdjustExtendedLoops=false) |
Buff expression of some characters in the model. More... | |
void | Buff (const char *str, double multiplier, bool bDontAdjustSelfLoops=true, bool bDontAdjustExtendedLoops=false) |
Buff expression of some characters in the model. More... | |
char * | RandomWalk (Markov::Random::RandomEngine *randomEngine, int minSetting, int maxSetting, char *buffer) |
Do a random walk on this model. More... | |
char * | RandomWalk (Markov::Random::RandomEngine *randomEngine, int minSetting, int maxSetting, char *buffer) |
Do a random walk on this model. More... | |
void | AdjustEdge (const char *payload, long int occurrence) |
Adjust the model with a single string. More... | |
void | AdjustEdge (const char *payload, long int occurrence) |
Adjust the model with a single string. More... | |
bool | Export (std::ofstream *) |
Export a file of the model. More... | |
bool | Export (const char *filename) |
Open a file to export with filename, and call bool Model::Export with std::ofstream. More... | |
def | Export (str filename) |
bool | Export (std::ofstream *) |
Export a file of the model. More... | |
bool | Export (const char *filename) |
Open a file to export with filename, and call bool Model::Export with std::ofstream. More... | |
Node< char > * | StarterNode () |
Return starter Node. More... | |
Node< char > * | StarterNode () |
Return starter Node. More... | |
std::vector< Edge< char > * > * | Edges () |
Return a vector of all the edges in the model. More... | |
std::vector< Edge< char > * > * | Edges () |
Return a vector of all the edges in the model. More... | |
std::map< char, Node< char > * > * | Nodes () |
Return starter Node. More... | |
std::map< char, Node< char > * > * | Nodes () |
Return starter Node. More... | |
void | OptimizeEdgeOrder () |
Sort edges of all nodes in the model ordered by edge weights. More... | |
void | OptimizeEdgeOrder () |
Sort edges of all nodes in the model ordered by edge weights. More... | |
def | add_arguments (self) |
def | init_post_arguments (self) |
def | parse_arguments (self) |
def | parse_arguments (self) |
def | import_model (self, str filename) |
Import a model file. More... | |
def | import_model (self, str filename) |
Import a model file. More... | |
def | train (self, str dataset, str seperator, str output, bool output_forced=False, bool bulk=False) |
Train a model via CLI parameters. More... | |
def | train (self, str dataset, str seperator, str output, bool output_forced=False, bool bulk=False) |
Train a model via CLI parameters. More... | |
def | export (self, str filename) |
Export model to a file. More... | |
def | export (self, str filename) |
Export model to a file. More... | |
def | generate (self, str wordlist, bool bulk=False) |
Generate strings from the model. More... | |
def | generate (self, str wordlist, bool bulk=False) |
Generate strings from the model. More... | |
def | FastRandomWalk (int count, str wordlist, int minlen, int maxlen) |
int | FastRandomWalk (unsigned long int n, const char *wordlistFileName, int minLen=6, int maxLen=12, int threads=20, bool bFileIO=true) |
Random walk on the Matrix-reduced Markov::Model. More... | |
__host__ void | FastRandomWalk (unsigned long int n, const char *wordlistFileName, int minLen, int maxLen, bool bFileIO, bool bInfinite) |
Random walk on the Matrix-reduced Markov::Model. More... | |
int | FastRandomWalk (unsigned long int n, const char *wordlistFileName, int minLen=6, int maxLen=12, int threads=20, bool bFileIO=true) |
Random walk on the Matrix-reduced Markov::Model. More... | |
bool | ConstructMatrix () |
Construct the related Matrix data for the model. More... | |
bool | ConstructMatrix () |
Construct the related Matrix data for the model. More... | |
void | DumpJSON () |
Debug function to dump the model to a JSON file. More... | |
void | DumpJSON () |
Debug function to dump the model to a JSON file. More... | |
void | Import (const char *filename) |
Open a file to import with filename, and call bool Model::Import with std::ifstream. More... | |
bool | Import (std::ifstream *) |
Import a file to construct the model. More... | |
void | Import (const char *filename) |
Open a file to import with filename, and call bool Model::Import with std::ifstream. More... | |
bool | Import (std::ifstream *) |
Import a file to construct the model. More... | |
void | Train (const char *datasetFileName, char delimiter, int threads) |
Train the model with the dataset file. More... | |
void | Train (const char *datasetFileName, char delimiter, int threads) |
Train the model with the dataset file. More... | |
std::ifstream * | OpenDatasetFile (const char *filename) |
Open dataset file and return the ifstream pointer. More... | |
std::ifstream * | OpenDatasetFile (const char *filename) |
Open dataset file and return the ifstream pointer. More... | |
std::ofstream * | Save (const char *filename) |
Export model to file. More... | |
std::ofstream * | Save (const char *filename) |
Export model to file. More... | |
void | Generate (unsigned long int n, const char *wordlistFileName, int minLen=6, int maxLen=12, int threads=20) |
Call Markov::Model::RandomWalk n times, and collect output. More... | |
void | Generate (unsigned long int n, const char *wordlistFileName, int minLen=6, int maxLen=12, int threads=20) |
Call Markov::Model::RandomWalk n times, and collect output. More... | |
void | Buff (const char *str, double multiplier, bool bDontAdjustSelfLoops=true, bool bDontAdjustExtendedLoops=false) |
Buff expression of some characters in the model. More... | |
void | Buff (const char *str, double multiplier, bool bDontAdjustSelfLoops=true, bool bDontAdjustExtendedLoops=false) |
Buff expression of some characters in the model. More... | |
char * | RandomWalk (Markov::Random::RandomEngine *randomEngine, int minSetting, int maxSetting, char *buffer) |
Do a random walk on this model. More... | |
char * | RandomWalk (Markov::Random::RandomEngine *randomEngine, int minSetting, int maxSetting, char *buffer) |
Do a random walk on this model. More... | |
void | AdjustEdge (const char *payload, long int occurrence) |
Adjust the model with a single string. More... | |
void | AdjustEdge (const char *payload, long int occurrence) |
Adjust the model with a single string. More... | |
bool | Export (std::ofstream *) |
Export a file of the model. More... | |
bool | Export (const char *filename) |
Open a file to export with filename, and call bool Model::Export with std::ofstream. More... | |
bool | Export (std::ofstream *) |
Export a file of the model. More... | |
bool | Export (const char *filename) |
Open a file to export with filename, and call bool Model::Export with std::ofstream. More... | |
Node< char > * | StarterNode () |
Return starter Node. More... | |
Node< char > * | StarterNode () |
Return starter Node. More... | |
std::vector< Edge< char > * > * | Edges () |
Return a vector of all the edges in the model. More... | |
std::vector< Edge< char > * > * | Edges () |
Return a vector of all the edges in the model. More... | |
std::map< char, Node< char > * > * | Nodes () |
Return starter Node. More... | |
std::map< char, Node< char > * > * | Nodes () |
Return starter Node. More... | |
void | OptimizeEdgeOrder () |
Sort edges of all nodes in the model ordered by edge weights. More... | |
void | OptimizeEdgeOrder () |
Sort edges of all nodes in the model ordered by edge weights. More... | |
__host__ void | MigrateMatrix () |
Migrate the class members to the VRAM. More... | |
__host__ void | FlattenMatrix () |
Flatten migrated matrix from 2d to 1d. More... | |
Static Public Member Functions | |
def | check_import_path (str filename) |
check import path for validity More... | |
def | check_import_path (str filename) |
check import path for validity More... | |
def | check_import_path (str filename) |
check import path for validity More... | |
def | check_import_path (str filename) |
check import path for validity More... | |
def | check_corpus_path (str filename) |
check import path for validity More... | |
def | check_corpus_path (str filename) |
check import path for validity More... | |
def | check_corpus_path (str filename) |
check import path for validity More... | |
def | check_corpus_path (str filename) |
check import path for validity More... | |
def | check_export_path (str filename) |
check import path for validity More... | |
def | check_export_path (str filename) |
check import path for validity More... | |
def | check_export_path (str filename) |
check import path for validity More... | |
def | check_export_path (str filename) |
check import path for validity More... | |
def | check_import_path (str filename) |
check import path for validity More... | |
def | check_import_path (str filename) |
check import path for validity More... | |
def | check_corpus_path (str filename) |
check import path for validity More... | |
def | check_corpus_path (str filename) |
check import path for validity More... | |
def | check_export_path (str filename) |
check import path for validity More... | |
def | check_export_path (str filename) |
check import path for validity More... | |
static __host__ void | ListCudaDevices () |
List CUDA devices in the system. More... | |
Public Attributes | |
args | |
cli | |
parser | |
parser | |
parser | |
parser | |
print_help | |
print_help | |
print_help | |
print_help | |
model | |
model | |
model | |
fileIO | |
model | |
bInfinite | |
fileIO | |
parser | |
parser | |
print_help | |
print_help | |
Protected Member Functions | |
int | FastRandomWalk (unsigned long int n, std::ofstream *wordlist, int minLen=6, int maxLen=12, int threads=20, bool bFileIO=true) |
Random walk on the Matrix-reduced Markov::Model. More... | |
void | FastRandomWalkPartition (std::mutex *mlock, std::ofstream *wordlist, unsigned long int n, int minLen, int maxLen, bool bFileIO, int threads) |
A single partition of FastRandomWalk event. More... | |
void | FastRandomWalkThread (std::mutex *mlock, std::ofstream *wordlist, unsigned long int n, int minLen, int maxLen, int id, bool bFileIO) |
A single thread of a single partition of FastRandomWalk. More... | |
bool | DeallocateMatrix () |
Deallocate matrix and make it ready for re-construction. More... | |
int | FastRandomWalk (unsigned long int n, std::ofstream *wordlist, int minLen=6, int maxLen=12, int threads=20, bool bFileIO=true) |
Random walk on the Matrix-reduced Markov::Model. More... | |
int | FastRandomWalk (unsigned long int n, std::ofstream *wordlist, int minLen=6, int maxLen=12, int threads=20, bool bFileIO=true) |
Random walk on the Matrix-reduced Markov::Model. More... | |
void | FastRandomWalkPartition (std::mutex *mlock, std::ofstream *wordlist, unsigned long int n, int minLen, int maxLen, bool bFileIO, int threads) |
A single partition of FastRandomWalk event. More... | |
void | FastRandomWalkPartition (std::mutex *mlock, std::ofstream *wordlist, unsigned long int n, int minLen, int maxLen, bool bFileIO, int threads) |
A single partition of FastRandomWalk event. More... | |
void | FastRandomWalkThread (std::mutex *mlock, std::ofstream *wordlist, unsigned long int n, int minLen, int maxLen, int id, bool bFileIO) |
A single thread of a single partition of FastRandomWalk. More... | |
void | FastRandomWalkThread (std::mutex *mlock, std::ofstream *wordlist, unsigned long int n, int minLen, int maxLen, int id, bool bFileIO) |
A single thread of a single partition of FastRandomWalk. More... | |
bool | DeallocateMatrix () |
Deallocate matrix and make it ready for re-construction. More... | |
bool | DeallocateMatrix () |
Deallocate matrix and make it ready for re-construction. More... | |
__host__ char * | AllocVRAMOutputBuffer (long int n, long int singleGenMaxLen, long int CUDAKernelGridSize, long int sizePerGrid) |
Allocate the output buffer for kernel operation. More... | |
__host__ void | LaunchAsyncKernel (int kernelID, int minLen, int maxLen) |
__host__ void | prepKernelMemoryChannel (int numberOfStreams) |
__host__ void | GatherAsyncKernelOutput (int kernelID, bool bFileIO, std::ofstream &wordlist) |
Static Protected Member Functions | |
static __host__ int | CudaCheckNotifyErr (cudaError_t _status, const char *msg, bool bExit=true) |
Check results of the last operation on GPU. More... | |
template<typename T > | |
static __host__ cudaError_t | CudaMalloc2DToFlat (T **dst, int row, int col) |
Malloc a 2D array in device space. More... | |
template<typename T > | |
static __host__ cudaError_t | CudaMemcpy2DToFlat (T *dst, T **src, int row, int col) |
Memcpy a 2D array in device space after flattening. More... | |
template<typename T > | |
static __host__ cudaError_t | CudaMigrate2DFlat (T **dst, T **src, int row, int col) |
Both malloc and memcpy a 2D array into device VRAM. More... | |
Protected Attributes | |
char ** | edgeMatrix |
2-D Character array for the edge Matrix (The characters of Nodes) More... | |
long int ** | valueMatrix |
2-d Integer array for the value Matrix (For the weights of Edges) More... | |
int | matrixSize |
to hold Matrix size More... | |
char * | matrixIndex |
to hold the Matrix index (To hold the orders of 2-D arrays') More... | |
long int * | totalEdgeWeights |
Array of the Total Edge Weights. More... | |
bool | ready |
True when matrix is constructed. False if not. More... | |
char ** | edgeMatrix |
2-D Character array for the edge Matrix (The characters of Nodes) More... | |
char ** | edgeMatrix |
2-D Character array for the edge Matrix (The characters of Nodes) More... | |
long int ** | valueMatrix |
2-d Integer array for the value Matrix (For the weights of Edges) More... | |
long int ** | valueMatrix |
2-d Integer array for the value Matrix (For the weights of Edges) More... | |
int | matrixSize |
to hold Matrix size More... | |
int | matrixSize |
to hold Matrix size More... | |
char * | matrixIndex |
to hold the Matrix index (To hold the orders of 2-D arrays') More... | |
char * | matrixIndex |
to hold the Matrix index (To hold the orders of 2-D arrays') More... | |
long int * | totalEdgeWeights |
Array of the Total Edge Weights. More... | |
long int * | totalEdgeWeights |
Array of the Total Edge Weights. More... | |
bool | ready |
True when matrix is constructed. False if not. More... | |
bool | ready |
True when matrix is constructed. False if not. More... | |
Private Member Functions | |
def | _generate (self, str wordlist) |
wrapper for generate function. More... | |
void | TrainThread (Markov::API::Concurrency::ThreadSharedListHandler *listhandler, char delimiter) |
A single thread invoked by the Train function. More... | |
void | GenerateThread (std::mutex *outputLock, unsigned long int n, std::ofstream *wordlist, int minLen, int maxLen) |
A single thread invoked by the Generate function. More... | |
Private Attributes | |
std::ifstream * | datasetFile |
std::ofstream * | modelSavefile |
Dataset file input of our system More... | |
std::ofstream * | outputFile |
File to save model of our system More... | |
std::map< char, Node< char > * > | nodes |
Map LeftNode is the Nodes NodeValue Map RightNode is the node pointer. More... | |
Node< char > * | starterNode |
Starter Node of this model. More... | |
std::vector< Edge< char > * > | edges |
A list of all edges in this model. More... | |
char * | device_edgeMatrix |
VRAM Address pointer of edge matrix (from modelMatrix.h) More... | |
long int * | device_valueMatrix |
VRAM Address pointer of value matrix (from modelMatrix.h) More... | |
char * | device_matrixIndex |
VRAM Address pointer of matrixIndex (from modelMatrix.h) More... | |
long int * | device_totalEdgeWeights |
VRAM Address pointer of total edge weights (from modelMatrix.h) More... | |
char ** | device_outputBuffer |
RandomWalk results in device. More... | |
char ** | outputBuffer |
RandomWalk results in host. More... | |
char * | flatEdgeMatrix |
Adding Edge matrix end-to-end and resize to 1-D array for better perfomance on traversing. More... | |
long int * | flatValueMatrix |
Adding Value matrix end-to-end and resize to 1-D array for better perfomance on traversing. More... | |
int | cudaBlocks |
int | cudaThreads |
int | iterationsPerKernelThread |
long int | totalOutputPerSync |
long int | totalOutputPerKernel |
int | numberOfPartitions |
int | cudaGridSize |
int | cudaMemPerGrid |
long int | cudaPerKernelAllocationSize |
int | alternatingKernels |
unsigned long ** | device_seeds |
cudaStream_t * | cudastreams |
CUDA extension to MarkopyCLI.
Adds CudaModelMatrixCLI to the interface.
Definition at line 46 of file cudamarkopy.py.
None Python.CudaMarkopy.CudaMarkopyCLI.__init__ | ( | self | ) |
Reimplemented from Python.CudaMarkopy.CudaModelMatrixCLI.
Definition at line 53 of file cudamarkopy.py.
References Python.Markopy.BaseCLI.parser.
|
privateinherited |
wrapper for generate function.
This can be overloaded by other models
wordlist | filename to generate to |
Reimplemented in Python.Markopy.ModelMatrixCLI, and Python.CudaMarkopy.CudaModelMatrixCLI.
Definition at line 161 of file base.py.
References Python.CudaMarkopy.CudaMarkopyCLI.args, Python.Markopy.BaseCLI.args, Python.Markopy.MarkopyCLI.args, Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.generate().
|
inherited |
Reimplemented from Python.Markopy.AbstractGenerationModelCLI.
Definition at line 67 of file cudammx.py.
References Python.Markopy.BaseCLI.parser.
Referenced by Python.Markopy.BaseCLI.parse(), and Python.Markopy.MarkopyCLI.parse().
|
inherited |
add -mt/–model_type constructor
Reimplemented from Python.Markopy.BaseCLI.
Definition at line 83 of file markopy.py.
References Markov::API::CLI::Argparse.help(), Python.CudaMarkopy.CudaMarkopyCLI.help(), Python.Markopy.BaseCLI.help(), Python.Markopy.MarkopyCLI.help(), and Python.Markopy.BaseCLI.parser.
Referenced by Python.Markopy.BaseCLI.parse(), and Python.Markopy.MarkopyCLI.parse().
|
inherited |
Adjust the model with a single string.
Start from the starter node, and for each character, AdjustEdge the edge EdgeWeight from current node to the next, until NULL character is reached.
Then, update the edge EdgeWeight from current node, to the terminator node.
This function is used for training purposes, as it can be used for adjusting the model with each line of the corpus file.
Example Use: Create an empty model and train it with string: "testdata"
string | - String that is passed from the training, and will be used to AdjustEdge the model with |
occurrence | - Occurrence of this string. |
Definition at line 109 of file model.h.
|
inherited |
Adjust the model with a single string.
Start from the starter node, and for each character, AdjustEdge the edge EdgeWeight from current node to the next, until NULL character is reached.
Then, update the edge EdgeWeight from current node, to the terminator node.
This function is used for training purposes, as it can be used for adjusting the model with each line of the corpus file.
Example Use: Create an empty model and train it with string: "testdata"
string | - String that is passed from the training, and will be used to AdjustEdge the model with |
occurrence | - Occurrence of this string. |
Definition at line 109 of file model.h.
|
inherited |
Adjust the model with a single string.
Start from the starter node, and for each character, AdjustEdge the edge EdgeWeight from current node to the next, until NULL character is reached.
Then, update the edge EdgeWeight from current node, to the terminator node.
This function is used for training purposes, as it can be used for adjusting the model with each line of the corpus file.
Example Use: Create an empty model and train it with string: "testdata"
string | - String that is passed from the training, and will be used to AdjustEdge the model with |
occurrence | - Occurrence of this string. |
Definition at line 109 of file model.h.
|
inherited |
Adjust the model with a single string.
Start from the starter node, and for each character, AdjustEdge the edge EdgeWeight from current node to the next, until NULL character is reached.
Then, update the edge EdgeWeight from current node, to the terminator node.
This function is used for training purposes, as it can be used for adjusting the model with each line of the corpus file.
Example Use: Create an empty model and train it with string: "testdata"
string | - String that is passed from the training, and will be used to AdjustEdge the model with |
occurrence | - Occurrence of this string. |
Definition at line 109 of file model.h.
|
protectedinherited |
Allocate the output buffer for kernel operation.
TODO
n | - Number of passwords to generate. |
singleGenMaxLen | - maximum string length for a single generation |
CUDAKernelGridSize | - Total number of grid members in CUDA kernel |
sizePerGrid | - Size to allocate per grid member |
|
inherited |
Buff expression of some characters in the model.
str | A string containing all the characters to be buffed |
multiplier | A constant value to buff the nodes with. |
bDontAdjustSelfEdges | Do not adjust weights if target node is same as source node |
bDontAdjustExtendedLoops | Do not adjust if both source and target nodes are in first parameter |
Definition at line 153 of file markovPasswords.cpp.
References Markov::Edge< NodeStorageType >::AdjustEdge(), Markov::Node< storageType >::Edges(), Markov::Edge< NodeStorageType >::EdgeWeight(), Markov::Model< NodeStorageType >::Nodes(), and Markov::Model< NodeStorageType >::OptimizeEdgeOrder().
Referenced by main().
|
inherited |
Buff expression of some characters in the model.
str | A string containing all the characters to be buffed |
multiplier | A constant value to buff the nodes with. |
bDontAdjustSelfEdges | Do not adjust weights if target node is same as source node |
bDontAdjustExtendedLoops | Do not adjust if both source and target nodes are in first parameter |
Definition at line 153 of file markovPasswords.cpp.
References Markov::Edge< NodeStorageType >::AdjustEdge(), Markov::Node< storageType >::Edges(), Markov::Edge< NodeStorageType >::EdgeWeight(), Markov::Model< NodeStorageType >::Nodes(), and Markov::Model< NodeStorageType >::OptimizeEdgeOrder().
Referenced by main().
|
inherited |
Buff expression of some characters in the model.
str | A string containing all the characters to be buffed |
multiplier | A constant value to buff the nodes with. |
bDontAdjustSelfEdges | Do not adjust weights if target node is same as source node |
bDontAdjustExtendedLoops | Do not adjust if both source and target nodes are in first parameter |
Definition at line 153 of file markovPasswords.cpp.
References Markov::Edge< NodeStorageType >::AdjustEdge(), Markov::Node< storageType >::Edges(), Markov::Edge< NodeStorageType >::EdgeWeight(), Markov::Model< NodeStorageType >::Nodes(), and Markov::Model< NodeStorageType >::OptimizeEdgeOrder().
Referenced by main().
|
inherited |
Buff expression of some characters in the model.
str | A string containing all the characters to be buffed |
multiplier | A constant value to buff the nodes with. |
bDontAdjustSelfEdges | Do not adjust weights if target node is same as source node |
bDontAdjustExtendedLoops | Do not adjust if both source and target nodes are in first parameter |
Definition at line 153 of file markovPasswords.cpp.
References Markov::Edge< NodeStorageType >::AdjustEdge(), Markov::Node< storageType >::Edges(), Markov::Edge< NodeStorageType >::EdgeWeight(), Markov::Model< NodeStorageType >::Nodes(), and Markov::Model< NodeStorageType >::OptimizeEdgeOrder().
Referenced by main().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 181 of file base.py.
Referenced by Python.Markopy.BaseCLI.train().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 181 of file base.py.
Referenced by Python.Markopy.BaseCLI.train().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 181 of file base.py.
Referenced by Python.Markopy.BaseCLI.train().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 181 of file base.py.
Referenced by Python.Markopy.BaseCLI.train().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 181 of file base.py.
Referenced by Python.Markopy.BaseCLI.train().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 181 of file base.py.
Referenced by Python.Markopy.BaseCLI.train().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 192 of file base.py.
Referenced by Python.Markopy.BaseCLI.train().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 192 of file base.py.
Referenced by Python.Markopy.BaseCLI.train().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 192 of file base.py.
Referenced by Python.Markopy.BaseCLI.train().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 192 of file base.py.
Referenced by Python.Markopy.BaseCLI.train().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 192 of file base.py.
Referenced by Python.Markopy.BaseCLI.train().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 192 of file base.py.
Referenced by Python.Markopy.BaseCLI.train().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 169 of file base.py.
Referenced by Python.Markopy.BaseCLI.import_model().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 169 of file base.py.
Referenced by Python.Markopy.BaseCLI.import_model().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 169 of file base.py.
Referenced by Python.Markopy.BaseCLI.import_model().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 169 of file base.py.
Referenced by Python.Markopy.BaseCLI.import_model().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 169 of file base.py.
Referenced by Python.Markopy.BaseCLI.import_model().
|
staticinherited |
check import path for validity
filename | filename to check |
Definition at line 169 of file base.py.
Referenced by Python.Markopy.BaseCLI.import_model().
|
inherited |
Construct the related Matrix data for the model.
This operation can be used after importing/training to allocate and populate the matrix content.
this will initialize: char** edgeMatrix -> a 2D array of mapping left and right connections of each edge. long int **valueMatrix -> a 2D array representing the edge weights. int matrixSize -> Size of the matrix, aka total number of nodes. char* matrixIndex -> order of nodes in the model long int *totalEdgeWeights -> total edge weights of each Node.
Definition at line 31 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::edgeMatrix, Markov::Edge< NodeStorageType >::EdgeWeight(), Markov::API::ModelMatrix::matrixIndex, Markov::API::ModelMatrix::matrixSize, Markov::Model< NodeStorageType >::Nodes(), Markov::Node< storageType >::NodeValue(), Markov::API::ModelMatrix::ready, Markov::Edge< NodeStorageType >::RightNode(), Markov::Model< NodeStorageType >::StarterNode(), Markov::API::ModelMatrix::totalEdgeWeights, Markov::Node< storageType >::TotalEdgeWeights(), and Markov::API::ModelMatrix::valueMatrix.
Referenced by Markov::Markopy::CUDA::BOOST_PYTHON_MODULE(), Markov::Markopy::BOOST_PYTHON_MODULE(), Markov::API::ModelMatrix::Import(), and Markov::API::ModelMatrix::Train().
|
inherited |
Construct the related Matrix data for the model.
This operation can be used after importing/training to allocate and populate the matrix content.
this will initialize: char** edgeMatrix -> a 2D array of mapping left and right connections of each edge. long int **valueMatrix -> a 2D array representing the edge weights. int matrixSize -> Size of the matrix, aka total number of nodes. char* matrixIndex -> order of nodes in the model long int *totalEdgeWeights -> total edge weights of each Node.
Definition at line 31 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::edgeMatrix, Markov::Edge< NodeStorageType >::EdgeWeight(), Markov::API::ModelMatrix::matrixIndex, Markov::API::ModelMatrix::matrixSize, Markov::Model< NodeStorageType >::Nodes(), Markov::Node< storageType >::NodeValue(), Markov::API::ModelMatrix::ready, Markov::Edge< NodeStorageType >::RightNode(), Markov::Model< NodeStorageType >::StarterNode(), Markov::API::ModelMatrix::totalEdgeWeights, Markov::Node< storageType >::TotalEdgeWeights(), and Markov::API::ModelMatrix::valueMatrix.
Referenced by Markov::Markopy::CUDA::BOOST_PYTHON_MODULE(), Markov::Markopy::BOOST_PYTHON_MODULE(), Markov::API::ModelMatrix::Import(), and Markov::API::ModelMatrix::Train().
|
inherited |
Construct the related Matrix data for the model.
This operation can be used after importing/training to allocate and populate the matrix content.
this will initialize: char** edgeMatrix -> a 2D array of mapping left and right connections of each edge. long int **valueMatrix -> a 2D array representing the edge weights. int matrixSize -> Size of the matrix, aka total number of nodes. char* matrixIndex -> order of nodes in the model long int *totalEdgeWeights -> total edge weights of each Node.
Definition at line 31 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::edgeMatrix, Markov::Edge< NodeStorageType >::EdgeWeight(), Markov::API::ModelMatrix::matrixIndex, Markov::API::ModelMatrix::matrixSize, Markov::Model< NodeStorageType >::Nodes(), Markov::Node< storageType >::NodeValue(), Markov::API::ModelMatrix::ready, Markov::Edge< NodeStorageType >::RightNode(), Markov::Model< NodeStorageType >::StarterNode(), Markov::API::ModelMatrix::totalEdgeWeights, Markov::Node< storageType >::TotalEdgeWeights(), and Markov::API::ModelMatrix::valueMatrix.
Referenced by Markov::Markopy::CUDA::BOOST_PYTHON_MODULE(), Markov::Markopy::BOOST_PYTHON_MODULE(), Markov::API::ModelMatrix::Import(), and Markov::API::ModelMatrix::Train().
|
staticprotectedinherited |
Check results of the last operation on GPU.
Check the status returned from cudaMalloc/cudaMemcpy to find failures.
If a failure occurs, its assumed beyond redemption, and exited.
_status | Cuda error status to check |
msg | Message to print in case of a failure |
Definition at line 32 of file cudaDeviceController.cu.
|
inlinestaticprotectedinherited |
Malloc a 2D array in device space.
This function will allocate enough space on VRAM for flattened 2D array.
dst | destination pointer |
row | row size of the 2d array |
col | column size of the 2d array |
Example output:
Definition at line 75 of file cudaDeviceController.h.
References Markov::API::CUDA::CUDADeviceController::CudaMigrate2DFlat().
|
inlinestaticprotectedinherited |
Memcpy a 2D array in device space after flattening.
Resulting buffer will not be true 2D array.
dst | destination pointer |
rc | source pointer |
row | row size of the 2d array |
col | column size of the 2d array |
Example output:
Definition at line 103 of file cudaDeviceController.h.
References Markov::API::CUDA::CUDADeviceController::CudaMigrate2DFlat().
|
inlinestaticprotectedinherited |
Both malloc and memcpy a 2D array into device VRAM.
Resulting buffer will not be true 2D array.
dst | destination pointer |
rc | source pointer |
row | row size of the 2d array |
col | column size of the 2d array |
Example output:
Definition at line 132 of file cudaDeviceController.h.
References Markov::API::CUDA::CUDADeviceController::CudaMigrate2DFlat().
Referenced by Markov::API::CUDA::CUDADeviceController::CudaMalloc2DToFlat(), Markov::API::CUDA::CUDADeviceController::CudaMemcpy2DToFlat(), and Markov::API::CUDA::CUDADeviceController::CudaMigrate2DFlat().
|
protectedinherited |
Deallocate matrix and make it ready for re-construction.
Definition at line 81 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::edgeMatrix, Markov::API::ModelMatrix::matrixIndex, Markov::API::ModelMatrix::matrixSize, Markov::API::ModelMatrix::ready, Markov::API::ModelMatrix::totalEdgeWeights, and Markov::API::ModelMatrix::valueMatrix.
Referenced by Markov::API::ModelMatrix::Import(), and Markov::API::ModelMatrix::Train().
|
protectedinherited |
Deallocate matrix and make it ready for re-construction.
Definition at line 81 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::edgeMatrix, Markov::API::ModelMatrix::matrixIndex, Markov::API::ModelMatrix::matrixSize, Markov::API::ModelMatrix::ready, Markov::API::ModelMatrix::totalEdgeWeights, and Markov::API::ModelMatrix::valueMatrix.
Referenced by Markov::API::ModelMatrix::Import(), and Markov::API::ModelMatrix::Train().
|
protectedinherited |
Deallocate matrix and make it ready for re-construction.
Definition at line 81 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::edgeMatrix, Markov::API::ModelMatrix::matrixIndex, Markov::API::ModelMatrix::matrixSize, Markov::API::ModelMatrix::ready, Markov::API::ModelMatrix::totalEdgeWeights, and Markov::API::ModelMatrix::valueMatrix.
Referenced by Markov::API::ModelMatrix::Import(), and Markov::API::ModelMatrix::Train().
|
inherited |
Debug function to dump the model to a JSON file.
Might not work 100%. Not meant for production use.
Definition at line 101 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::edgeMatrix, Markov::API::ModelMatrix::matrixIndex, Markov::API::ModelMatrix::matrixSize, and Markov::API::ModelMatrix::valueMatrix.
Referenced by Markov::Markopy::CUDA::BOOST_PYTHON_MODULE(), and Markov::Markopy::BOOST_PYTHON_MODULE().
|
inherited |
Debug function to dump the model to a JSON file.
Might not work 100%. Not meant for production use.
Definition at line 101 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::edgeMatrix, Markov::API::ModelMatrix::matrixIndex, Markov::API::ModelMatrix::matrixSize, and Markov::API::ModelMatrix::valueMatrix.
Referenced by Markov::Markopy::CUDA::BOOST_PYTHON_MODULE(), and Markov::Markopy::BOOST_PYTHON_MODULE().
|
inherited |
Debug function to dump the model to a JSON file.
Might not work 100%. Not meant for production use.
Definition at line 101 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::edgeMatrix, Markov::API::ModelMatrix::matrixIndex, Markov::API::ModelMatrix::matrixSize, and Markov::API::ModelMatrix::valueMatrix.
Referenced by Markov::Markopy::CUDA::BOOST_PYTHON_MODULE(), and Markov::Markopy::BOOST_PYTHON_MODULE().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Definition at line 163 of file markopy.py.
Referenced by Python.Markopy.MarkopyCLI.parse().
|
inherited |
Open a file to export with filename, and call bool Model::Export with std::ofstream.
Example Use: Export file to filename
Definition at line 166 of file model.h.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Export model to a file.
filename | filename to export to |
Definition at line 138 of file base.py.
References Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.train().
|
inherited |
Export model to a file.
filename | filename to export to |
Definition at line 138 of file base.py.
References Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.train().
|
inherited |
Export model to a file.
filename | filename to export to |
Definition at line 138 of file base.py.
References Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.train().
|
inherited |
Export model to a file.
filename | filename to export to |
Definition at line 138 of file base.py.
References Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.train().
|
inherited |
Export model to a file.
filename | filename to export to |
Definition at line 138 of file base.py.
References Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.train().
|
inherited |
Export model to a file.
filename | filename to export to |
Definition at line 138 of file base.py.
References Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.train().
|
inherited |
Export a file of the model.
File contains a list of edges. Format is: Left_repr;EdgeWeight;right_repr. For more information on the format, check out the project wiki or github readme.
Iterate over this vertices, and their edges, and write them to file.
Example Use: Export file to ofstream
Definition at line 155 of file model.h.
|
inherited |
Export a file of the model.
File contains a list of edges. Format is: Left_repr;EdgeWeight;right_repr. For more information on the format, check out the project wiki or github readme.
Iterate over this vertices, and their edges, and write them to file.
Example Use: Export file to ofstream
|
inherited |
Export a file of the model.
File contains a list of edges. Format is: Left_repr;EdgeWeight;right_repr. For more information on the format, check out the project wiki or github readme.
Iterate over this vertices, and their edges, and write them to file.
Example Use: Export file to ofstream
|
inherited |
Export a file of the model.
File contains a list of edges. Format is: Left_repr;EdgeWeight;right_repr. For more information on the format, check out the project wiki or github readme.
Iterate over this vertices, and their edges, and write them to file.
Example Use: Export file to ofstream
|
inherited |
|
inherited |
Definition at line 48 of file mm.py.
Referenced by Python.Markopy.ModelMatrixCLI._generate().
|
inherited |
Definition at line 48 of file mm.py.
Referenced by Python.Markopy.ModelMatrixCLI._generate().
|
inherited |
Random walk on the Matrix-reduced Markov::Model.
TODO
n | - Number of passwords to generate. |
wordlistFileName | - Filename to write to |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
threads | - number of OS threads to spawn |
bFileIO | - If false, filename will be ignored and will output to stdout. |
Definition at line 58 of file cudaModelMatrix.cu.
References Markov::API::CUDA::CUDAModelMatrix::alternatingKernels, Markov::API::CUDA::CUDAModelMatrix::cudaBlocks, Markov::API::CUDA::CUDAModelMatrix::cudaGridSize, Markov::API::CUDA::CUDAModelMatrix::cudaMemPerGrid, Markov::API::CUDA::CUDAModelMatrix::cudaPerKernelAllocationSize, Markov::API::CUDA::CUDAModelMatrix::cudaThreads, Markov::API::CUDA::CUDAModelMatrix::iterationsPerKernelThread, Markov::API::CUDA::CUDAModelMatrix::numberOfPartitions, Markov::API::CUDA::CUDAModelMatrix::totalOutputPerKernel, and Markov::API::CUDA::CUDAModelMatrix::totalOutputPerSync.
Referenced by Python.CudaMarkopy.CudaModelMatrixCLI::_generate().
|
inherited |
Random walk on the Matrix-reduced Markov::Model.
This has an O(N) Memory complexity. To limit the maximum usage, requests with n>50M are partitioned using Markov::API::ModelMatrix::FastRandomWalkPartition.
If n>50M, threads are going to be synced, files are going to be flushed, and buffers will be reallocated every 50M generations. This comes at a minor performance penalty.
While it has the same functionality, this operation reduces Markov::API::MarkovPasswords::Generate runtime by %96.5
This function has deprecated Markov::API::MarkovPasswords::Generate, and will eventually replace it.
n | - Number of passwords to generate. |
wordlistFileName | - Filename to write to |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
threads | - number of OS threads to spawn |
bFileIO | - If false, filename will be ignored and will output to stdout. |
Definition at line 217 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::FastRandomWalk().
Referenced by Markov::Markopy::BOOST_PYTHON_MODULE().
|
inherited |
Random walk on the Matrix-reduced Markov::Model.
This has an O(N) Memory complexity. To limit the maximum usage, requests with n>50M are partitioned using Markov::API::ModelMatrix::FastRandomWalkPartition.
If n>50M, threads are going to be synced, files are going to be flushed, and buffers will be reallocated every 50M generations. This comes at a minor performance penalty.
While it has the same functionality, this operation reduces Markov::API::MarkovPasswords::Generate runtime by %96.5
This function has deprecated Markov::API::MarkovPasswords::Generate, and will eventually replace it.
n | - Number of passwords to generate. |
wordlistFileName | - Filename to write to |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
threads | - number of OS threads to spawn |
bFileIO | - If false, filename will be ignored and will output to stdout. |
Definition at line 217 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::FastRandomWalk().
Referenced by Markov::Markopy::BOOST_PYTHON_MODULE().
|
inherited |
Random walk on the Matrix-reduced Markov::Model.
This has an O(N) Memory complexity. To limit the maximum usage, requests with n>50M are partitioned using Markov::API::ModelMatrix::FastRandomWalkPartition.
If n>50M, threads are going to be synced, files are going to be flushed, and buffers will be reallocated every 50M generations. This comes at a minor performance penalty.
While it has the same functionality, this operation reduces Markov::API::MarkovPasswords::Generate runtime by %96.5
This function has deprecated Markov::API::MarkovPasswords::Generate, and will eventually replace it.
n | - Number of passwords to generate. |
wordlistFileName | - Filename to write to |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
threads | - number of OS threads to spawn |
bFileIO | - If false, filename will be ignored and will output to stdout. |
Definition at line 217 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::FastRandomWalk().
Referenced by Markov::Markopy::BOOST_PYTHON_MODULE().
|
protectedinherited |
Random walk on the Matrix-reduced Markov::Model.
This has an O(N) Memory complexity. To limit the maximum usage, requests with n>50M are partitioned using Markov::API::ModelMatrix::FastRandomWalkPartition.
If n>50M, threads are going to be synced, files are going to be flushed, and buffers will be reallocated every 50M generations. This comes at a minor performance penalty.
While it has the same functionality, this operation reduces Markov::API::MarkovPasswords::Generate runtime by %96.5
This function has deprecated Markov::API::MarkovPasswords::Generate, and will eventually replace it.
n | - Number of passwords to generate. |
wordlistFileName | - Filename to write to |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
threads | - number of OS threads to spawn |
bFileIO | - If false, filename will be ignored and will output to stdout. |
Definition at line 204 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::FastRandomWalkPartition().
Referenced by Markov::API::ModelMatrix::FastRandomWalk().
|
protectedinherited |
Random walk on the Matrix-reduced Markov::Model.
This has an O(N) Memory complexity. To limit the maximum usage, requests with n>50M are partitioned using Markov::API::ModelMatrix::FastRandomWalkPartition.
If n>50M, threads are going to be synced, files are going to be flushed, and buffers will be reallocated every 50M generations. This comes at a minor performance penalty.
While it has the same functionality, this operation reduces Markov::API::MarkovPasswords::Generate runtime by %96.5
This function has deprecated Markov::API::MarkovPasswords::Generate, and will eventually replace it.
n | - Number of passwords to generate. |
wordlistFileName | - Filename to write to |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
threads | - number of OS threads to spawn |
bFileIO | - If false, filename will be ignored and will output to stdout. |
Definition at line 204 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::FastRandomWalkPartition().
Referenced by Markov::API::ModelMatrix::FastRandomWalk().
|
protectedinherited |
Random walk on the Matrix-reduced Markov::Model.
This has an O(N) Memory complexity. To limit the maximum usage, requests with n>50M are partitioned using Markov::API::ModelMatrix::FastRandomWalkPartition.
If n>50M, threads are going to be synced, files are going to be flushed, and buffers will be reallocated every 50M generations. This comes at a minor performance penalty.
While it has the same functionality, this operation reduces Markov::API::MarkovPasswords::Generate runtime by %96.5
This function has deprecated Markov::API::MarkovPasswords::Generate, and will eventually replace it.
n | - Number of passwords to generate. |
wordlistFileName | - Filename to write to |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
threads | - number of OS threads to spawn |
bFileIO | - If false, filename will be ignored and will output to stdout. |
Definition at line 204 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::FastRandomWalkPartition().
Referenced by Markov::API::ModelMatrix::FastRandomWalk().
|
protectedinherited |
A single partition of FastRandomWalk event.
Since FastRandomWalk has to allocate its output buffer before operation starts and writes data in chunks, large n parameters would lead to huge memory allocations. Without Partitioning:
Instead, FastRandomWalk is partitioned per 50M generations to limit the top memory need.
mlock | - mutex lock to distribute to child threads |
wordlist | - Reference to the wordlist file to write to |
n | - Number of passwords to generate. |
wordlistFileName | - Filename to write to |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
threads | - number of OS threads to spawn |
bFileIO | - If false, filename will be ignored and will output to stdout. |
Definition at line 225 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::FastRandomWalkThread().
Referenced by Markov::API::ModelMatrix::FastRandomWalk().
|
protectedinherited |
A single partition of FastRandomWalk event.
Since FastRandomWalk has to allocate its output buffer before operation starts and writes data in chunks, large n parameters would lead to huge memory allocations. Without Partitioning:
Instead, FastRandomWalk is partitioned per 50M generations to limit the top memory need.
mlock | - mutex lock to distribute to child threads |
wordlist | - Reference to the wordlist file to write to |
n | - Number of passwords to generate. |
wordlistFileName | - Filename to write to |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
threads | - number of OS threads to spawn |
bFileIO | - If false, filename will be ignored and will output to stdout. |
Definition at line 225 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::FastRandomWalkThread().
Referenced by Markov::API::ModelMatrix::FastRandomWalk().
|
protectedinherited |
A single partition of FastRandomWalk event.
Since FastRandomWalk has to allocate its output buffer before operation starts and writes data in chunks, large n parameters would lead to huge memory allocations. Without Partitioning:
Instead, FastRandomWalk is partitioned per 50M generations to limit the top memory need.
mlock | - mutex lock to distribute to child threads |
wordlist | - Reference to the wordlist file to write to |
n | - Number of passwords to generate. |
wordlistFileName | - Filename to write to |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
threads | - number of OS threads to spawn |
bFileIO | - If false, filename will be ignored and will output to stdout. |
Definition at line 225 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::FastRandomWalkThread().
Referenced by Markov::API::ModelMatrix::FastRandomWalk().
|
protectedinherited |
A single thread of a single partition of FastRandomWalk.
A FastRandomWalkPartition will initiate as many of this function as requested.
This function contains the bulk of the generation algorithm.
mlock | - mutex lock to distribute to child threads |
wordlist | - Reference to the wordlist file to write to |
n | - Number of passwords to generate. |
wordlistFileName | - Filename to write to |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
id | - DEPRECATED Thread id - No longer used |
bFileIO | - If false, filename will be ignored and will output to stdout. |
Definition at line 153 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::edgeMatrix, Markov::API::ModelMatrix::matrixIndex, Markov::API::ModelMatrix::matrixSize, Markov::Random::Marsaglia::random(), Markov::API::ModelMatrix::totalEdgeWeights, and Markov::API::ModelMatrix::valueMatrix.
Referenced by Markov::API::ModelMatrix::FastRandomWalkPartition().
|
protectedinherited |
A single thread of a single partition of FastRandomWalk.
A FastRandomWalkPartition will initiate as many of this function as requested.
This function contains the bulk of the generation algorithm.
mlock | - mutex lock to distribute to child threads |
wordlist | - Reference to the wordlist file to write to |
n | - Number of passwords to generate. |
wordlistFileName | - Filename to write to |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
id | - DEPRECATED Thread id - No longer used |
bFileIO | - If false, filename will be ignored and will output to stdout. |
Definition at line 153 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::edgeMatrix, Markov::API::ModelMatrix::matrixIndex, Markov::API::ModelMatrix::matrixSize, Markov::Random::Marsaglia::random(), Markov::API::ModelMatrix::totalEdgeWeights, and Markov::API::ModelMatrix::valueMatrix.
Referenced by Markov::API::ModelMatrix::FastRandomWalkPartition().
|
protectedinherited |
A single thread of a single partition of FastRandomWalk.
A FastRandomWalkPartition will initiate as many of this function as requested.
This function contains the bulk of the generation algorithm.
mlock | - mutex lock to distribute to child threads |
wordlist | - Reference to the wordlist file to write to |
n | - Number of passwords to generate. |
wordlistFileName | - Filename to write to |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
id | - DEPRECATED Thread id - No longer used |
bFileIO | - If false, filename will be ignored and will output to stdout. |
Definition at line 153 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::edgeMatrix, Markov::API::ModelMatrix::matrixIndex, Markov::API::ModelMatrix::matrixSize, Markov::Random::Marsaglia::random(), Markov::API::ModelMatrix::totalEdgeWeights, and Markov::API::ModelMatrix::valueMatrix.
Referenced by Markov::API::ModelMatrix::FastRandomWalkPartition().
|
inherited |
Flatten migrated matrix from 2d to 1d.
Definition at line 261 of file cudaModelMatrix.cu.
References Markov::API::CUDA::CUDAModelMatrix::flatEdgeMatrix, Markov::API::CUDA::CUDAModelMatrix::flatValueMatrix, and Markov::API::ModelMatrix::matrixSize.
|
protectedinherited |
Definition at line 180 of file cudaModelMatrix.cu.
References Markov::API::CUDA::CUDAModelMatrix::cudaMemPerGrid, Markov::API::CUDA::CUDAModelMatrix::cudaPerKernelAllocationSize, and Markov::API::CUDA::CUDAModelMatrix::outputBuffer.
|
inherited |
Definition at line 34 of file mm.py.
Referenced by Python.Markopy.MarkovPasswordsCLI._generate().
|
inherited |
Generate strings from the model.
model | model instance |
wordlist | wordlist filename |
bulk | marks bulk operation with directories |
Definition at line 145 of file base.py.
References Python.CudaMarkopy.CudaModelMatrixCLI._generate(), Python.Markopy.BaseCLI._generate(), Python.Markopy.ModelMatrixCLI._generate(), Python.Markopy.MarkovPasswordsCLI._generate(), Python.CudaMarkopy.CudaMarkopyCLI.args, Python.Markopy.BaseCLI.args, and Python.Markopy.MarkopyCLI.args.
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
Generate strings from the model.
model | model instance |
wordlist | wordlist filename |
bulk | marks bulk operation with directories |
Definition at line 145 of file base.py.
References Python.CudaMarkopy.CudaModelMatrixCLI._generate(), Python.Markopy.BaseCLI._generate(), Python.Markopy.ModelMatrixCLI._generate(), Python.Markopy.MarkovPasswordsCLI._generate(), Python.CudaMarkopy.CudaMarkopyCLI.args, Python.Markopy.BaseCLI.args, and Python.Markopy.MarkopyCLI.args.
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
Generate strings from the model.
model | model instance |
wordlist | wordlist filename |
bulk | marks bulk operation with directories |
Definition at line 145 of file base.py.
References Python.CudaMarkopy.CudaModelMatrixCLI._generate(), Python.Markopy.BaseCLI._generate(), Python.Markopy.ModelMatrixCLI._generate(), Python.Markopy.MarkovPasswordsCLI._generate(), Python.CudaMarkopy.CudaMarkopyCLI.args, Python.Markopy.BaseCLI.args, and Python.Markopy.MarkopyCLI.args.
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
Generate strings from the model.
model | model instance |
wordlist | wordlist filename |
bulk | marks bulk operation with directories |
Definition at line 145 of file base.py.
References Python.CudaMarkopy.CudaModelMatrixCLI._generate(), Python.Markopy.BaseCLI._generate(), Python.Markopy.ModelMatrixCLI._generate(), Python.Markopy.MarkovPasswordsCLI._generate(), Python.CudaMarkopy.CudaMarkopyCLI.args, Python.Markopy.BaseCLI.args, and Python.Markopy.MarkopyCLI.args.
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
Generate strings from the model.
model | model instance |
wordlist | wordlist filename |
bulk | marks bulk operation with directories |
Definition at line 145 of file base.py.
References Python.CudaMarkopy.CudaModelMatrixCLI._generate(), Python.Markopy.BaseCLI._generate(), Python.Markopy.ModelMatrixCLI._generate(), Python.Markopy.MarkovPasswordsCLI._generate(), Python.CudaMarkopy.CudaMarkopyCLI.args, Python.Markopy.BaseCLI.args, and Python.Markopy.MarkopyCLI.args.
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
Generate strings from the model.
model | model instance |
wordlist | wordlist filename |
bulk | marks bulk operation with directories |
Definition at line 145 of file base.py.
References Python.CudaMarkopy.CudaModelMatrixCLI._generate(), Python.Markopy.BaseCLI._generate(), Python.Markopy.ModelMatrixCLI._generate(), Python.Markopy.MarkovPasswordsCLI._generate(), Python.CudaMarkopy.CudaMarkopyCLI.args, Python.Markopy.BaseCLI.args, and Python.Markopy.MarkopyCLI.args.
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
Call Markov::Model::RandomWalk n times, and collect output.
Generate from model and write results to a file. a much more performance-optimized method. FastRandomWalk will reduce the runtime by %96.5 on average.
n | - Number of passwords to generate. |
wordlistFileName | - Filename to write to |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
threads | - number of OS threads to spawn |
Definition at line 118 of file markovPasswords.cpp.
References Markov::API::MarkovPasswords::GenerateThread().
Referenced by Markov::Markopy::BOOST_PYTHON_MODULE(), and Markov::GUI::Generate::generation().
|
inherited |
Call Markov::Model::RandomWalk n times, and collect output.
Generate from model and write results to a file. a much more performance-optimized method. FastRandomWalk will reduce the runtime by %96.5 on average.
n | - Number of passwords to generate. |
wordlistFileName | - Filename to write to |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
threads | - number of OS threads to spawn |
Definition at line 118 of file markovPasswords.cpp.
References Markov::API::MarkovPasswords::GenerateThread().
Referenced by Markov::Markopy::BOOST_PYTHON_MODULE(), and Markov::GUI::Generate::generation().
|
inherited |
Call Markov::Model::RandomWalk n times, and collect output.
Generate from model and write results to a file. a much more performance-optimized method. FastRandomWalk will reduce the runtime by %96.5 on average.
n | - Number of passwords to generate. |
wordlistFileName | - Filename to write to |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
threads | - number of OS threads to spawn |
Definition at line 118 of file markovPasswords.cpp.
References Markov::API::MarkovPasswords::GenerateThread().
Referenced by Markov::Markopy::BOOST_PYTHON_MODULE(), and Markov::GUI::Generate::generation().
|
inherited |
Call Markov::Model::RandomWalk n times, and collect output.
Generate from model and write results to a file. a much more performance-optimized method. FastRandomWalk will reduce the runtime by %96.5 on average.
n | - Number of passwords to generate. |
wordlistFileName | - Filename to write to |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
threads | - number of OS threads to spawn |
Definition at line 118 of file markovPasswords.cpp.
References Markov::API::MarkovPasswords::GenerateThread().
Referenced by Markov::Markopy::BOOST_PYTHON_MODULE(), and Markov::GUI::Generate::generation().
|
privateinherited |
A single thread invoked by the Generate function.
DEPRECATED: See Markov::API::MatrixModel::FastRandomWalkThread for more information. This has been replaced with a much more performance-optimized method. FastRandomWalk will reduce the runtime by %96.5 on average.
outputLock | - shared mutex lock to lock during output operation. Prevents race condition on write. |
n | number of lines to be generated by this thread |
wordlist | wordlistfile |
minLen | - Minimum password length to generate |
maxLen | - Maximum password length to generate |
Definition at line 140 of file markovPasswords.cpp.
References Markov::Model< NodeStorageType >::RandomWalk().
Referenced by Markov::API::MarkovPasswords::Generate().
def Python.CudaMarkopy.CudaMarkopyCLI.help | ( | self | ) |
overload help function to print submodel helps
Reimplemented from Python.Markopy.MarkopyCLI.
Definition at line 61 of file cudamarkopy.py.
References Python.Markopy.BaseCLI.parser, and Python.Markopy.MarkopyCLI.stub().
Referenced by Python.Markopy.MarkopyCLI.add_arguments().
|
inherited |
Open a file to import with filename, and call bool Model::Import with std::ifstream.
Example Use: Import a file with filename
Construct the matrix when done.
Definition at line 19 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), and Markov::Model< NodeStorageType >::Import().
Referenced by Markov::Markopy::CUDA::BOOST_PYTHON_MODULE(), Markov::Markopy::BOOST_PYTHON_MODULE(), and main().
|
inherited |
Open a file to import with filename, and call bool Model::Import with std::ifstream.
Example Use: Import a file with filename
Construct the matrix when done.
Definition at line 19 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), and Markov::Model< NodeStorageType >::Import().
Referenced by Markov::Markopy::CUDA::BOOST_PYTHON_MODULE(), Markov::Markopy::BOOST_PYTHON_MODULE(), and main().
|
inherited |
Open a file to import with filename, and call bool Model::Import with std::ifstream.
Example Use: Import a file with filename
Construct the matrix when done.
Definition at line 19 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), and Markov::Model< NodeStorageType >::Import().
Referenced by Markov::Markopy::CUDA::BOOST_PYTHON_MODULE(), Markov::Markopy::BOOST_PYTHON_MODULE(), and main().
|
inherited |
Import a file to construct the model.
File contains a list of edges. For more info on the file format, check out the wiki and github readme pages. Format is: Left_repr;EdgeWeight;right_repr
Iterate over this list, and construct nodes and edges accordingly.
Example Use: Import a file from ifstream
Definition at line 126 of file model.h.
|
inherited |
Import a file to construct the model.
File contains a list of edges. For more info on the file format, check out the wiki and github readme pages. Format is: Left_repr;EdgeWeight;right_repr
Iterate over this list, and construct nodes and edges accordingly.
Example Use: Import a file from ifstream
|
inherited |
Import a file to construct the model.
File contains a list of edges. For more info on the file format, check out the wiki and github readme pages. Format is: Left_repr;EdgeWeight;right_repr
Iterate over this list, and construct nodes and edges accordingly.
Example Use: Import a file from ifstream
|
inherited |
Import a file to construct the model.
File contains a list of edges. For more info on the file format, check out the wiki and github readme pages. Format is: Left_repr;EdgeWeight;right_repr
Iterate over this list, and construct nodes and edges accordingly.
Example Use: Import a file from ifstream
|
inherited |
|
inherited |
Import a model file.
filename | filename to import |
Definition at line 77 of file base.py.
References Python.Markopy.BaseCLI.check_import_path(), Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
Import a model file.
filename | filename to import |
Definition at line 77 of file base.py.
References Python.Markopy.BaseCLI.check_import_path(), Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
Import a model file.
filename | filename to import |
Definition at line 77 of file base.py.
References Python.Markopy.BaseCLI.check_import_path(), Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
Import a model file.
filename | filename to import |
Definition at line 77 of file base.py.
References Python.Markopy.BaseCLI.check_import_path(), Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
Import a model file.
filename | filename to import |
Definition at line 77 of file base.py.
References Python.Markopy.BaseCLI.check_import_path(), Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
Import a model file.
filename | filename to import |
Definition at line 77 of file base.py.
References Python.Markopy.BaseCLI.check_import_path(), Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
Reimplemented from Python.Markopy.BaseCLI.
Definition at line 175 of file markopy.py.
References Python.Markopy.MarkopyCLI.init_post_arguments().
Referenced by Python.Markopy.BaseCLI.parse(), and Python.Markopy.MarkopyCLI.parse().
|
inherited |
Reimplemented from Python.Markopy.ModelMatrixCLI.
Definition at line 71 of file cudammx.py.
Referenced by Python.Markopy.BaseCLI.parse(), and Python.Markopy.MarkopyCLI.parse().
|
inherited |
Reimplemented from Python.Markopy.BaseCLI.
Definition at line 145 of file markopy.py.
Referenced by Python.Markopy.MarkopyCLI.init_post_arguments(), Python.Markopy.BaseCLI.parse(), and Python.Markopy.MarkopyCLI.parse().
|
protectedinherited |
Definition at line 171 of file cudaModelMatrix.cu.
|
staticinherited |
List CUDA devices in the system.
This function will print details of every CUDA capable device in the system.
Example output:
Definition at line 16 of file cudaDeviceController.cu.
|
inherited |
Migrate the class members to the VRAM.
Cannot be used without calling Markov::API::ModelMatrix::ConstructMatrix at least once. This function will manage the memory allocation and data transfer from CPU RAM to GPU VRAM.
Newly allocated VRAM pointers are set in the class member variables.
Definition at line 20 of file cudaModelMatrix.cu.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Open dataset file and return the ifstream pointer.
filename | - Filename to open |
Definition at line 51 of file markovPasswords.cpp.
References Markov::Model< NodeStorageType >::Import().
|
inherited |
Open dataset file and return the ifstream pointer.
filename | - Filename to open |
Definition at line 51 of file markovPasswords.cpp.
References Markov::Model< NodeStorageType >::Import().
|
inherited |
Open dataset file and return the ifstream pointer.
filename | - Filename to open |
Definition at line 51 of file markovPasswords.cpp.
References Markov::Model< NodeStorageType >::Import().
|
inherited |
Open dataset file and return the ifstream pointer.
filename | - Filename to open |
Definition at line 51 of file markovPasswords.cpp.
References Markov::Model< NodeStorageType >::Import().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
def Python.CudaMarkopy.CudaMarkopyCLI.parse | ( | self | ) |
Reimplemented from Python.Markopy.MarkopyCLI.
Definition at line 95 of file cudamarkopy.py.
|
inherited |
Definition at line 73 of file base.py.
Referenced by Python.Markopy.BaseCLI.parse(), and Python.Markopy.MarkopyCLI.parse().
|
inherited |
Definition at line 73 of file base.py.
Referenced by Python.Markopy.BaseCLI.parse(), and Python.Markopy.MarkopyCLI.parse().
|
inherited |
Definition at line 73 of file base.py.
Referenced by Python.Markopy.BaseCLI.parse(), and Python.Markopy.MarkopyCLI.parse().
|
inherited |
Definition at line 73 of file base.py.
Referenced by Python.Markopy.BaseCLI.parse(), and Python.Markopy.MarkopyCLI.parse().
|
inherited |
Definition at line 73 of file base.py.
Referenced by Python.Markopy.BaseCLI.parse(), and Python.Markopy.MarkopyCLI.parse().
|
inherited |
Definition at line 73 of file base.py.
Referenced by Python.Markopy.BaseCLI.parse(), and Python.Markopy.MarkopyCLI.parse().
def Python.CudaMarkopy.CudaMarkopyCLI.parse_fail | ( | self | ) |
Reimplemented from Python.Markopy.MarkopyCLI.
Definition at line 98 of file cudamarkopy.py.
References Python.CudaMarkopy.CudaMarkopyCLI.args, Python.Markopy.BaseCLI.args, and Python.Markopy.MarkopyCLI.args.
|
protectedinherited |
Definition at line 145 of file cudaModelMatrix.cu.
References Markov::API::CUDA::CUDAModelMatrix::cudaGridSize, Markov::API::CUDA::CUDAModelMatrix::cudaPerKernelAllocationSize, Markov::API::CUDA::CUDAModelMatrix::device_outputBuffer, Markov::API::CUDA::CUDAModelMatrix::device_seeds, Markov::API::CUDA::Random::Marsaglia::MigrateToVRAM(), and Markov::API::CUDA::CUDAModelMatrix::outputBuffer.
|
inherited |
Process parameters for operation.
Reimplemented from Python.Markopy.BaseCLI.
Definition at line 154 of file markopy.py.
References Python.CudaMarkopy.CudaMarkopyCLI.cli, and Python.Markopy.MarkopyCLI.cli.
|
inherited |
Do a random walk on this model.
Start from the starter node, on each node, invoke RandomNext using the random engine on current node, until terminator node is reached. If terminator node is reached before minimum length criateria is reached, ignore the last selection and re-invoke randomNext
If maximum length criteria is reached but final node is not, cut off the generation and proceed to the final node. This function takes Markov::Random::RandomEngine as a parameter to generate pseudo random numbers from
This library is shipped with two random engines, Marsaglia and Mersenne. While mersenne output is higher in entropy, most use cases don't really need super high entropy output, so Markov::Random::Marsaglia is preferable for better performance.
This function WILL NOT reallocate buffer. Make sure no out of bound writes are happening via maximum length criteria.
Example Use: Generate 10 lines, with 5 to 10 characters, and print the output. Use Marsaglia
randomEngine | Random Engine to use for the random walks. For examples, see Markov::Random::Mersenne and Markov::Random::Marsaglia |
minSetting | Minimum number of characters to generate |
maxSetting | Maximum number of character to generate |
buffer | buffer to write the result to |
Definition at line 86 of file model.h.
|
inherited |
Do a random walk on this model.
Start from the starter node, on each node, invoke RandomNext using the random engine on current node, until terminator node is reached. If terminator node is reached before minimum length criateria is reached, ignore the last selection and re-invoke randomNext
If maximum length criteria is reached but final node is not, cut off the generation and proceed to the final node. This function takes Markov::Random::RandomEngine as a parameter to generate pseudo random numbers from
This library is shipped with two random engines, Marsaglia and Mersenne. While mersenne output is higher in entropy, most use cases don't really need super high entropy output, so Markov::Random::Marsaglia is preferable for better performance.
This function WILL NOT reallocate buffer. Make sure no out of bound writes are happening via maximum length criteria.
Example Use: Generate 10 lines, with 5 to 10 characters, and print the output. Use Marsaglia
randomEngine | Random Engine to use for the random walks. For examples, see Markov::Random::Mersenne and Markov::Random::Marsaglia |
minSetting | Minimum number of characters to generate |
maxSetting | Maximum number of character to generate |
buffer | buffer to write the result to |
Definition at line 86 of file model.h.
|
inherited |
Do a random walk on this model.
Start from the starter node, on each node, invoke RandomNext using the random engine on current node, until terminator node is reached. If terminator node is reached before minimum length criateria is reached, ignore the last selection and re-invoke randomNext
If maximum length criteria is reached but final node is not, cut off the generation and proceed to the final node. This function takes Markov::Random::RandomEngine as a parameter to generate pseudo random numbers from
This library is shipped with two random engines, Marsaglia and Mersenne. While mersenne output is higher in entropy, most use cases don't really need super high entropy output, so Markov::Random::Marsaglia is preferable for better performance.
This function WILL NOT reallocate buffer. Make sure no out of bound writes are happening via maximum length criteria.
Example Use: Generate 10 lines, with 5 to 10 characters, and print the output. Use Marsaglia
randomEngine | Random Engine to use for the random walks. For examples, see Markov::Random::Mersenne and Markov::Random::Marsaglia |
minSetting | Minimum number of characters to generate |
maxSetting | Maximum number of character to generate |
buffer | buffer to write the result to |
Definition at line 86 of file model.h.
|
inherited |
Do a random walk on this model.
Start from the starter node, on each node, invoke RandomNext using the random engine on current node, until terminator node is reached. If terminator node is reached before minimum length criateria is reached, ignore the last selection and re-invoke randomNext
If maximum length criteria is reached but final node is not, cut off the generation and proceed to the final node. This function takes Markov::Random::RandomEngine as a parameter to generate pseudo random numbers from
This library is shipped with two random engines, Marsaglia and Mersenne. While mersenne output is higher in entropy, most use cases don't really need super high entropy output, so Markov::Random::Marsaglia is preferable for better performance.
This function WILL NOT reallocate buffer. Make sure no out of bound writes are happening via maximum length criteria.
Example Use: Generate 10 lines, with 5 to 10 characters, and print the output. Use Marsaglia
randomEngine | Random Engine to use for the random walks. For examples, see Markov::Random::Mersenne and Markov::Random::Marsaglia |
minSetting | Minimum number of characters to generate |
maxSetting | Maximum number of character to generate |
buffer | buffer to write the result to |
Definition at line 86 of file model.h.
|
inherited |
Export model to file.
filename | - Export filename. |
Definition at line 106 of file markovPasswords.cpp.
References Markov::Model< NodeStorageType >::Export().
|
inherited |
Export model to file.
filename | - Export filename. |
Definition at line 106 of file markovPasswords.cpp.
References Markov::Model< NodeStorageType >::Export().
|
inherited |
Export model to file.
filename | - Export filename. |
Definition at line 106 of file markovPasswords.cpp.
References Markov::Model< NodeStorageType >::Export().
|
inherited |
Export model to file.
filename | - Export filename. |
Definition at line 106 of file markovPasswords.cpp.
References Markov::Model< NodeStorageType >::Export().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Definition at line 158 of file markopy.py.
Referenced by Python.CudaMarkopy.CudaMarkopyCLI.help(), and Python.Markopy.MarkopyCLI.help().
|
inherited |
Train the model with the dataset file.
datasetFileName | - Ifstream* to the dataset. If null, use class member |
delimiter | - a character, same as the delimiter in dataset content |
threads | - number of OS threads to spawn |
Construct the matrix when done.
Definition at line 25 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), and Markov::API::MarkovPasswords::Train().
Referenced by Markov::Markopy::CUDA::BOOST_PYTHON_MODULE(), and Markov::Markopy::BOOST_PYTHON_MODULE().
|
inherited |
Train the model with the dataset file.
datasetFileName | - Ifstream* to the dataset. If null, use class member |
delimiter | - a character, same as the delimiter in dataset content |
threads | - number of OS threads to spawn |
Construct the matrix when done.
Definition at line 25 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), and Markov::API::MarkovPasswords::Train().
Referenced by Markov::Markopy::CUDA::BOOST_PYTHON_MODULE(), and Markov::Markopy::BOOST_PYTHON_MODULE().
|
inherited |
Train the model with the dataset file.
datasetFileName | - Ifstream* to the dataset. If null, use class member |
delimiter | - a character, same as the delimiter in dataset content |
threads | - number of OS threads to spawn |
Construct the matrix when done.
Definition at line 25 of file modelMatrix.cpp.
References Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), and Markov::API::MarkovPasswords::Train().
Referenced by Markov::Markopy::CUDA::BOOST_PYTHON_MODULE(), and Markov::Markopy::BOOST_PYTHON_MODULE().
|
inherited |
Train a model via CLI parameters.
model | Model instance |
dataset | filename for the dataset |
seperator | seperator used with the dataset |
output | output filename |
output_forced | force overwrite |
bulk | marks bulk operation with directories |
Definition at line 94 of file base.py.
References Python.CudaMarkopy.CudaMarkopyCLI.args, Python.Markopy.BaseCLI.args, Python.Markopy.MarkopyCLI.args, Python.Markopy.BaseCLI.check_corpus_path(), Python.Markopy.BaseCLI.check_export_path(), Python.Markopy.BaseCLI.export(), Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
Train a model via CLI parameters.
model | Model instance |
dataset | filename for the dataset |
seperator | seperator used with the dataset |
output | output filename |
output_forced | force overwrite |
bulk | marks bulk operation with directories |
Definition at line 94 of file base.py.
References Python.CudaMarkopy.CudaMarkopyCLI.args, Python.Markopy.BaseCLI.args, Python.Markopy.MarkopyCLI.args, Python.Markopy.BaseCLI.check_corpus_path(), Python.Markopy.BaseCLI.check_export_path(), Python.Markopy.BaseCLI.export(), Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
Train a model via CLI parameters.
model | Model instance |
dataset | filename for the dataset |
seperator | seperator used with the dataset |
output | output filename |
output_forced | force overwrite |
bulk | marks bulk operation with directories |
Definition at line 94 of file base.py.
References Python.CudaMarkopy.CudaMarkopyCLI.args, Python.Markopy.BaseCLI.args, Python.Markopy.MarkopyCLI.args, Python.Markopy.BaseCLI.check_corpus_path(), Python.Markopy.BaseCLI.check_export_path(), Python.Markopy.BaseCLI.export(), Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
Train a model via CLI parameters.
model | Model instance |
dataset | filename for the dataset |
seperator | seperator used with the dataset |
output | output filename |
output_forced | force overwrite |
bulk | marks bulk operation with directories |
Definition at line 94 of file base.py.
References Python.CudaMarkopy.CudaMarkopyCLI.args, Python.Markopy.BaseCLI.args, Python.Markopy.MarkopyCLI.args, Python.Markopy.BaseCLI.check_corpus_path(), Python.Markopy.BaseCLI.check_export_path(), Python.Markopy.BaseCLI.export(), Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
Train a model via CLI parameters.
model | Model instance |
dataset | filename for the dataset |
seperator | seperator used with the dataset |
output | output filename |
output_forced | force overwrite |
bulk | marks bulk operation with directories |
Definition at line 94 of file base.py.
References Python.CudaMarkopy.CudaMarkopyCLI.args, Python.Markopy.BaseCLI.args, Python.Markopy.MarkopyCLI.args, Python.Markopy.BaseCLI.check_corpus_path(), Python.Markopy.BaseCLI.check_export_path(), Python.Markopy.BaseCLI.export(), Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
Train a model via CLI parameters.
model | Model instance |
dataset | filename for the dataset |
seperator | seperator used with the dataset |
output | output filename |
output_forced | force overwrite |
bulk | marks bulk operation with directories |
Definition at line 94 of file base.py.
References Python.CudaMarkopy.CudaMarkopyCLI.args, Python.Markopy.BaseCLI.args, Python.Markopy.MarkopyCLI.args, Python.Markopy.BaseCLI.check_corpus_path(), Python.Markopy.BaseCLI.check_export_path(), Python.Markopy.BaseCLI.export(), Python.CudaMarkopy.CudaModelMatrixCLI.model, Python.Markopy.BaseCLI.model, Python.Markopy.ModelMatrixCLI.model, Python.Markopy.MarkovPasswordsCLI.model, and Markov::GUI::MarkovPasswordsGUI.model().
Referenced by Python.Markopy.BaseCLI.process().
|
inherited |
|
privateinherited |
A single thread invoked by the Train function.
listhandler | - Listhandler class to read corpus from |
delimiter | - a character, same as the delimiter in dataset content |
Definition at line 85 of file markovPasswords.cpp.
References Markov::Model< NodeStorageType >::AdjustEdge(), keepRunning, and Markov::API::Concurrency::ThreadSharedListHandler::next().
Referenced by Markov::API::MarkovPasswords::Train().
|
privateinherited |
Definition at line 135 of file cudaModelMatrix.h.
Referenced by Markov::API::CUDA::CUDAModelMatrix::FastRandomWalk().
Python.CudaMarkopy.CudaMarkopyCLI.args |
Definition at line 64 of file cudamarkopy.py.
Referenced by Python.CudaMarkopy.CudaModelMatrixCLI._generate(), Python.Markopy.BaseCLI._generate(), Python.Markopy.ModelMatrixCLI._generate(), Python.Markopy.MarkovPasswordsCLI._generate(), Python.Markopy.BaseCLI.generate(), Python.Markopy.MarkopyCLI.help(), Python.Markopy.BaseCLI.init_post_arguments(), Python.Markopy.MarkopyCLI.parse(), Python.CudaMarkopy.CudaMarkopyCLI.parse_fail(), Python.Markopy.BaseCLI.process(), and Python.Markopy.BaseCLI.train().
|
inherited |
Definition at line 73 of file cudammx.py.
Referenced by Python.CudaMarkopy.CudaModelMatrixCLI._generate().
Python.CudaMarkopy.CudaMarkopyCLI.cli |
Definition at line 101 of file cudamarkopy.py.
Referenced by Python.Markopy.MarkopyCLI.process().
|
privateinherited |
Definition at line 125 of file cudaModelMatrix.h.
Referenced by Markov::API::CUDA::CUDAModelMatrix::FastRandomWalk().
|
privateinherited |
Definition at line 131 of file cudaModelMatrix.h.
Referenced by Markov::API::CUDA::CUDAModelMatrix::FastRandomWalk(), and Markov::API::CUDA::CUDAModelMatrix::prepKernelMemoryChannel().
|
privateinherited |
Definition at line 132 of file cudaModelMatrix.h.
Referenced by Markov::API::CUDA::CUDAModelMatrix::FastRandomWalk(), and Markov::API::CUDA::CUDAModelMatrix::GatherAsyncKernelOutput().
|
privateinherited |
Definition at line 133 of file cudaModelMatrix.h.
Referenced by Markov::API::CUDA::CUDAModelMatrix::FastRandomWalk(), Markov::API::CUDA::CUDAModelMatrix::GatherAsyncKernelOutput(), and Markov::API::CUDA::CUDAModelMatrix::prepKernelMemoryChannel().
|
privateinherited |
Definition at line 139 of file cudaModelMatrix.h.
|
privateinherited |
Definition at line 126 of file cudaModelMatrix.h.
Referenced by Markov::API::CUDA::CUDAModelMatrix::FastRandomWalk().
|
privateinherited |
Definition at line 123 of file markovPasswords.h.
|
privateinherited |
VRAM Address pointer of edge matrix (from modelMatrix.h)
Definition at line 88 of file cudaModelMatrix.h.
|
privateinherited |
VRAM Address pointer of matrixIndex (from modelMatrix.h)
Definition at line 98 of file cudaModelMatrix.h.
|
privateinherited |
RandomWalk results in device.
Definition at line 108 of file cudaModelMatrix.h.
Referenced by Markov::API::CUDA::CUDAModelMatrix::prepKernelMemoryChannel().
|
privateinherited |
Definition at line 137 of file cudaModelMatrix.h.
Referenced by Markov::API::CUDA::CUDAModelMatrix::prepKernelMemoryChannel().
|
privateinherited |
VRAM Address pointer of total edge weights (from modelMatrix.h)
Definition at line 103 of file cudaModelMatrix.h.
|
privateinherited |
VRAM Address pointer of value matrix (from modelMatrix.h)
Definition at line 93 of file cudaModelMatrix.h.
|
protectedinherited |
2-D Character array for the edge Matrix (The characters of Nodes)
Definition at line 175 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), Markov::API::ModelMatrix::DumpJSON(), and Markov::API::ModelMatrix::FastRandomWalkThread().
|
protectedinherited |
2-D Character array for the edge Matrix (The characters of Nodes)
Definition at line 175 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), Markov::API::ModelMatrix::DumpJSON(), and Markov::API::ModelMatrix::FastRandomWalkThread().
|
protectedinherited |
2-D Character array for the edge Matrix (The characters of Nodes)
Definition at line 175 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), Markov::API::ModelMatrix::DumpJSON(), and Markov::API::ModelMatrix::FastRandomWalkThread().
|
privateinherited |
|
inherited |
Definition at line 38 of file mmx.py.
Referenced by Python.CudaMarkopy.CudaModelMatrixCLI._generate(), and Python.Markopy.ModelMatrixCLI._generate().
|
inherited |
Definition at line 38 of file mmx.py.
Referenced by Python.CudaMarkopy.CudaModelMatrixCLI._generate(), and Python.Markopy.ModelMatrixCLI._generate().
|
privateinherited |
Adding Edge matrix end-to-end and resize to 1-D array for better perfomance on traversing.
Definition at line 118 of file cudaModelMatrix.h.
Referenced by Markov::API::CUDA::CUDAModelMatrix::FlattenMatrix().
|
privateinherited |
Adding Value matrix end-to-end and resize to 1-D array for better perfomance on traversing.
Definition at line 123 of file cudaModelMatrix.h.
Referenced by Markov::API::CUDA::CUDAModelMatrix::FlattenMatrix().
|
privateinherited |
Definition at line 127 of file cudaModelMatrix.h.
Referenced by Markov::API::CUDA::CUDAModelMatrix::FastRandomWalk().
|
protectedinherited |
to hold the Matrix index (To hold the orders of 2-D arrays')
Definition at line 190 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), Markov::API::ModelMatrix::DumpJSON(), and Markov::API::ModelMatrix::FastRandomWalkThread().
|
protectedinherited |
to hold the Matrix index (To hold the orders of 2-D arrays')
Definition at line 190 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), Markov::API::ModelMatrix::DumpJSON(), and Markov::API::ModelMatrix::FastRandomWalkThread().
|
protectedinherited |
to hold the Matrix index (To hold the orders of 2-D arrays')
Definition at line 190 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), Markov::API::ModelMatrix::DumpJSON(), and Markov::API::ModelMatrix::FastRandomWalkThread().
|
protectedinherited |
to hold Matrix size
Definition at line 185 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), Markov::API::ModelMatrix::DumpJSON(), Markov::API::ModelMatrix::FastRandomWalkThread(), and Markov::API::CUDA::CUDAModelMatrix::FlattenMatrix().
|
protectedinherited |
to hold Matrix size
Definition at line 185 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), Markov::API::ModelMatrix::DumpJSON(), Markov::API::ModelMatrix::FastRandomWalkThread(), and Markov::API::CUDA::CUDAModelMatrix::FlattenMatrix().
|
protectedinherited |
to hold Matrix size
Definition at line 185 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), Markov::API::ModelMatrix::DumpJSON(), Markov::API::ModelMatrix::FastRandomWalkThread(), and Markov::API::CUDA::CUDAModelMatrix::FlattenMatrix().
|
inherited |
Definition at line 65 of file cudammx.py.
Referenced by Python.CudaMarkopy.CudaModelMatrixCLI._generate(), Python.Markopy.BaseCLI._generate(), Python.Markopy.ModelMatrixCLI._generate(), Python.Markopy.MarkovPasswordsCLI._generate(), Python.Markopy.BaseCLI.export(), Python.Markopy.BaseCLI.import_model(), and Python.Markopy.BaseCLI.train().
|
inherited |
Definition at line 40 of file base.py.
Referenced by Python.CudaMarkopy.CudaModelMatrixCLI._generate(), Python.Markopy.BaseCLI._generate(), Python.Markopy.ModelMatrixCLI._generate(), Python.Markopy.MarkovPasswordsCLI._generate(), Python.Markopy.BaseCLI.export(), Python.Markopy.BaseCLI.import_model(), and Python.Markopy.BaseCLI.train().
|
inherited |
Definition at line 30 of file mmx.py.
Referenced by Python.CudaMarkopy.CudaModelMatrixCLI._generate(), Python.Markopy.BaseCLI._generate(), Python.Markopy.ModelMatrixCLI._generate(), Python.Markopy.MarkovPasswordsCLI._generate(), Python.Markopy.BaseCLI.export(), Python.Markopy.BaseCLI.import_model(), and Python.Markopy.BaseCLI.train().
|
inherited |
Definition at line 29 of file mp.py.
Referenced by Python.CudaMarkopy.CudaModelMatrixCLI._generate(), Python.Markopy.BaseCLI._generate(), Python.Markopy.ModelMatrixCLI._generate(), Python.Markopy.MarkovPasswordsCLI._generate(), Python.Markopy.BaseCLI.export(), Python.Markopy.BaseCLI.import_model(), and Python.Markopy.BaseCLI.train().
|
privateinherited |
Dataset file input of our system
Definition at line 124 of file markovPasswords.h.
|
privateinherited |
|
privateinherited |
Definition at line 130 of file cudaModelMatrix.h.
Referenced by Markov::API::CUDA::CUDAModelMatrix::FastRandomWalk().
|
privateinherited |
RandomWalk results in host.
Definition at line 113 of file cudaModelMatrix.h.
Referenced by Markov::API::CUDA::CUDAModelMatrix::GatherAsyncKernelOutput(), and Markov::API::CUDA::CUDAModelMatrix::prepKernelMemoryChannel().
|
privateinherited |
File to save model of our system
Definition at line 125 of file markovPasswords.h.
|
inherited |
Definition at line 25 of file base.py.
Referenced by Python.CudaMarkopy.CudaMarkopyCLI.__init__(), Python.CudaMarkopy.CudaModelMatrixCLI.add_arguments(), Python.Markopy.BaseCLI.add_arguments(), Python.Markopy.AbstractGenerationModelCLI.add_arguments(), Python.Markopy.AbstractTrainingModelCLI.add_arguments(), Python.Markopy.MarkopyCLI.add_arguments(), Python.Markopy.ModelMatrixCLI.add_arguments(), Python.CudaMarkopy.CudaMarkopyCLI.help(), and Python.Markopy.MarkopyCLI.help().
|
inherited |
Definition at line 25 of file base.py.
Referenced by Python.CudaMarkopy.CudaMarkopyCLI.__init__(), Python.CudaMarkopy.CudaModelMatrixCLI.add_arguments(), Python.Markopy.BaseCLI.add_arguments(), Python.Markopy.AbstractGenerationModelCLI.add_arguments(), Python.Markopy.AbstractTrainingModelCLI.add_arguments(), Python.Markopy.MarkopyCLI.add_arguments(), Python.Markopy.ModelMatrixCLI.add_arguments(), Python.CudaMarkopy.CudaMarkopyCLI.help(), and Python.Markopy.MarkopyCLI.help().
|
inherited |
Definition at line 25 of file base.py.
Referenced by Python.CudaMarkopy.CudaMarkopyCLI.__init__(), Python.CudaMarkopy.CudaModelMatrixCLI.add_arguments(), Python.Markopy.BaseCLI.add_arguments(), Python.Markopy.AbstractGenerationModelCLI.add_arguments(), Python.Markopy.AbstractTrainingModelCLI.add_arguments(), Python.Markopy.MarkopyCLI.add_arguments(), Python.Markopy.ModelMatrixCLI.add_arguments(), Python.CudaMarkopy.CudaMarkopyCLI.help(), and Python.Markopy.MarkopyCLI.help().
|
inherited |
Definition at line 25 of file base.py.
Referenced by Python.CudaMarkopy.CudaMarkopyCLI.__init__(), Python.CudaMarkopy.CudaModelMatrixCLI.add_arguments(), Python.Markopy.BaseCLI.add_arguments(), Python.Markopy.AbstractGenerationModelCLI.add_arguments(), Python.Markopy.AbstractTrainingModelCLI.add_arguments(), Python.Markopy.MarkopyCLI.add_arguments(), Python.Markopy.ModelMatrixCLI.add_arguments(), Python.CudaMarkopy.CudaMarkopyCLI.help(), and Python.Markopy.MarkopyCLI.help().
|
inherited |
Definition at line 25 of file base.py.
Referenced by Python.CudaMarkopy.CudaMarkopyCLI.__init__(), Python.CudaMarkopy.CudaModelMatrixCLI.add_arguments(), Python.Markopy.BaseCLI.add_arguments(), Python.Markopy.AbstractGenerationModelCLI.add_arguments(), Python.Markopy.AbstractTrainingModelCLI.add_arguments(), Python.Markopy.MarkopyCLI.add_arguments(), Python.Markopy.ModelMatrixCLI.add_arguments(), Python.CudaMarkopy.CudaMarkopyCLI.help(), and Python.Markopy.MarkopyCLI.help().
|
inherited |
Definition at line 25 of file base.py.
Referenced by Python.CudaMarkopy.CudaMarkopyCLI.__init__(), Python.CudaMarkopy.CudaModelMatrixCLI.add_arguments(), Python.Markopy.BaseCLI.add_arguments(), Python.Markopy.AbstractGenerationModelCLI.add_arguments(), Python.Markopy.AbstractTrainingModelCLI.add_arguments(), Python.Markopy.MarkopyCLI.add_arguments(), Python.Markopy.ModelMatrixCLI.add_arguments(), Python.CudaMarkopy.CudaMarkopyCLI.help(), and Python.Markopy.MarkopyCLI.help().
|
inherited |
Definition at line 39 of file base.py.
Referenced by Python.Markopy.BaseCLI.help(), and Python.Markopy.MarkopyCLI.help().
|
inherited |
Definition at line 39 of file base.py.
Referenced by Python.Markopy.BaseCLI.help(), and Python.Markopy.MarkopyCLI.help().
|
inherited |
Definition at line 39 of file base.py.
Referenced by Python.Markopy.BaseCLI.help(), and Python.Markopy.MarkopyCLI.help().
|
inherited |
Definition at line 39 of file base.py.
Referenced by Python.Markopy.BaseCLI.help(), and Python.Markopy.MarkopyCLI.help().
|
inherited |
Definition at line 39 of file base.py.
Referenced by Python.Markopy.BaseCLI.help(), and Python.Markopy.MarkopyCLI.help().
|
inherited |
Definition at line 39 of file base.py.
Referenced by Python.Markopy.BaseCLI.help(), and Python.Markopy.MarkopyCLI.help().
|
protectedinherited |
True when matrix is constructed. False if not.
Definition at line 200 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), and Markov::API::ModelMatrix::ModelMatrix().
|
protectedinherited |
True when matrix is constructed. False if not.
Definition at line 200 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), and Markov::API::ModelMatrix::ModelMatrix().
|
protectedinherited |
True when matrix is constructed. False if not.
Definition at line 200 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), and Markov::API::ModelMatrix::ModelMatrix().
|
privateinherited |
|
protectedinherited |
Array of the Total Edge Weights.
Definition at line 195 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), and Markov::API::ModelMatrix::FastRandomWalkThread().
|
protectedinherited |
Array of the Total Edge Weights.
Definition at line 195 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), and Markov::API::ModelMatrix::FastRandomWalkThread().
|
protectedinherited |
Array of the Total Edge Weights.
Definition at line 195 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), and Markov::API::ModelMatrix::FastRandomWalkThread().
|
privateinherited |
Definition at line 129 of file cudaModelMatrix.h.
Referenced by Markov::API::CUDA::CUDAModelMatrix::FastRandomWalk().
|
privateinherited |
Definition at line 128 of file cudaModelMatrix.h.
Referenced by Markov::API::CUDA::CUDAModelMatrix::FastRandomWalk().
|
protectedinherited |
2-d Integer array for the value Matrix (For the weights of Edges)
Definition at line 180 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), Markov::API::ModelMatrix::DumpJSON(), and Markov::API::ModelMatrix::FastRandomWalkThread().
|
protectedinherited |
2-d Integer array for the value Matrix (For the weights of Edges)
Definition at line 180 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), Markov::API::ModelMatrix::DumpJSON(), and Markov::API::ModelMatrix::FastRandomWalkThread().
|
protectedinherited |
2-d Integer array for the value Matrix (For the weights of Edges)
Definition at line 180 of file modelMatrix.h.
Referenced by Markov::API::ModelMatrix::ConstructMatrix(), Markov::API::ModelMatrix::DeallocateMatrix(), Markov::API::ModelMatrix::DumpJSON(), and Markov::API::ModelMatrix::FastRandomWalkThread().