1#ifndef BPMNOS_Model_Attribute_H
2#define BPMNOS_Model_Attribute_H
19class AttributeRegistry;
40 std::unique_ptr<const Expression> getExpression(std::string& input,
AttributeRegistry& attributeRegistry);
41 std::string getName(std::string& input);
double weight
Weight to be used for objective (assuming maximization).
std::unique_ptr< const Expression > expression
XML::bpmnos::tAttribute * element
const std::string name
Name of attribute and optial initial assignment.
size_t index
Index of attribute (is automatically set by attribute registry).
Attribute(XML::bpmnos::tAttribute *attribute, Attribute::Category category, AttributeRegistry &attributeRegistry)
bool isImmutable
Flag indicating whether attribute value may be changed by operator, choice, or intermediate catch eve...