* along with Jalview. If not, see <http://www.gnu.org/licenses/>.
* The Jalview Authors are detailed in the 'AUTHORS' file.
*/
-package jalview.schemes;
+package jalview.analysis.scoremodels;
-import jalview.analysis.scoremodels.PairwiseSeqScoreModel;
import jalview.api.analysis.ScoreModelI;
+import jalview.schemes.ResidueProperties;
public class ScoreMatrix extends PairwiseSeqScoreModel implements
ScoreModelI
* @param type
* 0 for Protein, 1 for NA
*/
- ScoreMatrix(String name, int[][] matrix, int type)
+ public ScoreMatrix(String name, int[][] matrix, int type)
{
this.matrix = matrix;
this.type = type;
return getPairwiseScore(A1.charAt(0), A2.charAt(0));
}
+ @Override
public int getPairwiseScore(char c, char d)
{
int pog = 0;
/**
* pretty print the matrix
*/
+ @Override
public String toString()
{
return outputMatrix(false);