diff options
| author | fukachan <fukachan> | 2002-10-20 13:33:31 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-10-20 13:33:31 +0000 |
| commit | 36e32b19b26715412cde7b7dec102f4193292e6e (patch) | |
| tree | 86adae661feeb824e53ee5de89a9d2b65582962c | |
| parent | 423f93c9b34a88631d5c933e5f5e2d9a6d02cc1f (diff) | |
| download | fml8-36e32b19b26715412cde7b7dec102f4193292e6e.tar.gz fml8-36e32b19b26715412cde7b7dec102f4193292e6e.tar.bz2 fml8-36e32b19b26715412cde7b7dec102f4193292e6e.zip | |
FNF
| -rw-r--r-- | fml/lib/FML/Error/Analyze.pm | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/fml/lib/FML/Error/Analyze.pm b/fml/lib/FML/Error/Analyze.pm index 129a9501..122c1fc8 100644 --- a/fml/lib/FML/Error/Analyze.pm +++ b/fml/lib/FML/Error/Analyze.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: Analyze.pm,v 1.6 2002/09/22 14:56:49 fukachan Exp $ +# $FML: Analyze.pm,v 1.7 2002/09/22 15:01:21 fukachan Exp $ # package FML::Error::Analyze; @@ -45,14 +45,24 @@ sub new } -# *** model specific analyzer *** -# $data = { -# address => [ -# error_string_1, -# error_string_2, ... -# ] -# }; -# +=head2 $data STRUCTURE + +C<$data> is passed to error analyer function. + + $data = { + address => [ + error_string_1, + error_string_2, ... + ] + }; + +=cut + + +# Descriptions: count up the nunber of errors +# Arguments: OBJ($self) OBJ($curproc) HASH_REF($data) +# Side Effects: none +# Return Value: ARRAY_REF sub simple_count { my ($self, $curproc, $data) = @_; @@ -91,6 +101,10 @@ sub simple_count } +# Descriptions: error continuity based cost counting +# Arguments: OBJ($self) OBJ($curproc) HASH_REF($data) +# Side Effects: none +# Return Value: ARRAY_REF sub error_continuity { my ($self, $curproc, $data) = @_; |
