JAligner

jaligner.matrix
Class MatrixGenerator

java.lang.Object
  extended byjaligner.matrix.MatrixGenerator

public final class MatrixGenerator
extends java.lang.Object

A utility class to generate a scoring matrix from a fixed match and mismatch scoring scheme.

Author:
Ahmed Moustafa (ahmed@users.sf.net)

Constructor Summary
MatrixGenerator()
           
 
Method Summary
static Matrix generate(float match, float mismatch)
          Returns scoring matrix from a fixed match/mismatch scoring scheme.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatrixGenerator

public MatrixGenerator()
Method Detail

generate

public static Matrix generate(float match,
                              float mismatch)
Returns scoring matrix from a fixed match/mismatch scoring scheme.

Parameters:
match - match score
mismatch - mistmatch score
Returns:
scoring matrix

JAligner

Ahmed Moustafa (ahmed@users.sf.net)SourceForge.net
The source code of JAligner is licensed under The GNU General Public License (GPL)