at.tuwien.ifs.somtoolbox.apps.analysis
Class PlaylistAnalysis
java.lang.Object
at.tuwien.ifs.somtoolbox.apps.analysis.PlaylistAnalysis
public class PlaylistAnalysis
- extends Object
- Version:
- $Id: PlaylistAnalysis.java 3589 2010-05-21 10:42:01Z mayer $
- Author:
- Jakob Frank
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPTIONS
public static final com.martiansoftware.jsap.Parameter[] OPTIONS
inputData
private InputData inputData
outBasename
private String outBasename
outDir
private File outDir
som
private GrowingSOM som
analysers
private List<PLAnalyser> analysers
headerString
private String headerString
map
private MapPNode map
PlaylistAnalysis
public PlaylistAnalysis()
analyse
private void analyse(File file,
boolean rawVal)
throws IOException,
MetricException
- Throws:
IOException
MetricException
analyse
private void analyse(File[] listFiles,
boolean rawVal)
throws IOException,
MetricException
- Throws:
IOException
MetricException
analyseDir
private void analyseDir(File file,
boolean rawVal)
throws IOException,
MetricException
- Throws:
IOException
MetricException
getInputData
public InputData getInputData()
getOutBasename
public String getOutBasename()
getOutDir
public File getOutDir()
getSom
public GrowingSOM getSom()
load
private void load(com.martiansoftware.jsap.JSAPResult params)
throws Exception
- Throws:
Exception
getMap
public MapPNode getMap()
shutdown
private void shutdown()
printHeader
public void printHeader(PrintStream ps)
loadPlaylist
private static List<String> loadPlaylist(File playlist)
throws FileNotFoundException,
IOException
- Parameters:
playlist
- Playlist to analize
- Returns:
- List of entries in the Playlist.
- Throws:
FileNotFoundException
- if the file does not exist, is a directory rather than a regular file, or for some
other reason cannot be opened for reading.
IOException
- If an I/O error occurs
main
public static void main(String[] _args)
- Parameters:
_args
- Command Line parameters.
registerAnalyzer
private void registerAnalyzer(PLAnalyser inputSpaceAnalyser)