source: trunk/autoquest-plugin-guitar/src/main/java/de/ugoe/cs/autoquest/plugin/alignment/commands/CMDbinaryAlignment.java @ 1304

Last change on this file since 1304 was 1304, checked in by rkrimmel, 11 years ago

Resolved SVN conflicts

  • Property svn:mime-type set to text/plain
File size: 2.0 KB
Line 
1//   Copyright 2012 Georg-August-Universität Göttingen, Germany
2//
3//   Licensed under the Apache License, Version 2.0 (the "License");
4//   you may not use this file except in compliance with the License.
5//   You may obtain a copy of the License at
6//
7//       http://www.apache.org/licenses/LICENSE-2.0
8//
9//   Unless required by applicable law or agreed to in writing, software
10//   distributed under the License is distributed on an "AS IS" BASIS,
11//   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12//   See the License for the specific language governing permissions and
13//   limitations under the License.
14
15package de.ugoe.cs.autoquest.plugin.alignment.commands;
16
17import java.io.File;
18import java.io.FilenameFilter;
19import java.util.Collection;
20import java.util.LinkedList;
21import java.util.List;
22import java.util.logging.Level;
23
24import de.ugoe.cs.autoquest.CommandHelpers;
25import de.ugoe.cs.autoquest.eventcore.Event;
26import de.ugoe.cs.util.console.Command;
27import de.ugoe.cs.util.console.Console;
28import de.ugoe.cs.util.console.GlobalDataContainer;
29
30/**
31 * <p>
32 * Command to generate a binary alignment of two sequences
33 * </p>
34 *
35 * @author Steffen Herbold
36 * @version 1.0
37 */
38public class CMDbinaryAligment implements Command {
39
40        /*
41         * (non-Javadoc)
42         *
43         * @see de.ugoe.cs.util.console.Command#run(java.util.List)
44         */
45        @Override
46        public void run(List<Object> parameters) {
47                String sequencesName;
48                String algorithm;
49                try {
50                        sequencesName = (String) parameters.get(0);
51                        if (parameters.size() > 1) {
52                                algorithm = (String) parameters.get(1);
53                        }
54                } catch (Exception e) {
55                        throw new IllegalArgumentException();
56                }
57
58               
59                Collection<List<Event>> sequences = new LinkedList<List<Event>>();
60               
61
62        }
63
64        /*
65         * (non-Javadoc)
66         *
67         * @see de.ugoe.cs.util.console.Command#help()
68         */
69        @Override
70        public String help() {
71                return "binaryAlignment <sequencesName> {<algorithm>}";
72        }
73
74}
Note: See TracBrowser for help on using the repository browser.