Last change
on this file since 5 was
4,
checked in by sherbold, 10 years ago
|
|
-
Property svn:mime-type set to
text/plain
|
File size:
729 bytes
|
Line | |
---|
1 | package de.ugoe.cs.cpdp.loader;
|
---|
2 |
|
---|
3 | import java.io.File;
|
---|
4 |
|
---|
5 | import weka.core.Instances;
|
---|
6 |
|
---|
7 | /**
|
---|
8 | * Interface for version loaders, i.e., loading of a set of instances from a
|
---|
9 | * file
|
---|
10 | *
|
---|
11 | * @author Steffen Herbold
|
---|
12 | */
|
---|
13 | public interface SingleVersionLoader {
|
---|
14 |
|
---|
15 | /**
|
---|
16 | * Loads the instances.
|
---|
17 | *
|
---|
18 | * @param file
|
---|
19 | * handle to the file of the instances
|
---|
20 | * @return the instances
|
---|
21 | */
|
---|
22 | Instances load(File file);
|
---|
23 |
|
---|
24 | /**
|
---|
25 | * Defines a filter for the files to be loaded; only strings that end with
|
---|
26 | * the filter are considered.
|
---|
27 | *
|
---|
28 | * @param filename
|
---|
29 | * string defining the filename filter
|
---|
30 | * @return true if a filename shall be considered
|
---|
31 | */
|
---|
32 | boolean filenameFilter(String endsWith);
|
---|
33 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.