/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
import jalview.analysis.scoremodels.PairwiseSeqScoreModel;
import jalview.api.analysis.ScoreModelI;
-public class ScoreMatrix extends PairwiseSeqScoreModel implements ScoreModelI
+public class ScoreMatrix extends PairwiseSeqScoreModel implements
+ ScoreModelI
{
String name;
-
+
@Override
public String getName()
{
* 0 for Protein Score matrix. 1 for dna score matrix
*/
int type;
+
/**
*
- * @param name Unique, human readable name for the matrix
- * @param matrix Pairwise scores indexed according to appropriate symbol alphabet
- * @param type 0 for Protein, 1 for NA
+ * @param name
+ * Unique, human readable name for the matrix
+ * @param matrix
+ * Pairwise scores indexed according to appropriate symbol alphabet
+ * @param type
+ * 0 for Protein, 1 for NA
*/
ScoreMatrix(String name, int[][] matrix, int type)
{
{
return type == 1;
}
+
@Override
public boolean isProtein()
{