Dear Wiki user, You have subscribed to a wiki page or wiki category on "Devicemap Wiki" for change notification.
The "Patterns2" page has been changed by rezan: https://wiki.apache.org/devicemap/Patterns2?action=diff&rev1=20&rev2=21 = Data Specification 2.0 = Draft 1, 2014-01-12 - This is the DeviceMap Data specification for patterns and attributes. + This is the Device``Map Data specification for patterns and attributes. === Overview === - This document goes over how DeviceMap Data 2.0 is defined and how the + This document goes over how Device``Map Data 2.0 is defined and how the classifiers process input against the data. The classification process is broken down into three phases: @@ -204, +204 @@ the pattern with the longest concatenated matched pattern length is used. If that results in another tie, the pattern with the first matched token found is returned. + If 2 or more patterns share the same Pattern``Id, then only 1 of their Pattern``Types + need to match. There is an implied OR between multiple Pattern``Types with equal Pattern``Id. + If no pattern is successfully matched, the Default``Id is returned. If no Default``Id is defined, a null pattern is returned. + === Notes === - - If 2 or more patterns share the same Pattern``Id, then only 1 of their Pattern``Types - need to match. There is an implied OR between multiple Pattern``Types with equal Pattern``Id. 2 or more patterns cannot have identical Rank``Type, Rank``Value, and matched tokens. This is undefined behavior since they will be found at the same time. The pattern the classifier chooses can be random.
