|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.biojava3.alignment.SimpleGapPenalty
public class SimpleGapPenalty
Implements a data structure for the gap penalties used during a sequence alignment routine.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.biojava3.alignment.template.GapPenalty |
|---|
GapPenalty.Type |
| Constructor Summary | |
|---|---|
SimpleGapPenalty()
Creates a new set of gap penalties using the defaults. |
|
SimpleGapPenalty(short gop,
short gep)
Creates a new set of gap penalties. |
|
| Method Summary | |
|---|---|
short |
getExtensionPenalty()
Returns penalty given when an already open gap elongates by a single element |
short |
getOpenPenalty()
Returns penalty given when a deletion or insertion gap first opens |
GapPenalty.Type |
getType()
Returns GapPenalty.Type stored. |
static void |
setDefaultExtensionPenalty(short gep)
Sets the default gap extension penalty. |
static void |
setDefaultOpenPenalty(short gop)
Sets the default gap open penalty. |
void |
setExtensionPenalty(short gep)
Sets penalty given when an already open gap elongates by a single element |
void |
setOpenPenalty(short gop)
Sets penalty given when a deletion or insertion gap first opens |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleGapPenalty()
public SimpleGapPenalty(short gop,
short gep)
gop - the gap open penaltygep - the gap extension penalty| Method Detail |
|---|
public static void setDefaultExtensionPenalty(short gep)
gep - the default gap extension penaltypublic static void setDefaultOpenPenalty(short gop)
gop - the default gap open penaltypublic short getExtensionPenalty()
GapPenalty
getExtensionPenalty in interface GapPenaltypublic short getOpenPenalty()
GapPenalty
getOpenPenalty in interface GapPenaltypublic GapPenalty.Type getType()
GapPenaltyGapPenalty.Type stored.
getType in interface GapPenaltypublic void setExtensionPenalty(short gep)
GapPenalty
setExtensionPenalty in interface GapPenaltygep - gap extension penaltypublic void setOpenPenalty(short gop)
GapPenalty
setOpenPenalty in interface GapPenaltygop - gap open penalty
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||