|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectBioinfoFieldExtractor.GlobalAlignment
public class GlobalAlignment
This class provides functionality for global alignment for 2 messages sequences based on the NeedlemanWunsch algorithm.
| Constructor Summary | |
|---|---|
GlobalAlignment()
|
|
| Method Summary | |
|---|---|
NeedlemanWunschHolder |
alignGlobally(java.util.ArrayList<java.lang.Integer> msg1,
java.util.ArrayList<java.lang.Integer> msg2)
|
NeedlemanWunschHolder |
alignGlobally(java.util.ArrayList<java.lang.Integer> msg1,
java.util.ArrayList<java.lang.Integer> msg2,
float[][] similarityMatrix)
Converts the strings into a byte array and calls the main alignGlobaly method. |
NeedlemanWunschHolder |
alignGlobally(int[] msg1,
int[] msg2,
float[][] similarityMtx)
Performs NeedlemanWunsch global alignment algorithm to calculate similarity between message sequences. |
int[] |
convertToDec(java.lang.String msg)
Converts string to an array of dec representations of the chars |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlobalAlignment()
| Method Detail |
|---|
public NeedlemanWunschHolder alignGlobally(java.util.ArrayList<java.lang.Integer> msg1,
java.util.ArrayList<java.lang.Integer> msg2)
public NeedlemanWunschHolder alignGlobally(java.util.ArrayList<java.lang.Integer> msg1,
java.util.ArrayList<java.lang.Integer> msg2,
float[][] similarityMatrix)
public NeedlemanWunschHolder alignGlobally(int[] msg1,
int[] msg2,
float[][] similarityMtx)
msg1 - The first messagemsg2 - The second messagesimilarityMtx - similarity matrix
public int[] convertToDec(java.lang.String msg)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||