forked from emer/leabra
-
Notifications
You must be signed in to change notification settings - Fork 1
/
strings.go
128 lines (107 loc) · 3.68 KB
/
strings.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
// Code generated by "stringer -linecomment -output=strings.go -type=DALrnRule,DaRType,Valence,StriatalCompartment,ModNeuronVar,AcqExt"; DO NOT EDIT.
package pvlv
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[DAHebbVS-0]
_ = x[TraceNoThalVS-1]
_ = x[DALrnRuleN-2]
}
const _DALrnRule_name = "DAHebbVSTraceNoThalVSDALrnRuleN"
var _DALrnRule_index = [...]uint8{0, 8, 21, 31}
func (i DALrnRule) String() string {
if i < 0 || i >= DALrnRule(len(_DALrnRule_index)-1) {
return "DALrnRule(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _DALrnRule_name[_DALrnRule_index[i]:_DALrnRule_index[i+1]]
}
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[D1R-0]
_ = x[D2R-1]
_ = x[DaRTypeN-2]
}
const _DaRType_name = "D1RD2RDaRTypeN"
var _DaRType_index = [...]uint8{0, 3, 6, 14}
func (i DaRType) String() string {
if i < 0 || i >= DaRType(len(_DaRType_index)-1) {
return "DaRType(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _DaRType_name[_DaRType_index[i]:_DaRType_index[i+1]]
}
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[ValNone-0]
_ = x[POS-1]
_ = x[NEG-2]
_ = x[ValenceN-3]
}
const _Valence_name = "NoValencePOSNEGValenceN"
var _Valence_index = [...]uint8{0, 9, 12, 15, 23}
func (i Valence) String() string {
if i < 0 || i >= Valence(len(_Valence_index)-1) {
return "Valence(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Valence_name[_Valence_index[i]:_Valence_index[i+1]]
}
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[PATCH-0]
_ = x[MATRIX-1]
_ = x[NSComp-2]
}
const _StriatalCompartment_name = "PATCHMATRIXNSComp"
var _StriatalCompartment_index = [...]uint8{0, 5, 11, 17}
func (i StriatalCompartment) String() string {
if i < 0 || i >= StriatalCompartment(len(_StriatalCompartment_index)-1) {
return "StriatalCompartment(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _StriatalCompartment_name[_StriatalCompartment_index[i]:_StriatalCompartment_index[i+1]]
}
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[DA-0]
_ = x[ACh-1]
_ = x[SE-2]
_ = x[ModAct-3]
_ = x[ModLevel-4]
_ = x[ModNet-5]
_ = x[ModLrn-6]
_ = x[PVAct-7]
_ = x[Cust1-8]
_ = x[ModNeuronVarsN-9]
}
const _ModNeuronVar_name = "DAAChSEModActModLevelModNetModLrnPVActCust1ModNeuronVarsN"
var _ModNeuronVar_index = [...]uint8{0, 2, 5, 7, 13, 21, 27, 33, 38, 43, 57}
func (i ModNeuronVar) String() string {
if i < 0 || i >= ModNeuronVar(len(_ModNeuronVar_index)-1) {
return "ModNeuronVar(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _ModNeuronVar_name[_ModNeuronVar_index[i]:_ModNeuronVar_index[i+1]]
}
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[Acq-0]
_ = x[Ext-1]
_ = x[NAcqExt-2]
}
const _AcqExt_name = "AcqExtNAcqExt"
var _AcqExt_index = [...]uint8{0, 3, 6, 13}
func (i AcqExt) String() string {
if i < 0 || i >= AcqExt(len(_AcqExt_index)-1) {
return "AcqExt(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _AcqExt_name[_AcqExt_index[i]:_AcqExt_index[i+1]]
}