@@ -499,7 +499,7 @@ void IntegerMatcher::Match(INT_CLASS ClassTemplate,
499
499
}
500
500
501
501
if (DisplayProtoMatchesOn (Debug)) {
502
- DisplayProtoDebugInfo (ClassTemplate, ProtoMask, ConfigMask,
502
+ DisplayProtoDebugInfo (ClassTemplate, ConfigMask,
503
503
*tables, SeparateDebugWindows);
504
504
}
505
505
@@ -510,8 +510,8 @@ void IntegerMatcher::Match(INT_CLASS ClassTemplate,
510
510
}
511
511
#endif
512
512
513
- tables->UpdateSumOfProtoEvidences (ClassTemplate, ConfigMask, NumFeatures );
514
- tables->NormalizeSums (ClassTemplate, NumFeatures, NumFeatures );
513
+ tables->UpdateSumOfProtoEvidences (ClassTemplate, ConfigMask);
514
+ tables->NormalizeSums (ClassTemplate, NumFeatures);
515
515
516
516
FindBestMatch (ClassTemplate, *tables, Result);
517
517
@@ -708,8 +708,7 @@ void ScratchEvidence::ClearFeatureEvidence(const INT_CLASS class_template) {
708
708
* @return none
709
709
*/
710
710
static void IMDebugConfiguration (int FeatureNum, uint16_t ActualProtoNum,
711
- uint8_t Evidence, BIT_VECTOR ConfigMask,
712
- uint32_t ConfigWord) {
711
+ uint8_t Evidence, uint32_t ConfigWord) {
713
712
cprintf (" F = %3d, P = %3d, E = %3d, Configs = " ,
714
713
FeatureNum, (int ) ActualProtoNum, (int ) Evidence);
715
714
while (ConfigWord) {
@@ -830,7 +829,7 @@ int IntegerMatcher::UpdateTablesForFeature(
830
829
if (PrintFeatureMatchesOn (Debug))
831
830
IMDebugConfiguration (FeatureNum,
832
831
ActualProtoNum + proto_offset,
833
- Evidence, ConfigMask, ConfigWord);
832
+ Evidence, ConfigWord);
834
833
835
834
ConfigWord &= *ConfigMask;
836
835
@@ -1004,7 +1003,6 @@ void IntegerMatcher::DebugFeatureProtoError(
1004
1003
1005
1004
void IntegerMatcher::DisplayProtoDebugInfo (
1006
1005
INT_CLASS ClassTemplate,
1007
- BIT_VECTOR ProtoMask,
1008
1006
BIT_VECTOR ConfigMask,
1009
1007
const ScratchEvidence& tables,
1010
1008
bool SeparateDebugWindows) {
@@ -1092,7 +1090,7 @@ void IntegerMatcher::DisplayFeatureDebugInfo(
1092
1090
* Add sum of Proto Evidences into Sum Of Feature Evidence Array
1093
1091
*/
1094
1092
void ScratchEvidence::UpdateSumOfProtoEvidences (
1095
- INT_CLASS ClassTemplate, BIT_VECTOR ConfigMask, int16_t NumFeatures ) {
1093
+ INT_CLASS ClassTemplate, BIT_VECTOR ConfigMask) {
1096
1094
1097
1095
int *IntPointer;
1098
1096
uint32_t ConfigWord;
@@ -1133,7 +1131,7 @@ void ScratchEvidence::UpdateSumOfProtoEvidences(
1133
1131
* the Feature Lengths and the Proto Lengths for each configuration.
1134
1132
*/
1135
1133
void ScratchEvidence::NormalizeSums (
1136
- INT_CLASS ClassTemplate, int16_t NumFeatures, int32_t used_features ) {
1134
+ INT_CLASS ClassTemplate, int16_t NumFeatures) {
1137
1135
1138
1136
for (int i = 0 ; i < ClassTemplate->NumConfigs ; i++) {
1139
1137
sum_feature_evidence_[i] = (sum_feature_evidence_[i] << 8 ) /
0 commit comments