meshi.sequences.aligner
Class StructureBasedMatrix

java.lang.Object
  extended by meshi.sequences.aligner.StructureBasedMatrix
All Implemented Interfaces:
CellScorer

public class StructureBasedMatrix
extends java.lang.Object
implements CellScorer


Field Summary
 double gapPenalty
           
 double[][] scores
           
 
Constructor Summary
StructureBasedMatrix(double gapPenalty, double[][] scores)
           
 
Method Summary
 double getScore(Cell cell)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gapPenalty

public final double gapPenalty

scores

public final double[][] scores
Constructor Detail

StructureBasedMatrix

public StructureBasedMatrix(double gapPenalty,
                            double[][] scores)
Method Detail

getScore

public double getScore(Cell cell)
Specified by:
getScore in interface CellScorer