Tuple of attribute and its value. More...
Public Member Functions | |
| Attribute () | |
| Construct an attribute with the default name and value.  | |
| Attribute (const std::string &name) | |
| Construct an attribute with the default value.   | |
| Attribute (const std::string &name, double val) | |
| Construct an attribute.   | |
Public Attributes | |
| std::string | attr | 
| Attribute.  | |
| double | value | 
| Attribute value (weight).  | |
Tuple of attribute and its value.
| CRFSuite::Attribute::Attribute | ( | const std::string & | name | ) |  [inline] | 
        
Construct an attribute with the default value.
| name | The attribute name. | 
| CRFSuite::Attribute::Attribute | ( | const std::string & | name, | 
| double | val | ||
| ) |  [inline] | 
        
Construct an attribute.
| name | The attribute name. | 
| val | The attribute value. |