|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jstacs.algorithms.Alignment.StringAlignment
public static class Alignment.StringAlignment
Class for the representation of an alignment of two strings. It contains
the two strings that were aligned and expanded by gap-symbols, and the
edit-costs according to the employed Alignment.Costs instance.
| Constructor Summary | |
|---|---|
protected |
Alignment.StringAlignment(String r1,
String r2,
double cost)
Creates the instance for the two (extended) strings and the edit-costs. |
| Method Summary | |
|---|---|
double |
getCost()
Returns the costs. |
String |
getFirst()
Returns the first string. |
String |
getSecond()
Returns the second string. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Alignment.StringAlignment(String r1,
String r2,
double cost)
r1 - the first stringr2 - the second stringcost - the edit-costs| Method Detail |
|---|
public double getCost()
public String getFirst()
public String getSecond()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||