| Constructor and Description |
|---|
SpacialMatch(String match,
Configuration configuration,
int start_index,
int end_index,
AdjacencyGraph adjacencyGraph,
int turns,
int shiftedNumber)
Create a new
SpacialMatch which is a sequence of characters
following themselves on the keyboard/keypad |
| Modifier and Type | Method and Description |
|---|---|
AdjacencyGraph |
getAdjacencyGraph() |
String |
getDetails()
Returns details about this match in the form of a String to be printed directly
|
int |
getShiftedNumber() |
int |
getTurns() |
calculateEntropy, getEndIndex, getLength, getStartIndex, getToken, log2, nCk, setEntropypublic SpacialMatch(String match, Configuration configuration, int start_index, int end_index, AdjacencyGraph adjacencyGraph, int turns, int shiftedNumber)
SpacialMatch which is a sequence of characters
following themselves on the keyboard/keypadmatch - the part of the password that was matched.configuration - the Configuration object.start_index - the starting index of this SpacialMatch.end_index - the ending index of this SpacialMatch.adjacencyGraph - the graph used for this SpacialMatch.turns - the number of turns in this SpacialMatch.shiftedNumber - the number of shifts in this SpacialMatch.public AdjacencyGraph getAdjacencyGraph()
AdjacencyGraph used in this SpacialMatch.public int getTurns()
public int getShiftedNumber()
public String getDetails()
MatchgetDetails in interface MatchgetDetails in class BaseMatchMatch in printable String format.Copyright © 2017. All rights reserved.