acme
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Enumerations
Enumerator
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
z
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
z
~
Variables
Typedefs
Files
File List
File Members
All
Functions
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
Concepts
Loading...
Searching...
No Matches
prototype
collection
aaa__papaya_array2d_impl.h
1
#pragma once
2
3
4
//namespace acme
5
//{
6
//
7
//
8
// namespace array2d
9
// {
10
//
11
// template < typename A >
12
// ::collection::count predominant_column_count(A & a)
13
// {
14
//
15
// index_to_index column_count;
16
//
17
// for (::collection::index i = 0; i < a.get_size(); i++)
18
// {
19
//
20
// column_count[a[i].get_count()]++;
21
//
22
// }
23
//
24
// ::collection::count c = -1;
25
//
26
// ::collection::count cMax = -1;
27
//
28
// for (auto & assoc : column_count)
29
// {
30
//
31
// if (assoc.element2() > cMax || (assoc.element2() == cMax && assoc.element1() > c))
32
// {
33
//
34
// c = assoc.element1();
35
//
36
// cMax = assoc.element2();
37
//
38
// }
39
//
40
// }
41
//
42
// return c;
43
//
44
// }
45
//
46
//
47
// } //namespace array2d
48
//
49
//
50
//} // namespace acme
51
//
52
//
53
//
Generated by
1.13.2