at.tuwien.ifs.somtoolbox.apps.analysis
Class PLOutputSpaceAnalyser

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.apps.analysis.PLOutputSpaceAnalyser
All Implemented Interfaces:
PLAnalyser

public class PLOutputSpaceAnalyser
extends Object
implements PLAnalyser

Version:
$Id: PLOutputSpaceAnalyser.java 3587 2010-05-21 10:35:33Z mayer $
Author:
Jakob Frank

Field Summary
private  PrintStream histogram
           
private  boolean initialised
           
private  Layer som
           
private  PrintStream stats
           
 
Constructor Summary
PLOutputSpaceAnalyser()
           
 
Method Summary
 void analyse(String plName, List<String> playList)
          Analyze the playlist
 void finish()
          Prepare to exit, close streams, ...
 void init(PlaylistAnalysis parent)
          Initialize the Analyzer.
private  void printHistogram(String plName, double[] dists)
           
private  void printPLStats(String plName, double[] dists)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

som

private Layer som

stats

private PrintStream stats

histogram

private PrintStream histogram

initialised

private boolean initialised
Constructor Detail

PLOutputSpaceAnalyser

public PLOutputSpaceAnalyser()
Method Detail

init

public void init(PlaylistAnalysis parent)
Description copied from interface: PLAnalyser
Initialize the Analyzer. Load required data, ...

Specified by:
init in interface PLAnalyser
Parameters:
parent - a PlaylistAnalysis

analyse

public void analyse(String plName,
                    List<String> playList)
Description copied from interface: PLAnalyser
Analyze the playlist

Specified by:
analyse in interface PLAnalyser
Parameters:
plName - Name of the Playlist
playList - Content of the playlist (entries)

printPLStats

private void printPLStats(String plName,
                          double[] dists)

printHistogram

private void printHistogram(String plName,
                            double[] dists)

finish

public void finish()
Description copied from interface: PLAnalyser
Prepare to exit, close streams, ...

Specified by:
finish in interface PLAnalyser