@@ -483,7 +483,7 @@ end createTaskGraph1;
483483
484484protected function flattenRefCounter "author: marcusw
485485 Flat the given ref counter from <nodeIdx, numInts, numFloats, numBools> to <nodeIdx, (numInts + numFloats + numBools)."
486- input tuple< Integer ,Integer ,Integer ,Integer > iRefCounter;
486+ input tuple< Integer ,Integer ,Integer ,Integer > iRefCounter;
487487 output tuple< Integer ,Integer > oRefCounter;
488488protected
489489 Integer nodeIdx, numInts, numFloats, numBools;
@@ -903,7 +903,7 @@ algorithm
903903 ((sccIdx,_,_)) = arrayGet(iVarCompMapping,varIdx);
904904 ((intVars, floatVars, boolVars)) = arrayGet(iRequiredSccs, sccIdx);
905905 tmpRequiredSccs = arrayUpdate(tmpRequiredSccs,sccIdx,(intVars+ 1 , floatVars, boolVars));
906- then tmpRequiredSccs;
906+ then tmpRequiredSccs;
907907 case ((varIdx,1 ),2 ,_,tmpRequiredSccs)
908908 equation
909909 ((sccIdx,_,_)) = arrayGet(iVarCompMapping,varIdx);
@@ -915,7 +915,7 @@ algorithm
915915 ((sccIdx,_,_)) = arrayGet(iVarCompMapping,varIdx);
916916 ((intVars, floatVars, boolVars)) = arrayGet(iRequiredSccs, sccIdx);
917917 tmpRequiredSccs = arrayUpdate(tmpRequiredSccs,sccIdx,(intVars, floatVars, boolVars+ 1 ));
918- then tmpRequiredSccs;
918+ then tmpRequiredSccs;
919919 else iRequiredSccs;
920920 end match;
921921end fillSccList;
@@ -2566,8 +2566,8 @@ public function convertToGraphMLSccLevelSubgraph "author: marcusw, waurich
25662566 output GraphML . GraphInfo oGraphInfo;
25672567protected
25682568 GraphML . GraphInfo graphInfo;
2569- Integer nameAttIdx, calcTimeAttIdx, opCountAttIdx, yCoordAttIdx, taskIdAttIdx, commCostAttIdx,
2570- commVarsAttIdx, commVarsIntAttIdx, commVarsFloatAttIdx, commVarsBoolAttIdx, critPathAttIdx,
2569+ Integer nameAttIdx, calcTimeAttIdx, opCountAttIdx, yCoordAttIdx, taskIdAttIdx, commCostAttIdx,
2570+ commVarsAttIdx, commVarsIntAttIdx, commVarsFloatAttIdx, commVarsBoolAttIdx, critPathAttIdx,
25712571 simCodeEqAttIdx, threadIdAttIdx, taskNumberAttIdx, annotAttIdx;
25722572 list< Integer > nodeIdc;
25732573algorithm
@@ -2591,11 +2591,11 @@ algorithm
25912591 (graphInfo,(_,critPathAttIdx)) = GraphML . addAttribute("" , "CriticalPath" , GraphML . TYPE_STRING (), GraphML . TARGET_GRAPH (), graphInfo);
25922592 graphInfo = GraphML . addGraphAttributeValue((critPathAttIdx, criticalPathInfo), iGraphIdx, graphInfo);
25932593 nodeIdc = List . intRange(arrayLength(iGraph));
2594- ((graphInfo,_)) = List . fold4(nodeIdc, addNodeToGraphML, (iGraph, iGraphData),
2595- (nameAttIdx,opCountAttIdx,calcTimeAttIdx,taskIdAttIdx,yCoordAttIdx,commCostAttIdx,commVarsAttIdx,
2596- commVarsIntAttIdx,commVarsFloatAttIdx,commVarsBoolAttIdx,simCodeEqAttIdx,threadIdAttIdx,taskNumberAttIdx,annotAttIdx),
2597- sccSimEqMapping,
2598- (iCriticalPath,iCriticalPathWoC,schedulerInfo, annotationInfo),
2594+ ((graphInfo,_)) = List . fold4(nodeIdc, addNodeToGraphML, (iGraph, iGraphData),
2595+ (nameAttIdx,opCountAttIdx,calcTimeAttIdx,taskIdAttIdx,yCoordAttIdx,commCostAttIdx,commVarsAttIdx,
2596+ commVarsIntAttIdx,commVarsFloatAttIdx,commVarsBoolAttIdx,simCodeEqAttIdx,threadIdAttIdx,taskNumberAttIdx,annotAttIdx),
2597+ sccSimEqMapping,
2598+ (iCriticalPath,iCriticalPathWoC,schedulerInfo, annotationInfo),
25992599 (graphInfo,iGraphIdx));
26002600 then graphInfo;
26012601 end match;
@@ -5221,7 +5221,7 @@ algorithm
52215221 end matchcontinue;
52225222end transposeCommCosts1;
52235223
5224- // TODO: Can this be merged with getCommCostBetweenNodes?
5224+ // TODO: Can this be merged with getCommCostBetweenNodes?
52255225public function getCommunicationCost " gets the communication cost for an edge from parent node to child node.
52265226 REMARK: use the primal indeces!!!!!!
52275227 author: waurich TUD 2013-06."
0 commit comments