Go to the documentation of this file.
88 #define NumNonEmptyClassesIn(Template) ((Template)->NumNonEmptyClasses)
90 #define IsEmptyAdaptedClass(Class) ((Class)->NumPermConfigs == 0 && \
91 (Class)->TempProtos == NIL_LIST)
93 #define ConfigIsPermanent(Class,ConfigId) \
94 (test_bit ((Class)->PermConfigs, ConfigId))
96 #define MakeConfigPermanent(Class,ConfigId) \
97 (SET_BIT ((Class)->PermConfigs, ConfigId))
99 #define MakeProtoPermanent(Class,ProtoId) \
100 (SET_BIT ((Class)->PermProtos, ProtoId))
102 #define TempConfigFor(Class,ConfigId) \
103 ((Class)->Config[ConfigId].Temp)
105 #define PermConfigFor(Class,ConfigId) \
106 ((Class)->Config[ConfigId].Perm)
108 #define IncreaseConfidence(TempConfig) \
109 ((TempConfig)->NumTimesSeen++)