~ubuntu-branches/ubuntu/saucy/tlf/saucy

« back to all changes in this revision

Viewing changes to datastructures

  • Committer: Package Import Robot
  • Author(s): John T. Nogatch
  • Date: 2013-02-09 14:56:34 UTC
  • mfrom: (1.2.5) (3.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20130209145634-de47b40lyf5ntgsu
Tags: 1.1.5-1
* Update from upstream git
* LP: #854080, #514303

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Folgende Datenstrukturen werden von TLF verwendet:
 
2
 
 
3
1. ie_list
 
4
 
 
5
Enthält Calls und vordefinierten Exchange aus IE_LIST
 
6
 
 
7
z.Zt. als verkettete Liste realisiert.
 
8
 
 
9
- add members during start of pgm
 
10
- never delete
 
11
- search call and copy according exchange if found
 
12
 
 
13
- z.Zt. Array -> könnte sortiert und binär durchsucht werden
 
14
- besser als binärer Baum oder Hash sinnvoll
 
15
 
 
16
 
 
17
2. Dupes i.e. already worked stations
 
18
 
 
19
Enthält call, exchange, band mask and country für alle gearbeiteten Stationen
 
20
 
 
21
- z.Zt. mittels folgender Teilfelder realisiert:
 
22
  * callarray  - Das Call
 
23
  * call_band  - Bitfeld mit gearbeiteten Bändern
 
24
  * call_exchange - letzter Exchange 
 
25
  * call_country  - bisher nicht genutzt
 
26
 
 
27
- Feld mit Größe MAX_CALLS
 
28
- verwendet für recall_exchange und Suche nach partials, loadbandmap
 
29
 
 
30
- recall_exchange könnte sortiertes Array sinnvoll nutzen
 
31
- partials benötigt Zugriff auf alle calls
 
32
 
 
33
- Insert bei addcall und readcalls
 
34
- Delete z.Z. gar nicht
 
35
 
 
36
 
 
37
3. prefixes_worked array
 
38
 
 
39
- Wird nur für WPX contest benutzt
 
40
 
 
41
- genutzt von add_pfx 
 
42
- readcalls liest LOG von disk komplett ein und baut Statistiken auf.
 
43
 
 
44
- Feld mit Grösse MAX_CALLS
 
45
- Insert bei add_pfx und readcalls
 
46
- Delete z.Zt. nicht
 
47
- Suche nur ob Prefix schon vorhanden (für makelogline)
 
48
 
 
49
 
 
50
4. Multiplier file mults_possible
 
51
 
 
52
- will be constructed only once after start of Tlf
 
53
- contains list of possible sections, multipliers or similar 
 
54
- switched to growing GPtrArray (Sep11)
 
55
 
 
56
 
 
57
* callmasterarray
 
58
 
 
59
- Nutzer: CW Simulator, searchlog
 
60
 
 
61
* log data
 
62
 
 
63
* cluster data
 
64
 
 
65
* lan data
 
66
 
 
67
* CTY data
 
68
 
 
69