PerfExplorer 2.0

edu.uoregon.tau.perfexplorer.glue
Class ClusterOperation

Object
  extended by AbstractPerformanceOperation
      extended by ClusterOperation
All Implemented Interfaces:
PerformanceAnalysisOperation, Serializable
Direct Known Subclasses:
DBSCANOperation, HierarchicalClusterOperation, KMeansOperation

public abstract class ClusterOperation
extends AbstractPerformanceOperation

Author:
khuck
See Also:
Serialized Form

Constructor Summary
ClusterOperation()
           
ClusterOperation(List<PerformanceResult> inputs)
           
ClusterOperation(PerformanceResult input)
           
ClusterOperation(Trial trial)
           
 
Method Summary
 double getGapStatistic()
           
 double getGapStatisticError()
           
 Integer getMaxClusters()
           
 String getMetric()
           
 int getType()
           
 boolean isComputeGapStatistic()
           
 List<PerformanceResult> processData()
          Performs the analysis operation.
 void setComputeGapStatistic(boolean computeGapStatistic)
           
 void setMaxClusters(Integer maxClusters)
           
 void setMetric(String metric)
           
 void setType(int type)
           
 
Methods inherited from class AbstractPerformanceOperation
addInput, addInput, getId, getInputs, getOutputAtIndex, getOutputs, reset, setId, setInput, setInput, setInputs, setInputsTrials, setOutputs, toString
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterOperation

public ClusterOperation()

ClusterOperation

public ClusterOperation(List<PerformanceResult> inputs)
Parameters:
inputs -

ClusterOperation

public ClusterOperation(PerformanceResult input)
Parameters:
input -

ClusterOperation

public ClusterOperation(Trial trial)
Parameters:
trial -
Method Detail

getGapStatistic

public double getGapStatistic()
Returns:
the gapStatistic

getGapStatisticError

public double getGapStatisticError()
Returns:
the gapStatisticError

getMaxClusters

public Integer getMaxClusters()
Returns:
the maxClusters

getMetric

public String getMetric()
Returns:
the metric

getType

public int getType()
Returns:
the type

isComputeGapStatistic

public boolean isComputeGapStatistic()

processData

public List<PerformanceResult> processData()
Description copied from interface: PerformanceAnalysisOperation
Performs the analysis operation.

Returns:
a List of PerformanceResult outputs
See Also:
PerformanceResult, List

setComputeGapStatistic

public void setComputeGapStatistic(boolean computeGapStatistic)

setMaxClusters

public void setMaxClusters(Integer maxClusters)
Parameters:
maxClusters - the maxClusters to set

setMetric

public void setMetric(String metric)
Parameters:
metric - the metric to set

setType

public void setType(int type)
Parameters:
type - the type to set

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.