|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.strbio.mol.lib.GapModelAdapter
public abstract class GapModelAdapter
Default implementation of GapModel.
Version 1.1, 7/1/99 - conforms to GapModel 1.1 interface Version 1.0, 2/25/99 - original version
Constructor Summary | |
---|---|
GapModelAdapter()
|
Method Summary | |
---|---|
void |
calculateFirstPosition(float[][] mat,
int[][] nextX,
int[][] nextY,
Polymer seq,
Polymer fold)
|
void |
dealWithEndPenalties(float[][] mat,
Polymer seq,
Polymer fold)
This fills in the matrix with impossible penalties, if we want to disallow gaps at the ends. |
void |
describe(Printf outfile)
the default function describes only ends. |
void |
describeEnds(Printf outfile)
describe how ends are treated. |
void |
finished(Polymer seq,
Polymer fold)
Default is no finish. |
double[] |
getOptimizableParameters()
by default, nothing is optimizable. |
void |
printParameters(Printf outfile)
default printParameters function does nothing. |
void |
processGlobalMatrix(float[][] mat,
int[][] nextX,
int[][] nextY,
Polymer seq,
Polymer fold)
This function will handle any gap model, but very slowly. |
void |
setOptimizableParameters(double[] x)
by default, nothing is optimizable. |
void |
setup(Polymer seq,
Polymer fold)
Default is no setup. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.strbio.mol.lib.GapModel |
---|
gapCostDeletion, gapCostInsertion, isEndGapFoldOK, isEndGapSeqOK |
Constructor Detail |
---|
public GapModelAdapter()
Method Detail |
---|
public void dealWithEndPenalties(float[][] mat, Polymer seq, Polymer fold)
public void calculateFirstPosition(float[][] mat, int[][] nextX, int[][] nextY, Polymer seq, Polymer fold)
public void processGlobalMatrix(float[][] mat, int[][] nextX, int[][] nextY, Polymer seq, Polymer fold)
processGlobalMatrix
in interface GapModel
public void setup(Polymer seq, Polymer fold)
setup
in interface GapModel
public void finished(Polymer seq, Polymer fold)
finished
in interface GapModel
public void describeEnds(Printf outfile)
public void describe(Printf outfile)
describe
in interface Description
public void printParameters(Printf outfile)
printParameters
in interface GapModel
public double[] getOptimizableParameters()
getOptimizableParameters
in interface GapModel
public void setOptimizableParameters(double[] x)
setOptimizableParameters
in interface GapModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |