Go to the source code of this file.
◆ sm_col_dominance()
| int sm_col_dominance |
( |
sm_matrix * | A, |
|
|
int * | weight ) |
Definition at line 58 of file dominate.c.
61{
63 register sm_col *pcol, *pcol1;
67 int colcnt;
68
70
71
72 for(pcol = A->
first_col; pcol != 0; pcol = next_col) {
74
75
80 least_row = prow;
81 }
82 }
83
84
88 continue;
94 break;
95 }
96 }
97 }
98 }
99
100 return colcnt - A->
ncols;
101}
typedefABC_NAMESPACE_HEADER_START struct sm_element_struct sm_element
struct sm_col_struct sm_col
#define sm_get_row(A, rownum)
struct sm_row_struct sm_row
#define sm_get_col(A, colnum)
◆ sm_row_dominance()
Definition at line 17 of file dominate.c.
19{
20 register sm_row *prow, *prow1;
21 register sm_col *pcol, *least_col;
23 int rowcnt;
24
26
27
29
30
35 least_col = pcol;
36 }
37 }
38
39
42
49 }
50 }
51 }
52 }
53
54 return rowcnt - A->
nrows;
55}