source: branches/ralph/src/main/java/de/ugoe/cs/autoquest/tasktrees/alignment/algorithms/AlignmentAlgorithmFactory.java @ 1586

Last change on this file since 1586 was 1586, checked in by rkrimmel, 10 years ago

Adding simple smith waterman and changing alignment algorithm creation to factory pattern

File size: 365 bytes
Line 
1package de.ugoe.cs.autoquest.tasktrees.alignment.algorithms;
2
3import de.ugoe.cs.autoquest.tasktrees.alignment.matrix.SubstitutionMatrix;
4
5public class AlignmentAlgorithmFactory {
6       
7       
8        public static AlignmentAlgorithm create(int[] input1, int[] input2, SubstitutionMatrix submat,float threshold) {
9               
10                return new SmithWaterman(input1,input2,submat,threshold);
11        }
12}
Note: See TracBrowser for help on using the repository browser.