Package esys :: Package finley :: Module finleybench :: Class FinleyFilter
[show private | hide private]
[frames | no frames]

Type FinleyFilter

     object --+    
              |    
BenchmarkFilter --+
                  |
                 FinleyFilter


defines a filter for FinleyProblem characteristics
Method Summary
  __init__(self, args)
sets up the filter
list of str __call__(self, result)
filters out the characteristic values
list of str getResultNames(self)
return the names of the results produced when run() is called.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
str ERROR = 'rel. error'
str TIME = 't [sec]'

Method Details

__init__(self, args=None)
(Constructor)

sets up the filter
Parameters:
args - list of value names to be filtered
           (type=list of TIME, ERROR)
Overrides:
esys.escript.benchmark.BenchmarkFilter.__init__

__call__(self, result)
(Call operator)

filters out the characteristic values
Parameters:
result - characteristics rturned by a FinleyProblem run
           (type=dict)
Returns:
filtered values
           (type=list of str)
Overrides:
esys.escript.benchmark.BenchmarkFilter.__call__

getResultNames(self)

return the names of the results produced when run() is called.
Returns:
names the list of the names to be used when the results of the run() call are printed
           (type=list of str)
Overrides:
esys.escript.benchmark.BenchmarkFilter.getResultNames

Class Variable Details

ERROR

Type:
str
Value:
'rel. error'                                                           

TIME

Type:
str
Value:
't [sec]'                                                              

Generated by Epydoc 2.1 on Thu Apr 27 11:16:12 2006 http://epydoc.sf.net