|
||||||||||
| 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)
Strings and the
edit-costs.
r1 - the first Stringr2 - the second Stringcost - the edit-costs| Method Detail |
|---|
public double getCost()
public String getFirst()
String.
Stringpublic String getSecond()
String.
Stringpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||