|
||||||||||
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 String
s. It
contains the two String
s 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) String s 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)
String
s and the
edit-costs.
r1
- the first String
r2
- the second String
cost
- the edit-costsMethod Detail |
---|
public double getCost()
public String getFirst()
String
.
String
public String getSecond()
String
.
String
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |