edu.isi.pegasus.planner.visualize.spaceusage
Interface Plot

All Known Implementing Classes:
Ploticus

public interface Plot

A plot interface that allows us to plot the SpaceUsage in different formats.

Version:
$Revision: 2563 $
Author:
Karan Vahi

Field Summary
static String VERSION
          The version of this API
 
Method Summary
 void initialize(String directory, String basename, boolean useStatInfo)
          Initializer method.
 List plot(SpaceUsage su, char u, String timeUnits)
          Plot out the space usage.
 

Field Detail

VERSION

static final String VERSION
The version of this API

See Also:
Constant Field Values
Method Detail

initialize

void initialize(String directory,
                String basename,
                boolean useStatInfo)
Initializer method.

Parameters:
directory - the directory where the plots need to be generated.
basename - the basename for the files that are generated.
useStatInfo - boolean indicating whether to use stat info or not.

plot

List plot(SpaceUsage su,
          char u,
          String timeUnits)
          throws IOException
Plot out the space usage.

Parameters:
su - the SpaceUsage.
u - the size unit.
timeUnits - the time unit.
Returns:
List of file pathnames for the files that are written out.
Throws:
IOException - in case of unable to write to the file.


Copyright © 2011 The University of Southern California. All Rights Reserved.