2
Copyright (c) 1993-2008, Cognitive Technologies
5
����������� ��������� ��������������� � ������������� ��� � ���� ��������� ����,
6
��� � � �������� �����, � ����������� ��� ���, ��� ���������� ��������� �������:
8
* ��� ��������� ��������������� ��������� ���� ������ ���������� ���������
9
���� ����������� �� ��������� �����, ���� ������ ������� � �����������
11
* ��� ��������� ��������������� ��������� ���� � ������������ �/��� �
12
������ ����������, ������������ ��� ���������������, ������ �����������
13
��������� ���� ���������� �� ��������� �����, ���� ������ ������� �
14
����������� ����� �� ��������.
15
* �� �������� Cognitive Technologies, �� ����� �� ����������� �� �����
16
���� ������������ � �������� �������� ��������� �/��� �����������
17
���������, ���������� �� ���� ��, ��� ���������������� �����������
20
��� ��������� ������������� ����������� ��������� ���� �/��� ������� ������ "���
21
��� ����" ��� ������-���� ���� ��������, ���������� ���� ��� ���������������,
22
������� �������� ������������ �������� � ����������� ��� ���������� ����, �� ��
23
������������� ���. �� �������� ��������� ���� � �� ���� ������ ����, �������
24
����� �������� �/��� �������� �������������� ���������, �� � ���� ������ ��
25
��Ѩ� ���������������, ������� ����� �����, ���������, ����������� ���
26
������������� ������, ��������� � �������������� ��� ���������� ����������
27
������������� ������������� ��������� (������� ������ ������, ��� ������,
28
������� ���������, ��� ������ �/��� ������ �������, ���������� ��-�� ��������
29
������� ��� �/��� ������ ��������� �������� ��������� � ������� �����������,
30
�� �� ������������� ����� ��������), �� �� ������������� ���, ���� ���� �����
31
�������� ��� ������ ���� ���� �������� � ����������� ����� ������� � ������.
33
Redistribution and use in source and binary forms, with or without modification,
34
are permitted provided that the following conditions are met:
36
* Redistributions of source code must retain the above copyright notice,
37
this list of conditions and the following disclaimer.
38
* Redistributions in binary form must reproduce the above copyright notice,
39
this list of conditions and the following disclaimer in the documentation
40
and/or other materials provided with the distribution.
41
* Neither the name of the Cognitive Technologies nor the names of its
42
contributors may be used to endorse or promote products derived from this
43
software without specific prior written permission.
45
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
46
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
47
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
48
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
49
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
50
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
51
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
52
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
53
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
54
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
57
// StatSearchBL.h : header file
59
#ifndef __STAT_SEARCH_BL_H__
70
typedef struct tagROW_STRUCT
72
Int16 globMax; //���������� ��������
73
Int16 ValGM; //�������� ����������� ���������
74
Int16 AltGM; //�������� ������������ (1-� ��� 2-� ��)
89
Int16 stat_Mode_diff_b2_b3(Int32 line_number, Int16 diff, Int16 fl_b2_or_b1);
90
Int16 stat_Mode_diff_b2_b1(Int32 line_number, Int16 diff_b3_b2);
91
Int16 stat_Mode_diff_b3_b4(Int32 line_number, Int16 diff_b3_b2);
95
Int16 stat_Hypothesis(Int32 line_number, Int16 diff_b3_bsl);
99
Int16 stat_Right_diff_from_max(Int16 *p_FreqArr, Int16 max_FreqArr);
100
Int16 stat_Left_diff_from_max(Int16 *p_FreqArr, Int16 max_FreqArr);
104
void stat_def_b3_b4(CSTR_line line, CSTR_attr *p_attr, Int16 *pY2Arr,
105
Int16 *pFreqY2Arr, Int16 *Ns3, Int16 *Ns4);
106
void stat_def_b1_b2(CSTR_line line, CSTR_attr *p_attr, Int16 *pY1Arr,
107
Int16 *pY2Arr, Int16 *pFreqY1Arr, Int16 *Ns1, Int16 *Ns2);
108
void stat_def_imaginary_bl(CSTR_attr *p_attr, Int16 *Ns1, Int16 *Ns2, Int16 *Ns4);
112
BOOL stat_interp_bsl(CSTR_line line, CSTR_attr *p_attr, ROW_STRUCT *row_str);
113
BOOL stat_interp_bsl_by_solid_recog(CSTR_line line, Int16 ln_row, Int16 b3,
114
ROW_STRUCT *row_str);
115
BOOL stat_interp_bsl_by_b4(CSTR_line line, Int16 ln_row, Int16 b3, Int16 b4,
116
ROW_STRUCT *row_str);
117
BOOL stat_interp_bsl_by_boxes(CSTR_line line, Int16 ln_row, Int16 b3, Int16 b4,
118
ROW_STRUCT *row_str);
122
BOOL stat_control_t_level(CSTR_line line, Int16 ln_row, Int16 b3, Int16 b4);
123
Int16 stat_control_b3_by_recog(CSTR_line line, Int16 ln_row, ROW_STRUCT *row_str);
124
BOOL stat_control_semilevel(CSTR_line line, Int16 ln_row, Int16 b4);
128
void stat_FormArrays(CSTR_line line, Int16 row, Int16 *pY1Arr, Int16 *pY2Arr);
129
BOOL stat_FormCSTR_attrArray(Int32 line_start, Int32 line_stop, CSTR_attr *pCSTR_attrArr);
130
Int16 stat_LineLength(CSTR_line line);
134
void StatSearchBL(CSTR_line line, CSTR_attr *p_attr,
135
Int16 *Ns1, Int16 *Ns2, Int16 *Ns3, Int16 *Ns4);
142
#define __STAT_SEARCH_BL_H__
143
#endif /* Ends #ifndef __STAT_SEARCH_BL_H__ */