PerfExplorer 2.0

edu.uoregon.tau.perfexplorer.glue
Class AbstractPerformanceOperation

Object
  extended by AbstractPerformanceOperation
All Implemented Interfaces:
PerformanceAnalysisOperation, Serializable
Direct Known Subclasses:
BasicStatisticsOperation, BuildMessageHeatMap, ClusterOperation, CopyOperation, CorrelateEventsWithMetadata, CQoSClassifierOperation, DefaultOperation, DeriveMetricEquation, DeriveMetricOperation, DeriveMetricsFileOperation, DifferenceOperation, DrawGraph, DrawMetadataGraph, ExtractChildrenOperation, ExtractEventOperation, ExtractMetricOperation, ExtractPhasesOperation, ExtractRankOperation, ExtractUserEventOperation, LinearOptimizerOperation, LinearRegressionOperation, LoadImbalanceOperation, LogarithmicOperation, MergeTrialsOperation, NaiveBayesOperation, NormalizeOperation, PCAOperation, SaveResultOperation, ScalabilityOperation, ScaleMetricOperation, SmartKMeansOperation, SplitCommunicationComputationOperation, SplitTrialClusters, SplitTrialPhasesOperation, TopXEvents

public abstract class AbstractPerformanceOperation
extends Object
implements PerformanceAnalysisOperation, Serializable

The AbstractPerformanceOperation class is used as an abstract implementation of the PerformanceAnalysisOperation interface. This class has all the member data fields for the plethora of anticipated subclasses.

CVS $Id: AbstractPerformanceOperation.java,v 1.7 2009/04/09 00:23:51 khuck Exp $

Since:
2.0
Version:
2.0
Author:
Kevin Huck
See Also:
Serialized Form

Method Summary
 void addInput(PerformanceResult input)
          Adds an input PerformanceResult for the analysis operation.
 void addInput(Trial trial)
           
 Long getId()
           
 List<PerformanceResult> getInputs()
          Returns the List of PerformanceResult inputs for the analysis operation.
 PerformanceResult getOutputAtIndex(int index)
          Returns a particular PerformanceResult object from the list of PerfomanceResult output.
 List<PerformanceResult> getOutputs()
          Returns a List of PerformanceResult objects, the output from the analysis operation.
 void reset()
          Resets the analysis operation to it's initial state.
 void setId(Long id)
           
 void setInput(PerformanceResult input)
          Sets the input PerformanceResult for the analysis operation.
 void setInput(Trial trial)
           
 void setInputs(List<PerformanceResult> inputs)
          Sets a List of input PerformanceResults for the analysis operation.
 void setInputsTrials(List<Trial> trials)
           
 void setOutputs(List<PerformanceResult> outputs)
          Sets the List of output PerformanceResult objects.
 String toString()
          Returns a printable string of this analysis operation.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface PerformanceAnalysisOperation
processData
 

Method Detail

addInput

public void addInput(PerformanceResult input)
Description copied from interface: PerformanceAnalysisOperation
Adds an input PerformanceResult for the analysis operation.

Specified by:
addInput in interface PerformanceAnalysisOperation
Parameters:
input - A PerformanceResult to be added to the list of PerformanceResults used as input for this operation.
See Also:
PerformanceResult

addInput

public void addInput(Trial trial)

getId

public Long getId()

getInputs

public List<PerformanceResult> getInputs()
Description copied from interface: PerformanceAnalysisOperation
Returns the List of PerformanceResult inputs for the analysis operation.

Specified by:
getInputs in interface PerformanceAnalysisOperation
Returns:
the List of inputs
See Also:
PerformanceResult, List

getOutputAtIndex

public PerformanceResult getOutputAtIndex(int index)
Description copied from interface: PerformanceAnalysisOperation
Returns a particular PerformanceResult object from the list of PerfomanceResult output.

Specified by:
getOutputAtIndex in interface PerformanceAnalysisOperation
Parameters:
index - The index of the PerformanceResult
Returns:
the PerformanceResult output
See Also:
PerformanceResult

getOutputs

public List<PerformanceResult> getOutputs()
Description copied from interface: PerformanceAnalysisOperation
Returns a List of PerformanceResult objects, the output from the analysis operation.

Specified by:
getOutputs in interface PerformanceAnalysisOperation
Returns:
a List of PerformanceResult outputs
See Also:
PerformanceResult, List

reset

public void reset()
Description copied from interface: PerformanceAnalysisOperation
Resets the analysis operation to it's initial state.

Specified by:
reset in interface PerformanceAnalysisOperation

setId

public void setId(Long id)

setInput

public void setInput(PerformanceResult input)
Description copied from interface: PerformanceAnalysisOperation
Sets the input PerformanceResult for the analysis operation.

Specified by:
setInput in interface PerformanceAnalysisOperation
Parameters:
input - A PerformanceResult to be added to the list of PerformanceResults used as input for this operation.
See Also:
PerformanceResult

setInput

public void setInput(Trial trial)

setInputs

public void setInputs(List<PerformanceResult> inputs)
Description copied from interface: PerformanceAnalysisOperation
Sets a List of input PerformanceResults for the analysis operation.

Specified by:
setInputs in interface PerformanceAnalysisOperation
Parameters:
inputs - A List of PerformanceResult objects to be used as input for this operation.
See Also:
PerformanceResult, List

setInputsTrials

public void setInputsTrials(List<Trial> trials)

setOutputs

public void setOutputs(List<PerformanceResult> outputs)
Description copied from interface: PerformanceAnalysisOperation
Sets the List of output PerformanceResult objects.

Specified by:
setOutputs in interface PerformanceAnalysisOperation
Parameters:
outputs - A List of PerformanceResult objects.
See Also:
PerformanceResult, List

toString

public String toString()
Description copied from interface: PerformanceAnalysisOperation
Returns a printable string of this analysis operation.

Specified by:
toString in interface PerformanceAnalysisOperation
Overrides:
toString in class Object
Returns:
The string

PerfExplorer 2.0

****************************************************************************
Copyright 1997-2009
Department of Computer and Information Science, University of Oregon
Advanced Computing Laboratory, Los Alamos National Laboratory
Juelich Supercomputing Centre, Research Center Juelich, Germany
http://tau.uoregon.edu
****************************************************************************
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of University of Oregon (UO) and Los Alamos National Laboratory (LANL) not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The University of Oregon and LANL makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.

THE UNIVERSITY OF OREGON AND LANL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE UNIVERSITY OF OREGON OR LANL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.