Skip to content
Snippets Groups Projects
Commit cc590ee7 authored by Alexander Diewald's avatar Alexander Diewald
Browse files

Align with changed partition alloc table factory methods

parent 6adf2d48
No related branches found
No related tags found
1 merge request!113842
PartitionTransformationStrategy.java 5d29815ba2e501a3423af8ceac831e4a2fd31e8e RED
PartitionTransformer.java 412c5391fd5a897ab835a3da75926afd80d5075f RED
PartitionTransformer.java 587205dbb578fc1c0bee70f0a2d3ff4840f778fd RED
......@@ -152,9 +152,8 @@ public class PartitionTransformer extends TransformationModuleBase<AllocationTab
SuperSet<TaskToPartitionAllocationEntry> taskPartAllocs) {
TaskToPartitionAllocationTable table =
org.fortiss.af3.partition.util.PartitionModelElementFactory
.createTaskToPartitionAllocationTable("Generated Task->Part Table");
table.setSourceView(taskArchitecture);
table.setTargetView(partitionArchitecture);
.createTaskToPartitionAllocationTable("Generated Task->Part Table",
taskArchitecture, taskArchitecture);
for(TaskToPartitionAllocationEntry entry : taskPartAllocs.getEntries()) {
Partition af3Partition = (Partition)entry.getTargetElement();
......@@ -171,10 +170,9 @@ public class PartitionTransformer extends TransformationModuleBase<AllocationTab
*/
private PartitionToExecutionUnitAllocationTable createPartitionToExecutionUnitAllocationTable(
SuperSet<PartitionToExecutionUnitAllocationEntry> partMapping) {
PartitionToExecutionUnitAllocationTable table = PartitionModelElementFactory
.createPartitionToExecutionUnitAllocationTable("Generated Part->ExU Table");
table.setSourceView(partitionArchitecture);
table.setTargetView(platfromArchitecture);
PartitionToExecutionUnitAllocationTable table =
PartitionModelElementFactory.createPartitionToExecutionUnitAllocationTable(
"Generated Part->ExU Table", partitionArchitecture, platfromArchitecture);
for(PartitionToExecutionUnitAllocationEntry entry : partMapping.getEntries()) {
Partition af3Partition = (Partition)entry.getSourceElement();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment