Last change
on this file since 1118 was
1118,
checked in by pharms, 11 years ago
|
- added possibility to perform effective trie processing
- removed bug that happens, if a trained sequences was shorter than the provided max order
|
File size:
999 bytes
|
Rev | Line | |
---|
[1118] | 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 | |
---|
| 15 | package de.ugoe.cs.autoquest.usageprofiles; |
---|
| 16 | |
---|
| 17 | import java.util.List; |
---|
| 18 | |
---|
| 19 | /** |
---|
| 20 | * <p> |
---|
| 21 | * TODO comment |
---|
| 22 | * </p> |
---|
| 23 | * |
---|
| 24 | * @author Patrick Harms |
---|
| 25 | */ |
---|
| 26 | public interface TrieProcessor<T> { |
---|
| 27 | |
---|
| 28 | /** |
---|
| 29 | * |
---|
| 30 | */ |
---|
| 31 | public enum Result { |
---|
| 32 | CONTINUE, SKIP_NODE, BREAK |
---|
| 33 | } |
---|
| 34 | |
---|
| 35 | /** |
---|
| 36 | * |
---|
| 37 | */ |
---|
| 38 | public Result process(List<T> sequence, int count); |
---|
| 39 | |
---|
| 40 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.