PerfExplorer 2.0

edu.uoregon.tau.perfexplorer.glue
Class DifferenceMetadataOperation

Object
  extended by DifferenceMetadataOperation
All Implemented Interfaces:
SelfAsserting

public class DifferenceMetadataOperation
extends Object
implements SelfAsserting

Author:
khuck

Field Summary
static String NAME
           
 
Constructor Summary
DifferenceMetadataOperation(TrialMetadata baseline, TrialMetadata comparison)
           
DifferenceMetadataOperation(Trial baseline, Trial comparison)
           
 
Method Summary
 void assertFacts()
          Method for asserting facts in a working memory maintained by the rule harness.
 void assertFacts(RuleHarness ruleHarness)
          Method for asserting facts in a working memory maintained by the rule harness.
 String differencesAsString()
           
 TrialMetadata getBaseline()
           
 TrialMetadata getComparison()
           
 Hashtable<String,String[]> getDifferences()
           
 double getExpectedRatio()
           
 void removeFact(String factName)
          Method for removing facts once they have been processed
 void setBaseline(TrialMetadata baseline)
           
 void setComparison(TrialMetadata comparison)
           
 void setDifferences(Hashtable<String,String[]> differences)
           
 void setExpectedRatio(double expectedRatio)
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
Constructor Detail

DifferenceMetadataOperation

public DifferenceMetadataOperation(TrialMetadata baseline,
                                   TrialMetadata comparison)

DifferenceMetadataOperation

public DifferenceMetadataOperation(Trial baseline,
                                   Trial comparison)
Method Detail

assertFacts

public void assertFacts()
Description copied from interface: SelfAsserting
Method for asserting facts in a working memory maintained by the rule harness.

Specified by:
assertFacts in interface SelfAsserting

assertFacts

public void assertFacts(RuleHarness ruleHarness)
Description copied from interface: SelfAsserting
Method for asserting facts in a working memory maintained by the rule harness.

Specified by:
assertFacts in interface SelfAsserting

differencesAsString

public String differencesAsString()

getBaseline

public TrialMetadata getBaseline()
Returns:
the baseline

getComparison

public TrialMetadata getComparison()
Returns:
the comparison

getDifferences

public Hashtable<String,String[]> getDifferences()
Returns:
the differences

getExpectedRatio

public double getExpectedRatio()

removeFact

public void removeFact(String factName)
Description copied from interface: SelfAsserting
Method for removing facts once they have been processed

Specified by:
removeFact in interface SelfAsserting

setBaseline

public void setBaseline(TrialMetadata baseline)
Parameters:
baseline - the baseline to set

setComparison

public void setComparison(TrialMetadata comparison)
Parameters:
comparison - the comparison to set

setDifferences

public void setDifferences(Hashtable<String,String[]> differences)
Parameters:
differences - the differences to set

setExpectedRatio

public void setExpectedRatio(double expectedRatio)

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.