You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.1 KiB
31 lines
1.1 KiB
#include "storm/storage/jani/TemplateEdgeDestination.h"
|
|
|
|
namespace storm {
|
|
namespace jani {
|
|
|
|
TemplateEdgeDestination::TemplateEdgeDestination(OrderedAssignments const& assignments) : assignments(assignments) {
|
|
// Intentionally left empty.
|
|
}
|
|
|
|
TemplateEdgeDestination::TemplateEdgeDestination(Assignment const& assignment) : assignments(assignment) {
|
|
// Intentionally left empty.
|
|
}
|
|
|
|
TemplateEdgeDestination::TemplateEdgeDestination(std::vector<Assignment> const& assignments) : assignments(assignments) {
|
|
// Intentionally left empty.
|
|
}
|
|
|
|
void TemplateEdgeDestination::substitute(std::map<storm::expressions::Variable, storm::expressions::Expression> const& substitution) {
|
|
assignments.substitute(substitution);
|
|
}
|
|
|
|
OrderedAssignments const& TemplateEdgeDestination::getOrderedAssignments() const {
|
|
return assignments;
|
|
}
|
|
|
|
bool TemplateEdgeDestination::removeAssignment(Assignment const& assignment) {
|
|
return assignments.remove(assignment);
|
|
}
|
|
|
|
}
|
|
}
|