| Constructor and Description |
|---|
SequenceMatch(String match,
Configuration configuration,
int start_index,
int end_index)
Create a new
SequenceMatch |
| Modifier and Type | Method and Description |
|---|---|
double |
calculateEntropy()
Calculate the entropy for the current match
|
String |
getDetails()
Returns details about this match in the form of a String to be printed directly
|
char |
getFirstCharacter() |
getEndIndex, getLength, getStartIndex, getToken, log2, nCkpublic SequenceMatch(String match, Configuration configuration, int start_index, int end_index)
SequenceMatchmatch - the String we are creating the SequenceMatch from.configuration - the Configuration object.start_index - the start index in the password for this match.end_index - the end index in the password for this match.public double calculateEntropy()
Matchdouble representing the entropy of the current Match.public char getFirstCharacter()
char of the sequence.public String getDetails()
MatchgetDetails in interface MatchgetDetails in class BaseMatchMatch in printable String format.Copyright © 2016. All rights reserved.