Salome HOME
Update of examples according to "control of Switches"
authorrahuel <rahuel@opencascade.com>
Wed, 9 Mar 2005 07:41:46 +0000 (07:41 +0000)
committerrahuel <rahuel@opencascade.com>
Wed, 9 Mar 2005 07:41:46 +0000 (07:41 +0000)
22 files changed:
examples/GraphInputInLoop.py
examples/GraphInputInLoop.xml
examples/GraphLoopSwitch.py
examples/GraphLoopSwitch.xml
examples/GraphLoopSwitchs.py
examples/GraphLoopSwitchs.xml
examples/GraphPyFunctions.py
examples/GraphPyFunctions.xml
examples/GraphStreamInLines.py
examples/GraphStreamInLines.xml
examples/GraphSwitchCheckBranch1.py
examples/GraphSwitchCheckBranch1.xml
examples/GraphSwitchCheckDefault.py
examples/GraphSwitchCheckDefault.xml
examples/GraphSwitchCheckDefault2NOTValid2.py
examples/GraphSwitchCheckDefault2NOTValid2.xml
examples/GraphSwitchCrash.py
examples/GraphSwitchCrash.xml
examples/GraphSwitchOutputNOTValid.py
examples/GraphSwitchOutputNOTValid.xml
examples/GraphSyrControlAve.py
examples/GraphSyrControlAve.xml

index eff96a9afcdd46beb46cac0db5b789685ef14f95..a228eb3edb5cf1ee50e224478ee504892c2d4106 100644 (file)
@@ -1,15 +1,15 @@
 
-# Generated python file of Graph GraphInputInLoop_2
+# Generated python file of Graph GraphInputInLoop_2_1
 
 from SuperV import *
 
-# Graph creation of GraphInputInLoop_2
-def DefGraphInputInLoop_2() :
-    GraphInputInLoop_2 = Graph( 'GraphInputInLoop_2' )
-    GraphInputInLoop_2.SetName( 'GraphInputInLoop_2' )
-    GraphInputInLoop_2.SetAuthor( '' )
-    GraphInputInLoop_2.SetComment( '' )
-    GraphInputInLoop_2.Coords( 0 , 0 )
+# Graph creation of GraphInputInLoop_2_1
+def DefGraphInputInLoop_2_1() :
+    GraphInputInLoop_2_1 = Graph( 'GraphInputInLoop_2_1' )
+    GraphInputInLoop_2_1.SetName( 'GraphInputInLoop_2_1' )
+    GraphInputInLoop_2_1.SetAuthor( '' )
+    GraphInputInLoop_2_1.SetComment( '' )
+    GraphInputInLoop_2_1.Coords( 0 , 0 )
     
     # Creation of Factory Nodes
     
@@ -20,11 +20,11 @@ def DefGraphInputInLoop_2() :
     PyIsOdd.append( '    print 'IsOdd',a,Even,Const  ' )
     PyIsOdd.append( '    sleep( 1 )      ' )
     PyIsOdd.append( '    return a,Const ' )
-    IsOdd = GraphInputInLoop_2.INode( 'IsOdd' , PyIsOdd )
+    IsOdd = GraphInputInLoop_2_1.INode( 'IsOdd' , PyIsOdd )
     IsOdd.SetName( 'IsOdd' )
     IsOdd.SetAuthor( '' )
     IsOdd.SetComment( 'Python function' )
-    IsOdd.Coords( 397 , 1 )
+    IsOdd.Coords( 397 , 5 )
     IIsOdda = IsOdd.InPort( 'a' , 'long' )
     IIsOddEven = IsOdd.InPort( 'Even' , 'boolean' )
     IIsOddConst = IsOdd.InPort( 'Const' , 'string' )
@@ -39,11 +39,11 @@ def DefGraphInputInLoop_2() :
     PyMoreInitLoop.append( '' )
     PyNextInitLoop = []
     PyNextInitLoop.append( '' )
-    InitLoop,EndOfInitLoop = GraphInputInLoop_2.LNode( '' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
+    InitLoop,EndOfInitLoop = GraphInputInLoop_2_1.LNode( '' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
     EndOfInitLoop.SetName( 'EndOfInitLoop' )
     EndOfInitLoop.SetAuthor( '' )
     EndOfInitLoop.SetComment( 'Compute Node' )
-    EndOfInitLoop.Coords( 767 , 105 )
+    EndOfInitLoop.Coords( 770 , 147 )
     PyEndOfInitLoop = []
     PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
     PyEndOfInitLoop.append( '  Index = Index + 1     ' )
@@ -84,11 +84,11 @@ def DefGraphInputInLoop_2() :
     PySwitch.append( '    if ( a & 1 ) == 0 :  ' )
     PySwitch.append( '        sleep(1)  ' )
     PySwitch.append( '    return a & 1,1-(a&1),a    ' )
-    Switch,EndSwitch = GraphInputInLoop_2.SNode( 'Switch' , PySwitch )
+    Switch,EndSwitch = GraphInputInLoop_2_1.SNode( 'Switch' , PySwitch )
     EndSwitch.SetName( 'EndSwitch' )
     EndSwitch.SetAuthor( '' )
     EndSwitch.SetComment( 'Compute Node' )
-    EndSwitch.Coords( 587 , 105 )
+    EndSwitch.Coords( 588 , 147 )
     PyEndSwitch = []
     PyEndSwitch.append( 'def EndSwitch(a) :    ' )
     PyEndSwitch.append( '    if ( a & 1 ) == 0 :  ' )
@@ -111,42 +111,40 @@ def DefGraphInputInLoop_2() :
     OSwitchDefault = Switch.GetOutPort( 'Default' )
     
     # Creation of Links
-    LIsOddaEndSwitcha = GraphInputInLoop_2.Link( OIsOdda , IEndSwitcha )
-    LIsOddaEndSwitcha.AddCoord( 1 , 576 , 136 )
-    LIsOddaEndSwitcha.AddCoord( 2 , 576 , 73 )
+    LIsOddaEndSwitcha = GraphInputInLoop_2_1.Link( OIsOdda , IEndSwitcha )
+    LIsOddaEndSwitcha.AddCoord( 1 , 573 , 178 )
+    LIsOddaEndSwitcha.AddCoord( 2 , 573 , 76 )
     
-    LInitLoopIndexSwitcha = GraphInputInLoop_2.Link( OInitLoopIndex , ISwitcha )
+    LInitLoopIndexSwitcha = GraphInputInLoop_2_1.Link( OInitLoopIndex , ISwitcha )
     
-    LInitLoopMinEndOfInitLoopMin = GraphInputInLoop_2.Link( OInitLoopMin , IEndOfInitLoopMin )
+    LInitLoopMinEndOfInitLoopMin = GraphInputInLoop_2_1.Link( OInitLoopMin , IEndOfInitLoopMin )
     
-    LInitLoopMaxEndOfInitLoopMax = GraphInputInLoop_2.Link( OInitLoopMax , IEndOfInitLoopMax )
+    LInitLoopMaxEndOfInitLoopMax = GraphInputInLoop_2_1.Link( OInitLoopMax , IEndOfInitLoopMax )
     
-    LSwitchOddIsOddGate = GraphInputInLoop_2.Link( OSwitchOdd , IIsOddGate )
+    LSwitchOddIsOddGate = GraphInputInLoop_2_1.Link( OSwitchOdd , IIsOddGate )
     
-    LSwitchEvenEndSwitchDefault = GraphInputInLoop_2.Link( OSwitchEven , IEndSwitchDefault )
+    LSwitchEvenIsOddEven = GraphInputInLoop_2_1.Link( OSwitchEven , IIsOddEven )
     
-    LSwitchEvenIsOddEven = GraphInputInLoop_2.Link( OSwitchEven , IIsOddEven )
-    LSwitchEvenIsOddEven.AddCoord( 1 , 375 , 92 )
-    LSwitchEvenIsOddEven.AddCoord( 2 , 375 , 159 )
-    
-    LSwitchaIsOdda = GraphInputInLoop_2.Link( OSwitcha , IIsOdda )
+    LSwitchaIsOdda = GraphInputInLoop_2_1.Link( OSwitcha , IIsOdda )
     LSwitchaIsOdda.AddCoord( 1 , 366 , 71 )
     LSwitchaIsOdda.AddCoord( 2 , 366 , 182 )
     
-    LEndSwitchaEndOfInitLoopIndex = GraphInputInLoop_2.Link( OEndSwitcha , IEndOfInitLoopIndex )
+    LSwitchDefaultEndSwitchDefault = GraphInputInLoop_2_1.Link( OSwitchDefault , IEndSwitchDefault )
+    
+    LEndSwitchaEndOfInitLoopIndex = GraphInputInLoop_2_1.Link( OEndSwitcha , IEndOfInitLoopIndex )
     
     # Input datas
     IIsOddConst.Input( 'Const Input Value' )
     IInitLoopIndex.Input( 0 )
     IInitLoopMin.Input( 0 )
-    IInitLoopMax.Input( 100 )
+    IInitLoopMax.Input( 23 )
     
     # Output Ports of the graph
     #OIsOddConst = IsOdd.GetOutPort( 'Const' )
     #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
     #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
     #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
-    return GraphInputInLoop_2
+    return GraphInputInLoop_2_1
 
 
-GraphInputInLoop_2 = DefGraphInputInLoop_2()
+GraphInputInLoop_2_1 = DefGraphInputInLoop_2_1()
index b15d875ee3f37c59440001220fc0eabef8cb8626..dc605bfe0316a09c7e8f5e66ecf3bf0ff397493b 100644 (file)
@@ -5,11 +5,11 @@
 <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
-    <node-name>GraphInputInLoop_2</node-name>
+    <node-name>GraphInputInLoop_2_1</node-name>
     <kind>1</kind>
     <coupled-node>?</coupled-node>
     <service>
-<service-name>GraphInputInLoop_2</service-name>
+<service-name>GraphInputInLoop_2_1</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>string</inParameter-type>
@@ -39,7 +39,7 @@
     <DataStream-list/>
     <PyFunction-list/>
     <creation-date>22/10/2003 - 10:36:39</creation-date>
-    <lastmodification-date>7/1/2005 - 16:47:59</lastmodification-date>
+    <lastmodification-date>8/3/2005 - 15:2:42</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[    print 'IsOdd',a,Even,Const  ]]></PyFunc>
       <PyFunc><![CDATA[    sleep( 1 )      ]]></PyFunc>
       <PyFunc><![CDATA[    return a,Const ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>7/1/2005 - 16:47:59</creation-date>
-    <lastmodification-date>7/1/2005 - 16:47:59</lastmodification-date>
+    <creation-date>8/3/2005 - 15:2:42</creation-date>
+    <lastmodification-date>8/3/2005 - 15:2:42</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Python function</comment>
     <x-position>397</x-position>
-    <y-position>1</y-position>   </node>
+    <y-position>5</y-position>   </node>
    <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
      <PyFunction>
 <FuncName>?</FuncName>
       <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>7/1/2005 - 16:47:59</creation-date>
-    <lastmodification-date>7/1/2005 - 16:47:59</lastmodification-date>
+    <creation-date>8/3/2005 - 15:2:42</creation-date>
+    <lastmodification-date>8/3/2005 - 15:2:42</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[        else :     ]]></PyFunc>
       <PyFunc><![CDATA[                DoLoop = 0     ]]></PyFunc>
       <PyFunc><![CDATA[        return DoLoop,Index,Min,Max     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>7/1/2005 - 16:47:59</creation-date>
-    <lastmodification-date>7/1/2005 - 16:47:59</lastmodification-date>
+    <creation-date>8/3/2005 - 15:2:42</creation-date>
+    <lastmodification-date>8/3/2005 - 15:2:42</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Compute Node</comment>
-    <x-position>767</x-position>
-    <y-position>105</y-position>   </node>
+    <x-position>770</x-position>
+    <y-position>147</y-position>   </node>
    <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
       <PyFunc><![CDATA[    if ( a & 1 ) == 0 :  ]]></PyFunc>
       <PyFunc><![CDATA[        sleep(1)  ]]></PyFunc>
       <PyFunc><![CDATA[    return a & 1,1-(a&1),a    ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>7/1/2005 - 16:47:59</creation-date>
-    <lastmodification-date>7/1/2005 - 16:47:59</lastmodification-date>
+    <creation-date>8/3/2005 - 15:2:42</creation-date>
+    <lastmodification-date>8/3/2005 - 15:2:42</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[    if ( a & 1 ) == 0 :  ]]></PyFunc>
       <PyFunc><![CDATA[        sleep(1)  ]]></PyFunc>
       <PyFunc><![CDATA[    return a    ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>7/1/2005 - 16:47:59</creation-date>
-    <lastmodification-date>7/1/2005 - 16:47:59</lastmodification-date>
+    <creation-date>8/3/2005 - 15:2:42</creation-date>
+    <lastmodification-date>8/3/2005 - 15:2:42</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Compute Node</comment>
-    <x-position>587</x-position>
-    <y-position>105</y-position>   </node>  </node-list>
+    <x-position>588</x-position>
+    <y-position>147</y-position>   </node>  </node-list>
   <link-list>
 <link>
 <fromnode-name>IsOdd</fromnode-name>
     <toserviceparameter-name>a</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>576</x>
-      <y>136</y>     </coord>
+<x>573</x>
+      <y>178</y>     </coord>
      <coord>
-<x>576</x>
-      <y>73</y>     </coord>    </coord-list>   </link>
+<x>573</x>
+      <y>76</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>InitLoop</fromnode-name>
     <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
     <toserviceparameter-name>Gate</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
-<fromnode-name>Switch</fromnode-name>
-    <fromserviceparameter-name>Even</fromserviceparameter-name>
-    <tonode-name>EndSwitch</tonode-name>
-    <toserviceparameter-name>Default</toserviceparameter-name>
-    <coord-list/>   </link>
-   <link>
 <fromnode-name>Switch</fromnode-name>
     <fromserviceparameter-name>Even</fromserviceparameter-name>
     <tonode-name>IsOdd</tonode-name>
     <toserviceparameter-name>Even</toserviceparameter-name>
-    <coord-list>
-<coord>
-<x>375</x>
-      <y>92</y>     </coord>
-     <coord>
-<x>375</x>
-      <y>159</y>     </coord>    </coord-list>   </link>
+    <coord-list/>   </link>
    <link>
 <fromnode-name>Switch</fromnode-name>
     <fromserviceparameter-name>a</fromserviceparameter-name>
 <x>366</x>
       <y>182</y>     </coord>    </coord-list>   </link>
    <link>
+<fromnode-name>Switch</fromnode-name>
+    <fromserviceparameter-name>Default</fromserviceparameter-name>
+    <tonode-name>EndSwitch</tonode-name>
+    <toserviceparameter-name>Default</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndSwitch</fromnode-name>
     <fromserviceparameter-name>a</fromserviceparameter-name>
     <tonode-name>EndOfInitLoop</tonode-name>
     <coord-list/>   </link>  </link-list>
   <data-list>
 <data>
-<fromnode-name>GraphInputInLoop_2</fromnode-name>
+<fromnode-name>GraphInputInLoop_2_1</fromnode-name>
     <fromserviceparameter-name>IsOdd__Const</fromserviceparameter-name>
     <tonode-name>IsOdd</tonode-name>
     <toserviceparameter-name>Const</toserviceparameter-name>
      <value>Const Input Value</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphInputInLoop_2</fromnode-name>
+<fromnode-name>GraphInputInLoop_2_1</fromnode-name>
     <fromserviceparameter-name>InitLoop__Index</fromserviceparameter-name>
     <tonode-name>InitLoop</tonode-name>
     <toserviceparameter-name>Index</toserviceparameter-name>
      <value>0</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphInputInLoop_2</fromnode-name>
+<fromnode-name>GraphInputInLoop_2_1</fromnode-name>
     <fromserviceparameter-name>InitLoop__Min</fromserviceparameter-name>
     <tonode-name>InitLoop</tonode-name>
     <toserviceparameter-name>Min</toserviceparameter-name>
      <value>0</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphInputInLoop_2</fromnode-name>
+<fromnode-name>GraphInputInLoop_2_1</fromnode-name>
     <fromserviceparameter-name>InitLoop__Max</fromserviceparameter-name>
     <tonode-name>InitLoop</tonode-name>
     <toserviceparameter-name>Max</toserviceparameter-name>
     <data-value>
 <value-type>3</value-type>
-     <value>100</value>    </data-value>
+     <value>23</value>    </data-value>
     <coord-list/>   </data>  </data-list> </dataflow></supergraph>
index f9998e60673b722f1c0072d9c693544a7ee5c85d..8e947c9b76fedfd0d5d15439d348cf10e69de0c3 100755 (executable)
@@ -1,47 +1,62 @@
 
-# Generated python file of Graph GraphLoopSwitch_1
+# Generated python file of Graph GraphLoopSwitch
 
 from SuperV import *
 
-# Graph creation of GraphLoopSwitch_1
-def DefGraphLoopSwitch_1() :
-    GraphLoopSwitch_1 = Graph( 'GraphLoopSwitch_1' )
-    GraphLoopSwitch_1.SetName( 'GraphLoopSwitch_1' )
-    GraphLoopSwitch_1.SetAuthor( '' )
-    GraphLoopSwitch_1.SetComment( '' )
-    GraphLoopSwitch_1.Coords( 0 , 0 )
+# Graph creation of GraphLoopSwitch
+def DefGraphLoopSwitch() :
+    GraphLoopSwitch = Graph( 'GraphLoopSwitch' )
+    GraphLoopSwitch.SetName( 'GraphLoopSwitch' )
+    GraphLoopSwitch.SetAuthor( 'JR' )
+    GraphLoopSwitch.SetComment( '' )
+    GraphLoopSwitch.Coords( 0 , 0 )
     
     # Creation of Factory Nodes
     
     # Creation of InLine Nodes
     PyIsOdd = []
-    PyIsOdd.append( 'from time import *    ' )
-    PyIsOdd.append( 'def IsOdd(a,Even) :        ' )
-    PyIsOdd.append( '    print a,"IsOdd (GraphLoopSwitch1)"       ' )
-    PyIsOdd.append( '    sleep( 1 )    ' )
-    PyIsOdd.append( '    return a      ' )
-    IsOdd = GraphLoopSwitch_1.INode( 'IsOdd' , PyIsOdd )
+    PyIsOdd.append( 'from time import *     ' )
+    PyIsOdd.append( 'def IsOdd(a) :         ' )
+    PyIsOdd.append( '    print a,"IsOdd (GraphLoopSwitch1)"        ' )
+    PyIsOdd.append( '    sleep( 1 )     ' )
+    PyIsOdd.append( '    return a       ' )
+    IsOdd = GraphLoopSwitch.INode( 'IsOdd' , PyIsOdd )
     IsOdd.SetName( 'IsOdd' )
     IsOdd.SetAuthor( '' )
     IsOdd.SetComment( 'Python function' )
     IsOdd.Coords( 397 , 1 )
     IIsOdda = IsOdd.InPort( 'a' , 'long' )
-    IIsOddEven = IsOdd.InPort( 'Even' , 'boolean' )
     IIsOddGate = IsOdd.GetInPort( 'Gate' )
     OIsOdda = IsOdd.OutPort( 'a' , 'long' )
     OIsOddGate = IsOdd.GetOutPort( 'Gate' )
     
+    PyValEven = []
+    PyValEven.append( 'from time import * ' )
+    PyValEven.append( 'def ValEven(Even) : ' )
+    PyValEven.append( '    sleep(1) ' )
+    PyValEven.append( '    return Even   ' )
+    PyValEven.append( '' )
+    ValEven = GraphLoopSwitch.INode( 'ValEven' , PyValEven )
+    ValEven.SetName( 'ValEven' )
+    ValEven.SetAuthor( '' )
+    ValEven.SetComment( 'Compute Node' )
+    ValEven.Coords( 396 , 222 )
+    IValEvenEven = ValEven.InPort( 'Even' , 'long' )
+    IValEvenGate = ValEven.GetInPort( 'Gate' )
+    OValEvenEven = ValEven.OutPort( 'Even' , 'long' )
+    OValEvenGate = ValEven.GetOutPort( 'Gate' )
+    
     # Creation of Loop Nodes
     PyInitLoop = []
     PyInitLoop.append( 'def InitLoop(Index,Min,Max) : ' )
     PyInitLoop.append( '       Index = Min ' )
     PyInitLoop.append( '       return Index,Min,Max ' )
-    PyInitLoop.append( ' ' )
+    PyInitLoop.append( '' )
     PyMoreInitLoop = []
-    PyMoreInitLoop.append( ' ' )
+    PyMoreInitLoop.append( '' )
     PyNextInitLoop = []
-    PyNextInitLoop.append( ' ' )
-    InitLoop,EndOfInitLoop = GraphLoopSwitch_1.LNode( 'InitLoop' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
+    PyNextInitLoop.append( '' )
+    InitLoop,EndOfInitLoop = GraphLoopSwitch.LNode( 'InitLoop' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
     EndOfInitLoop.SetName( 'EndOfInitLoop' )
     EndOfInitLoop.SetAuthor( '' )
     EndOfInitLoop.SetComment( 'Compute Node' )
@@ -73,6 +88,7 @@ def DefGraphLoopSwitch_1() :
     OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
     OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
     OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
+    OEndOfInitLoopGate = EndOfInitLoop.GetOutPort( 'Gate' )
     InitLoop.SetName( 'InitLoop' )
     InitLoop.SetAuthor( '' )
     InitLoop.SetComment( 'Compute Node' )
@@ -85,18 +101,18 @@ def DefGraphLoopSwitch_1() :
     PySwitch.append( '    if ( a & 1 ) == 0 :  ' )
     PySwitch.append( '        sleep(1)  ' )
     PySwitch.append( '    return a & 1,1-(a&1),a    ' )
-    Switch,EndSwitch = GraphLoopSwitch_1.SNode( 'Switch' , PySwitch )
+    Switch,EndSwitch = GraphLoopSwitch.SNode( 'Switch' , PySwitch )
     EndSwitch.SetName( 'EndSwitch' )
     EndSwitch.SetAuthor( '' )
     EndSwitch.SetComment( 'Compute Node' )
     EndSwitch.Coords( 587 , 103 )
     PyEndSwitch = []
-    PyEndSwitch.append( 'def EndSwitch(a) :    ' )
-    PyEndSwitch.append( '    if ( a & 1 ) == 0 :  ' )
-    PyEndSwitch.append( '        sleep(1)  ' )
-    PyEndSwitch.append( '    return a    ' )
+    PyEndSwitch.append( 'def EndSwitch(a,Even) : ' )
+    PyEndSwitch.append( '    sleep(1)     ' )
+    PyEndSwitch.append( '    return a       ' )
     EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
     IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
+    IEndSwitchEven = EndSwitch.InPort( 'Even' , 'long' )
     IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
     OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
     OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
@@ -112,40 +128,36 @@ def DefGraphLoopSwitch_1() :
     OSwitchDefault = Switch.GetOutPort( 'Default' )
     
     # Creation of Links
-    LIsOddaEndSwitcha = GraphLoopSwitch_1.Link( OIsOdda , IEndSwitcha )
-    LIsOddaEndSwitcha.AddCoord( 1 , 576 , 136 )
-    LIsOddaEndSwitcha.AddCoord( 2 , 575 , 81 )
+    LIsOddaEndSwitcha = GraphLoopSwitch.Link( OIsOdda , IEndSwitcha )
+    
+    LInitLoopIndexSwitcha = GraphLoopSwitch.Link( OInitLoopIndex , ISwitcha )
     
-    LInitLoopIndexSwitcha = GraphLoopSwitch_1.Link( OInitLoopIndex , ISwitcha )
+    LInitLoopMinEndOfInitLoopMin = GraphLoopSwitch.Link( OInitLoopMin , IEndOfInitLoopMin )
     
-    LInitLoopMinEndOfInitLoopMin = GraphLoopSwitch_1.Link( OInitLoopMin , IEndOfInitLoopMin )
+    LInitLoopMaxEndOfInitLoopMax = GraphLoopSwitch.Link( OInitLoopMax , IEndOfInitLoopMax )
     
-    LInitLoopMaxEndOfInitLoopMax = GraphLoopSwitch_1.Link( OInitLoopMax , IEndOfInitLoopMax )
+    LSwitchOddIsOddGate = GraphLoopSwitch.Link( OSwitchOdd , IIsOddGate )
     
-    LSwitchOddIsOddGate = GraphLoopSwitch_1.Link( OSwitchOdd , IIsOddGate )
+    LSwitchEvenValEvenEven = GraphLoopSwitch.Link( OSwitchEven , IValEvenEven )
     
-    LSwitchEvenEndSwitchDefault = GraphLoopSwitch_1.Link( OSwitchEven , IEndSwitchDefault )
+    LSwitchaIsOdda = GraphLoopSwitch.Link( OSwitcha , IIsOdda )
     
-    LSwitchEvenIsOddEven = GraphLoopSwitch_1.Link( OSwitchEven , IIsOddEven )
-    LSwitchEvenIsOddEven.AddCoord( 1 , 375 , 111 )
-    LSwitchEvenIsOddEven.AddCoord( 2 , 375 , 172 )
+    LSwitchDefaultEndSwitchDefault = GraphLoopSwitch.Link( OSwitchDefault , IEndSwitchDefault )
     
-    LSwitchaIsOdda = GraphLoopSwitch_1.Link( OSwitcha , IIsOdda )
-    LSwitchaIsOdda.AddCoord( 1 , 362 , 82 )
-    LSwitchaIsOdda.AddCoord( 2 , 360 , 201 )
+    LEndSwitchaEndOfInitLoopIndex = GraphLoopSwitch.Link( OEndSwitcha , IEndOfInitLoopIndex )
     
-    LEndSwitchaEndOfInitLoopIndex = GraphLoopSwitch_1.Link( OEndSwitcha , IEndOfInitLoopIndex )
+    LValEvenEvenEndSwitchEven = GraphLoopSwitch.Link( OValEvenEven , IEndSwitchEven )
     
     # Input datas
     IInitLoopIndex.Input( 0 )
     IInitLoopMin.Input( 5 )
-    IInitLoopMax.Input( 100 )
+    IInitLoopMax.Input( 23 )
     
     # Output Ports of the graph
     #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
     #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
     #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
-    return GraphLoopSwitch_1
+    return GraphLoopSwitch
 
 
-GraphLoopSwitch_1 = DefGraphLoopSwitch_1()
+GraphLoopSwitch = DefGraphLoopSwitch()
index d52d92f02c2c225473af3c54d2f75e412d55ea8d..b66b2240bd79790a8192cfc0367fdd2c3154f85f 100755 (executable)
@@ -5,11 +5,11 @@
 <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
-    <node-name>GraphLoopSwitch_1</node-name>
+    <node-name>GraphLoopSwitch</node-name>
     <kind>1</kind>
     <coupled-node>?</coupled-node>
     <service>
-<service-name>GraphLoopSwitch_1</service-name>
+<service-name>GraphLoopSwitch</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
@@ -33,9 +33,9 @@
     <DataStream-list/>
     <PyFunction-list/>
     <creation-date>22/10/2003 - 10:36:39</creation-date>
-    <lastmodification-date>16/12/2004 - 16:45:0</lastmodification-date>
+    <lastmodification-date>8/3/2005 - 15:8:55</lastmodification-date>
     <editor-release>1.05</editor-release>
-    <author>?</author>
+    <author>JR</author>
     <container>?</container>
     <comment>?</comment>
     <x-position>0</x-position>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-       <inParameter-name>a</inParameter-name>      </inParameter>
-      <inParameter>
-<inParameter-type>boolean</inParameter-type>
-       <inParameter-name>Even</inParameter-name>      </inParameter>     </inParameter-list>
+       <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
      <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
     <PyFunction-list>
 <PyFunction>
 <FuncName>IsOdd</FuncName>
-      <PyFunc><![CDATA[from time import *    ]]></PyFunc>
-      <PyFunc><![CDATA[def IsOdd(a,Even) :        ]]></PyFunc>
-      <PyFunc><![CDATA[    print a,"IsOdd (GraphLoopSwitch1)"       ]]></PyFunc>
-      <PyFunc><![CDATA[    sleep( 1 )    ]]></PyFunc>
-      <PyFunc><![CDATA[    return a      ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>16/12/2004 - 16:45:0</creation-date>
-    <lastmodification-date>16/12/2004 - 16:45:0</lastmodification-date>
+      <PyFunc><![CDATA[from time import *     ]]></PyFunc>
+      <PyFunc><![CDATA[def IsOdd(a) :         ]]></PyFunc>
+      <PyFunc><![CDATA[    print a,"IsOdd (GraphLoopSwitch1)"        ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep( 1 )     ]]></PyFunc>
+      <PyFunc><![CDATA[    return a       ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:8:55</creation-date>
+    <lastmodification-date>8/3/2005 - 15:8:55</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
      <PyFunction>
 <FuncName>?</FuncName>
       <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>16/12/2004 - 16:45:0</creation-date>
-    <lastmodification-date>16/12/2004 - 16:45:0</lastmodification-date>
+    <creation-date>8/3/2005 - 15:8:55</creation-date>
+    <lastmodification-date>8/3/2005 - 15:8:55</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[        else :     ]]></PyFunc>
       <PyFunc><![CDATA[                DoLoop = 0     ]]></PyFunc>
       <PyFunc><![CDATA[        return DoLoop,Index,Min,Max     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>16/12/2004 - 16:45:0</creation-date>
-    <lastmodification-date>16/12/2004 - 16:45:0</lastmodification-date>
+    <creation-date>8/3/2005 - 15:8:55</creation-date>
+    <lastmodification-date>8/3/2005 - 15:8:55</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[    if ( a & 1 ) == 0 :  ]]></PyFunc>
       <PyFunc><![CDATA[        sleep(1)  ]]></PyFunc>
       <PyFunc><![CDATA[    return a & 1,1-(a&1),a    ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>16/12/2004 - 16:45:0</creation-date>
-    <lastmodification-date>16/12/2004 - 16:45:0</lastmodification-date>
+    <creation-date>8/3/2005 - 15:8:55</creation-date>
+    <lastmodification-date>8/3/2005 - 15:8:55</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-       <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
+       <inParameter-name>a</inParameter-name>      </inParameter>
+      <inParameter>
+<inParameter-type>long</inParameter-type>
+       <inParameter-name>Even</inParameter-name>      </inParameter>     </inParameter-list>
      <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
     <PyFunction-list>
 <PyFunction>
 <FuncName>EndSwitch</FuncName>
-      <PyFunc><![CDATA[def EndSwitch(a) :    ]]></PyFunc>
-      <PyFunc><![CDATA[    if ( a & 1 ) == 0 :  ]]></PyFunc>
-      <PyFunc><![CDATA[        sleep(1)  ]]></PyFunc>
-      <PyFunc><![CDATA[    return a    ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>16/12/2004 - 16:45:0</creation-date>
-    <lastmodification-date>16/12/2004 - 16:45:0</lastmodification-date>
+      <PyFunc><![CDATA[def EndSwitch(a,Even) : ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep(1)     ]]></PyFunc>
+      <PyFunc><![CDATA[    return a       ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:8:55</creation-date>
+    <lastmodification-date>8/3/2005 - 15:8:55</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Compute Node</comment>
     <x-position>587</x-position>
-    <y-position>103</y-position>   </node>  </node-list>
+    <y-position>103</y-position>   </node>
+   <node>
+<component-name>?</component-name>
+    <interface-name>?</interface-name>
+    <node-name>ValEven</node-name>
+    <kind>3</kind>
+    <coupled-node>?</coupled-node>
+    <service>
+<service-name>ValEven</service-name>
+     <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+       <inParameter-name>Even</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>Even</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
+<PyFunction>
+<FuncName>ValEven</FuncName>
+      <PyFunc><![CDATA[from time import * ]]></PyFunc>
+      <PyFunc><![CDATA[def ValEven(Even) : ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
+      <PyFunc><![CDATA[    return Even   ]]></PyFunc>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:8:55</creation-date>
+    <lastmodification-date>8/3/2005 - 15:8:55</lastmodification-date>
+    <editor-release>2.0</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>396</x-position>
+    <y-position>222</y-position>   </node>  </node-list>
   <link-list>
 <link>
 <fromnode-name>IsOdd</fromnode-name>
     <fromserviceparameter-name>a</fromserviceparameter-name>
     <tonode-name>EndSwitch</tonode-name>
     <toserviceparameter-name>a</toserviceparameter-name>
-    <coord-list>
-<coord>
-<x>576</x>
-      <y>136</y>     </coord>
-     <coord>
-<x>575</x>
-      <y>81</y>     </coord>    </coord-list>   </link>
+    <coord-list/>   </link>
    <link>
 <fromnode-name>InitLoop</fromnode-name>
     <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
    <link>
 <fromnode-name>Switch</fromnode-name>
     <fromserviceparameter-name>Even</fromserviceparameter-name>
-    <tonode-name>EndSwitch</tonode-name>
-    <toserviceparameter-name>Default</toserviceparameter-name>
-    <coord-list/>   </link>
-   <link>
-<fromnode-name>Switch</fromnode-name>
-    <fromserviceparameter-name>Even</fromserviceparameter-name>
-    <tonode-name>IsOdd</tonode-name>
+    <tonode-name>ValEven</tonode-name>
     <toserviceparameter-name>Even</toserviceparameter-name>
-    <coord-list>
-<coord>
-<x>375</x>
-      <y>111</y>     </coord>
-     <coord>
-<x>375</x>
-      <y>172</y>     </coord>    </coord-list>   </link>
+    <coord-list/>   </link>
    <link>
 <fromnode-name>Switch</fromnode-name>
     <fromserviceparameter-name>a</fromserviceparameter-name>
     <tonode-name>IsOdd</tonode-name>
     <toserviceparameter-name>a</toserviceparameter-name>
-    <coord-list>
-<coord>
-<x>362</x>
-      <y>82</y>     </coord>
-     <coord>
-<x>360</x>
-      <y>201</y>     </coord>    </coord-list>   </link>
+    <coord-list/>   </link>
+   <link>
+<fromnode-name>Switch</fromnode-name>
+    <fromserviceparameter-name>Default</fromserviceparameter-name>
+    <tonode-name>EndSwitch</tonode-name>
+    <toserviceparameter-name>Default</toserviceparameter-name>
+    <coord-list/>   </link>
    <link>
 <fromnode-name>EndSwitch</fromnode-name>
     <fromserviceparameter-name>a</fromserviceparameter-name>
     <tonode-name>EndOfInitLoop</tonode-name>
     <toserviceparameter-name>Index</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
+<fromnode-name>ValEven</fromnode-name>
+    <fromserviceparameter-name>Even</fromserviceparameter-name>
+    <tonode-name>EndSwitch</tonode-name>
+    <toserviceparameter-name>Even</toserviceparameter-name>
     <coord-list/>   </link>  </link-list>
   <data-list>
 <data>
-<fromnode-name>GraphLoopSwitch_1</fromnode-name>
+<fromnode-name>GraphLoopSwitch</fromnode-name>
     <fromserviceparameter-name>InitLoop__Index</fromserviceparameter-name>
     <tonode-name>InitLoop</tonode-name>
     <toserviceparameter-name>Index</toserviceparameter-name>
      <value>0</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphLoopSwitch_1</fromnode-name>
+<fromnode-name>GraphLoopSwitch</fromnode-name>
     <fromserviceparameter-name>InitLoop__Min</fromserviceparameter-name>
     <tonode-name>InitLoop</tonode-name>
     <toserviceparameter-name>Min</toserviceparameter-name>
      <value>5</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphLoopSwitch_1</fromnode-name>
+<fromnode-name>GraphLoopSwitch</fromnode-name>
     <fromserviceparameter-name>InitLoop__Max</fromserviceparameter-name>
     <tonode-name>InitLoop</tonode-name>
     <toserviceparameter-name>Max</toserviceparameter-name>
     <data-value>
 <value-type>3</value-type>
-     <value>100</value>    </data-value>
+     <value>23</value>    </data-value>
     <coord-list/>   </data>  </data-list> </dataflow></supergraph>
index 637832aebc21f0f4458803ab92b9139fd491f8bc..af267b6ef012369283b27d4f8ea9fde6b6457dd1 100644 (file)
@@ -1,26 +1,26 @@
 
-# Generated python file of Graph GraphLoopSwitchs
+# Generated python file of Graph GraphLoopSwitchs_1
 
 from SuperV import *
 
-# Graph creation of GraphLoopSwitchs
-def DefGraphLoopSwitchs() :
-    GraphLoopSwitchs = Graph( 'GraphLoopSwitchs' )
-    GraphLoopSwitchs.SetName( 'GraphLoopSwitchs' )
-    GraphLoopSwitchs.SetAuthor( 'JR' )
-    GraphLoopSwitchs.SetComment( '' )
-    GraphLoopSwitchs.Coords( 0 , 0 )
+# Graph creation of GraphLoopSwitchs_1
+def DefGraphLoopSwitchs_1() :
+    GraphLoopSwitchs_1 = Graph( 'GraphLoopSwitchs_1' )
+    GraphLoopSwitchs_1.SetName( 'GraphLoopSwitchs_1' )
+    GraphLoopSwitchs_1.SetAuthor( 'JR' )
+    GraphLoopSwitchs_1.SetComment( '' )
+    GraphLoopSwitchs_1.Coords( 0 , 0 )
     
     # Creation of Factory Nodes
     
     # Creation of InLine Nodes
     PyIsOdd = []
-    PyIsOdd.append( 'from time import *    ' )
-    PyIsOdd.append( 'def IsOdd(a) :        ' )
-    PyIsOdd.append( '    print a,"IsOdd"       ' )
-    PyIsOdd.append( '    sleep( 1 )    ' )
-    PyIsOdd.append( '    return a      ' )
-    IsOdd = GraphLoopSwitchs.INode( 'IsOdd' , PyIsOdd )
+    PyIsOdd.append( 'from time import *     ' )
+    PyIsOdd.append( 'def IsOdd(a) :         ' )
+    PyIsOdd.append( '    print a,"IsOdd"        ' )
+    PyIsOdd.append( '    sleep( 1 )     ' )
+    PyIsOdd.append( '    return a,1 ' )
+    IsOdd = GraphLoopSwitchs_1.INode( 'IsOdd' , PyIsOdd )
     IsOdd.SetName( 'IsOdd' )
     IsOdd.SetAuthor( '' )
     IsOdd.SetComment( 'Python function' )
@@ -28,28 +28,32 @@ def DefGraphLoopSwitchs() :
     IIsOdda = IsOdd.InPort( 'a' , 'long' )
     IIsOddGate = IsOdd.GetInPort( 'Gate' )
     OIsOdda = IsOdd.OutPort( 'a' , 'long' )
+    OIsOddOdd = IsOdd.OutPort( 'Odd' , 'long' )
     OIsOddGate = IsOdd.GetOutPort( 'Gate' )
     
     PyIsEven = []
-    PyIsEven.append( 'from time import *    ' )
-    PyIsEven.append( 'def IsEven(a) :        ' )
-    PyIsEven.append( '    print a,"IsEven"       ' )
-    PyIsEven.append( '    sleep( 1 )    ' )
-    PyIsEven.append( '    return a      ' )
-    IsEven = GraphLoopSwitchs.INode( 'IsEven' , PyIsEven )
+    PyIsEven.append( 'from time import *     ' )
+    PyIsEven.append( 'def IsEven(a) :         ' )
+    PyIsEven.append( '    print a,"IsEven"        ' )
+    PyIsEven.append( '    sleep( 1 )     ' )
+    PyIsEven.append( '    return a,1 ' )
+    IsEven = GraphLoopSwitchs_1.INode( 'IsEven' , PyIsEven )
     IsEven.SetName( 'IsEven' )
     IsEven.SetAuthor( '' )
     IsEven.SetComment( 'Python function' )
-    IsEven.Coords( 479 , 311 )
+    IsEven.Coords( 482 , 292 )
     IIsEvena = IsEven.InPort( 'a' , 'long' )
     IIsEvenGate = IsEven.GetInPort( 'Gate' )
     OIsEvena = IsEven.OutPort( 'a' , 'long' )
+    OIsEvenEven = IsEven.OutPort( 'Even' , 'long' )
     OIsEvenGate = IsEven.GetOutPort( 'Gate' )
     
     PySwitchsCompare = []
+    PySwitchsCompare.append( 'from time import * ' )
     PySwitchsCompare.append( 'def SwitchsCompare(aOdd,Odd,aEven,Even) : ' )
-    PySwitchsCompare.append( '    return a ' )
-    SwitchsCompare = GraphLoopSwitchs.INode( 'SwitchsCompare' , PySwitchsCompare )
+    PySwitchsCompare.append( '    sleep(1) ' )
+    PySwitchsCompare.append( '    return aOdd  ' )
+    SwitchsCompare = GraphLoopSwitchs_1.INode( 'SwitchsCompare' , PySwitchsCompare )
     SwitchsCompare.SetName( 'SwitchsCompare' )
     SwitchsCompare.SetAuthor( '' )
     SwitchsCompare.SetComment( 'Compute Node' )
@@ -77,7 +81,7 @@ def DefGraphLoopSwitchs() :
     PyNextLoop.append( 'def NextLoop(Index,Min,Max) :     ' )
     PyNextLoop.append( '       Index = Index + 1     ' )
     PyNextLoop.append( '       return Index,Min,Max     ' )
-    Loop,EndOfLoop = GraphLoopSwitchs.LNode( 'InitLoop' , PyLoop , 'MoreLoop' , PyMoreLoop , 'NextLoop' , PyNextLoop )
+    Loop,EndOfLoop = GraphLoopSwitchs_1.LNode( 'InitLoop' , PyLoop , 'MoreLoop' , PyMoreLoop , 'NextLoop' , PyNextLoop )
     EndOfLoop.SetName( 'EndOfLoop' )
     EndOfLoop.SetAuthor( '' )
     EndOfLoop.SetComment( 'Compute Node' )
@@ -110,18 +114,21 @@ def DefGraphLoopSwitchs() :
     
     # Creation of Switch Nodes
     PySwitchOdd = []
-    PySwitchOdd.append( 'from time import * ' )
-    PySwitchOdd.append( 'def Switch(a) :   ' )
-    PySwitchOdd.append( '    if ( a & 1 ) == 0 : ' )
-    PySwitchOdd.append( '        sleep(1)    ' )
-    PySwitchOdd.append( '    return a & 1,1-(a&1),a    ' )
-    SwitchOdd,EndOfSwitchOdd = GraphLoopSwitchs.SNode( 'Switch' , PySwitchOdd )
+    PySwitchOdd.append( 'from time import *  ' )
+    PySwitchOdd.append( 'def Switch(a) :    ' )
+    PySwitchOdd.append( '    sleep(1)     ' )
+    PySwitchOdd.append( '    return a & 1,1-(a&1),a     ' )
+    SwitchOdd,EndOfSwitchOdd = GraphLoopSwitchs_1.SNode( 'Switch' , PySwitchOdd )
     EndOfSwitchOdd.SetName( 'EndOfSwitchOdd' )
     EndOfSwitchOdd.SetAuthor( '' )
     EndOfSwitchOdd.SetComment( 'Compute Node' )
     EndOfSwitchOdd.Coords( 711 , 161 )
     PyEndOfSwitchOdd = []
-    EndOfSwitchOdd.SetPyFunction( '' , PyEndOfSwitchOdd )
+    PyEndOfSwitchOdd.append( 'from time import * ' )
+    PyEndOfSwitchOdd.append( 'def EndOfSwitchOdd(a,Odd) : ' )
+    PyEndOfSwitchOdd.append( '    sleep(1) ' )
+    PyEndOfSwitchOdd.append( '    return a,Odd ' )
+    EndOfSwitchOdd.SetPyFunction( 'EndOfSwitchOdd' , PyEndOfSwitchOdd )
     IEndOfSwitchOdda = EndOfSwitchOdd.InPort( 'a' , 'long' )
     IEndOfSwitchOddOdd = EndOfSwitchOdd.InPort( 'Odd' , 'boolean' )
     IEndOfSwitchOddDefault = EndOfSwitchOdd.GetInPort( 'Default' )
@@ -140,18 +147,21 @@ def DefGraphLoopSwitchs() :
     OSwitchOddDefault = SwitchOdd.GetOutPort( 'Default' )
     
     PySwitchEven = []
-    PySwitchEven.append( 'from time import *  ' )
-    PySwitchEven.append( 'def Switch(a) :    ' )
-    PySwitchEven.append( '    if ( a & 1 ) == 0 :  ' )
-    PySwitchEven.append( '        sleep(1)  ' )
-    PySwitchEven.append( '    return a & 1,1-(a&1),a    ' )
-    SwitchEven,EndOfSwitchEven = GraphLoopSwitchs.SNode( 'Switch' , PySwitchEven )
+    PySwitchEven.append( 'from time import *   ' )
+    PySwitchEven.append( 'def Switch(a) : ' )
+    PySwitchEven.append( '    sleep(1)   ' )
+    PySwitchEven.append( '    return a & 1,1-(a&1),a     ' )
+    SwitchEven,EndOfSwitchEven = GraphLoopSwitchs_1.SNode( 'Switch' , PySwitchEven )
     EndOfSwitchEven.SetName( 'EndOfSwitchEven' )
     EndOfSwitchEven.SetAuthor( '' )
     EndOfSwitchEven.SetComment( 'Compute Node' )
     EndOfSwitchEven.Coords( 718 , 361 )
     PyEndOfSwitchEven = []
-    EndOfSwitchEven.SetPyFunction( '' , PyEndOfSwitchEven )
+    PyEndOfSwitchEven.append( 'from time import * ' )
+    PyEndOfSwitchEven.append( 'def EndOfSwitchEven(a,Even) : ' )
+    PyEndOfSwitchEven.append( '    sleep(1) ' )
+    PyEndOfSwitchEven.append( '    return a,Even ' )
+    EndOfSwitchEven.SetPyFunction( 'EndOfSwitchEven' , PyEndOfSwitchEven )
     IEndOfSwitchEvena = EndOfSwitchEven.InPort( 'a' , 'long' )
     IEndOfSwitchEvenEven = EndOfSwitchEven.InPort( 'Even' , 'boolean' )
     IEndOfSwitchEvenDefault = EndOfSwitchEven.GetInPort( 'Default' )
@@ -170,57 +180,56 @@ def DefGraphLoopSwitchs() :
     OSwitchEvenDefault = SwitchEven.GetOutPort( 'Default' )
     
     # Creation of Links
-    LIsOddaEndOfSwitchOdda = GraphLoopSwitchs.Link( OIsOdda , IEndOfSwitchOdda )
+    LIsOddaEndOfSwitchOdda = GraphLoopSwitchs_1.Link( OIsOdda , IEndOfSwitchOdda )
     
-    LSwitchOddOddIsOddGate = GraphLoopSwitchs.Link( OSwitchOddOdd , IIsOddGate )
+    LIsOddOddEndOfSwitchOddOdd = GraphLoopSwitchs_1.Link( OIsOddOdd , IEndOfSwitchOddOdd )
     
-    LSwitchOddOddEndOfSwitchOddOdd = GraphLoopSwitchs.Link( OSwitchOddOdd , IEndOfSwitchOddOdd )
+    LSwitchOddOddIsOddGate = GraphLoopSwitchs_1.Link( OSwitchOddOdd , IIsOddGate )
     
-    LSwitchOddaIsOdda = GraphLoopSwitchs.Link( OSwitchOdda , IIsOdda )
-    LSwitchOddaIsOdda.AddCoord( 1 , 443 , 121 )
-    LSwitchOddaIsOdda.AddCoord( 2 , 443 , 212 )
+    LSwitchOddaIsOdda = GraphLoopSwitchs_1.Link( OSwitchOdda , IIsOdda )
     
-    LSwitchOddDefaultEndOfSwitchOddDefault = GraphLoopSwitchs.Link( OSwitchOddDefault , IEndOfSwitchOddDefault )
+    LSwitchOddDefaultEndOfSwitchOddDefault = GraphLoopSwitchs_1.Link( OSwitchOddDefault , IEndOfSwitchOddDefault )
     
-    LEndOfSwitchOddaSwitchsCompareaOdd = GraphLoopSwitchs.Link( OEndOfSwitchOdda , ISwitchsCompareaOdd )
+    LEndOfSwitchOddaSwitchsCompareaOdd = GraphLoopSwitchs_1.Link( OEndOfSwitchOdda , ISwitchsCompareaOdd )
     
-    LEndOfSwitchOddOddSwitchsCompareOdd = GraphLoopSwitchs.Link( OEndOfSwitchOddOdd , ISwitchsCompareOdd )
+    LEndOfSwitchOddOddSwitchsCompareOdd = GraphLoopSwitchs_1.Link( OEndOfSwitchOddOdd , ISwitchsCompareOdd )
     
-    LIsEvenaEndOfSwitchEvena = GraphLoopSwitchs.Link( OIsEvena , IEndOfSwitchEvena )
+    LIsEvenaEndOfSwitchEvena = GraphLoopSwitchs_1.Link( OIsEvena , IEndOfSwitchEvena )
     
-    LLoopIndexSwitchEvena = GraphLoopSwitchs.Link( OLoopIndex , ISwitchEvena )
+    LIsEvenEvenEndOfSwitchEvenEven = GraphLoopSwitchs_1.Link( OIsEvenEven , IEndOfSwitchEvenEven )
     
-    LLoopIndexSwitchOdda = GraphLoopSwitchs.Link( OLoopIndex , ISwitchOdda )
+    LLoopIndexSwitchEvena = GraphLoopSwitchs_1.Link( OLoopIndex , ISwitchEvena )
     
-    LLoopMinEndOfLoopMin = GraphLoopSwitchs.Link( OLoopMin , IEndOfLoopMin )
+    LLoopIndexSwitchOdda = GraphLoopSwitchs_1.Link( OLoopIndex , ISwitchOdda )
     
-    LLoopMaxEndOfLoopMax = GraphLoopSwitchs.Link( OLoopMax , IEndOfLoopMax )
+    LLoopMinEndOfLoopMin = GraphLoopSwitchs_1.Link( OLoopMin , IEndOfLoopMin )
     
-    LSwitchEvenOddIsEvenGate = GraphLoopSwitchs.Link( OSwitchEvenOdd , IIsEvenGate )
+    LLoopMaxEndOfLoopMax = GraphLoopSwitchs_1.Link( OLoopMax , IEndOfLoopMax )
     
-    LSwitchEvenEvenEndOfSwitchEvenDefault = GraphLoopSwitchs.Link( OSwitchEvenEven , IEndOfSwitchEvenDefault )
+    LSwitchEvenEvenIsEvenGate = GraphLoopSwitchs_1.Link( OSwitchEvenEven , IIsEvenGate )
     
-    LSwitchEvenaIsEvena = GraphLoopSwitchs.Link( OSwitchEvena , IIsEvena )
-    LSwitchEvenaIsEvena.AddCoord( 1 , 434 , 382 )
-    LSwitchEvenaIsEvena.AddCoord( 2 , 434 , 457 )
+    LSwitchEvenaIsEvena = GraphLoopSwitchs_1.Link( OSwitchEvena , IIsEvena )
     
-    LEndOfSwitchEvenaSwitchsCompareaEven = GraphLoopSwitchs.Link( OEndOfSwitchEvena , ISwitchsCompareaEven )
+    LSwitchEvenDefaultEndOfSwitchEvenDefault = GraphLoopSwitchs_1.Link( OSwitchEvenDefault , IEndOfSwitchEvenDefault )
     
-    LEndOfSwitchEvenEvenSwitchsCompareEven = GraphLoopSwitchs.Link( OEndOfSwitchEvenEven , ISwitchsCompareEven )
+    LEndOfSwitchEvenaSwitchsCompareaEven = GraphLoopSwitchs_1.Link( OEndOfSwitchEvena , ISwitchsCompareaEven )
     
-    LSwitchsCompareaEndOfLoopIndex = GraphLoopSwitchs.Link( OSwitchsComparea , IEndOfLoopIndex )
+    LEndOfSwitchEvenEvenSwitchsCompareEven = GraphLoopSwitchs_1.Link( OEndOfSwitchEvenEven , ISwitchsCompareEven )
+    
+    LSwitchsCompareaEndOfLoopIndex = GraphLoopSwitchs_1.Link( OSwitchsComparea , IEndOfLoopIndex )
     
     # Input datas
     ILoopIndex.Input( 0 )
     ILoopMin.Input( 0 )
-    ILoopMax.Input( 100 )
+    ILoopMax.Input( 23 )
     
     # Output Ports of the graph
     #OSwitchOddEven = SwitchOdd.GetOutPort( 'Even' )
     #OEndOfLoopIndex = EndOfLoop.GetOutPort( 'Index' )
     #OEndOfLoopMin = EndOfLoop.GetOutPort( 'Min' )
     #OEndOfLoopMax = EndOfLoop.GetOutPort( 'Max' )
-    return GraphLoopSwitchs
+    #OSwitchEvenOdd = SwitchEven.GetOutPort( 'Odd' )
+    return GraphLoopSwitchs_1
 
 
-GraphLoopSwitchs = DefGraphLoopSwitchs()
+GraphLoopSwitchs_1 = DefGraphLoopSwitchs_1()
index 7403dd0c7357dcaa2a445dec17ed18f7fde1e18e..c331d87399200d81d9ea10cbebc7c571c40c9ce0 100644 (file)
@@ -5,11 +5,11 @@
 <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
-    <node-name>GraphLoopSwitchs</node-name>
+    <node-name>GraphLoopSwitchs_1</node-name>
     <kind>1</kind>
     <coupled-node>?</coupled-node>
     <service>
-<service-name>GraphLoopSwitchs</service-name>
+<service-name>GraphLoopSwitchs_1</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
        <outParameter-name>EndOfLoop__Min</outParameter-name>      </outParameter>
       <outParameter>
 <outParameter-type>long</outParameter-type>
-       <outParameter-name>EndOfLoop__Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+       <outParameter-name>EndOfLoop__Max</outParameter-name>      </outParameter>
+      <outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>SwitchEven__Odd</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list/>
     <creation-date>14/10/2003 - 10:29:4</creation-date>
-    <lastmodification-date>19/1/2005 - 18:42:37</lastmodification-date>
+    <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>JR</author>
     <container>?</container>
      <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+       <outParameter-name>a</outParameter-name>      </outParameter>
+      <outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>Odd</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list>
 <PyFunction>
 <FuncName>IsOdd</FuncName>
-      <PyFunc><![CDATA[from time import *    ]]></PyFunc>
-      <PyFunc><![CDATA[def IsOdd(a) :        ]]></PyFunc>
-      <PyFunc><![CDATA[    print a,"IsOdd"       ]]></PyFunc>
-      <PyFunc><![CDATA[    sleep( 1 )    ]]></PyFunc>
-      <PyFunc><![CDATA[    return a      ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 18:26:50</creation-date>
-    <lastmodification-date>19/1/2005 - 18:26:50</lastmodification-date>
+      <PyFunc><![CDATA[from time import *     ]]></PyFunc>
+      <PyFunc><![CDATA[def IsOdd(a) :         ]]></PyFunc>
+      <PyFunc><![CDATA[    print a,"IsOdd"        ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep( 1 )     ]]></PyFunc>
+      <PyFunc><![CDATA[    return a,1 ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:15:0</creation-date>
+    <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
@@ -84,7 +90,7 @@
     <kind>6</kind>
     <coupled-node>EndOfSwitchOdd</coupled-node>
     <service>
-<service-name>Switch</service-name>
+<service-name>SwitchOdd</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
     <PyFunction-list>
 <PyFunction>
 <FuncName>Switch</FuncName>
-      <PyFunc><![CDATA[from time import * ]]></PyFunc>
-      <PyFunc><![CDATA[def Switch(a) :   ]]></PyFunc>
-      <PyFunc><![CDATA[    if ( a & 1 ) == 0 : ]]></PyFunc>
-      <PyFunc><![CDATA[        sleep(1)    ]]></PyFunc>
-      <PyFunc><![CDATA[    return a & 1,1-(a&1),a    ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 18:26:50</creation-date>
-    <lastmodification-date>19/1/2005 - 18:26:50</lastmodification-date>
+      <PyFunc><![CDATA[from time import *  ]]></PyFunc>
+      <PyFunc><![CDATA[def Switch(a) :    ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep(1)     ]]></PyFunc>
+      <PyFunc><![CDATA[    return a & 1,1-(a&1),a     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:15:0</creation-date>
+    <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
     <kind>7</kind>
     <coupled-node>SwitchOdd</coupled-node>
     <service>
-<service-name>EndOfSwitch</service-name>
+<service-name>EndOfSwitchOdd</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
     <DataStream-list/>
     <PyFunction-list>
 <PyFunction>
-<FuncName>?</FuncName>
-      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 18:26:50</creation-date>
-    <lastmodification-date>19/1/2005 - 18:26:50</lastmodification-date>
+<FuncName>EndOfSwitchOdd</FuncName>
+      <PyFunc><![CDATA[from time import * ]]></PyFunc>
+      <PyFunc><![CDATA[def EndOfSwitchOdd(a,Odd) : ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
+      <PyFunc><![CDATA[    return a,Odd ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:15:0</creation-date>
+    <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
     <kind>3</kind>
     <coupled-node>?</coupled-node>
     <service>
-<service-name>IsOdd_1</service-name>
+<service-name>IsEven</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
      <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+       <outParameter-name>a</outParameter-name>      </outParameter>
+      <outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>Even</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list>
 <PyFunction>
 <FuncName>IsEven</FuncName>
-      <PyFunc><![CDATA[from time import *    ]]></PyFunc>
-      <PyFunc><![CDATA[def IsEven(a) :        ]]></PyFunc>
-      <PyFunc><![CDATA[    print a,"IsEven"       ]]></PyFunc>
-      <PyFunc><![CDATA[    sleep( 1 )    ]]></PyFunc>
-      <PyFunc><![CDATA[    return a      ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 18:26:50</creation-date>
-    <lastmodification-date>19/1/2005 - 18:26:50</lastmodification-date>
+      <PyFunc><![CDATA[from time import *     ]]></PyFunc>
+      <PyFunc><![CDATA[def IsEven(a) :         ]]></PyFunc>
+      <PyFunc><![CDATA[    print a,"IsEven"        ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep( 1 )     ]]></PyFunc>
+      <PyFunc><![CDATA[    return a,1 ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:15:0</creation-date>
+    <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Python function</comment>
-    <x-position>479</x-position>
-    <y-position>311</y-position>   </node>
+    <x-position>482</x-position>
+    <y-position>292</y-position>   </node>
    <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
     <kind>4</kind>
     <coupled-node>EndOfLoop</coupled-node>
     <service>
-<service-name>InitLoop</service-name>
+<service-name>Loop</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
       <PyFunc><![CDATA[def NextLoop(Index,Min,Max) :     ]]></PyFunc>
       <PyFunc><![CDATA[        Index = Index + 1     ]]></PyFunc>
       <PyFunc><![CDATA[        return Index,Min,Max     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 18:26:50</creation-date>
-    <lastmodification-date>19/1/2005 - 18:26:50</lastmodification-date>
+    <creation-date>8/3/2005 - 15:15:0</creation-date>
+    <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
     <kind>5</kind>
     <coupled-node>Loop</coupled-node>
     <service>
-<service-name>EndOfInitLoop</service-name>
+<service-name>EndOfLoop</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
 <PyFunction>
 <FuncName>?</FuncName>
       <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 18:26:50</creation-date>
-    <lastmodification-date>19/1/2005 - 18:26:50</lastmodification-date>
+    <creation-date>8/3/2005 - 15:15:0</creation-date>
+    <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
     <kind>6</kind>
     <coupled-node>EndOfSwitchEven</coupled-node>
     <service>
-<service-name>Switch_1</service-name>
+<service-name>SwitchEven</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
     <PyFunction-list>
 <PyFunction>
 <FuncName>Switch</FuncName>
-      <PyFunc><![CDATA[from time import *  ]]></PyFunc>
-      <PyFunc><![CDATA[def Switch(a) :    ]]></PyFunc>
-      <PyFunc><![CDATA[    if ( a & 1 ) == 0 :  ]]></PyFunc>
-      <PyFunc><![CDATA[        sleep(1)  ]]></PyFunc>
-      <PyFunc><![CDATA[    return a & 1,1-(a&1),a    ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 18:26:50</creation-date>
-    <lastmodification-date>19/1/2005 - 18:26:50</lastmodification-date>
+      <PyFunc><![CDATA[from time import *   ]]></PyFunc>
+      <PyFunc><![CDATA[def Switch(a) : ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep(1)   ]]></PyFunc>
+      <PyFunc><![CDATA[    return a & 1,1-(a&1),a     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:15:0</creation-date>
+    <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
     <kind>7</kind>
     <coupled-node>SwitchEven</coupled-node>
     <service>
-<service-name>EndSwitch</service-name>
+<service-name>EndOfSwitchEven</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
     <DataStream-list/>
     <PyFunction-list>
 <PyFunction>
-<FuncName>?</FuncName>
-      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 18:26:50</creation-date>
-    <lastmodification-date>19/1/2005 - 18:26:50</lastmodification-date>
+<FuncName>EndOfSwitchEven</FuncName>
+      <PyFunc><![CDATA[from time import * ]]></PyFunc>
+      <PyFunc><![CDATA[def EndOfSwitchEven(a,Even) : ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
+      <PyFunc><![CDATA[    return a,Even ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:15:0</creation-date>
+    <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
     <PyFunction-list>
 <PyFunction>
 <FuncName>SwitchsCompare</FuncName>
+      <PyFunc><![CDATA[from time import * ]]></PyFunc>
       <PyFunc><![CDATA[def SwitchsCompare(aOdd,Odd,aEven,Even) : ]]></PyFunc>
-      <PyFunc><![CDATA[    return a ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 18:34:18</creation-date>
-    <lastmodification-date>19/1/2005 - 18:34:18</lastmodification-date>
+      <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
+      <PyFunc><![CDATA[    return aOdd  ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:15:0</creation-date>
+    <lastmodification-date>8/3/2005 - 15:15:0</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <toserviceparameter-name>a</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
-<fromnode-name>SwitchOdd</fromnode-name>
+<fromnode-name>IsOdd</fromnode-name>
     <fromserviceparameter-name>Odd</fromserviceparameter-name>
-    <tonode-name>IsOdd</tonode-name>
-    <toserviceparameter-name>Gate</toserviceparameter-name>
+    <tonode-name>EndOfSwitchOdd</tonode-name>
+    <toserviceparameter-name>Odd</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
 <fromnode-name>SwitchOdd</fromnode-name>
     <fromserviceparameter-name>Odd</fromserviceparameter-name>
-    <tonode-name>EndOfSwitchOdd</tonode-name>
-    <toserviceparameter-name>Odd</toserviceparameter-name>
+    <tonode-name>IsOdd</tonode-name>
+    <toserviceparameter-name>Gate</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
 <fromnode-name>SwitchOdd</fromnode-name>
     <fromserviceparameter-name>a</fromserviceparameter-name>
     <tonode-name>IsOdd</tonode-name>
     <toserviceparameter-name>a</toserviceparameter-name>
-    <coord-list>
-<coord>
-<x>443</x>
-      <y>121</y>     </coord>
-     <coord>
-<x>443</x>
-      <y>212</y>     </coord>    </coord-list>   </link>
+    <coord-list/>   </link>
    <link>
 <fromnode-name>SwitchOdd</fromnode-name>
     <fromserviceparameter-name>Default</fromserviceparameter-name>
     <toserviceparameter-name>a</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
+<fromnode-name>IsEven</fromnode-name>
+    <fromserviceparameter-name>Even</fromserviceparameter-name>
+    <tonode-name>EndOfSwitchEven</tonode-name>
+    <toserviceparameter-name>Even</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>Loop</fromnode-name>
     <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
     <tonode-name>EndOfLoop</tonode-name>
     <coord-list/>   </link>
    <link>
 <fromnode-name>SwitchEven</fromnode-name>
-    <fromserviceparameter-name>Odd</fromserviceparameter-name>
+    <fromserviceparameter-name>Even</fromserviceparameter-name>
     <tonode-name>IsEven</tonode-name>
     <toserviceparameter-name>Gate</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
-<fromnode-name>SwitchEven</fromnode-name>
-    <fromserviceparameter-name>Even</fromserviceparameter-name>
-    <tonode-name>EndOfSwitchEven</tonode-name>
-    <toserviceparameter-name>Default</toserviceparameter-name>
-    <coord-list/>   </link>
-   <link>
 <fromnode-name>SwitchEven</fromnode-name>
     <fromserviceparameter-name>a</fromserviceparameter-name>
     <tonode-name>IsEven</tonode-name>
     <toserviceparameter-name>a</toserviceparameter-name>
-    <coord-list>
-<coord>
-<x>434</x>
-      <y>382</y>     </coord>
-     <coord>
-<x>434</x>
-      <y>457</y>     </coord>    </coord-list>   </link>
+    <coord-list/>   </link>
+   <link>
+<fromnode-name>SwitchEven</fromnode-name>
+    <fromserviceparameter-name>Default</fromserviceparameter-name>
+    <tonode-name>EndOfSwitchEven</tonode-name>
+    <toserviceparameter-name>Default</toserviceparameter-name>
+    <coord-list/>   </link>
    <link>
 <fromnode-name>EndOfSwitchEven</fromnode-name>
     <fromserviceparameter-name>a</fromserviceparameter-name>
     <coord-list/>   </link>  </link-list>
   <data-list>
 <data>
-<fromnode-name>GraphLoopSwitchs</fromnode-name>
+<fromnode-name>GraphLoopSwitchs_1</fromnode-name>
     <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
     <tonode-name>Loop</tonode-name>
     <toserviceparameter-name>Index</toserviceparameter-name>
      <value>0</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphLoopSwitchs</fromnode-name>
+<fromnode-name>GraphLoopSwitchs_1</fromnode-name>
     <fromserviceparameter-name>Loop__Min</fromserviceparameter-name>
     <tonode-name>Loop</tonode-name>
     <toserviceparameter-name>Min</toserviceparameter-name>
      <value>0</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphLoopSwitchs</fromnode-name>
+<fromnode-name>GraphLoopSwitchs_1</fromnode-name>
     <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
     <tonode-name>Loop</tonode-name>
     <toserviceparameter-name>Max</toserviceparameter-name>
     <data-value>
 <value-type>3</value-type>
-     <value>100</value>    </data-value>
+     <value>23</value>    </data-value>
     <coord-list/>   </data>  </data-list> </dataflow></supergraph>
index ddd184e82a25202b9158563225076c786459553a..2f242b8054cf6707c6d610eed5dd215cc60fc3ca 100755 (executable)
 
-# Generated python file of Graph GraphSwitch
+# Generated python file of Graph GraphPyFunctions_1
 
 from SuperV import *
-# Graph creation 
-GraphPyFunctions = Graph( 'GraphPyFunctions' )
-GraphPyFunctions.SetName( 'GraphPyFunctions' )
-GraphPyFunctions.SetAuthor( '' )
-GraphPyFunctions.SetComment( '' )
-GraphPyFunctions.Coords( 0 , 0 )
 
-# Creation of Factory Nodes
-
-# Creation of InLine Nodes
-PyIsOdd = []
-IsOdd = GraphPyFunctions.INode( 'IsOdd' , PyIsOdd )
-IsOdd.SetName( 'IsOdd' )
-IsOdd.SetAuthor( '' )
-IsOdd.SetComment( 'Python function' )
-IsOdd.Coords( 388 , 50 )
-IsOdd.InPort( 'a' , 'long' )
-IsOdd.OutPort( 'a' , 'long' )
-
-PyIsOdd_1 = []
-PyIsOdd_1.append( 'from time import *   ' )
-PyIsOdd_1.append( 'def IsOdd(a) :       ' )
-PyIsOdd_1.append( '    print a,"IsOdd"      ' )
-PyIsOdd_1.append( '    sleep( 1 )   ' )
-PyIsOdd_1.append( '    return a     ' )
-IsOdd_1 = GraphPyFunctions.INode( 'IsOdd' , PyIsOdd_1 )
-IsOdd_1.SetName( 'IsOdd_1' )
-IsOdd_1.SetAuthor( '' )
-IsOdd_1.SetComment( 'Python function' )
-IsOdd_1.Coords( 391 , 288 )
-IsOdd_1.InPort( 'a' , 'long' )
-IsOdd_1.OutPort( 'a' , 'long' )
-
-# Creation of Loop Nodes
-PyInitLoop = []
-PyInitLoop.append( 'def InitLoop(Index,Min,Max) :      ' )
-PyInitLoop.append( '   return Index,Min,Max     ' )
-PyMoreInitLoop = []
-PyMoreInitLoop.append( 'def MoreLoop(Index,Min,Max) :     ' )
-PyMoreInitLoop.append( '       if Index <= Max :   ' )
-PyMoreInitLoop.append( '               DoLoop = 1     ' )
-PyMoreInitLoop.append( '       else :     ' )
-PyMoreInitLoop.append( '               DoLoop = 0     ' )
-PyMoreInitLoop.append( '       return DoLoop,Index,Min,Max     ' )
-PyNextInitLoop = []
-PyNextInitLoop.append( 'def NextLoop(Index,Min,Max) :     ' )
-PyNextInitLoop.append( '       Index = Index + 1     ' )
-PyNextInitLoop.append( '       return Index,Min,Max     ' )
-InitLoop,EndOfInitLoop = GraphPyFunctions.LNode( 'InitLoop' , PyInitLoop , 'MoreLoop' , PyMoreInitLoop , 'NextLoop' , PyNextInitLoop )
-EndOfInitLoop.SetName( 'EndOfInitLoop' )
-EndOfInitLoop.SetAuthor( '' )
-EndOfInitLoop.SetComment( '' )
-EndOfInitLoop.Coords( 766 , 127 )
-PyEndOfInitLoop = []
-EndOfInitLoop.SetPyFunction( 'EndInitLoop' , PyEndOfInitLoop )
-InitLoop.SetName( 'InitLoop' )
-InitLoop.SetAuthor( '' )
-InitLoop.SetComment( '' )
-InitLoop.Coords( 10 , 129 )
-InitLoop.InPort( 'Index' , 'long' )
-InitLoop.InPort( 'Min' , 'long' )
-InitLoop.InPort( 'Max' , 'long' )
-InitLoop.OutPort( 'Index' , 'long' )
-InitLoop.OutPort( 'Min' , 'long' )
-InitLoop.OutPort( 'Max' , 'long' )
-
-PyInitLoop_1 = []
-PyMoreInitLoop_1 = []
-PyMoreInitLoop_1.append( '' )
-PyNextInitLoop_1 = []
-PyNextInitLoop_1.append( '' )
-InitLoop_1,EndOfInitLoop_1 = GraphPyFunctions.LNode( 'InitLoop' , PyInitLoop_1 , 'MoreLoop' , PyMoreInitLoop_1 , 'NextLoop' , PyNextInitLoop_1 )
-EndOfInitLoop_1.SetName( 'EndOfInitLoop_1' )
-EndOfInitLoop_1.SetAuthor( '' )
-EndOfInitLoop_1.SetComment( '' )
-EndOfInitLoop_1.Coords( 784 , 361 )
-PyEndOfInitLoop_1 = []
-EndOfInitLoop_1.SetPyFunction( 'EndInitLoop' , PyEndOfInitLoop_1 )
-InitLoop_1.SetName( 'InitLoop_1' )
-InitLoop_1.SetAuthor( '' )
-InitLoop_1.SetComment( '' )
-InitLoop_1.Coords( 12 , 369 )
-InitLoop_1.InPort( 'Index' , 'long' )
-InitLoop_1.InPort( 'Min' , 'long' )
-InitLoop_1.InPort( 'Max' , 'long' )
-InitLoop_1.OutPort( 'Index' , 'long' )
-InitLoop_1.OutPort( 'Min' , 'long' )
-InitLoop_1.OutPort( 'Max' , 'long' )
-
-# Creation of Switch Nodes
-PySwitch = []
-Switch,EndOfSwitch = GraphPyFunctions.SNode( 'Switch' , PySwitch )
-EndOfSwitch.SetName( 'EndOfSwitch' )
-EndOfSwitch.SetAuthor( '' )
-EndOfSwitch.SetComment( '' )
-EndOfSwitch.Coords( 587 , 126 )
-PyEndOfSwitch = []
-EndOfSwitch.SetPyFunction( 'EndOfSwitch_1' , PyEndOfSwitch )
-EndOfSwitch.InPort( 'a' , 'long' )
-EndOfSwitch.OutPort( 'a' , 'long' )
-Switch.SetName( 'Switch' )
-Switch.SetAuthor( '' )
-Switch.SetComment( '' )
-Switch.Coords( 186 , 130 )
-Switch.InPort( 'a' , 'long' )
-Switch.OutPort( 'Odd' , 'long' )
-Switch.OutPort( 'Even' , 'int' )
-Switch.OutPort( 'a' , 'int' )
-
-PySwitch_1 = []
-PySwitch_1.append( 'from time import *  ' )
-PySwitch_1.append( 'def Switch(a) :    ' )
-PySwitch_1.append( '    if ( a & 1 ) == 0 :  ' )
-PySwitch_1.append( '        sleep(1)  ' )
-PySwitch_1.append( '    return a & 1,1-(a&1),a    ' )
-Switch_1,EndOfSwitch_1 = GraphPyFunctions.SNode( 'Switch' , PySwitch_1 )
-EndOfSwitch_1.SetName( 'EndOfSwitch_1' )
-EndOfSwitch_1.SetAuthor( '' )
-EndOfSwitch_1.SetComment( '' )
-EndOfSwitch_1.Coords( 594 , 362 )
-PyEndOfSwitch_1 = []
-EndOfSwitch_1.SetPyFunction( 'EndOfSwitch_1' , PyEndOfSwitch_1 )
-EndOfSwitch_1.InPort( 'a' , 'long' )
-EndOfSwitch_1.OutPort( 'a' , 'long' )
-Switch_1.SetName( 'Switch_1' )
-Switch_1.SetAuthor( '' )
-Switch_1.SetComment( '' )
-Switch_1.Coords( 185 , 368 )
-Switch_1.InPort( 'a' , 'long' )
-Switch_1.OutPort( 'Odd' , 'long' )
-Switch_1.OutPort( 'Even' , 'int' )
-Switch_1.OutPort( 'a' , 'int' )
-
-# Creation of Links
-IsOdda = IsOdd.Port( 'a' )
-EndOfSwitcha = GraphPyFunctions.Link( IsOdda , EndOfSwitch.Port( 'a' ) )
-EndOfSwitcha.AddCoord( 1 , 571 , 160 )
-EndOfSwitcha.AddCoord( 2 , 571 , 129 )
-
-InitLoopIndex = InitLoop.Port( 'Index' )
-Switcha = GraphPyFunctions.Link( InitLoopIndex , Switch.Port( 'a' ) )
-
-InitLoopMin = InitLoop.Port( 'Min' )
-EndOfInitLoopMin = GraphPyFunctions.Link( InitLoopMin , EndOfInitLoop.Port( 'Min' ) )
-
-InitLoopMax = InitLoop.Port( 'Max' )
-EndOfInitLoopMax = GraphPyFunctions.Link( InitLoopMax , EndOfInitLoop.Port( 'Max' ) )
-
-SwitchOdd = Switch.Port( 'Odd' )
-IsOddInGate = GraphPyFunctions.Link( SwitchOdd , IsOdd.Port( 'InGate' ) )
-
-Switcha = Switch.Port( 'a' )
-IsOdda = GraphPyFunctions.Link( Switcha , IsOdd.Port( 'a' ) )
-IsOdda.AddCoord( 1 , 366 , 131 )
-IsOdda.AddCoord( 2 , 365 , 223 )
-
-SwitchDefault = Switch.Port( 'Default' )
-EndOfSwitchDefault = GraphPyFunctions.Link( SwitchDefault , EndOfSwitch.Port( 'Default' ) )
-EndOfSwitchDefault.AddCoord( 1 , 572 , 194 )
-EndOfSwitchDefault.AddCoord( 2 , 571 , 257 )
-
-EndOfSwitcha = EndOfSwitch.Port( 'a' )
-EndOfInitLoopIndex = GraphPyFunctions.Link( EndOfSwitcha , EndOfInitLoop.Port( 'Index' ) )
-
-IsOdd_1a = IsOdd_1.Port( 'a' )
-EndOfSwitch_1a = GraphPyFunctions.Link( IsOdd_1a , EndOfSwitch_1.Port( 'a' ) )
-EndOfSwitch_1a.AddCoord( 1 , 580 , 396 )
-EndOfSwitch_1a.AddCoord( 2 , 580 , 368 )
-
-InitLoop_1Index = InitLoop_1.Port( 'Index' )
-Switch_1a = GraphPyFunctions.Link( InitLoop_1Index , Switch_1.Port( 'a' ) )
-
-InitLoop_1Min = InitLoop_1.Port( 'Min' )
-EndOfInitLoop_1Min = GraphPyFunctions.Link( InitLoop_1Min , EndOfInitLoop_1.Port( 'Min' ) )
-
-InitLoop_1Max = InitLoop_1.Port( 'Max' )
-EndOfInitLoop_1Max = GraphPyFunctions.Link( InitLoop_1Max , EndOfInitLoop_1.Port( 'Max' ) )
-
-Switch_1Odd = Switch_1.Port( 'Odd' )
-IsOdd_1InGate = GraphPyFunctions.Link( Switch_1Odd , IsOdd_1.Port( 'InGate' ) )
-
-Switch_1Even = Switch_1.Port( 'Even' )
-EndOfSwitch_1Default = GraphPyFunctions.Link( Switch_1Even , EndOfSwitch_1.Port( 'Default' ) )
-
-Switch_1a = Switch_1.Port( 'a' )
-IsOdd_1a = GraphPyFunctions.Link( Switch_1a , IsOdd_1.Port( 'a' ) )
-IsOdd_1a.AddCoord( 1 , 368 , 368 )
-IsOdd_1a.AddCoord( 2 , 367 , 460 )
-
-EndOfSwitch_1a = EndOfSwitch_1.Port( 'a' )
-EndOfInitLoop_1Index = GraphPyFunctions.Link( EndOfSwitch_1a , EndOfInitLoop_1.Port( 'Index' ) )
-
-# Creation of Input datas
-InitLoopIndex = InitLoop.Input( 'Index' , 0)
-InitLoopMin = InitLoop.Input( 'Min' , 0)
-InitLoopMax = InitLoop.Input( 'Max' , 100)
-InitLoop_1Index = InitLoop_1.Input( 'Index' , 0)
-InitLoop_1Min = InitLoop_1.Input( 'Min' , 0)
-InitLoop_1Max = InitLoop_1.Input( 'Max' , 100)
-
-# Creation of Output variables
-EndOfInitLoopIndex = EndOfInitLoop.Port( 'Index' )
-EndOfInitLoopMin = EndOfInitLoop.Port( 'Min' )
-EndOfInitLoopMax = EndOfInitLoop.Port( 'Max' )
-SwitchEven = Switch.Port( 'Even' )
-EndOfInitLoop_1Index = EndOfInitLoop_1.Port( 'Index' )
-EndOfInitLoop_1Min = EndOfInitLoop_1.Port( 'Min' )
-EndOfInitLoop_1Max = EndOfInitLoop_1.Port( 'Max' )
-
-GraphPyFunctions.Run()
-GraphPyFunctions.DoneW()
-GraphPyFunctions.State()
-GraphPyFunctions.PrintPorts()
+# Graph creation of GraphPyFunctions_1
+def DefGraphPyFunctions_1() :
+    GraphPyFunctions_1 = Graph( 'GraphPyFunctions_1' )
+    GraphPyFunctions_1.SetName( 'GraphPyFunctions_1' )
+    GraphPyFunctions_1.SetAuthor( '' )
+    GraphPyFunctions_1.SetComment( '' )
+    GraphPyFunctions_1.Coords( 0 , 0 )
+    
+    # Creation of Factory Nodes
+    
+    # Creation of InLine Nodes
+    PyIsOdd = []
+    IsOdd = GraphPyFunctions_1.INode( 'IsOdd' , PyIsOdd )
+    IsOdd.SetName( 'IsOdd' )
+    IsOdd.SetAuthor( '' )
+    IsOdd.SetComment( 'Python function' )
+    IsOdd.Coords( 388 , 50 )
+    IIsOdda = IsOdd.InPort( 'a' , 'long' )
+    IIsOddGate = IsOdd.GetInPort( 'Gate' )
+    OIsOdda = IsOdd.OutPort( 'a' , 'long' )
+    OIsOddGate = IsOdd.GetOutPort( 'Gate' )
+    
+    PyIsOdd_1 = []
+    PyIsOdd_1.append( 'from time import *   ' )
+    PyIsOdd_1.append( 'def IsOdd(a) :       ' )
+    PyIsOdd_1.append( '    print a,"IsOdd"      ' )
+    PyIsOdd_1.append( '    sleep( 1 )   ' )
+    PyIsOdd_1.append( '    return a     ' )
+    IsOdd_1 = GraphPyFunctions_1.INode( 'IsOdd' , PyIsOdd_1 )
+    IsOdd_1.SetName( 'IsOdd_1' )
+    IsOdd_1.SetAuthor( '' )
+    IsOdd_1.SetComment( 'Python function' )
+    IsOdd_1.Coords( 391 , 288 )
+    IIsOdd_1a = IsOdd_1.InPort( 'a' , 'long' )
+    IIsOdd_1Gate = IsOdd_1.GetInPort( 'Gate' )
+    OIsOdd_1a = IsOdd_1.OutPort( 'a' , 'long' )
+    OIsOdd_1Gate = IsOdd_1.GetOutPort( 'Gate' )
+    
+    # Creation of Loop Nodes
+    PyInitLoop = []
+    PyInitLoop.append( 'def InitLoop(Index,Min,Max) :      ' )
+    PyInitLoop.append( '       return Index,Min,Max     ' )
+    PyMoreInitLoop = []
+    PyMoreInitLoop.append( 'def MoreLoop(Index,Min,Max) :     ' )
+    PyMoreInitLoop.append( '   if Index <= Max :   ' )
+    PyMoreInitLoop.append( '           DoLoop = 1     ' )
+    PyMoreInitLoop.append( '   else :     ' )
+    PyMoreInitLoop.append( '           DoLoop = 0     ' )
+    PyMoreInitLoop.append( '   return DoLoop,Index,Min,Max     ' )
+    PyNextInitLoop = []
+    PyNextInitLoop.append( 'def NextLoop(Index,Min,Max) :     ' )
+    PyNextInitLoop.append( '   Index = Index + 1     ' )
+    PyNextInitLoop.append( '   return Index,Min,Max     ' )
+    InitLoop,EndOfInitLoop = GraphPyFunctions_1.LNode( 'InitLoop' , PyInitLoop , 'MoreLoop' , PyMoreInitLoop , 'NextLoop' , PyNextInitLoop )
+    EndOfInitLoop.SetName( 'EndOfInitLoop' )
+    EndOfInitLoop.SetAuthor( '' )
+    EndOfInitLoop.SetComment( 'Compute Node' )
+    EndOfInitLoop.Coords( 766 , 127 )
+    PyEndOfInitLoop = []
+    EndOfInitLoop.SetPyFunction( 'EndInitLoop' , PyEndOfInitLoop )
+    IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
+    IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
+    IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
+    IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
+    IInitLoopGate = InitLoop.GetInPort( 'Gate' )
+    OInitLoopDoLoop = InitLoop.GetOutPort( 'DoLoop' )
+    OInitLoopIndex = InitLoop.GetOutPort( 'Index' )
+    OInitLoopMin = InitLoop.GetOutPort( 'Min' )
+    OInitLoopMax = InitLoop.GetOutPort( 'Max' )
+    IEndOfInitLoopDoLoop = EndOfInitLoop.GetInPort( 'DoLoop' )
+    IEndOfInitLoopIndex = EndOfInitLoop.GetInPort( 'Index' )
+    IEndOfInitLoopMin = EndOfInitLoop.GetInPort( 'Min' )
+    IEndOfInitLoopMax = EndOfInitLoop.GetInPort( 'Max' )
+    IEndOfInitLoopGate = EndOfInitLoop.GetInPort( 'Gate' )
+    OEndOfInitLoopDoLoop = EndOfInitLoop.GetOutPort( 'DoLoop' )
+    OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
+    OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
+    OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
+    OEndOfInitLoopGate = EndOfInitLoop.GetOutPort( 'Gate' )
+    InitLoop.SetName( 'InitLoop' )
+    InitLoop.SetAuthor( '' )
+    InitLoop.SetComment( 'Compute Node' )
+    InitLoop.Coords( 10 , 129 )
+    
+    PyInitLoop_1 = []
+    PyMoreInitLoop_1 = []
+    PyMoreInitLoop_1.append( '' )
+    PyNextInitLoop_1 = []
+    PyNextInitLoop_1.append( '' )
+    InitLoop_1,EndOfInitLoop_1 = GraphPyFunctions_1.LNode( 'InitLoop' , PyInitLoop_1 , 'MoreLoop' , PyMoreInitLoop_1 , 'NextLoop' , PyNextInitLoop_1 )
+    EndOfInitLoop_1.SetName( 'EndOfInitLoop_1' )
+    EndOfInitLoop_1.SetAuthor( '' )
+    EndOfInitLoop_1.SetComment( 'Compute Node' )
+    EndOfInitLoop_1.Coords( 784 , 361 )
+    PyEndOfInitLoop_1 = []
+    EndOfInitLoop_1.SetPyFunction( 'EndInitLoop' , PyEndOfInitLoop_1 )
+    IInitLoop_1DoLoop = InitLoop_1.GetInPort( 'DoLoop' )
+    IInitLoop_1Index = InitLoop_1.InPort( 'Index' , 'long' )
+    IInitLoop_1Min = InitLoop_1.InPort( 'Min' , 'long' )
+    IInitLoop_1Max = InitLoop_1.InPort( 'Max' , 'long' )
+    IInitLoop_1Gate = InitLoop_1.GetInPort( 'Gate' )
+    OInitLoop_1DoLoop = InitLoop_1.GetOutPort( 'DoLoop' )
+    OInitLoop_1Index = InitLoop_1.GetOutPort( 'Index' )
+    OInitLoop_1Min = InitLoop_1.GetOutPort( 'Min' )
+    OInitLoop_1Max = InitLoop_1.GetOutPort( 'Max' )
+    IEndOfInitLoop_1DoLoop = EndOfInitLoop_1.GetInPort( 'DoLoop' )
+    IEndOfInitLoop_1Index = EndOfInitLoop_1.GetInPort( 'Index' )
+    IEndOfInitLoop_1Min = EndOfInitLoop_1.GetInPort( 'Min' )
+    IEndOfInitLoop_1Max = EndOfInitLoop_1.GetInPort( 'Max' )
+    IEndOfInitLoop_1Gate = EndOfInitLoop_1.GetInPort( 'Gate' )
+    OEndOfInitLoop_1DoLoop = EndOfInitLoop_1.GetOutPort( 'DoLoop' )
+    OEndOfInitLoop_1Index = EndOfInitLoop_1.GetOutPort( 'Index' )
+    OEndOfInitLoop_1Min = EndOfInitLoop_1.GetOutPort( 'Min' )
+    OEndOfInitLoop_1Max = EndOfInitLoop_1.GetOutPort( 'Max' )
+    OEndOfInitLoop_1Gate = EndOfInitLoop_1.GetOutPort( 'Gate' )
+    InitLoop_1.SetName( 'InitLoop_1' )
+    InitLoop_1.SetAuthor( '' )
+    InitLoop_1.SetComment( 'Compute Node' )
+    InitLoop_1.Coords( 12 , 369 )
+    
+    # Creation of Switch Nodes
+    PySwitch = []
+    Switch,EndOfSwitch = GraphPyFunctions_1.SNode( 'Switch' , PySwitch )
+    EndOfSwitch.SetName( 'EndOfSwitch' )
+    EndOfSwitch.SetAuthor( '' )
+    EndOfSwitch.SetComment( 'Compute Node' )
+    EndOfSwitch.Coords( 587 , 126 )
+    PyEndOfSwitch = []
+    EndOfSwitch.SetPyFunction( 'EndOfSwitch_1' , PyEndOfSwitch )
+    IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
+    IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
+    OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
+    OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
+    Switch.SetName( 'Switch' )
+    Switch.SetAuthor( '' )
+    Switch.SetComment( 'Compute Node' )
+    Switch.Coords( 186 , 130 )
+    ISwitcha = Switch.InPort( 'a' , 'long' )
+    ISwitchGate = Switch.GetInPort( 'Gate' )
+    OSwitchOdd = Switch.OutPort( 'Odd' , 'long' )
+    OSwitchEven = Switch.OutPort( 'Even' , 'int' )
+    OSwitcha = Switch.OutPort( 'a' , 'int' )
+    OSwitchDefault = Switch.GetOutPort( 'Default' )
+    
+    PySwitch_1 = []
+    PySwitch_1.append( 'from time import *  ' )
+    PySwitch_1.append( 'def Switch(a) :    ' )
+    PySwitch_1.append( '    if ( a & 1 ) == 0 :  ' )
+    PySwitch_1.append( '        sleep(1)  ' )
+    PySwitch_1.append( '    return a & 1,1-(a&1),a    ' )
+    Switch_1,EndOfSwitch_1 = GraphPyFunctions_1.SNode( 'Switch' , PySwitch_1 )
+    EndOfSwitch_1.SetName( 'EndOfSwitch_1' )
+    EndOfSwitch_1.SetAuthor( '' )
+    EndOfSwitch_1.SetComment( 'Compute Node' )
+    EndOfSwitch_1.Coords( 594 , 362 )
+    PyEndOfSwitch_1 = []
+    EndOfSwitch_1.SetPyFunction( 'EndOfSwitch_1' , PyEndOfSwitch_1 )
+    IEndOfSwitch_1a = EndOfSwitch_1.InPort( 'a' , 'long' )
+    IEndOfSwitch_1Default = EndOfSwitch_1.GetInPort( 'Default' )
+    OEndOfSwitch_1a = EndOfSwitch_1.OutPort( 'a' , 'long' )
+    OEndOfSwitch_1Gate = EndOfSwitch_1.GetOutPort( 'Gate' )
+    Switch_1.SetName( 'Switch_1' )
+    Switch_1.SetAuthor( '' )
+    Switch_1.SetComment( 'Compute Node' )
+    Switch_1.Coords( 185 , 368 )
+    ISwitch_1a = Switch_1.InPort( 'a' , 'long' )
+    ISwitch_1Gate = Switch_1.GetInPort( 'Gate' )
+    OSwitch_1Odd = Switch_1.OutPort( 'Odd' , 'long' )
+    OSwitch_1Even = Switch_1.OutPort( 'Even' , 'int' )
+    OSwitch_1a = Switch_1.OutPort( 'a' , 'int' )
+    OSwitch_1Default = Switch_1.GetOutPort( 'Default' )
+    
+    # Creation of Links
+    LIsOddaEndOfSwitcha = GraphPyFunctions_1.Link( OIsOdda , IEndOfSwitcha )
+    LIsOddaEndOfSwitcha.AddCoord( 1 , 571 , 160 )
+    LIsOddaEndOfSwitcha.AddCoord( 2 , 571 , 129 )
+    
+    LIsOdd_1aEndOfSwitch_1a = GraphPyFunctions_1.Link( OIsOdd_1a , IEndOfSwitch_1a )
+    LIsOdd_1aEndOfSwitch_1a.AddCoord( 1 , 580 , 396 )
+    LIsOdd_1aEndOfSwitch_1a.AddCoord( 2 , 580 , 368 )
+    
+    LInitLoopIndexSwitcha = GraphPyFunctions_1.Link( OInitLoopIndex , ISwitcha )
+    
+    LInitLoopMinEndOfInitLoopMin = GraphPyFunctions_1.Link( OInitLoopMin , IEndOfInitLoopMin )
+    
+    LInitLoopMaxEndOfInitLoopMax = GraphPyFunctions_1.Link( OInitLoopMax , IEndOfInitLoopMax )
+    
+    LInitLoop_1IndexSwitch_1a = GraphPyFunctions_1.Link( OInitLoop_1Index , ISwitch_1a )
+    
+    LInitLoop_1MinEndOfInitLoop_1Min = GraphPyFunctions_1.Link( OInitLoop_1Min , IEndOfInitLoop_1Min )
+    
+    LInitLoop_1MaxEndOfInitLoop_1Max = GraphPyFunctions_1.Link( OInitLoop_1Max , IEndOfInitLoop_1Max )
+    
+    LSwitchOddIsOddGate = GraphPyFunctions_1.Link( OSwitchOdd , IIsOddGate )
+    
+    LSwitchaIsOdda = GraphPyFunctions_1.Link( OSwitcha , IIsOdda )
+    LSwitchaIsOdda.AddCoord( 1 , 366 , 131 )
+    LSwitchaIsOdda.AddCoord( 2 , 365 , 223 )
+    
+    LSwitchDefaultEndOfSwitchDefault = GraphPyFunctions_1.Link( OSwitchDefault , IEndOfSwitchDefault )
+    LSwitchDefaultEndOfSwitchDefault.AddCoord( 1 , 572 , 194 )
+    LSwitchDefaultEndOfSwitchDefault.AddCoord( 2 , 571 , 257 )
+    
+    LEndOfSwitchaEndOfInitLoopIndex = GraphPyFunctions_1.Link( OEndOfSwitcha , IEndOfInitLoopIndex )
+    
+    LSwitch_1OddIsOdd_1Gate = GraphPyFunctions_1.Link( OSwitch_1Odd , IIsOdd_1Gate )
+    
+    LSwitch_1aIsOdd_1a = GraphPyFunctions_1.Link( OSwitch_1a , IIsOdd_1a )
+    LSwitch_1aIsOdd_1a.AddCoord( 1 , 368 , 368 )
+    LSwitch_1aIsOdd_1a.AddCoord( 2 , 367 , 460 )
+    
+    LSwitch_1DefaultEndOfSwitch_1Default = GraphPyFunctions_1.Link( OSwitch_1Default , IEndOfSwitch_1Default )
+    
+    LEndOfSwitch_1aEndOfInitLoop_1Index = GraphPyFunctions_1.Link( OEndOfSwitch_1a , IEndOfInitLoop_1Index )
+    
+    # Input datas
+    IInitLoopIndex.Input( 0 )
+    IInitLoopMin.Input( 0 )
+    IInitLoopMax.Input( 100 )
+    IInitLoop_1Index.Input( 0 )
+    IInitLoop_1Min.Input( 0 )
+    IInitLoop_1Max.Input( 100 )
+    
+    # Output Ports of the graph
+    #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
+    #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
+    #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
+    #OEndOfInitLoop_1Index = EndOfInitLoop_1.GetOutPort( 'Index' )
+    #OEndOfInitLoop_1Min = EndOfInitLoop_1.GetOutPort( 'Min' )
+    #OEndOfInitLoop_1Max = EndOfInitLoop_1.GetOutPort( 'Max' )
+    #OSwitchEven = Switch.GetOutPort( 'Even' )
+    #OSwitch_1Even = Switch_1.GetOutPort( 'Even' )
+    return GraphPyFunctions_1
+
+
+GraphPyFunctions_1 = DefGraphPyFunctions_1()
index 91826b5f4e228f7d675a532128f40b8f7c2f27e3..bf283ef8ea8dfdacf7c39010d921e66fc81a1333 100755 (executable)
-<!DOCTYPE Dataflow>
+<!DOCTYPE SuperGraph>
+<supergraph>
 <dataflow>
 <info-list>
 <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>GraphPyFunctions</node-name>
-   <kind>1</kind>
-   <coupled-node>?</coupled-node>
-   <service>
-<service-name>GraphPyFunctions</service-name>
-    <inParameter-list>
+    <interface-name>?</interface-name>
+    <node-name>GraphPyFunctions_1</node-name>
+    <kind>1</kind>
+    <coupled-node>?</coupled-node>
+    <service>
+<service-name>GraphPyFunctions_1</service-name>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>InitLoop\Index</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>InitLoop__Index</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>InitLoop\Min</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>InitLoop__Min</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>InitLoop\Max</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>InitLoop__Max</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>InitLoop_1\Index</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>InitLoop_1__Index</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>InitLoop_1\Min</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>InitLoop_1__Min</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>InitLoop_1\Max</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>InitLoop_1__Max</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfInitLoop\Index</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfInitLoop__Index</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfInitLoop\Min</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfInitLoop__Min</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfInitLoop\Max</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfInitLoop__Max</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfInitLoop_1\Index</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfInitLoop_1__Index</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfInitLoop_1\Min</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfInitLoop_1__Min</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfInitLoop_1\Max</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfInitLoop_1__Max</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>int</outParameter-type>
-      <outParameter-name>Switch\Even</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list/>
-   <creation-date>23/10/2003 - 17:46:20</creation-date>
-   <lastmodification-date>23/10/2003 - 17:47:28</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>0</x-position>
-   <y-position>0</y-position>  </node> </info-list>
- <node-list>
+       <outParameter-name>Switch__Even</outParameter-name>      </outParameter>
+      <outParameter>
+<outParameter-type>int</outParameter-type>
+       <outParameter-name>Switch_1__Even</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list/>
+    <creation-date>23/10/2003 - 17:46:20</creation-date>
+    <lastmodification-date>8/3/2005 - 15:22:24</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>?</comment>
+    <x-position>0</x-position>
+    <y-position>0</y-position>   </node>  </info-list>
+  <node-list>
 <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>IsOdd</node-name>
-   <kind>3</kind>
-   <coupled-node>?</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>IsOdd</node-name>
+    <kind>3</kind>
+    <coupled-node>?</coupled-node>
+    <service>
 <service-name>IsOdd</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>IsOdd</FuncName>
-     <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>23/10/2003 - 17:46:20</creation-date>
-   <lastmodification-date>23/10/2003 - 17:46:20</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>Python function</comment>
-   <x-position>388</x-position>
-   <y-position>50</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:22:24</creation-date>
+    <lastmodification-date>8/3/2005 - 15:22:24</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Python function</comment>
+    <x-position>388</x-position>
+    <y-position>50</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>IsOdd_1</node-name>
-   <kind>3</kind>
-   <coupled-node>?</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>IsOdd_1</node-name>
+    <kind>3</kind>
+    <coupled-node>?</coupled-node>
+    <service>
 <service-name>IsOdd_1</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>IsOdd</FuncName>
-     <PyFunc><![CDATA[from time import *   ]]></PyFunc>
-     <PyFunc><![CDATA[def IsOdd(a) :       ]]></PyFunc>
-     <PyFunc><![CDATA[    print a,"IsOdd"      ]]></PyFunc>
-     <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
-     <PyFunc><![CDATA[    return a     ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>23/10/2003 - 17:46:21</creation-date>
-   <lastmodification-date>23/10/2003 - 17:46:21</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>Python function</comment>
-   <x-position>391</x-position>
-   <y-position>288</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[from time import *   ]]></PyFunc>
+      <PyFunc><![CDATA[def IsOdd(a) :       ]]></PyFunc>
+      <PyFunc><![CDATA[    print a,"IsOdd"      ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
+      <PyFunc><![CDATA[    return a     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:22:24</creation-date>
+    <lastmodification-date>8/3/2005 - 15:22:24</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Python function</comment>
+    <x-position>391</x-position>
+    <y-position>288</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>InitLoop</node-name>
-   <kind>4</kind>
-   <coupled-node>EndOfInitLoop</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>InitLoop</node-name>
+    <kind>4</kind>
+    <coupled-node>EndOfInitLoop</coupled-node>
+    <service>
 <service-name>InitLoop</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Index</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Index</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Min</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Min</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Max</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>Max</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Index</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Index</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Min</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Min</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Max</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>InitLoop</FuncName>
-     <PyFunc><![CDATA[def InitLoop(Index,Min,Max) :      ]]></PyFunc>
-     <PyFunc><![CDATA[ return Index,Min,Max     ]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[def InitLoop(Index,Min,Max) :      ]]></PyFunc>
+      <PyFunc><![CDATA[        return Index,Min,Max     ]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>MoreLoop</FuncName>
-     <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) :     ]]></PyFunc>
-     <PyFunc><![CDATA[ if Index <= Max :   ]]></PyFunc>
-     <PyFunc><![CDATA[         DoLoop = 1     ]]></PyFunc>
-     <PyFunc><![CDATA[ else :     ]]></PyFunc>
-     <PyFunc><![CDATA[         DoLoop = 0     ]]></PyFunc>
-     <PyFunc><![CDATA[ return DoLoop,Index,Min,Max     ]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) :     ]]></PyFunc>
+      <PyFunc><![CDATA[        if Index <= Max :   ]]></PyFunc>
+      <PyFunc><![CDATA[                DoLoop = 1     ]]></PyFunc>
+      <PyFunc><![CDATA[        else :     ]]></PyFunc>
+      <PyFunc><![CDATA[                DoLoop = 0     ]]></PyFunc>
+      <PyFunc><![CDATA[        return DoLoop,Index,Min,Max     ]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>NextLoop</FuncName>
-     <PyFunc><![CDATA[def NextLoop(Index,Min,Max) :     ]]></PyFunc>
-     <PyFunc><![CDATA[ Index = Index + 1     ]]></PyFunc>
-     <PyFunc><![CDATA[ return Index,Min,Max     ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>23/10/2003 - 17:46:23</creation-date>
-   <lastmodification-date>23/10/2003 - 17:46:23</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>10</x-position>
-   <y-position>129</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[def NextLoop(Index,Min,Max) :     ]]></PyFunc>
+      <PyFunc><![CDATA[        Index = Index + 1     ]]></PyFunc>
+      <PyFunc><![CDATA[        return Index,Min,Max     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:22:24</creation-date>
+    <lastmodification-date>8/3/2005 - 15:22:24</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>10</x-position>
+    <y-position>129</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>EndOfInitLoop</node-name>
-   <kind>5</kind>
-   <coupled-node>InitLoop</coupled-node>
-   <service>
-<service-name>EndInitLoop</service-name>
-    <inParameter-list>
+    <interface-name>?</interface-name>
+    <node-name>EndOfInitLoop</node-name>
+    <kind>5</kind>
+    <coupled-node>InitLoop</coupled-node>
+    <service>
+<service-name>EndOfInitLoop</service-name>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Index</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Index</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Min</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Min</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Max</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>Max</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Index</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Index</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Min</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Min</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Max</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>EndInitLoop</FuncName>
-     <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>23/10/2003 - 17:46:23</creation-date>
-   <lastmodification-date>23/10/2003 - 17:46:23</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>766</x-position>
-   <y-position>127</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:22:24</creation-date>
+    <lastmodification-date>8/3/2005 - 15:22:24</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>766</x-position>
+    <y-position>127</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>InitLoop_1</node-name>
-   <kind>4</kind>
-   <coupled-node>EndOfInitLoop_1</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>InitLoop_1</node-name>
+    <kind>4</kind>
+    <coupled-node>EndOfInitLoop_1</coupled-node>
+    <service>
 <service-name>InitLoop_1</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Index</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Index</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Min</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Min</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Max</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>Max</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Index</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Index</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Min</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Min</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Max</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>InitLoop</FuncName>
-     <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>MoreLoop</FuncName>
-     <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>NextLoop</FuncName>
-     <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>23/10/2003 - 17:46:24</creation-date>
-   <lastmodification-date>23/10/2003 - 17:46:24</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>12</x-position>
-   <y-position>369</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:22:24</creation-date>
+    <lastmodification-date>8/3/2005 - 15:22:24</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>12</x-position>
+    <y-position>369</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>EndOfInitLoop_1</node-name>
-   <kind>5</kind>
-   <coupled-node>InitLoop_1</coupled-node>
-   <service>
-<service-name>EndInitLoop</service-name>
-    <inParameter-list>
+    <interface-name>?</interface-name>
+    <node-name>EndOfInitLoop_1</node-name>
+    <kind>5</kind>
+    <coupled-node>InitLoop_1</coupled-node>
+    <service>
+<service-name>EndOfInitLoop_1</service-name>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Index</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Index</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Min</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Min</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Max</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>Max</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Index</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Index</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Min</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Min</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Max</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>EndInitLoop</FuncName>
-     <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>23/10/2003 - 17:46:24</creation-date>
-   <lastmodification-date>23/10/2003 - 17:46:24</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>784</x-position>
-   <y-position>361</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:22:24</creation-date>
+    <lastmodification-date>8/3/2005 - 15:22:24</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>784</x-position>
+    <y-position>361</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>Switch</node-name>
-   <kind>6</kind>
-   <coupled-node>EndOfSwitch</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>Switch</node-name>
+    <kind>6</kind>
+    <coupled-node>EndOfSwitch</coupled-node>
+    <service>
 <service-name>Switch</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Odd</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Odd</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>int</outParameter-type>
-      <outParameter-name>Even</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Even</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>int</outParameter-type>
-      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>Switch</FuncName>
-     <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>23/10/2003 - 17:46:26</creation-date>
-   <lastmodification-date>23/10/2003 - 17:46:26</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>186</x-position>
-   <y-position>130</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:22:24</creation-date>
+    <lastmodification-date>8/3/2005 - 15:22:24</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>186</x-position>
+    <y-position>130</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>EndOfSwitch</node-name>
-   <kind>7</kind>
-   <coupled-node>Switch</coupled-node>
-   <service>
-<service-name>EndSwitch</service-name>
-    <inParameter-list>
+    <interface-name>?</interface-name>
+    <node-name>EndOfSwitch</node-name>
+    <kind>7</kind>
+    <coupled-node>Switch</coupled-node>
+    <service>
+<service-name>EndOfSwitch</service-name>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>EndOfSwitch_1</FuncName>
-     <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>23/10/2003 - 17:46:26</creation-date>
-   <lastmodification-date>23/10/2003 - 17:46:26</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>587</x-position>
-   <y-position>126</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:22:24</creation-date>
+    <lastmodification-date>8/3/2005 - 15:22:24</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>587</x-position>
+    <y-position>126</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>Switch_1</node-name>
-   <kind>6</kind>
-   <coupled-node>EndOfSwitch_1</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>Switch_1</node-name>
+    <kind>6</kind>
+    <coupled-node>EndOfSwitch_1</coupled-node>
+    <service>
 <service-name>Switch_1</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Odd</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Odd</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>int</outParameter-type>
-      <outParameter-name>Even</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Even</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>int</outParameter-type>
-      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>Switch</FuncName>
-     <PyFunc><![CDATA[from time import *  ]]></PyFunc>
-     <PyFunc><![CDATA[def Switch(a) :    ]]></PyFunc>
-     <PyFunc><![CDATA[    if ( a & 1 ) == 0 :  ]]></PyFunc>
-     <PyFunc><![CDATA[        sleep(1)  ]]></PyFunc>
-     <PyFunc><![CDATA[    return a & 1,1-(a&1),a    ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>23/10/2003 - 17:46:27</creation-date>
-   <lastmodification-date>23/10/2003 - 17:46:27</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>185</x-position>
-   <y-position>368</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[from time import *  ]]></PyFunc>
+      <PyFunc><![CDATA[def Switch(a) :    ]]></PyFunc>
+      <PyFunc><![CDATA[    if ( a & 1 ) == 0 :  ]]></PyFunc>
+      <PyFunc><![CDATA[        sleep(1)  ]]></PyFunc>
+      <PyFunc><![CDATA[    return a & 1,1-(a&1),a    ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:22:24</creation-date>
+    <lastmodification-date>8/3/2005 - 15:22:24</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>185</x-position>
+    <y-position>368</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>EndOfSwitch_1</node-name>
-   <kind>7</kind>
-   <coupled-node>Switch_1</coupled-node>
-   <service>
-<service-name>EndSwitch</service-name>
-    <inParameter-list>
+    <interface-name>?</interface-name>
+    <node-name>EndOfSwitch_1</node-name>
+    <kind>7</kind>
+    <coupled-node>Switch_1</coupled-node>
+    <service>
+<service-name>EndOfSwitch_1</service-name>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>EndOfSwitch_1</FuncName>
-     <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>23/10/2003 - 17:46:27</creation-date>
-   <lastmodification-date>23/10/2003 - 17:46:27</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>594</x-position>
-   <y-position>362</y-position>  </node> </node-list>
- <link-list>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 15:22:24</creation-date>
+    <lastmodification-date>8/3/2005 - 15:22:24</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>594</x-position>
+    <y-position>362</y-position>   </node>  </node-list>
 <link-list>
 <link>
 <fromnode-name>IsOdd</fromnode-name>
-   <fromserviceparameter-name>a</fromserviceparameter-name>
-   <tonode-name>EndOfSwitch</tonode-name>
-   <toserviceparameter-name>a</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>EndOfSwitch</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
+    <coord-list>
 <coord>
 <x>571</x>
-     <y>160</y>    </coord>
-    <coord>
+      <y>160</y>     </coord>
+     <coord>
 <x>571</x>
-     <y>129</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>129</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>IsOdd_1</fromnode-name>
-   <fromserviceparameter-name>a</fromserviceparameter-name>
-   <tonode-name>EndOfSwitch_1</tonode-name>
-   <toserviceparameter-name>a</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>EndOfSwitch_1</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
+    <coord-list>
 <coord>
 <x>580</x>
-     <y>396</y>    </coord>
-    <coord>
+      <y>396</y>     </coord>
+     <coord>
 <x>580</x>
-     <y>368</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>368</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>InitLoop</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoop</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoop</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>InitLoop</fromnode-name>
-   <fromserviceparameter-name>Index</fromserviceparameter-name>
-   <tonode-name>Switch</tonode-name>
-   <toserviceparameter-name>a</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Index</fromserviceparameter-name>
+    <tonode-name>Switch</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>InitLoop</fromnode-name>
-   <fromserviceparameter-name>Min</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoop</tonode-name>
-   <toserviceparameter-name>Min</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Min</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoop</tonode-name>
+    <toserviceparameter-name>Min</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>InitLoop</fromnode-name>
-   <fromserviceparameter-name>Max</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoop</tonode-name>
-   <toserviceparameter-name>Max</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Max</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoop</tonode-name>
+    <toserviceparameter-name>Max</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndOfInitLoop</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>InitLoop</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>InitLoop</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>InitLoop_1</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoop_1</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoop_1</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>InitLoop_1</fromnode-name>
-   <fromserviceparameter-name>Index</fromserviceparameter-name>
-   <tonode-name>Switch_1</tonode-name>
-   <toserviceparameter-name>a</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Index</fromserviceparameter-name>
+    <tonode-name>Switch_1</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>InitLoop_1</fromnode-name>
-   <fromserviceparameter-name>Min</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoop_1</tonode-name>
-   <toserviceparameter-name>Min</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Min</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoop_1</tonode-name>
+    <toserviceparameter-name>Min</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>InitLoop_1</fromnode-name>
-   <fromserviceparameter-name>Max</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoop_1</tonode-name>
-   <toserviceparameter-name>Max</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Max</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoop_1</tonode-name>
+    <toserviceparameter-name>Max</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndOfInitLoop_1</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>InitLoop_1</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>InitLoop_1</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>Switch</fromnode-name>
-   <fromserviceparameter-name>Odd</fromserviceparameter-name>
-   <tonode-name>IsOdd</tonode-name>
-   <toserviceparameter-name>InGate</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Odd</fromserviceparameter-name>
+    <tonode-name>IsOdd</tonode-name>
+    <toserviceparameter-name>Gate</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>Switch</fromnode-name>
-   <fromserviceparameter-name>a</fromserviceparameter-name>
-   <tonode-name>IsOdd</tonode-name>
-   <toserviceparameter-name>a</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>IsOdd</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
+    <coord-list>
 <coord>
 <x>366</x>
-     <y>131</y>    </coord>
-    <coord>
+      <y>131</y>     </coord>
+     <coord>
 <x>365</x>
-     <y>223</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>223</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>Switch</fromnode-name>
-   <fromserviceparameter-name>Default</fromserviceparameter-name>
-   <tonode-name>EndOfSwitch</tonode-name>
-   <toserviceparameter-name>Default</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>Default</fromserviceparameter-name>
+    <tonode-name>EndOfSwitch</tonode-name>
+    <toserviceparameter-name>Default</toserviceparameter-name>
+    <coord-list>
 <coord>
 <x>572</x>
-     <y>194</y>    </coord>
-    <coord>
+      <y>194</y>     </coord>
+     <coord>
 <x>571</x>
-     <y>257</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>257</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>EndOfSwitch</fromnode-name>
-   <fromserviceparameter-name>a</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoop</tonode-name>
-   <toserviceparameter-name>Index</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
-<fromnode-name>Switch_1</fromnode-name>
-   <fromserviceparameter-name>Odd</fromserviceparameter-name>
-   <tonode-name>IsOdd_1</tonode-name>
-   <toserviceparameter-name>InGate</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoop</tonode-name>
+    <toserviceparameter-name>Index</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>Switch_1</fromnode-name>
-   <fromserviceparameter-name>Even</fromserviceparameter-name>
-   <tonode-name>EndOfSwitch_1</tonode-name>
-   <toserviceparameter-name>Default</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Odd</fromserviceparameter-name>
+    <tonode-name>IsOdd_1</tonode-name>
+    <toserviceparameter-name>Gate</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>Switch_1</fromnode-name>
-   <fromserviceparameter-name>a</fromserviceparameter-name>
-   <tonode-name>IsOdd_1</tonode-name>
-   <toserviceparameter-name>a</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>IsOdd_1</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
+    <coord-list>
 <coord>
 <x>368</x>
-     <y>368</y>    </coord>
-    <coord>
+      <y>368</y>     </coord>
+     <coord>
 <x>367</x>
-     <y>460</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>460</y>     </coord>    </coord-list>   </link>
+   <link>
+<fromnode-name>Switch_1</fromnode-name>
+    <fromserviceparameter-name>Default</fromserviceparameter-name>
+    <tonode-name>EndOfSwitch_1</tonode-name>
+    <toserviceparameter-name>Default</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndOfSwitch_1</fromnode-name>
-   <fromserviceparameter-name>a</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoop_1</tonode-name>
-   <toserviceparameter-name>Index</toserviceparameter-name>
-   <coord-list/>  </link> </link-list>
- <data-list>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoop_1</tonode-name>
+    <toserviceparameter-name>Index</toserviceparameter-name>
+    <coord-list/>   </link>  </link-list>
 <data-list>
 <data>
-<fromnode-name>GraphPyFunctions</fromnode-name>
-   <fromserviceparameter-name>InitLoop\Index</fromserviceparameter-name>
-   <tonode-name>InitLoop</tonode-name>
-   <toserviceparameter-name>Index</toserviceparameter-name>
-   <data-value>
+<fromnode-name>GraphPyFunctions_1</fromnode-name>
+    <fromserviceparameter-name>InitLoop__Index</fromserviceparameter-name>
+    <tonode-name>InitLoop</tonode-name>
+    <toserviceparameter-name>Index</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>0</value>   </data-value>
-   <coord-list/>  </data>
-  <data>
-<fromnode-name>GraphPyFunctions</fromnode-name>
-   <fromserviceparameter-name>InitLoop\Min</fromserviceparameter-name>
-   <tonode-name>InitLoop</tonode-name>
-   <toserviceparameter-name>Min</toserviceparameter-name>
-   <data-value>
+     <value>0</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
+<fromnode-name>GraphPyFunctions_1</fromnode-name>
+    <fromserviceparameter-name>InitLoop__Min</fromserviceparameter-name>
+    <tonode-name>InitLoop</tonode-name>
+    <toserviceparameter-name>Min</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>0</value>   </data-value>
-   <coord-list/>  </data>
-  <data>
-<fromnode-name>GraphPyFunctions</fromnode-name>
-   <fromserviceparameter-name>InitLoop\Max</fromserviceparameter-name>
-   <tonode-name>InitLoop</tonode-name>
-   <toserviceparameter-name>Max</toserviceparameter-name>
-   <data-value>
+     <value>0</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
+<fromnode-name>GraphPyFunctions_1</fromnode-name>
+    <fromserviceparameter-name>InitLoop__Max</fromserviceparameter-name>
+    <tonode-name>InitLoop</tonode-name>
+    <toserviceparameter-name>Max</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>100</value>   </data-value>
-   <coord-list/>  </data>
-  <data>
-<fromnode-name>GraphPyFunctions</fromnode-name>
-   <fromserviceparameter-name>InitLoop_1\Index</fromserviceparameter-name>
-   <tonode-name>InitLoop_1</tonode-name>
-   <toserviceparameter-name>Index</toserviceparameter-name>
-   <data-value>
+     <value>100</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
+<fromnode-name>GraphPyFunctions_1</fromnode-name>
+    <fromserviceparameter-name>InitLoop_1__Index</fromserviceparameter-name>
+    <tonode-name>InitLoop_1</tonode-name>
+    <toserviceparameter-name>Index</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>0</value>   </data-value>
-   <coord-list/>  </data>
-  <data>
-<fromnode-name>GraphPyFunctions</fromnode-name>
-   <fromserviceparameter-name>InitLoop_1\Min</fromserviceparameter-name>
-   <tonode-name>InitLoop_1</tonode-name>
-   <toserviceparameter-name>Min</toserviceparameter-name>
-   <data-value>
+     <value>0</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
+<fromnode-name>GraphPyFunctions_1</fromnode-name>
+    <fromserviceparameter-name>InitLoop_1__Min</fromserviceparameter-name>
+    <tonode-name>InitLoop_1</tonode-name>
+    <toserviceparameter-name>Min</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>0</value>   </data-value>
-   <coord-list/>  </data>
-  <data>
-<fromnode-name>GraphPyFunctions</fromnode-name>
-   <fromserviceparameter-name>InitLoop_1\Max</fromserviceparameter-name>
-   <tonode-name>InitLoop_1</tonode-name>
-   <toserviceparameter-name>Max</toserviceparameter-name>
-   <data-value>
+     <value>0</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
+<fromnode-name>GraphPyFunctions_1</fromnode-name>
+    <fromserviceparameter-name>InitLoop_1__Max</fromserviceparameter-name>
+    <tonode-name>InitLoop_1</tonode-name>
+    <toserviceparameter-name>Max</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>100</value>   </data-value>
-   <coord-list/>  </data> </data-list></dataflow>
+     <value>100</value>    </data-value>
+    <coord-list/>   </data>  </data-list> </dataflow></supergraph>
index 0f8877367ff132238ad8e0153f3c4b6cc2da603f..df5daf626dc1e0d577316b15fa700d213ee93269 100644 (file)
 # Generated python file of Graph GraphStreamInLines
 
 from SuperV import *
-# Graph creation 
-GraphStreamInLines = StreamGraph( 'GraphStreamInLines' )
-GraphStreamInLines.SetStreamParams( 300 , SUPERV.WithoutTrace , 0 )
-GraphStreamInLines.SetName( 'GraphStreamInLines' )
-GraphStreamInLines.SetAuthor( '' )
-GraphStreamInLines.SetComment( '' )
-GraphStreamInLines.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-# Creation of InLine Nodes
-PyIsOdd = []
-PyIsOdd.append( 'from time import *    ' )
-PyIsOdd.append( 'def IsOdd(a,Even) :        ' )
-PyIsOdd.append( '    print a,"IsOdd (GraphStreamInLines1)"       ' )
-PyIsOdd.append( '    sleep( 1 )    ' )
-PyIsOdd.append( '    return a      ' )
-IsOdd = GraphStreamInLines.INode( 'IsOdd' , PyIsOdd )
-IsOdd.SetName( 'IsOdd' )
-IsOdd.SetAuthor( '' )
-IsOdd.SetComment( 'Python function' )
-IsOdd.Coords( 394 , 59 )
-IIsOdda = IsOdd.InPort( 'a' , 'long' )
-IIsOddEven = IsOdd.InPort( 'Even' , 'boolean' )
-IIsOddGate = IsOdd.GetInPort( 'Gate' )
-OIsOdda = IsOdd.OutPort( 'a' , 'long' )
-OIsOddGate = IsOdd.GetOutPort( 'Gate' )
-IIsOddistream = IsOdd.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-IIsOddistream.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-OIsOddostream = IsOdd.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE )
-OIsOddostream.SetNumberOfValues( 0 )
-
-# Creation of Loop Nodes
-PyInitLoop = []
-PyMoreInitLoop = []
-PyMoreInitLoop.append( '' )
-PyNextInitLoop = []
-PyNextInitLoop.append( '' )
-InitLoop,EndOfInitLoop = GraphStreamInLines.LNode( '' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
-EndOfInitLoop.SetName( 'EndOfInitLoop' )
-EndOfInitLoop.SetAuthor( '' )
-EndOfInitLoop.SetComment( '' )
-EndOfInitLoop.Coords( 776 , 105 )
-PyEndOfInitLoop = []
-PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
-PyEndOfInitLoop.append( '      Index = Index + 1     ' )
-PyEndOfInitLoop.append( '      if Index <= Max :   ' )
-PyEndOfInitLoop.append( '              DoLoop = 1     ' )
-PyEndOfInitLoop.append( '      else :     ' )
-PyEndOfInitLoop.append( '              DoLoop = 0     ' )
-PyEndOfInitLoop.append( '      return DoLoop,Index,Min,Max     ' )
-EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
-IInitLoopInitLoop = InitLoop.GetInPort( 'DoLoop' )
-IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
-IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
-IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
-IInitLoopistream = InitLoop.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-IInitLoopistream.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-IInitLoopGate = InitLoop.GetInPort( 'Gate' )
-OInitLoopDoLoop = InitLoop.GetOutPort( 'DoLoop' )
-OInitLoopIndex = InitLoop.GetOutPort( 'Index' )
-OInitLoopMin = InitLoop.GetOutPort( 'Min' )
-OInitLoopMax = InitLoop.GetOutPort( 'Max' )
-OInitLoopostream = InitLoop.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE )
-OInitLoopostream.SetNumberOfValues( 0 )
-IEndOfInitLoopDoLoop = EndOfInitLoop.GetInPort( 'DoLoop' )
-IEndOfInitLoopIndex = EndOfInitLoop.GetInPort( 'Index' )
-IEndOfInitLoopMin = EndOfInitLoop.GetInPort( 'Min' )
-IEndOfInitLoopMax = EndOfInitLoop.GetInPort( 'Max' )
-IEndOfInitLoopistream = EndOfInitLoop.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE )
-IEndOfInitLoopistream.SetParams( SUPERV.SCHENULL , SUPERV.INTERNULL , SUPERV.EXTRANULL )
-IEndOfInitLoopGate = EndOfInitLoop.GetInPort( 'Gate' )
-OEndOfInitLoopDoLoop = EndOfInitLoop.GetOutPort( 'DoLoop' )
-OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
-OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
-OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
-OEndOfInitLoopostream = EndOfInitLoop.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-OEndOfInitLoopostream.SetNumberOfValues( 0 )
-InitLoop.SetName( 'InitLoop' )
-InitLoop.SetAuthor( '' )
-InitLoop.SetComment( '' )
-InitLoop.Coords( 11 , 119 )
-IInitLoopistream = InitLoop.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-IInitLoopistream.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-OInitLoopostream = InitLoop.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE )
-OInitLoopostream.SetNumberOfValues( 0 )
-
-# Creation of Switch Nodes
-PySwitch = []
-PySwitch.append( 'from time import *  ' )
-PySwitch.append( 'def Switch(a) :    ' )
-PySwitch.append( '    if ( a & 1 ) == 0 :  ' )
-PySwitch.append( '        sleep(1)  ' )
-PySwitch.append( '    return a & 1,1-(a&1),a    ' )
-Switch,EndSwitch = GraphStreamInLines.SNode( 'Switch' , PySwitch )
-EndSwitch.SetName( 'EndSwitch' )
-EndSwitch.SetAuthor( '' )
-EndSwitch.SetComment( '' )
-EndSwitch.Coords( 587 , 104 )
-PyEndSwitch = []
-PyEndSwitch.append( 'def EndOfSwitch(a) :    ' )
-PyEndSwitch.append( '    if ( a & 1 ) == 0 :  ' )
-PyEndSwitch.append( '        sleep(1)  ' )
-PyEndSwitch.append( '    return a    ' )
-EndSwitch.SetPyFunction( 'EndOfSwitch' , PyEndSwitch )
-IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
-IEndSwitchistream = EndSwitch.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-IEndSwitchistream.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
-OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
-OEndSwitchostream = EndSwitch.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-OEndSwitchostream.SetNumberOfValues( 0 )
-OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
-Switch.SetName( 'Switch' )
-Switch.SetAuthor( '' )
-Switch.SetComment( '' )
-Switch.Coords( 197 , 119 )
-ISwitcha = Switch.InPort( 'a' , 'long' )
-ISwitchGate = Switch.GetInPort( 'Gate' )
-OSwitchOdd = Switch.OutPort( 'Odd' , 'long' )
-OSwitchEven = Switch.OutPort( 'Even' , 'int' )
-OSwitcha = Switch.OutPort( 'a' , 'int' )
-OSwitchDefault = Switch.GetOutPort( 'Default' )
-ISwitchistream = Switch.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
-ISwitchistream.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
-OSwitchostream = Switch.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE )
-OSwitchostream.SetNumberOfValues( 0 )
-
-# Creation of Links
-LIsOddaEndSwitcha = GraphStreamInLines.Link( OIsOdda , IEndSwitcha )
-
-LIsOddostreamInitLoopistream = GraphStreamInLines.StreamLink( OIsOddostream , IInitLoopistream )
-LIsOddostreamInitLoopistream.AddCoord( 1 , 3 , 240 )
-LIsOddostreamInitLoopistream.AddCoord( 2 , 3 , 395 )
-LIsOddostreamInitLoopistream.AddCoord( 3 , 571 , 394 )
-LIsOddostreamInitLoopistream.AddCoord( 4 , 571 , 187 )
-
-LInitLoopIndexSwitcha = GraphStreamInLines.Link( OInitLoopIndex , ISwitcha )
-
-LInitLoopMinEndOfInitLoopMin = GraphStreamInLines.Link( OInitLoopMin , IEndOfInitLoopMin )
-
-LInitLoopMaxEndOfInitLoopMax = GraphStreamInLines.Link( OInitLoopMax , IEndOfInitLoopMax )
-
-LInitLoopostreamEndSwitchistream = GraphStreamInLines.StreamLink( OInitLoopostream , IEndSwitchistream )
-LInitLoopostreamEndSwitchistream.AddCoord( 1 , 584 , 167 )
-LInitLoopostreamEndSwitchistream.AddCoord( 2 , 584 , 369 )
-LInitLoopostreamEndSwitchistream.AddCoord( 3 , 184 , 368 )
-LInitLoopostreamEndSwitchistream.AddCoord( 4 , 185 , 240 )
-
-LSwitchOddIsOddGate = GraphStreamInLines.Link( OSwitchOdd , IIsOddGate )
-LSwitchOddIsOddGate.AddCoord( 1 , 373 , 222 )
-LSwitchOddIsOddGate.AddCoord( 2 , 373 , 147 )
-
-LSwitchEvenEndSwitchDefault = GraphStreamInLines.Link( OSwitchEven , IEndSwitchDefault )
-
-LSwitchEvenIsOddEven = GraphStreamInLines.Link( OSwitchEven , IIsOddEven )
-LSwitchEvenIsOddEven.AddCoord( 1 , 363 , 154 )
-LSwitchEvenIsOddEven.AddCoord( 2 , 362 , 177 )
-
-LSwitchaIsOdda = GraphStreamInLines.Link( OSwitcha , IIsOdda )
-LSwitchaIsOdda.AddCoord( 1 , 385 , 123 )
-LSwitchaIsOdda.AddCoord( 2 , 386 , 206 )
-
-LSwitchostreamIsOddistream = GraphStreamInLines.StreamLink( OSwitchostream , IIsOddistream )
-LSwitchostreamIsOddistream.AddCoord( 1 , 360 , 185 )
-LSwitchostreamIsOddistream.AddCoord( 2 , 361 , 240 )
-
-LSwitchostreamEndOfInitLoopistream = GraphStreamInLines.StreamLink( OSwitchostream , IEndOfInitLoopistream )
-LSwitchostreamEndOfInitLoopistream.AddCoord( 1 , 775 , 226 )
-LSwitchostreamEndOfInitLoopistream.AddCoord( 2 , 775 , 261 )
-LSwitchostreamEndOfInitLoopistream.AddCoord( 3 , 361 , 261 )
-LSwitchostreamEndOfInitLoopistream.AddCoord( 4 , 361 , 240 )
-
-LEndSwitchaEndOfInitLoopIndex = GraphStreamInLines.Link( OEndSwitcha , IEndOfInitLoopIndex )
-
-LEndSwitchostreamSwitchistream = GraphStreamInLines.StreamLink( OEndSwitchostream , ISwitchistream )
-LEndSwitchostreamSwitchistream.AddCoord( 1 , 186 , 240 )
-LEndSwitchostreamSwitchistream.AddCoord( 2 , 186 , 331 )
-LEndSwitchostreamSwitchistream.AddCoord( 3 , 766 , 330 )
-LEndSwitchostreamSwitchistream.AddCoord( 4 , 766 , 167 )
-
-# Input datas
-IInitLoopIndex.Input( 0 )
-IInitLoopMin.Input( 0 )
-IInitLoopMax.Input( 100 )
-
-# Output Ports of the graph
-#OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
-#OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
-#OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
-
-
-
-GraphStreamInLines.Run()
-GraphStreamInLines.DoneW()
-print GraphStreamInLines.State()
-
-GraphStreamInLines.PrintPorts()
-
-
-subgraphs = GraphStreamInLines.SubGraphsNumber()
-i = 1
-while i <= subgraphs :
-    nodes = GraphStreamInLines.SubGraphsNodes( i )
-    j = 0
-    while j < len(nodes) :
-        print 'SubGraph',i,nodes[j].Name()
-        j = j + 1
-    i = i + 1
-
-
-substreamgraphs = GraphStreamInLines.SubStreamGraphsNumber()
-i = 1
-while i <= substreamgraphs :
-    nodes = GraphStreamInLines.SubStreamGraphsNodes( i )
-    j = 0
-    while j < len(nodes) :
-        print 'SubStreamGraph',i,nodes[j].Name()
-        j = j + 1
-    i = i + 1
-
-GraphStreamInLines.Export('/tmp/GraphStreamInLines.xml')
-
-from SuperV import *
-GraphStreamInLines = StreamGraph('/tmp/GraphStreamInLines.xml')
-
-
-GraphStreamInLines.Run()
-GraphStreamInLines.DoneW()
-print GraphStreamInLines.State()
-
-subgraphs = GraphStreamInLines.SubGraphsNumber()
-i = 1
-while i <= subgraphs :
-    nodes = GraphStreamInLines.SubGraphsNodes( i )
-    j = 0
-    while j < len(nodes) :
-        print 'SubGraph',i,nodes[j].Name()
-        j = j + 1
-    i = i + 1
-
-
-substreamgraphs = GraphStreamInLines.SubStreamGraphsNumber()
-i = 1
-while i <= substreamgraphs :
-    nodes = GraphStreamInLines.SubStreamGraphsNodes( i )
-    j = 0
-    while j < len(nodes) :
-        print 'SubStreamGraph',i,nodes[j].Name()
-        j = j + 1
-    i = i + 1
 
+# Graph creation of GraphStreamInLines
+def DefGraphStreamInLines() :
+    GraphStreamInLines = StreamGraph( 'GraphStreamInLines' )
+    GraphStreamInLines.SetStreamParams( 300 , SUPERV.WithoutTrace , 0 )
+    GraphStreamInLines.SetName( 'GraphStreamInLines' )
+    GraphStreamInLines.SetAuthor( '' )
+    GraphStreamInLines.SetComment( '' )
+    GraphStreamInLines.Coords( 0 , 0 )
+    
+    # Creation of Factory Nodes
+    
+    # Creation of InLine Nodes
+    PyIsOdd = []
+    PyIsOdd.append( 'from time import *    ' )
+    PyIsOdd.append( 'def IsOdd(a,Even) :        ' )
+    PyIsOdd.append( '    print a,"IsOdd (GraphStreamInLines1)"       ' )
+    PyIsOdd.append( '    sleep( 1 )    ' )
+    PyIsOdd.append( '    return a      ' )
+    IsOdd = GraphStreamInLines.INode( 'IsOdd' , PyIsOdd )
+    IsOdd.SetName( 'IsOdd' )
+    IsOdd.SetAuthor( '' )
+    IsOdd.SetComment( 'Python function' )
+    IsOdd.Coords( 404 , 7 )
+    IIsOdda = IsOdd.InPort( 'a' , 'long' )
+    IIsOddEven = IsOdd.InPort( 'Even' , 'boolean' )
+    IIsOddGate = IsOdd.GetInPort( 'Gate' )
+    OIsOdda = IsOdd.OutPort( 'a' , 'long' )
+    OIsOddGate = IsOdd.GetOutPort( 'Gate' )
+    IIsOddistream = IsOdd.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
+    IIsOddistream.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
+    OIsOddostream = IsOdd.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE )
+    OIsOddostream.SetNumberOfValues( 0 )
+    
+    # Creation of Loop Nodes
+    PyInitLoop = []
+    PyMoreInitLoop = []
+    PyMoreInitLoop.append( '' )
+    PyNextInitLoop = []
+    PyNextInitLoop.append( '' )
+    InitLoop,EndOfInitLoop = GraphStreamInLines.LNode( '' , PyInitLoop , '' , PyMoreInitLoop , '' , PyNextInitLoop )
+    EndOfInitLoop.SetName( 'EndOfInitLoop' )
+    EndOfInitLoop.SetAuthor( '' )
+    EndOfInitLoop.SetComment( 'Compute Node' )
+    EndOfInitLoop.Coords( 807 , 104 )
+    PyEndOfInitLoop = []
+    PyEndOfInitLoop.append( 'def EndOfInitLoop( DoLoop , Index , Min , Max ) :' )
+    PyEndOfInitLoop.append( '  Index = Index + 1     ' )
+    PyEndOfInitLoop.append( '  if Index <= Max :   ' )
+    PyEndOfInitLoop.append( '          DoLoop = 1     ' )
+    PyEndOfInitLoop.append( '  else :     ' )
+    PyEndOfInitLoop.append( '          DoLoop = 0     ' )
+    PyEndOfInitLoop.append( '  return DoLoop,Index,Min,Max     ' )
+    EndOfInitLoop.SetPyFunction( 'EndOfInitLoop' , PyEndOfInitLoop )
+    IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
+    IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
+    IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
+    IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
+    IInitLoopistream = InitLoop.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
+    IInitLoopistream.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
+    IInitLoopGate = InitLoop.GetInPort( 'Gate' )
+    OInitLoopDoLoop = InitLoop.GetOutPort( 'DoLoop' )
+    OInitLoopIndex = InitLoop.GetOutPort( 'Index' )
+    OInitLoopMin = InitLoop.GetOutPort( 'Min' )
+    OInitLoopMax = InitLoop.GetOutPort( 'Max' )
+    OInitLoopostream = InitLoop.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE )
+    OInitLoopostream.SetNumberOfValues( 0 )
+    IEndOfInitLoopDoLoop = EndOfInitLoop.GetInPort( 'DoLoop' )
+    IEndOfInitLoopIndex = EndOfInitLoop.GetInPort( 'Index' )
+    IEndOfInitLoopMin = EndOfInitLoop.GetInPort( 'Min' )
+    IEndOfInitLoopMax = EndOfInitLoop.GetInPort( 'Max' )
+    IEndOfInitLoopistream = EndOfInitLoop.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE )
+    IEndOfInitLoopistream.SetParams( SUPERV.SCHENULL , SUPERV.INTERNULL , SUPERV.EXTRANULL )
+    IEndOfInitLoopGate = EndOfInitLoop.GetInPort( 'Gate' )
+    OEndOfInitLoopDoLoop = EndOfInitLoop.GetOutPort( 'DoLoop' )
+    OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
+    OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
+    OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
+    OEndOfInitLoopGate = EndOfInitLoop.GetOutPort( 'Gate' )
+    OEndOfInitLoopostream = EndOfInitLoop.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
+    OEndOfInitLoopostream.SetNumberOfValues( 0 )
+    InitLoop.SetName( 'InitLoop' )
+    InitLoop.SetAuthor( '' )
+    InitLoop.SetComment( 'Compute Node' )
+    InitLoop.Coords( 11 , 119 )
+    IInitLoopistream = InitLoop.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
+    IInitLoopistream.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
+    OInitLoopostream = InitLoop.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE )
+    OInitLoopostream.SetNumberOfValues( 0 )
+    
+    # Creation of Switch Nodes
+    PySwitch = []
+    PySwitch.append( 'from time import *  ' )
+    PySwitch.append( 'def Switch(a) :    ' )
+    PySwitch.append( '    if ( a & 1 ) == 0 :  ' )
+    PySwitch.append( '        sleep(1)  ' )
+    PySwitch.append( '    return a & 1,1-(a&1),a    ' )
+    Switch,EndSwitch = GraphStreamInLines.SNode( 'Switch' , PySwitch )
+    EndSwitch.SetName( 'EndSwitch' )
+    EndSwitch.SetAuthor( '' )
+    EndSwitch.SetComment( 'Compute Node' )
+    EndSwitch.Coords( 604 , 105 )
+    PyEndSwitch = []
+    PyEndSwitch.append( 'def EndOfSwitch(a) :    ' )
+    PyEndSwitch.append( '    if ( a & 1 ) == 0 :  ' )
+    PyEndSwitch.append( '        sleep(1)  ' )
+    PyEndSwitch.append( '    return a    ' )
+    EndSwitch.SetPyFunction( 'EndOfSwitch' , PyEndSwitch )
+    IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
+    IEndSwitchistream = EndSwitch.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
+    IEndSwitchistream.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
+    IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
+    OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
+    OEndSwitchostream = EndSwitch.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
+    OEndSwitchostream.SetNumberOfValues( 0 )
+    OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
+    Switch.SetName( 'Switch' )
+    Switch.SetAuthor( '' )
+    Switch.SetComment( 'Compute Node' )
+    Switch.Coords( 198 , 115 )
+    ISwitcha = Switch.InPort( 'a' , 'long' )
+    ISwitchGate = Switch.GetInPort( 'Gate' )
+    OSwitchOdd = Switch.OutPort( 'Odd' , 'long' )
+    OSwitchEven = Switch.OutPort( 'Even' , 'int' )
+    OSwitcha = Switch.OutPort( 'a' , 'int' )
+    OSwitchDefault = Switch.GetOutPort( 'Default' )
+    ISwitchistream = Switch.InStreamPort( 'istream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_TEMPORAL )
+    ISwitchistream.SetParams( SUPERV.TI , SUPERV.L1 , SUPERV.EXTRANULL )
+    OSwitchostream = Switch.OutStreamPort( 'ostream' , SALOME_ModuleCatalog.DATASTREAM_INTEGER , SALOME_ModuleCatalog.DATASTREAM_ITERATIVE )
+    OSwitchostream.SetNumberOfValues( 0 )
+    
+    # Creation of Links
+    LIsOddaEndSwitcha = GraphStreamInLines.Link( OIsOdda , IEndSwitcha )
+    
+    LIsOddostreamInitLoopistream = GraphStreamInLines.StreamLink( OIsOddostream , IInitLoopistream )
+    LIsOddostreamInitLoopistream.AddCoord( 1 , 3 , 240 )
+    LIsOddostreamInitLoopistream.AddCoord( 2 , 3 , 395 )
+    LIsOddostreamInitLoopistream.AddCoord( 3 , 571 , 394 )
+    LIsOddostreamInitLoopistream.AddCoord( 4 , 577 , 122 )
+    
+    LInitLoopIndexSwitcha = GraphStreamInLines.Link( OInitLoopIndex , ISwitcha )
+    
+    LInitLoopMinEndOfInitLoopMin = GraphStreamInLines.Link( OInitLoopMin , IEndOfInitLoopMin )
+    
+    LInitLoopMaxEndOfInitLoopMax = GraphStreamInLines.Link( OInitLoopMax , IEndOfInitLoopMax )
+    
+    LInitLoopostreamEndSwitchistream = GraphStreamInLines.StreamLink( OInitLoopostream , IEndSwitchistream )
+    LInitLoopostreamEndSwitchistream.AddCoord( 1 , 586 , 158 )
+    LInitLoopostreamEndSwitchistream.AddCoord( 2 , 586 , 362 )
+    LInitLoopostreamEndSwitchistream.AddCoord( 3 , 591 , 362 )
+    LInitLoopostreamEndSwitchistream.AddCoord( 4 , 591 , 359 )
+    LInitLoopostreamEndSwitchistream.AddCoord( 5 , 180 , 359 )
+    LInitLoopostreamEndSwitchistream.AddCoord( 6 , 180 , 212 )
+    LInitLoopostreamEndSwitchistream.AddCoord( 7 , 181 , 212 )
+    LInitLoopostreamEndSwitchistream.AddCoord( 8 , 181 , 214 )
+    LInitLoopostreamEndSwitchistream.AddCoord( 9 , 584 , 167 )
+    LInitLoopostreamEndSwitchistream.AddCoord( 10 , 584 , 369 )
+    LInitLoopostreamEndSwitchistream.AddCoord( 11 , 184 , 368 )
+    LInitLoopostreamEndSwitchistream.AddCoord( 12 , 185 , 240 )
+    
+    LSwitchOddIsOddGate = GraphStreamInLines.Link( OSwitchOdd , IIsOddGate )
+    
+    LSwitchEvenIsOddEven = GraphStreamInLines.Link( OSwitchEven , IIsOddEven )
+    
+    LSwitchaIsOdda = GraphStreamInLines.Link( OSwitcha , IIsOdda )
+    
+    LSwitchostreamIsOddistream = GraphStreamInLines.StreamLink( OSwitchostream , IIsOddistream )
+    
+    LSwitchostreamEndOfInitLoopistream = GraphStreamInLines.StreamLink( OSwitchostream , IEndOfInitLoopistream )
+    LSwitchostreamEndOfInitLoopistream.AddCoord( 1 , 779 , 203 )
+    LSwitchostreamEndOfInitLoopistream.AddCoord( 2 , 775 , 261 )
+    LSwitchostreamEndOfInitLoopistream.AddCoord( 3 , 397 , 260 )
+    LSwitchostreamEndOfInitLoopistream.AddCoord( 4 , 403 , 217 )
+    
+    LSwitchDefaultEndSwitchDefault = GraphStreamInLines.Link( OSwitchDefault , IEndSwitchDefault )
+    
+    LEndSwitchaEndOfInitLoopIndex = GraphStreamInLines.Link( OEndSwitcha , IEndOfInitLoopIndex )
+    
+    LEndSwitchostreamSwitchistream = GraphStreamInLines.StreamLink( OEndSwitchostream , ISwitchistream )
+    LEndSwitchostreamSwitchistream.AddCoord( 1 , 186 , 240 )
+    LEndSwitchostreamSwitchistream.AddCoord( 2 , 186 , 331 )
+    LEndSwitchostreamSwitchistream.AddCoord( 3 , 790 , 329 )
+    LEndSwitchostreamSwitchistream.AddCoord( 4 , 786 , 161 )
+    
+    # Input datas
+    IInitLoopIndex.Input( 0 )
+    IInitLoopMin.Input( 0 )
+    IInitLoopMax.Input( 100 )
+    
+    # Output Ports of the graph
+    #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
+    #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
+    #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
+    return GraphStreamInLines
+
+
+GraphStreamInLines = DefGraphStreamInLines()
index 0af81824fc24f1d04746b2ede8bda97b54991f93..f5a97d29712278e68d742ddf2f644e6e6619f81e 100644 (file)
-<!DOCTYPE Dataflow>
+<!DOCTYPE SuperGraph>
+<supergraph>
 <dataflow>
 <info-list>
 <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>GraphStreamInLines</node-name>
-   <kind>9</kind>
-   <streamgraph-timeout>300</streamgraph-timeout>
-   <streamgraph-datastreamtrace>0</streamgraph-datastreamtrace>
-   <streamgraph-deltatime>0</streamgraph-deltatime>
-   <coupled-node>?</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>GraphStreamInLines</node-name>
+    <kind>9</kind>
+    <streamgraph-timeout>300</streamgraph-timeout>
+    <streamgraph-datastreamtrace>0</streamgraph-datastreamtrace>
+    <streamgraph-deltatime>0</streamgraph-deltatime>
+    <coupled-node>?</coupled-node>
+    <service>
 <service-name>GraphStreamInLines</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>InitLoop\Index</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>InitLoop__Index</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>InitLoop\Min</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>InitLoop__Min</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>InitLoop\Max</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>InitLoop__Max</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfInitLoop\Index</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfInitLoop__Index</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfInitLoop\Min</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfInitLoop__Min</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfInitLoop\Max</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <DataStream-list>
+       <outParameter-name>EndOfInitLoop__Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list>
 <outParameter>
 <outParameter-type>1</outParameter-type>
-     <outParameter-name>EndOfInitLoop\ostream</outParameter-name>
-     <outParameter-dependency>1</outParameter-dependency>
-     <outParameter-values>0</outParameter-values>    </outParameter>   </DataStream-list>
-   <PyFunction-list/>
-   <creation-date>27/4/2004 - 15:5:25</creation-date>
-   <lastmodification-date>21/5/2004 - 10:45:38</lastmodification-date>
-   <editor-release>2.0</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>0</x-position>
-   <y-position>0</y-position>  </node> </info-list>
- <node-list>
+      <outParameter-name>EndOfInitLoop__ostream</outParameter-name>
+      <outParameter-dependency>1</outParameter-dependency>
+      <outParameter-values>0</outParameter-values>     </outParameter>    </DataStream-list>
+    <PyFunction-list/>
+    <creation-date>27/4/2004 - 15:5:25</creation-date>
+    <lastmodification-date>8/3/2005 - 16:11:42</lastmodification-date>
+    <editor-release>2.0</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>?</comment>
+    <x-position>0</x-position>
+    <y-position>0</y-position>   </node>  </info-list>
 <node-list>
 <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>IsOdd</node-name>
-   <kind>3</kind>
-   <coupled-node>?</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>IsOdd</node-name>
+    <kind>3</kind>
+    <coupled-node>?</coupled-node>
+    <service>
 <service-name>IsOdd</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>a</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>a</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>boolean</inParameter-type>
-      <inParameter-name>Even</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>Even</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <DataStream-list>
+       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list>
 <inParameter>
 <inParameter-type>1</inParameter-type>
-     <inParameter-name>istream</inParameter-name>
-     <inParameter-dependency>1</inParameter-dependency>
-     <inParameter-schema>1</inParameter-schema>
-     <inParameter-interpolation>2</inParameter-interpolation>
-     <inParameter-extrapolation>0</inParameter-extrapolation>    </inParameter>
-    <outParameter>
+      <inParameter-name>istream</inParameter-name>
+      <inParameter-dependency>1</inParameter-dependency>
+      <inParameter-schema>1</inParameter-schema>
+      <inParameter-interpolation>2</inParameter-interpolation>
+      <inParameter-extrapolation>0</inParameter-extrapolation>     </inParameter>
+     <outParameter>
 <outParameter-type>1</outParameter-type>
-     <outParameter-name>ostream</outParameter-name>
-     <outParameter-dependency>2</outParameter-dependency>
-     <outParameter-values>0</outParameter-values>    </outParameter>   </DataStream-list>
-   <PyFunction-list>
+      <outParameter-name>ostream</outParameter-name>
+      <outParameter-dependency>2</outParameter-dependency>
+      <outParameter-values>0</outParameter-values>     </outParameter>    </DataStream-list>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>IsOdd</FuncName>
-     <PyFunc><![CDATA[from time import *    ]]></PyFunc>
-     <PyFunc><![CDATA[def IsOdd(a,Even) :        ]]></PyFunc>
-     <PyFunc><![CDATA[    print a,"IsOdd (GraphStreamInLines1)"       ]]></PyFunc>
-     <PyFunc><![CDATA[    sleep( 1 )    ]]></PyFunc>
-     <PyFunc><![CDATA[    return a      ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>21/5/2004 - 10:45:38</creation-date>
-   <lastmodification-date>21/5/2004 - 10:45:38</lastmodification-date>
-   <editor-release>2.0</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>Python function</comment>
-   <x-position>394</x-position>
-   <y-position>59</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[from time import *    ]]></PyFunc>
+      <PyFunc><![CDATA[def IsOdd(a,Even) :        ]]></PyFunc>
+      <PyFunc><![CDATA[    print a,"IsOdd (GraphStreamInLines1)"       ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep( 1 )    ]]></PyFunc>
+      <PyFunc><![CDATA[    return a      ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 16:9:14</creation-date>
+    <lastmodification-date>8/3/2005 - 16:9:14</lastmodification-date>
+    <editor-release>2.0</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Python function</comment>
+    <x-position>404</x-position>
+    <y-position>7</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>InitLoop</node-name>
-   <kind>4</kind>
-   <coupled-node>EndOfInitLoop</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>InitLoop</node-name>
+    <kind>4</kind>
+    <coupled-node>EndOfInitLoop</coupled-node>
+    <service>
 <service-name>InitLoop</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Index</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Index</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Min</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Min</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Max</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>Max</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Index</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Index</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Min</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Min</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Max</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <DataStream-list>
+       <outParameter-name>Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list>
 <inParameter>
 <inParameter-type>1</inParameter-type>
-     <inParameter-name>istream</inParameter-name>
-     <inParameter-dependency>1</inParameter-dependency>
-     <inParameter-schema>1</inParameter-schema>
-     <inParameter-interpolation>2</inParameter-interpolation>
-     <inParameter-extrapolation>0</inParameter-extrapolation>    </inParameter>
-    <outParameter>
+      <inParameter-name>istream</inParameter-name>
+      <inParameter-dependency>1</inParameter-dependency>
+      <inParameter-schema>1</inParameter-schema>
+      <inParameter-interpolation>2</inParameter-interpolation>
+      <inParameter-extrapolation>0</inParameter-extrapolation>     </inParameter>
+     <outParameter>
 <outParameter-type>1</outParameter-type>
-     <outParameter-name>ostream</outParameter-name>
-     <outParameter-dependency>2</outParameter-dependency>
-     <outParameter-values>0</outParameter-values>    </outParameter>   </DataStream-list>
-   <PyFunction-list>
+      <outParameter-name>ostream</outParameter-name>
+      <outParameter-dependency>2</outParameter-dependency>
+      <outParameter-values>0</outParameter-values>     </outParameter>    </DataStream-list>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>?</FuncName>
-     <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>?</FuncName>
-     <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>?</FuncName>
-     <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>21/5/2004 - 10:45:38</creation-date>
-   <lastmodification-date>21/5/2004 - 10:45:38</lastmodification-date>
-   <editor-release>2.0</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>11</x-position>
-   <y-position>119</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 16:9:14</creation-date>
+    <lastmodification-date>8/3/2005 - 16:9:14</lastmodification-date>
+    <editor-release>2.0</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>11</x-position>
+    <y-position>119</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>EndOfInitLoop</node-name>
-   <kind>5</kind>
-   <coupled-node>InitLoop</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>EndOfInitLoop</node-name>
+    <kind>5</kind>
+    <coupled-node>InitLoop</coupled-node>
+    <service>
 <service-name>EndOfInitLoop</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Index</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Index</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Min</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Min</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Max</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>Max</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Index</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Index</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Min</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Min</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Max</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <DataStream-list>
+       <outParameter-name>Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list>
 <inParameter>
 <inParameter-type>1</inParameter-type>
-     <inParameter-name>istream</inParameter-name>
-     <inParameter-dependency>2</inParameter-dependency>
-     <inParameter-schema>0</inParameter-schema>
-     <inParameter-interpolation>0</inParameter-interpolation>
-     <inParameter-extrapolation>0</inParameter-extrapolation>    </inParameter>
-    <outParameter>
+      <inParameter-name>istream</inParameter-name>
+      <inParameter-dependency>2</inParameter-dependency>
+      <inParameter-schema>0</inParameter-schema>
+      <inParameter-interpolation>0</inParameter-interpolation>
+      <inParameter-extrapolation>0</inParameter-extrapolation>     </inParameter>
+     <outParameter>
 <outParameter-type>1</outParameter-type>
-     <outParameter-name>ostream</outParameter-name>
-     <outParameter-dependency>1</outParameter-dependency>
-     <outParameter-values>0</outParameter-values>    </outParameter>   </DataStream-list>
-   <PyFunction-list>
+      <outParameter-name>ostream</outParameter-name>
+      <outParameter-dependency>1</outParameter-dependency>
+      <outParameter-values>0</outParameter-values>     </outParameter>    </DataStream-list>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>EndOfInitLoop</FuncName>
-     <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
-     <PyFunc><![CDATA[ Index = Index + 1     ]]></PyFunc>
-     <PyFunc><![CDATA[ if Index <= Max :   ]]></PyFunc>
-     <PyFunc><![CDATA[         DoLoop = 1     ]]></PyFunc>
-     <PyFunc><![CDATA[ else :     ]]></PyFunc>
-     <PyFunc><![CDATA[         DoLoop = 0     ]]></PyFunc>
-     <PyFunc><![CDATA[ return DoLoop,Index,Min,Max     ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>21/5/2004 - 10:45:38</creation-date>
-   <lastmodification-date>21/5/2004 - 10:45:38</lastmodification-date>
-   <editor-release>2.0</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>776</x-position>
-   <y-position>105</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
+      <PyFunc><![CDATA[        Index = Index + 1     ]]></PyFunc>
+      <PyFunc><![CDATA[        if Index <= Max :   ]]></PyFunc>
+      <PyFunc><![CDATA[                DoLoop = 1     ]]></PyFunc>
+      <PyFunc><![CDATA[        else :     ]]></PyFunc>
+      <PyFunc><![CDATA[                DoLoop = 0     ]]></PyFunc>
+      <PyFunc><![CDATA[        return DoLoop,Index,Min,Max     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 16:9:14</creation-date>
+    <lastmodification-date>8/3/2005 - 16:9:14</lastmodification-date>
+    <editor-release>2.0</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>807</x-position>
+    <y-position>104</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>Switch</node-name>
-   <kind>6</kind>
-   <coupled-node>EndSwitch</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>Switch</node-name>
+    <kind>6</kind>
+    <coupled-node>EndSwitch</coupled-node>
+    <service>
 <service-name>Switch</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Odd</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Odd</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>int</outParameter-type>
-      <outParameter-name>Even</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Even</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>int</outParameter-type>
-      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <DataStream-list>
+       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list>
 <inParameter>
 <inParameter-type>1</inParameter-type>
-     <inParameter-name>istream</inParameter-name>
-     <inParameter-dependency>1</inParameter-dependency>
-     <inParameter-schema>1</inParameter-schema>
-     <inParameter-interpolation>2</inParameter-interpolation>
-     <inParameter-extrapolation>0</inParameter-extrapolation>    </inParameter>
-    <outParameter>
+      <inParameter-name>istream</inParameter-name>
+      <inParameter-dependency>1</inParameter-dependency>
+      <inParameter-schema>1</inParameter-schema>
+      <inParameter-interpolation>2</inParameter-interpolation>
+      <inParameter-extrapolation>0</inParameter-extrapolation>     </inParameter>
+     <outParameter>
 <outParameter-type>1</outParameter-type>
-     <outParameter-name>ostream</outParameter-name>
-     <outParameter-dependency>2</outParameter-dependency>
-     <outParameter-values>0</outParameter-values>    </outParameter>   </DataStream-list>
-   <PyFunction-list>
+      <outParameter-name>ostream</outParameter-name>
+      <outParameter-dependency>2</outParameter-dependency>
+      <outParameter-values>0</outParameter-values>     </outParameter>    </DataStream-list>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>Switch</FuncName>
-     <PyFunc><![CDATA[from time import *  ]]></PyFunc>
-     <PyFunc><![CDATA[def Switch(a) :    ]]></PyFunc>
-     <PyFunc><![CDATA[    if ( a & 1 ) == 0 :  ]]></PyFunc>
-     <PyFunc><![CDATA[        sleep(1)  ]]></PyFunc>
-     <PyFunc><![CDATA[    return a & 1,1-(a&1),a    ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>21/5/2004 - 10:45:38</creation-date>
-   <lastmodification-date>21/5/2004 - 10:45:38</lastmodification-date>
-   <editor-release>2.0</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>197</x-position>
-   <y-position>119</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[from time import *  ]]></PyFunc>
+      <PyFunc><![CDATA[def Switch(a) :    ]]></PyFunc>
+      <PyFunc><![CDATA[    if ( a & 1 ) == 0 :  ]]></PyFunc>
+      <PyFunc><![CDATA[        sleep(1)  ]]></PyFunc>
+      <PyFunc><![CDATA[    return a & 1,1-(a&1),a    ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 16:9:14</creation-date>
+    <lastmodification-date>8/3/2005 - 16:9:14</lastmodification-date>
+    <editor-release>2.0</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>198</x-position>
+    <y-position>115</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>EndSwitch</node-name>
-   <kind>7</kind>
-   <coupled-node>Switch</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>EndSwitch</node-name>
+    <kind>7</kind>
+    <coupled-node>Switch</coupled-node>
+    <service>
 <service-name>EndSwitch</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <DataStream-list>
+       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list>
 <inParameter>
 <inParameter-type>1</inParameter-type>
-     <inParameter-name>istream</inParameter-name>
-     <inParameter-dependency>1</inParameter-dependency>
-     <inParameter-schema>1</inParameter-schema>
-     <inParameter-interpolation>2</inParameter-interpolation>
-     <inParameter-extrapolation>0</inParameter-extrapolation>    </inParameter>
-    <outParameter>
+      <inParameter-name>istream</inParameter-name>
+      <inParameter-dependency>1</inParameter-dependency>
+      <inParameter-schema>1</inParameter-schema>
+      <inParameter-interpolation>2</inParameter-interpolation>
+      <inParameter-extrapolation>0</inParameter-extrapolation>     </inParameter>
+     <outParameter>
 <outParameter-type>1</outParameter-type>
-     <outParameter-name>ostream</outParameter-name>
-     <outParameter-dependency>1</outParameter-dependency>
-     <outParameter-values>0</outParameter-values>    </outParameter>   </DataStream-list>
-   <PyFunction-list>
+      <outParameter-name>ostream</outParameter-name>
+      <outParameter-dependency>1</outParameter-dependency>
+      <outParameter-values>0</outParameter-values>     </outParameter>    </DataStream-list>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>EndOfSwitch</FuncName>
-     <PyFunc><![CDATA[def EndOfSwitch(a) :    ]]></PyFunc>
-     <PyFunc><![CDATA[    if ( a & 1 ) == 0 :  ]]></PyFunc>
-     <PyFunc><![CDATA[        sleep(1)  ]]></PyFunc>
-     <PyFunc><![CDATA[    return a    ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>21/5/2004 - 10:45:38</creation-date>
-   <lastmodification-date>21/5/2004 - 10:45:38</lastmodification-date>
-   <editor-release>2.0</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>587</x-position>
-   <y-position>104</y-position>  </node> </node-list>
- <link-list>
+      <PyFunc><![CDATA[def EndOfSwitch(a) :    ]]></PyFunc>
+      <PyFunc><![CDATA[    if ( a & 1 ) == 0 :  ]]></PyFunc>
+      <PyFunc><![CDATA[        sleep(1)  ]]></PyFunc>
+      <PyFunc><![CDATA[    return a    ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 16:9:14</creation-date>
+    <lastmodification-date>8/3/2005 - 16:9:14</lastmodification-date>
+    <editor-release>2.0</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>604</x-position>
+    <y-position>105</y-position>   </node>  </node-list>
 <link-list>
 <link>
 <fromnode-name>IsOdd</fromnode-name>
-   <fromserviceparameter-name>a</fromserviceparameter-name>
-   <tonode-name>EndSwitch</tonode-name>
-   <toserviceparameter-name>a</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>EndSwitch</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>IsOdd</fromnode-name>
-   <fromserviceparameter-name>ostream</fromserviceparameter-name>
-   <tonode-name>InitLoop</tonode-name>
-   <toserviceparameter-name>istream</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>ostream</fromserviceparameter-name>
+    <tonode-name>InitLoop</tonode-name>
+    <toserviceparameter-name>istream</toserviceparameter-name>
+    <coord-list>
 <coord>
 <x>3</x>
-     <y>240</y>    </coord>
-    <coord>
+      <y>240</y>     </coord>
+     <coord>
 <x>3</x>
-     <y>395</y>    </coord>
-    <coord>
-<x>571</x>
-     <y>394</y>    </coord>
-    <coord>
+      <y>395</y>     </coord>
+     <coord>
 <x>571</x>
-     <y>187</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>394</y>     </coord>
+     <coord>
+<x>577</x>
+      <y>122</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>InitLoop</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoop</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoop</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>InitLoop</fromnode-name>
-   <fromserviceparameter-name>Index</fromserviceparameter-name>
-   <tonode-name>Switch</tonode-name>
-   <toserviceparameter-name>a</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Index</fromserviceparameter-name>
+    <tonode-name>Switch</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>InitLoop</fromnode-name>
-   <fromserviceparameter-name>Min</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoop</tonode-name>
-   <toserviceparameter-name>Min</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Min</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoop</tonode-name>
+    <toserviceparameter-name>Min</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>InitLoop</fromnode-name>
-   <fromserviceparameter-name>Max</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoop</tonode-name>
-   <toserviceparameter-name>Max</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Max</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoop</tonode-name>
+    <toserviceparameter-name>Max</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>InitLoop</fromnode-name>
-   <fromserviceparameter-name>ostream</fromserviceparameter-name>
-   <tonode-name>EndSwitch</tonode-name>
-   <toserviceparameter-name>istream</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>ostream</fromserviceparameter-name>
+    <tonode-name>EndSwitch</tonode-name>
+    <toserviceparameter-name>istream</toserviceparameter-name>
+    <coord-list>
 <coord>
+<x>586</x>
+      <y>158</y>     </coord>
+     <coord>
+<x>586</x>
+      <y>362</y>     </coord>
+     <coord>
+<x>591</x>
+      <y>362</y>     </coord>
+     <coord>
+<x>591</x>
+      <y>359</y>     </coord>
+     <coord>
+<x>180</x>
+      <y>359</y>     </coord>
+     <coord>
+<x>180</x>
+      <y>212</y>     </coord>
+     <coord>
+<x>181</x>
+      <y>212</y>     </coord>
+     <coord>
+<x>181</x>
+      <y>214</y>     </coord>
+     <coord>
 <x>584</x>
-     <y>167</y>    </coord>
-    <coord>
+      <y>167</y>     </coord>
+     <coord>
 <x>584</x>
-     <y>369</y>    </coord>
-    <coord>
+      <y>369</y>     </coord>
+     <coord>
 <x>184</x>
-     <y>368</y>    </coord>
-    <coord>
+      <y>368</y>     </coord>
+     <coord>
 <x>185</x>
-     <y>240</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>240</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>EndOfInitLoop</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>InitLoop</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
-<fromnode-name>Switch</fromnode-name>
-   <fromserviceparameter-name>Odd</fromserviceparameter-name>
-   <tonode-name>IsOdd</tonode-name>
-   <toserviceparameter-name>Gate</toserviceparameter-name>
-   <coord-list>
-<coord>
-<x>373</x>
-     <y>222</y>    </coord>
-    <coord>
-<x>373</x>
-     <y>147</y>    </coord>   </coord-list>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>InitLoop</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>Switch</fromnode-name>
-   <fromserviceparameter-name>Even</fromserviceparameter-name>
-   <tonode-name>EndSwitch</tonode-name>
-   <toserviceparameter-name>Default</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Odd</fromserviceparameter-name>
+    <tonode-name>IsOdd</tonode-name>
+    <toserviceparameter-name>Gate</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>Switch</fromnode-name>
-   <fromserviceparameter-name>Even</fromserviceparameter-name>
-   <tonode-name>IsOdd</tonode-name>
-   <toserviceparameter-name>Even</toserviceparameter-name>
-   <coord-list>
-<coord>
-<x>363</x>
-     <y>154</y>    </coord>
-    <coord>
-<x>362</x>
-     <y>177</y>    </coord>   </coord-list>  </link>
-  <link>
+    <fromserviceparameter-name>Even</fromserviceparameter-name>
+    <tonode-name>IsOdd</tonode-name>
+    <toserviceparameter-name>Even</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>Switch</fromnode-name>
-   <fromserviceparameter-name>a</fromserviceparameter-name>
-   <tonode-name>IsOdd</tonode-name>
-   <toserviceparameter-name>a</toserviceparameter-name>
-   <coord-list>
-<coord>
-<x>385</x>
-     <y>123</y>    </coord>
-    <coord>
-<x>386</x>
-     <y>206</y>    </coord>   </coord-list>  </link>
-  <link>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>IsOdd</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>Switch</fromnode-name>
-   <fromserviceparameter-name>ostream</fromserviceparameter-name>
-   <tonode-name>IsOdd</tonode-name>
-   <toserviceparameter-name>istream</toserviceparameter-name>
-   <coord-list>
-<coord>
-<x>360</x>
-     <y>185</y>    </coord>
-    <coord>
-<x>361</x>
-     <y>240</y>    </coord>   </coord-list>  </link>
-  <link>
+    <fromserviceparameter-name>ostream</fromserviceparameter-name>
+    <tonode-name>IsOdd</tonode-name>
+    <toserviceparameter-name>istream</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>Switch</fromnode-name>
-   <fromserviceparameter-name>ostream</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoop</tonode-name>
-   <toserviceparameter-name>istream</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>ostream</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoop</tonode-name>
+    <toserviceparameter-name>istream</toserviceparameter-name>
+    <coord-list>
 <coord>
+<x>779</x>
+      <y>203</y>     </coord>
+     <coord>
 <x>775</x>
-     <y>226</y>    </coord>
-    <coord>
-<x>775</x>
-     <y>261</y>    </coord>
-    <coord>
-<x>361</x>
-     <y>261</y>    </coord>
-    <coord>
-<x>361</x>
-     <y>240</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>261</y>     </coord>
+     <coord>
+<x>397</x>
+      <y>260</y>     </coord>
+     <coord>
+<x>403</x>
+      <y>217</y>     </coord>    </coord-list>   </link>
+   <link>
+<fromnode-name>Switch</fromnode-name>
+    <fromserviceparameter-name>Default</fromserviceparameter-name>
+    <tonode-name>EndSwitch</tonode-name>
+    <toserviceparameter-name>Default</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndSwitch</fromnode-name>
-   <fromserviceparameter-name>a</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoop</tonode-name>
-   <toserviceparameter-name>Index</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoop</tonode-name>
+    <toserviceparameter-name>Index</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndSwitch</fromnode-name>
-   <fromserviceparameter-name>ostream</fromserviceparameter-name>
-   <tonode-name>Switch</tonode-name>
-   <toserviceparameter-name>istream</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>ostream</fromserviceparameter-name>
+    <tonode-name>Switch</tonode-name>
+    <toserviceparameter-name>istream</toserviceparameter-name>
+    <coord-list>
 <coord>
 <x>186</x>
-     <y>240</y>    </coord>
-    <coord>
+      <y>240</y>     </coord>
+     <coord>
 <x>186</x>
-     <y>331</y>    </coord>
-    <coord>
-<x>766</x>
-     <y>330</y>    </coord>
-    <coord>
-<x>766</x>
-     <y>167</y>    </coord>   </coord-list>  </link> </link-list>
- <data-list>
+      <y>331</y>     </coord>
+     <coord>
+<x>790</x>
+      <y>329</y>     </coord>
+     <coord>
+<x>786</x>
+      <y>161</y>     </coord>    </coord-list>   </link>  </link-list>
 <data-list>
 <data>
 <fromnode-name>GraphStreamInLines</fromnode-name>
-   <fromserviceparameter-name>InitLoop\Index</fromserviceparameter-name>
-   <tonode-name>InitLoop</tonode-name>
-   <toserviceparameter-name>Index</toserviceparameter-name>
-   <data-value>
+    <fromserviceparameter-name>InitLoop__Index</fromserviceparameter-name>
+    <tonode-name>InitLoop</tonode-name>
+    <toserviceparameter-name>Index</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>0</value>   </data-value>
-   <coord-list/>  </data>
-  <data>
+     <value>0</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
 <fromnode-name>GraphStreamInLines</fromnode-name>
-   <fromserviceparameter-name>InitLoop\Min</fromserviceparameter-name>
-   <tonode-name>InitLoop</tonode-name>
-   <toserviceparameter-name>Min</toserviceparameter-name>
-   <data-value>
+    <fromserviceparameter-name>InitLoop__Min</fromserviceparameter-name>
+    <tonode-name>InitLoop</tonode-name>
+    <toserviceparameter-name>Min</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>0</value>   </data-value>
-   <coord-list/>  </data>
-  <data>
+     <value>0</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
 <fromnode-name>GraphStreamInLines</fromnode-name>
-   <fromserviceparameter-name>InitLoop\Max</fromserviceparameter-name>
-   <tonode-name>InitLoop</tonode-name>
-   <toserviceparameter-name>Max</toserviceparameter-name>
-   <data-value>
+    <fromserviceparameter-name>InitLoop__Max</fromserviceparameter-name>
+    <tonode-name>InitLoop</tonode-name>
+    <toserviceparameter-name>Max</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>100</value>   </data-value>
-   <coord-list/>  </data> </data-list></dataflow>
+     <value>100</value>    </data-value>
+    <coord-list/>   </data>  </data-list> </dataflow></supergraph>
index 9ee068c6153c873ac7379527c5e64e74676ec6d6..c964a44c1580af21c32ee0372efbd2b1f42c276f 100644 (file)
@@ -1,15 +1,15 @@
 
-# Generated python file of Graph GraphSwitchCheckBranch1
+# Generated python file of Graph GraphSwitchCheckBranch1_1
 
 from SuperV import *
 
-# Graph creation of GraphSwitchCheckBranch1
-def DefGraphSwitchCheckBranch1() :
-    GraphSwitchCheckBranch1 = Graph( 'GraphSwitchCheckBranch1' )
-    GraphSwitchCheckBranch1.SetName( 'GraphSwitchCheckBranch1' )
-    GraphSwitchCheckBranch1.SetAuthor( 'JR' )
-    GraphSwitchCheckBranch1.SetComment( 'Switch with two SwitchBranches, One NotSwitchBranch and the DefaultBranch' )
-    GraphSwitchCheckBranch1.Coords( 0 , 0 )
+# Graph creation of GraphSwitchCheckBranch1_1
+def DefGraphSwitchCheckBranch1_1() :
+    GraphSwitchCheckBranch1_1 = Graph( 'GraphSwitchCheckBranch1_1' )
+    GraphSwitchCheckBranch1_1.SetName( 'GraphSwitchCheckBranch1_1' )
+    GraphSwitchCheckBranch1_1.SetAuthor( 'JR' )
+    GraphSwitchCheckBranch1_1.SetComment( 'Switch with two SwitchBranches, One NotSwitchBranch and the DefaultBranch' )
+    GraphSwitchCheckBranch1_1.Coords( 0 , 0 )
     
     # Creation of Factory Nodes
     
@@ -20,7 +20,7 @@ def DefGraphSwitchCheckBranch1() :
     PyIsOdd.append( '    print a,"IsOdd (GraphSwitch)"      ' )
     PyIsOdd.append( '    sleep( 1 )   ' )
     PyIsOdd.append( '    return a     ' )
-    IsOdd = GraphSwitchCheckBranch1.INode( 'IsOdd' , PyIsOdd )
+    IsOdd = GraphSwitchCheckBranch1_1.INode( 'IsOdd' , PyIsOdd )
     IsOdd.SetName( 'IsOdd' )
     IsOdd.SetAuthor( '' )
     IsOdd.SetComment( 'Python function' )
@@ -36,7 +36,7 @@ def DefGraphSwitchCheckBranch1() :
     PyIsEven.append( '    print a,"IsEven (GraphSwitch)"       ' )
     PyIsEven.append( '    sleep( 1 )    ' )
     PyIsEven.append( '    return a      ' )
-    IsEven = GraphSwitchCheckBranch1.INode( 'IsEven' , PyIsEven )
+    IsEven = GraphSwitchCheckBranch1_1.INode( 'IsEven' , PyIsEven )
     IsEven.SetName( 'IsEven' )
     IsEven.SetAuthor( '' )
     IsEven.SetComment( 'Compute Node' )
@@ -52,16 +52,31 @@ def DefGraphSwitchCheckBranch1() :
     PyBranchNode.append( '    print "Print ",Branch  ' )
     PyBranchNode.append( '    sleep(1)  ' )
     PyBranchNode.append( '    return Branch      ' )
-    BranchNode = GraphSwitchCheckBranch1.INode( 'Print_1' , PyBranchNode )
+    BranchNode = GraphSwitchCheckBranch1_1.INode( 'Print_1' , PyBranchNode )
     BranchNode.SetName( 'BranchNode' )
     BranchNode.SetAuthor( '' )
     BranchNode.SetComment( 'Compute Node' )
-    BranchNode.Coords( 604 , 149 )
+    BranchNode.Coords( 529 , 177 )
     IBranchNodeBranch = BranchNode.InPort( 'Branch' , 'string' )
     IBranchNodeGate = BranchNode.GetInPort( 'Gate' )
     OBranchNodeBranch = BranchNode.OutPort( 'Branch' , 'string' )
     OBranchNodeGate = BranchNode.GetOutPort( 'Gate' )
     
+    Pydefault = []
+    Pydefault.append( 'from time import * ' )
+    Pydefault.append( 'def default(a) : ' )
+    Pydefault.append( '    sleep(1) ' )
+    Pydefault.append( '    return a  ' )
+    default = GraphSwitchCheckBranch1_1.INode( 'default' , Pydefault )
+    default.SetName( 'default' )
+    default.SetAuthor( '' )
+    default.SetComment( 'Compute Node' )
+    default.Coords( 428 , 308 )
+    Idefaulta = default.InPort( 'a' , 'long' )
+    IdefaultGate = default.GetInPort( 'Gate' )
+    Odefaulta = default.OutPort( 'a' , 'long' )
+    OdefaultGate = default.GetOutPort( 'Gate' )
+    
     # Creation of Loop Nodes
     PyInitLoopSwitch = []
     PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) :        ' )
@@ -80,11 +95,11 @@ def DefGraphSwitchCheckBranch1() :
     PyNextInitLoopSwitch.append( 'def NextLoop(Index,Min,Max) :       ' )
     PyNextInitLoopSwitch.append( '     Index = Index - 1       ' )
     PyNextInitLoopSwitch.append( '     return Index,Min,Max       ' )
-    InitLoopSwitch,EndOfInitLoopSwitch = GraphSwitchCheckBranch1.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
+    InitLoopSwitch,EndOfInitLoopSwitch = GraphSwitchCheckBranch1_1.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
     EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
     EndOfInitLoopSwitch.SetAuthor( '' )
     EndOfInitLoopSwitch.SetComment( 'Compute Node' )
-    EndOfInitLoopSwitch.Coords( 1074 , 194 )
+    EndOfInitLoopSwitch.Coords( 1073 , 216 )
     PyEndOfInitLoopSwitch = []
     PyEndOfInitLoopSwitch.append( 'from time import *  ' )
     PyEndOfInitLoopSwitch.append( 'def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) :  ' )
@@ -128,11 +143,11 @@ def DefGraphSwitchCheckBranch1() :
     PySwitch.append( '    else :    ' )
     PySwitch.append( '        Branch = "Odd"    ' )
     PySwitch.append( '    return a & 1,1-(a&1),a,Branch,0  ' )
-    Switch,EndOfSwitch = GraphSwitchCheckBranch1.SNode( 'Switch' , PySwitch )
+    Switch,EndOfSwitch = GraphSwitchCheckBranch1_1.SNode( 'Switch' , PySwitch )
     EndOfSwitch.SetName( 'EndOfSwitch' )
     EndOfSwitch.SetAuthor( '' )
     EndOfSwitch.SetComment( 'Compute Node' )
-    EndOfSwitch.Coords( 882 , 194 )
+    EndOfSwitch.Coords( 880 , 216 )
     PyEndOfSwitch = []
     PyEndOfSwitch.append( 'from time import * ' )
     PyEndOfSwitch.append( 'def EndOfSwitch(a,Branch) : ' )
@@ -158,39 +173,50 @@ def DefGraphSwitchCheckBranch1() :
     OSwitchDefault = Switch.GetOutPort( 'Default' )
     
     # Creation of Links
-    LIsOddaEndOfSwitcha = GraphSwitchCheckBranch1.Link( OIsOdda , IEndOfSwitcha )
+    LIsOddaEndOfSwitcha = GraphSwitchCheckBranch1_1.Link( OIsOdda , IEndOfSwitcha )
     
-    LIsEvenaEndOfSwitcha = GraphSwitchCheckBranch1.Link( OIsEvena , IEndOfSwitcha )
+    LIsEvenaEndOfSwitcha = GraphSwitchCheckBranch1_1.Link( OIsEvena , IEndOfSwitcha )
     
-    LBranchNodeBranchEndOfSwitchBranch = GraphSwitchCheckBranch1.Link( OBranchNodeBranch , IEndOfSwitchBranch )
+    LBranchNodeBranchEndOfSwitchBranch = GraphSwitchCheckBranch1_1.Link( OBranchNodeBranch , IEndOfSwitchBranch )
     
-    LInitLoopSwitchIndexSwitcha = GraphSwitchCheckBranch1.Link( OInitLoopSwitchIndex , ISwitcha )
+    LInitLoopSwitchIndexSwitcha = GraphSwitchCheckBranch1_1.Link( OInitLoopSwitchIndex , ISwitcha )
     
-    LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckBranch1.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
+    LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckBranch1_1.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
     
-    LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckBranch1.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
+    LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckBranch1_1.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
     
-    LSwitchOddIsOddGate = GraphSwitchCheckBranch1.Link( OSwitchOdd , IIsOddGate )
+    LSwitchOddIsOddGate = GraphSwitchCheckBranch1_1.Link( OSwitchOdd , IIsOddGate )
     LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
     LSwitchOddIsOddGate.AddCoord( 2 , 401 , 188 )
     
-    LSwitchEvenIsEvenGate = GraphSwitchCheckBranch1.Link( OSwitchEven , IIsEvenGate )
+    LSwitchEvenIsEvenGate = GraphSwitchCheckBranch1_1.Link( OSwitchEven , IIsEvenGate )
     LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
     LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 208 )
     
-    LSwitchaIsOdda = GraphSwitchCheckBranch1.Link( OSwitcha , IIsOdda )
+    LSwitchaIsOdda = GraphSwitchCheckBranch1_1.Link( OSwitcha , IIsOdda )
     LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
     LSwitchaIsOdda.AddCoord( 2 , 382 , 229 )
     
-    LSwitchaIsEvena = GraphSwitchCheckBranch1.Link( OSwitcha , IIsEvena )
+    LSwitchaIsEvena = GraphSwitchCheckBranch1_1.Link( OSwitcha , IIsEvena )
     LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
     LSwitchaIsEvena.AddCoord( 2 , 381 , 229 )
     
-    LSwitchBranchBranchNodeBranch = GraphSwitchCheckBranch1.Link( OSwitchBranch , IBranchNodeBranch )
+    LSwitchadefaulta = GraphSwitchCheckBranch1_1.Link( OSwitcha , Idefaulta )
+    LSwitchadefaulta.AddCoord( 1 , 382 , 377 )
+    LSwitchadefaulta.AddCoord( 2 , 382 , 228 )
+    
+    LSwitchBranchBranchNodeBranch = GraphSwitchCheckBranch1_1.Link( OSwitchBranch , IBranchNodeBranch )
+    
+    LSwitchdefaultdefaultGate = GraphSwitchCheckBranch1_1.Link( OSwitchdefault , IdefaultGate )
+    LSwitchdefaultdefaultGate.AddCoord( 1 , 410 , 403 )
+    LSwitchdefaultdefaultGate.AddCoord( 2 , 410 , 269 )
+    LSwitchdefaultdefaultGate.AddCoord( 3 , 410 , 268 )
+    
+    LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheckBranch1_1.Link( OSwitchDefault , IEndOfSwitchDefault )
     
-    LSwitchdefaultEndOfSwitchDefault = GraphSwitchCheckBranch1.Link( OSwitchdefault , IEndOfSwitchDefault )
+    LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckBranch1_1.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
     
-    LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckBranch1.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
+    LdefaultaEndOfSwitcha = GraphSwitchCheckBranch1_1.Link( Odefaulta , IEndOfSwitcha )
     
     # Input datas
     IInitLoopSwitchIndex.Input( 0 )
@@ -201,7 +227,7 @@ def DefGraphSwitchCheckBranch1() :
     #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
     #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
     #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
-    return GraphSwitchCheckBranch1
+    return GraphSwitchCheckBranch1_1
 
 
-GraphSwitchCheckBranch1 = DefGraphSwitchCheckBranch1()
+GraphSwitchCheckBranch1_1 = DefGraphSwitchCheckBranch1_1()
index 98a29771f03592d935d80d653c2f3b6fbd02c9dc..b851b508e6a56c87514600aad13048c40d391624 100644 (file)
@@ -5,11 +5,11 @@
 <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
-    <node-name>GraphSwitchCheckBranch1</node-name>
+    <node-name>GraphSwitchCheckBranch1_1</node-name>
     <kind>1</kind>
     <coupled-node>?</coupled-node>
     <service>
-<service-name>GraphSwitchCheckBranch1</service-name>
+<service-name>GraphSwitchCheckBranch1_1</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
@@ -33,7 +33,7 @@
     <DataStream-list/>
     <PyFunction-list/>
     <creation-date>13/1/2005 - 11:48:50</creation-date>
-    <lastmodification-date>19/1/2005 - 17:18:17</lastmodification-date>
+    <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>JR</author>
     <container>?</container>
@@ -66,8 +66,8 @@
       <PyFunc><![CDATA[    print a,"IsOdd (GraphSwitch)"      ]]></PyFunc>
       <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
       <PyFunc><![CDATA[    return a     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 17:7:48</creation-date>
-    <lastmodification-date>19/1/2005 - 17:7:48</lastmodification-date>
+    <creation-date>8/3/2005 - 16:43:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
@@ -99,8 +99,8 @@
       <PyFunc><![CDATA[    print a,"IsEven (GraphSwitch)"       ]]></PyFunc>
       <PyFunc><![CDATA[    sleep( 1 )    ]]></PyFunc>
       <PyFunc><![CDATA[    return a      ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 17:7:48</creation-date>
-    <lastmodification-date>19/1/2005 - 17:7:48</lastmodification-date>
+    <creation-date>8/3/2005 - 16:43:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[    print "Print ",Branch  ]]></PyFunc>
       <PyFunc><![CDATA[    sleep(1)  ]]></PyFunc>
       <PyFunc><![CDATA[    return Branch      ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 17:7:48</creation-date>
-    <lastmodification-date>19/1/2005 - 17:7:48</lastmodification-date>
+    <creation-date>8/3/2005 - 16:43:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Compute Node</comment>
-    <x-position>604</x-position>
-    <y-position>149</y-position>   </node>
+    <x-position>529</x-position>
+    <y-position>177</y-position>   </node>
    <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
       <PyFunc><![CDATA[def NextLoop(Index,Min,Max) :       ]]></PyFunc>
       <PyFunc><![CDATA[        Index = Index - 1       ]]></PyFunc>
       <PyFunc><![CDATA[        return Index,Min,Max       ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 17:7:48</creation-date>
-    <lastmodification-date>19/1/2005 - 17:7:48</lastmodification-date>
+    <creation-date>8/3/2005 - 16:43:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) :  ]]></PyFunc>
       <PyFunc><![CDATA[    sleep(1)  ]]></PyFunc>
       <PyFunc><![CDATA[    return DoLoop,Index,Min,Max  ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 17:7:48</creation-date>
-    <lastmodification-date>19/1/2005 - 17:7:48</lastmodification-date>
+    <creation-date>8/3/2005 - 16:43:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Compute Node</comment>
-    <x-position>1074</x-position>
-    <y-position>194</y-position>   </node>
+    <x-position>1073</x-position>
+    <y-position>216</y-position>   </node>
    <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
       <PyFunc><![CDATA[    else :    ]]></PyFunc>
       <PyFunc><![CDATA[        Branch = "Odd"    ]]></PyFunc>
       <PyFunc><![CDATA[    return a & 1,1-(a&1),a,Branch,0  ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 17:7:48</creation-date>
-    <lastmodification-date>19/1/2005 - 17:7:48</lastmodification-date>
+    <creation-date>8/3/2005 - 16:43:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
       <PyFunc><![CDATA[    return a ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 17:7:48</creation-date>
-    <lastmodification-date>19/1/2005 - 17:7:48</lastmodification-date>
+    <creation-date>8/3/2005 - 16:43:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Compute Node</comment>
-    <x-position>882</x-position>
-    <y-position>194</y-position>   </node>  </node-list>
+    <x-position>880</x-position>
+    <y-position>216</y-position>   </node>
+   <node>
+<component-name>?</component-name>
+    <interface-name>?</interface-name>
+    <node-name>default</node-name>
+    <kind>3</kind>
+    <coupled-node>?</coupled-node>
+    <service>
+<service-name>default</service-name>
+     <inParameter-list>
+<inParameter>
+<inParameter-type>long</inParameter-type>
+       <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
+<outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
+<PyFunction>
+<FuncName>default</FuncName>
+      <PyFunc><![CDATA[from time import * ]]></PyFunc>
+      <PyFunc><![CDATA[def default(a) : ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
+      <PyFunc><![CDATA[    return a  ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 16:43:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:43:59</lastmodification-date>
+    <editor-release>2.0</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>428</x-position>
+    <y-position>308</y-position>   </node>  </node-list>
   <link-list>
 <link>
 <fromnode-name>IsOdd</fromnode-name>
 <x>381</x>
       <y>229</y>     </coord>    </coord-list>   </link>
    <link>
+<fromnode-name>Switch</fromnode-name>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>default</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
+    <coord-list>
+<coord>
+<x>382</x>
+      <y>377</y>     </coord>
+     <coord>
+<x>382</x>
+      <y>228</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>Switch</fromnode-name>
     <fromserviceparameter-name>Branch</fromserviceparameter-name>
     <tonode-name>BranchNode</tonode-name>
    <link>
 <fromnode-name>Switch</fromnode-name>
     <fromserviceparameter-name>default</fromserviceparameter-name>
+    <tonode-name>default</tonode-name>
+    <toserviceparameter-name>Gate</toserviceparameter-name>
+    <coord-list>
+<coord>
+<x>410</x>
+      <y>403</y>     </coord>
+     <coord>
+<x>410</x>
+      <y>269</y>     </coord>
+     <coord>
+<x>410</x>
+      <y>268</y>     </coord>    </coord-list>   </link>
+   <link>
+<fromnode-name>Switch</fromnode-name>
+    <fromserviceparameter-name>Default</fromserviceparameter-name>
     <tonode-name>EndOfSwitch</tonode-name>
     <toserviceparameter-name>Default</toserviceparameter-name>
     <coord-list/>   </link>
     <fromserviceparameter-name>a</fromserviceparameter-name>
     <tonode-name>EndOfInitLoopSwitch</tonode-name>
     <toserviceparameter-name>Index</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
+<fromnode-name>default</fromnode-name>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>EndOfSwitch</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
     <coord-list/>   </link>  </link-list>
   <data-list>
 <data>
-<fromnode-name>GraphSwitchCheckBranch1</fromnode-name>
+<fromnode-name>GraphSwitchCheckBranch1_1</fromnode-name>
     <fromserviceparameter-name>InitLoopSwitch__Index</fromserviceparameter-name>
     <tonode-name>InitLoopSwitch</tonode-name>
     <toserviceparameter-name>Index</toserviceparameter-name>
      <value>0</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphSwitchCheckBranch1</fromnode-name>
+<fromnode-name>GraphSwitchCheckBranch1_1</fromnode-name>
     <fromserviceparameter-name>InitLoopSwitch__Min</fromserviceparameter-name>
     <tonode-name>InitLoopSwitch</tonode-name>
     <toserviceparameter-name>Min</toserviceparameter-name>
      <value>-5</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphSwitchCheckBranch1</fromnode-name>
+<fromnode-name>GraphSwitchCheckBranch1_1</fromnode-name>
     <fromserviceparameter-name>InitLoopSwitch__Max</fromserviceparameter-name>
     <tonode-name>InitLoopSwitch</tonode-name>
     <toserviceparameter-name>Max</toserviceparameter-name>
index 8232e3090d44745076150c392b5cfddd5931d1c1..d77e790e4649a16d461b20c81d7d46ab139794c6 100644 (file)
@@ -1,15 +1,15 @@
 
-# Generated python file of Graph GraphSwitchCheckDefault
+# Generated python file of Graph GraphSwitchCheckDefault_1
 
 from SuperV import *
 
-# Graph creation of GraphSwitchCheckDefault
-def DefGraphSwitchCheckDefault() :
-    GraphSwitchCheckDefault = Graph( 'GraphSwitchCheckDefault' )
-    GraphSwitchCheckDefault.SetName( 'GraphSwitchCheckDefault' )
-    GraphSwitchCheckDefault.SetAuthor( 'JR' )
-    GraphSwitchCheckDefault.SetComment( '' )
-    GraphSwitchCheckDefault.Coords( 0 , 0 )
+# Graph creation of GraphSwitchCheckDefault_1
+def DefGraphSwitchCheckDefault_1() :
+    GraphSwitchCheckDefault_1 = Graph( 'GraphSwitchCheckDefault_1' )
+    GraphSwitchCheckDefault_1.SetName( 'GraphSwitchCheckDefault_1' )
+    GraphSwitchCheckDefault_1.SetAuthor( 'JR' )
+    GraphSwitchCheckDefault_1.SetComment( '' )
+    GraphSwitchCheckDefault_1.Coords( 0 , 0 )
     
     # Creation of Factory Nodes
     
@@ -20,7 +20,7 @@ def DefGraphSwitchCheckDefault() :
     PyIsOdd.append( '    print a,"IsOdd (GraphSwitch)"      ' )
     PyIsOdd.append( '    sleep( 1 )   ' )
     PyIsOdd.append( '    return a     ' )
-    IsOdd = GraphSwitchCheckDefault.INode( 'IsOdd' , PyIsOdd )
+    IsOdd = GraphSwitchCheckDefault_1.INode( 'IsOdd' , PyIsOdd )
     IsOdd.SetName( 'IsOdd' )
     IsOdd.SetAuthor( '' )
     IsOdd.SetComment( 'Python function' )
@@ -36,7 +36,7 @@ def DefGraphSwitchCheckDefault() :
     PyIsEven.append( '    print a,"IsEven (GraphSwitch)"       ' )
     PyIsEven.append( '    sleep( 1 )    ' )
     PyIsEven.append( '    return a      ' )
-    IsEven = GraphSwitchCheckDefault.INode( 'IsEven' , PyIsEven )
+    IsEven = GraphSwitchCheckDefault_1.INode( 'IsEven' , PyIsEven )
     IsEven.SetName( 'IsEven' )
     IsEven.SetAuthor( '' )
     IsEven.SetComment( 'Compute Node' )
@@ -52,7 +52,7 @@ def DefGraphSwitchCheckDefault() :
     PyPrintOdd.append( '    print "Print ",a,Branch ' )
     PyPrintOdd.append( '    sleep(1) ' )
     PyPrintOdd.append( '    return Branch     ' )
-    PrintOdd = GraphSwitchCheckDefault.INode( 'Print' , PyPrintOdd )
+    PrintOdd = GraphSwitchCheckDefault_1.INode( 'Print' , PyPrintOdd )
     PrintOdd.SetName( 'PrintOdd' )
     PrintOdd.SetAuthor( '' )
     PrintOdd.SetComment( 'Compute Node' )
@@ -69,7 +69,7 @@ def DefGraphSwitchCheckDefault() :
     PyPrintEven.append( '    print "Print ",a,Branch ' )
     PyPrintEven.append( '    sleep(1) ' )
     PyPrintEven.append( '    return Branch     ' )
-    PrintEven = GraphSwitchCheckDefault.INode( 'Print_1' , PyPrintEven )
+    PrintEven = GraphSwitchCheckDefault_1.INode( 'Print_1' , PyPrintEven )
     PrintEven.SetName( 'PrintEven' )
     PrintEven.SetAuthor( '' )
     PrintEven.SetComment( 'Compute Node' )
@@ -85,7 +85,7 @@ def DefGraphSwitchCheckDefault() :
     PyEmptyNode.append( 'def EmptyNode(a,Branch) : ' )
     PyEmptyNode.append( '    sleep(1) ' )
     PyEmptyNode.append( '    return a,Branch  ' )
-    EmptyNode = GraphSwitchCheckDefault.INode( 'EmptyNode' , PyEmptyNode )
+    EmptyNode = GraphSwitchCheckDefault_1.INode( 'EmptyNode' , PyEmptyNode )
     EmptyNode.SetName( 'EmptyNode' )
     EmptyNode.SetAuthor( '' )
     EmptyNode.SetComment( 'Compute Node' )
@@ -97,23 +97,6 @@ def DefGraphSwitchCheckDefault() :
     OEmptyNodeBranch = EmptyNode.OutPort( 'Branch' , 'string' )
     OEmptyNodeGate = EmptyNode.GetOutPort( 'Gate' )
     
-    PyDefault = []
-    PyDefault.append( 'from time import * ' )
-    PyDefault.append( 'def Default(a,Branch) : ' )
-    PyDefault.append( '    sleep(1) ' )
-    PyDefault.append( '    return a,Branch ' )
-    Default = GraphSwitchCheckDefault.INode( 'Default' , PyDefault )
-    Default.SetName( 'Default' )
-    Default.SetAuthor( '' )
-    Default.SetComment( 'Compute Node' )
-    Default.Coords( 421 , 592 )
-    IDefaulta = Default.InPort( 'a' , 'long' )
-    IDefaultBranch = Default.InPort( 'Branch' , 'string' )
-    IDefaultGate = Default.GetInPort( 'Gate' )
-    ODefaulta = Default.OutPort( 'a' , 'long' )
-    ODefaultBranch = Default.OutPort( 'Branch' , 'string' )
-    ODefaultGate = Default.GetOutPort( 'Gate' )
-    
     # Creation of Loop Nodes
     PyInitLoopSwitch = []
     PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) :        ' )
@@ -132,7 +115,7 @@ def DefGraphSwitchCheckDefault() :
     PyNextInitLoopSwitch.append( 'def NextLoop(Index,Min,Max) :       ' )
     PyNextInitLoopSwitch.append( '     Index = Index - 1       ' )
     PyNextInitLoopSwitch.append( '     return Index,Min,Max       ' )
-    InitLoopSwitch,EndOfInitLoopSwitch = GraphSwitchCheckDefault.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
+    InitLoopSwitch,EndOfInitLoopSwitch = GraphSwitchCheckDefault_1.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
     EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
     EndOfInitLoopSwitch.SetAuthor( '' )
     EndOfInitLoopSwitch.SetComment( 'Compute Node' )
@@ -180,7 +163,7 @@ def DefGraphSwitchCheckDefault() :
     PySwitch.append( '    else :    ' )
     PySwitch.append( '        Branch = "Odd"    ' )
     PySwitch.append( '    return a & 1,1-(a&1),a,Branch,0  ' )
-    Switch,EndOfSwitch = GraphSwitchCheckDefault.SNode( 'Switch' , PySwitch )
+    Switch,EndOfSwitch = GraphSwitchCheckDefault_1.SNode( 'Switch' , PySwitch )
     EndOfSwitch.SetName( 'EndOfSwitch' )
     EndOfSwitch.SetAuthor( '' )
     EndOfSwitch.SetComment( 'Compute Node' )
@@ -210,78 +193,64 @@ def DefGraphSwitchCheckDefault() :
     OSwitchDefault = Switch.GetOutPort( 'Default' )
     
     # Creation of Links
-    LIsOddaEmptyNodea = GraphSwitchCheckDefault.Link( OIsOdda , IEmptyNodea )
+    LIsOddaEmptyNodea = GraphSwitchCheckDefault_1.Link( OIsOdda , IEmptyNodea )
     LIsOddaEmptyNodea.AddCoord( 1 , 646 , 78 )
     
-    LIsEvenaEndOfSwitcha = GraphSwitchCheckDefault.Link( OIsEvena , IEndOfSwitcha )
-    
-    LPrintOddBranchEmptyNodeBranch = GraphSwitchCheckDefault.Link( OPrintOddBranch , IEmptyNodeBranch )
-    
-    LPrintEvenBranchEndOfSwitchBranch = GraphSwitchCheckDefault.Link( OPrintEvenBranch , IEndOfSwitchBranch )
+    LIsEvenaEndOfSwitcha = GraphSwitchCheckDefault_1.Link( OIsEvena , IEndOfSwitcha )
     
-    LEmptyNodeaEndOfSwitcha = GraphSwitchCheckDefault.Link( OEmptyNodea , IEndOfSwitcha )
+    LPrintOddBranchEmptyNodeBranch = GraphSwitchCheckDefault_1.Link( OPrintOddBranch , IEmptyNodeBranch )
     
-    LEmptyNodeBranchEndOfSwitchBranch = GraphSwitchCheckDefault.Link( OEmptyNodeBranch , IEndOfSwitchBranch )
+    LPrintEvenBranchEndOfSwitchBranch = GraphSwitchCheckDefault_1.Link( OPrintEvenBranch , IEndOfSwitchBranch )
     
-    LDefaultaEndOfSwitcha = GraphSwitchCheckDefault.Link( ODefaulta , IEndOfSwitcha )
+    LEmptyNodeaEndOfSwitcha = GraphSwitchCheckDefault_1.Link( OEmptyNodea , IEndOfSwitcha )
     
-    LDefaultBranchEndOfSwitchBranch = GraphSwitchCheckDefault.Link( ODefaultBranch , IEndOfSwitchBranch )
+    LEmptyNodeBranchEndOfSwitchBranch = GraphSwitchCheckDefault_1.Link( OEmptyNodeBranch , IEndOfSwitchBranch )
     
-    LInitLoopSwitchIndexSwitcha = GraphSwitchCheckDefault.Link( OInitLoopSwitchIndex , ISwitcha )
+    LInitLoopSwitchIndexSwitcha = GraphSwitchCheckDefault_1.Link( OInitLoopSwitchIndex , ISwitcha )
     
-    LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckDefault.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
+    LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckDefault_1.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
     
-    LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckDefault.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
+    LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckDefault_1.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
     
-    LSwitchOddIsOddGate = GraphSwitchCheckDefault.Link( OSwitchOdd , IIsOddGate )
+    LSwitchOddIsOddGate = GraphSwitchCheckDefault_1.Link( OSwitchOdd , IIsOddGate )
     LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
     LSwitchOddIsOddGate.AddCoord( 2 , 401 , 160 )
     
-    LSwitchOddPrintOddGate = GraphSwitchCheckDefault.Link( OSwitchOdd , IPrintOddGate )
+    LSwitchOddPrintOddGate = GraphSwitchCheckDefault_1.Link( OSwitchOdd , IPrintOddGate )
     LSwitchOddPrintOddGate.AddCoord( 1 , 401 , 245 )
     LSwitchOddPrintOddGate.AddCoord( 2 , 401 , 159 )
     
-    LSwitchEvenIsEvenGate = GraphSwitchCheckDefault.Link( OSwitchEven , IIsEvenGate )
+    LSwitchEvenIsEvenGate = GraphSwitchCheckDefault_1.Link( OSwitchEven , IIsEvenGate )
     LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
     LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 182 )
     
-    LSwitchEvenPrintEvenGate = GraphSwitchCheckDefault.Link( OSwitchEven , IPrintEvenGate )
+    LSwitchEvenPrintEvenGate = GraphSwitchCheckDefault_1.Link( OSwitchEven , IPrintEvenGate )
     LSwitchEvenPrintEvenGate.AddCoord( 1 , 392 , 403 )
     LSwitchEvenPrintEvenGate.AddCoord( 2 , 392 , 181 )
     
-    LSwitchaIsOdda = GraphSwitchCheckDefault.Link( OSwitcha , IIsOdda )
+    LSwitchaIsOdda = GraphSwitchCheckDefault_1.Link( OSwitcha , IIsOdda )
     LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
     LSwitchaIsOdda.AddCoord( 2 , 382 , 199 )
     
-    LSwitchaIsEvena = GraphSwitchCheckDefault.Link( OSwitcha , IIsEvena )
+    LSwitchaIsEvena = GraphSwitchCheckDefault_1.Link( OSwitcha , IIsEvena )
     LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
     LSwitchaIsEvena.AddCoord( 2 , 382 , 200 )
     
-    LSwitchaPrintOdda = GraphSwitchCheckDefault.Link( OSwitcha , IPrintOdda )
+    LSwitchaPrintOdda = GraphSwitchCheckDefault_1.Link( OSwitcha , IPrintOdda )
     
-    LSwitchaPrintEvena = GraphSwitchCheckDefault.Link( OSwitcha , IPrintEvena )
+    LSwitchaPrintEvena = GraphSwitchCheckDefault_1.Link( OSwitcha , IPrintEvena )
     LSwitchaPrintEvena.AddCoord( 1 , 381 , 361 )
     LSwitchaPrintEvena.AddCoord( 2 , 382 , 200 )
     
-    LSwitchaDefaulta = GraphSwitchCheckDefault.Link( OSwitcha , IDefaulta )
-    LSwitchaDefaulta.AddCoord( 1 , 382 , 663 )
-    LSwitchaDefaulta.AddCoord( 2 , 382 , 199 )
+    LSwitchBranchPrintOddBranch = GraphSwitchCheckDefault_1.Link( OSwitchBranch , IPrintOddBranch )
     
-    LSwitchBranchPrintOddBranch = GraphSwitchCheckDefault.Link( OSwitchBranch , IPrintOddBranch )
-    
-    LSwitchBranchPrintEvenBranch = GraphSwitchCheckDefault.Link( OSwitchBranch , IPrintEvenBranch )
+    LSwitchBranchPrintEvenBranch = GraphSwitchCheckDefault_1.Link( OSwitchBranch , IPrintEvenBranch )
     LSwitchBranchPrintEvenBranch.AddCoord( 1 , 369 , 381 )
     LSwitchBranchPrintEvenBranch.AddCoord( 2 , 369 , 219 )
     
-    LSwitchBranchDefaultBranch = GraphSwitchCheckDefault.Link( OSwitchBranch , IDefaultBranch )
-    LSwitchBranchDefaultBranch.AddCoord( 1 , 370 , 683 )
-    LSwitchBranchDefaultBranch.AddCoord( 2 , 370 , 220 )
-    
-    LSwitchDefaultDefaultGate = GraphSwitchCheckDefault.Link( OSwitchDefault , IDefaultGate )
-    LSwitchDefaultDefaultGate.AddCoord( 1 , 360 , 707 )
-    LSwitchDefaultDefaultGate.AddCoord( 2 , 360 , 263 )
+    LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheckDefault_1.Link( OSwitchDefault , IEndOfSwitchDefault )
     
-    LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckDefault.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
+    LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckDefault_1.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
     
     # Input datas
     IInitLoopSwitchIndex.Input( 0 )
@@ -293,7 +262,7 @@ def DefGraphSwitchCheckDefault() :
     #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
     #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
     #OSwitchdefault = Switch.GetOutPort( 'default' )
-    return GraphSwitchCheckDefault
+    return GraphSwitchCheckDefault_1
 
 
-GraphSwitchCheckDefault = DefGraphSwitchCheckDefault()
+GraphSwitchCheckDefault_1 = DefGraphSwitchCheckDefault_1()
index 81e7ab6219092a72fe15b1c32ae3b95f7b8f0a5a..0e92e72b17c952659ad0d0286d262a901aeae640 100644 (file)
@@ -5,11 +5,11 @@
 <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
-    <node-name>GraphSwitchCheckDefault</node-name>
+    <node-name>GraphSwitchCheckDefault_1</node-name>
     <kind>1</kind>
     <coupled-node>?</coupled-node>
     <service>
-<service-name>GraphSwitchCheck_2</service-name>
+<service-name>GraphSwitchCheckDefault_1</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
@@ -36,7 +36,7 @@
     <DataStream-list/>
     <PyFunction-list/>
     <creation-date>13/1/2005 - 12:21:43</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
+    <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>JR</author>
     <container>?</container>
@@ -69,8 +69,8 @@
       <PyFunc><![CDATA[    print a,"IsOdd (GraphSwitch)"      ]]></PyFunc>
       <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
       <PyFunc><![CDATA[    return a     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>13/1/2005 - 12:23:17</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
+    <creation-date>8/3/2005 - 16:47:4</creation-date>
+    <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[    print a,"IsEven (GraphSwitch)"       ]]></PyFunc>
       <PyFunc><![CDATA[    sleep( 1 )    ]]></PyFunc>
       <PyFunc><![CDATA[    return a      ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>13/1/2005 - 12:23:17</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
+    <creation-date>8/3/2005 - 16:47:4</creation-date>
+    <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[    print "Print ",a,Branch ]]></PyFunc>
       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
       <PyFunc><![CDATA[    return Branch     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>13/1/2005 - 12:23:17</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
+    <creation-date>8/3/2005 - 16:47:4</creation-date>
+    <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[    print "Print ",a,Branch ]]></PyFunc>
       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
       <PyFunc><![CDATA[    return Branch     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>13/1/2005 - 12:23:17</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
+    <creation-date>8/3/2005 - 16:47:4</creation-date>
+    <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[def EmptyNode(a,Branch) : ]]></PyFunc>
       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
       <PyFunc><![CDATA[    return a,Branch  ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>13/1/2005 - 12:23:17</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
+    <creation-date>8/3/2005 - 16:47:4</creation-date>
+    <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <x-position>652</x-position>
     <y-position>110</y-position>   </node>
    <node>
-<component-name>?</component-name>
-    <interface-name>?</interface-name>
-    <node-name>Default</node-name>
-    <kind>3</kind>
-    <coupled-node>?</coupled-node>
-    <service>
-<service-name>Default</service-name>
-     <inParameter-list>
-<inParameter>
-<inParameter-type>long</inParameter-type>
-       <inParameter-name>a</inParameter-name>      </inParameter>
-      <inParameter>
-<inParameter-type>string</inParameter-type>
-       <inParameter-name>Branch</inParameter-name>      </inParameter>     </inParameter-list>
-     <outParameter-list>
-<outParameter>
-<outParameter-type>long</outParameter-type>
-       <outParameter-name>a</outParameter-name>      </outParameter>
-      <outParameter>
-<outParameter-type>string</outParameter-type>
-       <outParameter-name>Branch</outParameter-name>      </outParameter>     </outParameter-list>    </service>
-    <DataStream-list/>
-    <PyFunction-list>
-<PyFunction>
-<FuncName>Default</FuncName>
-      <PyFunc><![CDATA[from time import * ]]></PyFunc>
-      <PyFunc><![CDATA[def Default(a,Branch) : ]]></PyFunc>
-      <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
-      <PyFunc><![CDATA[    return a,Branch ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>13/1/2005 - 12:23:17</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
-    <editor-release>2.0</editor-release>
-    <author>?</author>
-    <container>?</container>
-    <comment>Compute Node</comment>
-    <x-position>421</x-position>
-    <y-position>592</y-position>   </node>
-   <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
     <node-name>InitLoopSwitch</node-name>
       <PyFunc><![CDATA[def NextLoop(Index,Min,Max) :       ]]></PyFunc>
       <PyFunc><![CDATA[        Index = Index - 1       ]]></PyFunc>
       <PyFunc><![CDATA[        return Index,Min,Max       ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>13/1/2005 - 12:23:17</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
+    <creation-date>8/3/2005 - 16:47:4</creation-date>
+    <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) :  ]]></PyFunc>
       <PyFunc><![CDATA[    sleep(1)  ]]></PyFunc>
       <PyFunc><![CDATA[    return DoLoop,Index,Min,Max  ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>13/1/2005 - 12:23:17</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
+    <creation-date>8/3/2005 - 16:47:4</creation-date>
+    <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[    else :    ]]></PyFunc>
       <PyFunc><![CDATA[        Branch = "Odd"    ]]></PyFunc>
       <PyFunc><![CDATA[    return a & 1,1-(a&1),a,Branch,0  ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>13/1/2005 - 12:23:17</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
+    <creation-date>8/3/2005 - 16:47:4</creation-date>
+    <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
       <PyFunc><![CDATA[    return a ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>13/1/2005 - 12:23:17</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
+    <creation-date>8/3/2005 - 16:47:4</creation-date>
+    <lastmodification-date>8/3/2005 - 16:47:4</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <toserviceparameter-name>Branch</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
-<fromnode-name>Default</fromnode-name>
-    <fromserviceparameter-name>a</fromserviceparameter-name>
-    <tonode-name>EndOfSwitch</tonode-name>
-    <toserviceparameter-name>a</toserviceparameter-name>
-    <coord-list/>   </link>
-   <link>
-<fromnode-name>Default</fromnode-name>
-    <fromserviceparameter-name>Branch</fromserviceparameter-name>
-    <tonode-name>EndOfSwitch</tonode-name>
-    <toserviceparameter-name>Branch</toserviceparameter-name>
-    <coord-list/>   </link>
-   <link>
 <fromnode-name>InitLoopSwitch</fromnode-name>
     <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
     <tonode-name>EndOfInitLoopSwitch</tonode-name>
 <x>382</x>
       <y>200</y>     </coord>    </coord-list>   </link>
    <link>
-<fromnode-name>Switch</fromnode-name>
-    <fromserviceparameter-name>a</fromserviceparameter-name>
-    <tonode-name>Default</tonode-name>
-    <toserviceparameter-name>a</toserviceparameter-name>
-    <coord-list>
-<coord>
-<x>382</x>
-      <y>663</y>     </coord>
-     <coord>
-<x>382</x>
-      <y>199</y>     </coord>    </coord-list>   </link>
-   <link>
 <fromnode-name>Switch</fromnode-name>
     <fromserviceparameter-name>Branch</fromserviceparameter-name>
     <tonode-name>PrintOdd</tonode-name>
 <x>369</x>
       <y>219</y>     </coord>    </coord-list>   </link>
    <link>
-<fromnode-name>Switch</fromnode-name>
-    <fromserviceparameter-name>Branch</fromserviceparameter-name>
-    <tonode-name>Default</tonode-name>
-    <toserviceparameter-name>Branch</toserviceparameter-name>
-    <coord-list>
-<coord>
-<x>370</x>
-      <y>683</y>     </coord>
-     <coord>
-<x>370</x>
-      <y>220</y>     </coord>    </coord-list>   </link>
-   <link>
 <fromnode-name>Switch</fromnode-name>
     <fromserviceparameter-name>Default</fromserviceparameter-name>
-    <tonode-name>Default</tonode-name>
-    <toserviceparameter-name>Gate</toserviceparameter-name>
-    <coord-list>
-<coord>
-<x>360</x>
-      <y>707</y>     </coord>
-     <coord>
-<x>360</x>
-      <y>263</y>     </coord>    </coord-list>   </link>
+    <tonode-name>EndOfSwitch</tonode-name>
+    <toserviceparameter-name>Default</toserviceparameter-name>
+    <coord-list/>   </link>
    <link>
 <fromnode-name>EndOfSwitch</fromnode-name>
     <fromserviceparameter-name>a</fromserviceparameter-name>
     <coord-list/>   </link>  </link-list>
   <data-list>
 <data>
-<fromnode-name>GraphSwitchCheckDefault</fromnode-name>
+<fromnode-name>GraphSwitchCheckDefault_1</fromnode-name>
     <fromserviceparameter-name>InitLoopSwitch__Index</fromserviceparameter-name>
     <tonode-name>InitLoopSwitch</tonode-name>
     <toserviceparameter-name>Index</toserviceparameter-name>
      <value>0</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphSwitchCheckDefault</fromnode-name>
+<fromnode-name>GraphSwitchCheckDefault_1</fromnode-name>
     <fromserviceparameter-name>InitLoopSwitch__Min</fromserviceparameter-name>
     <tonode-name>InitLoopSwitch</tonode-name>
     <toserviceparameter-name>Min</toserviceparameter-name>
      <value>-5</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphSwitchCheckDefault</fromnode-name>
+<fromnode-name>GraphSwitchCheckDefault_1</fromnode-name>
     <fromserviceparameter-name>InitLoopSwitch__Max</fromserviceparameter-name>
     <tonode-name>InitLoopSwitch</tonode-name>
     <toserviceparameter-name>Max</toserviceparameter-name>
index a94310f3bb9f74f9eb4243fc68ec233ee01da413..794350cc5147f61345633f3514bb705d1a4f2b5e 100644 (file)
@@ -1,15 +1,15 @@
 
-# Generated python file of Graph GraphSwitchCheckDefault2NOTValid2
+# Generated python file of Graph GraphSwitchCheckDefault2NOTValid2_1
 
 from SuperV import *
 
-# Graph creation of GraphSwitchCheckDefault2NOTValid2
-def DefGraphSwitchCheckDefault2NOTValid2() :
-    GraphSwitchCheckDefault2NOTValid2 = Graph( 'GraphSwitchCheckDefault2NOTValid2' )
-    GraphSwitchCheckDefault2NOTValid2.SetName( 'GraphSwitchCheckDefault2NOTValid2' )
-    GraphSwitchCheckDefault2NOTValid2.SetAuthor( 'JR' )
-    GraphSwitchCheckDefault2NOTValid2.SetComment( '' )
-    GraphSwitchCheckDefault2NOTValid2.Coords( 0 , 0 )
+# Graph creation of GraphSwitchCheckDefault2NOTValid2_1
+def DefGraphSwitchCheckDefault2NOTValid2_1() :
+    GraphSwitchCheckDefault2NOTValid2_1 = Graph( 'GraphSwitchCheckDefault2NOTValid2_1' )
+    GraphSwitchCheckDefault2NOTValid2_1.SetName( 'GraphSwitchCheckDefault2NOTValid2_1' )
+    GraphSwitchCheckDefault2NOTValid2_1.SetAuthor( 'JR' )
+    GraphSwitchCheckDefault2NOTValid2_1.SetComment( '' )
+    GraphSwitchCheckDefault2NOTValid2_1.Coords( 0 , 0 )
     
     # Creation of Factory Nodes
     
@@ -20,7 +20,7 @@ def DefGraphSwitchCheckDefault2NOTValid2() :
     PyIsOdd.append( '    print a,"IsOdd (GraphSwitch)"      ' )
     PyIsOdd.append( '    sleep( 1 )   ' )
     PyIsOdd.append( '    return a     ' )
-    IsOdd = GraphSwitchCheckDefault2NOTValid2.INode( 'IsOdd' , PyIsOdd )
+    IsOdd = GraphSwitchCheckDefault2NOTValid2_1.INode( 'IsOdd' , PyIsOdd )
     IsOdd.SetName( 'IsOdd' )
     IsOdd.SetAuthor( '' )
     IsOdd.SetComment( 'Python function' )
@@ -36,7 +36,7 @@ def DefGraphSwitchCheckDefault2NOTValid2() :
     PyIsEven.append( '    print a,"IsEven (GraphSwitch)"       ' )
     PyIsEven.append( '    sleep( 1 )    ' )
     PyIsEven.append( '    return a      ' )
-    IsEven = GraphSwitchCheckDefault2NOTValid2.INode( 'IsEven' , PyIsEven )
+    IsEven = GraphSwitchCheckDefault2NOTValid2_1.INode( 'IsEven' , PyIsEven )
     IsEven.SetName( 'IsEven' )
     IsEven.SetAuthor( '' )
     IsEven.SetComment( 'Compute Node' )
@@ -52,7 +52,7 @@ def DefGraphSwitchCheckDefault2NOTValid2() :
     PyPrintOdd.append( '    print "Print ",a,Branch ' )
     PyPrintOdd.append( '    sleep(1) ' )
     PyPrintOdd.append( '    return Branch     ' )
-    PrintOdd = GraphSwitchCheckDefault2NOTValid2.INode( 'Print' , PyPrintOdd )
+    PrintOdd = GraphSwitchCheckDefault2NOTValid2_1.INode( 'Print' , PyPrintOdd )
     PrintOdd.SetName( 'PrintOdd' )
     PrintOdd.SetAuthor( '' )
     PrintOdd.SetComment( 'Compute Node' )
@@ -69,7 +69,7 @@ def DefGraphSwitchCheckDefault2NOTValid2() :
     PyPrintEven.append( '    print "Print ",a,Branch ' )
     PyPrintEven.append( '    sleep(1) ' )
     PyPrintEven.append( '    return Branch     ' )
-    PrintEven = GraphSwitchCheckDefault2NOTValid2.INode( 'Print_1' , PyPrintEven )
+    PrintEven = GraphSwitchCheckDefault2NOTValid2_1.INode( 'Print_1' , PyPrintEven )
     PrintEven.SetName( 'PrintEven' )
     PrintEven.SetAuthor( '' )
     PrintEven.SetComment( 'Compute Node' )
@@ -85,7 +85,7 @@ def DefGraphSwitchCheckDefault2NOTValid2() :
     PyEmptyNode.append( 'def EmptyNode(a,Branch) : ' )
     PyEmptyNode.append( '    sleep(1) ' )
     PyEmptyNode.append( '    return a,Branch  ' )
-    EmptyNode = GraphSwitchCheckDefault2NOTValid2.INode( 'EmptyNode' , PyEmptyNode )
+    EmptyNode = GraphSwitchCheckDefault2NOTValid2_1.INode( 'EmptyNode' , PyEmptyNode )
     EmptyNode.SetName( 'EmptyNode' )
     EmptyNode.SetAuthor( '' )
     EmptyNode.SetComment( 'Compute Node' )
@@ -102,7 +102,7 @@ def DefGraphSwitchCheckDefault2NOTValid2() :
     PyDefault.append( 'def Default(a,Branch) : ' )
     PyDefault.append( '    sleep(1) ' )
     PyDefault.append( '    return a,Branch ' )
-    Default = GraphSwitchCheckDefault2NOTValid2.INode( 'Default' , PyDefault )
+    Default = GraphSwitchCheckDefault2NOTValid2_1.INode( 'Default' , PyDefault )
     Default.SetName( 'Default' )
     Default.SetAuthor( '' )
     Default.SetComment( 'Compute Node' )
@@ -119,11 +119,11 @@ def DefGraphSwitchCheckDefault2NOTValid2() :
     PyPuta.append( 'def Puta(a) : ' )
     PyPuta.append( '    sleep(1) ' )
     PyPuta.append( '    return a ' )
-    Puta = GraphSwitchCheckDefault2NOTValid2.INode( 'Puta' , PyPuta )
+    Puta = GraphSwitchCheckDefault2NOTValid2_1.INode( 'Puta' , PyPuta )
     Puta.SetName( 'Puta' )
     Puta.SetAuthor( '' )
     Puta.SetComment( 'Compute Node' )
-    Puta.Coords( 665 , 486 )
+    Puta.Coords( 653 , 414 )
     IPutaa = Puta.InPort( 'a' , 'long' )
     IPutaGate = Puta.GetInPort( 'Gate' )
     OPutaa = Puta.OutPort( 'a' , 'long' )
@@ -134,7 +134,7 @@ def DefGraphSwitchCheckDefault2NOTValid2() :
     PyPutBranch.append( 'def PutBranch(Branch) : ' )
     PyPutBranch.append( '    sleep(1) ' )
     PyPutBranch.append( '    return Branch ' )
-    PutBranch = GraphSwitchCheckDefault2NOTValid2.INode( 'PutBranch' , PyPutBranch )
+    PutBranch = GraphSwitchCheckDefault2NOTValid2_1.INode( 'PutBranch' , PyPutBranch )
     PutBranch.SetName( 'PutBranch' )
     PutBranch.SetAuthor( '' )
     PutBranch.SetComment( 'Compute Node' )
@@ -162,7 +162,7 @@ def DefGraphSwitchCheckDefault2NOTValid2() :
     PyNextInitLoopSwitch.append( 'def NextLoop(Index,Min,Max) :       ' )
     PyNextInitLoopSwitch.append( '     Index = Index - 1       ' )
     PyNextInitLoopSwitch.append( '     return Index,Min,Max       ' )
-    InitLoopSwitch,EndOfInitLoopSwitch = GraphSwitchCheckDefault2NOTValid2.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
+    InitLoopSwitch,EndOfInitLoopSwitch = GraphSwitchCheckDefault2NOTValid2_1.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
     EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
     EndOfInitLoopSwitch.SetAuthor( '' )
     EndOfInitLoopSwitch.SetComment( 'Compute Node' )
@@ -210,7 +210,7 @@ def DefGraphSwitchCheckDefault2NOTValid2() :
     PySwitch.append( '    else :    ' )
     PySwitch.append( '        Branch = "Odd"    ' )
     PySwitch.append( '    return a & 1,1-(a&1),a,Branch,0  ' )
-    Switch,EndOfSwitch = GraphSwitchCheckDefault2NOTValid2.SNode( 'Switch' , PySwitch )
+    Switch,EndOfSwitch = GraphSwitchCheckDefault2NOTValid2_1.SNode( 'Switch' , PySwitch )
     EndOfSwitch.SetName( 'EndOfSwitch' )
     EndOfSwitch.SetAuthor( '' )
     EndOfSwitch.SetComment( 'Compute Node' )
@@ -240,82 +240,88 @@ def DefGraphSwitchCheckDefault2NOTValid2() :
     OSwitchDefault = Switch.GetOutPort( 'Default' )
     
     # Creation of Links
-    LIsOddaEmptyNodea = GraphSwitchCheckDefault2NOTValid2.Link( OIsOdda , IEmptyNodea )
+    LIsOddaEmptyNodea = GraphSwitchCheckDefault2NOTValid2_1.Link( OIsOdda , IEmptyNodea )
     LIsOddaEmptyNodea.AddCoord( 1 , 646 , 78 )
     
-    LIsEvenaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid2.Link( OIsEvena , IEndOfSwitcha )
+    LIsEvenaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid2_1.Link( OIsEvena , IEndOfSwitcha )
     
-    LPrintOddBranchEmptyNodeBranch = GraphSwitchCheckDefault2NOTValid2.Link( OPrintOddBranch , IEmptyNodeBranch )
+    LIsEvenaPutaa = GraphSwitchCheckDefault2NOTValid2_1.Link( OIsEvena , IPutaa )
     
-    LPrintEvenBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid2.Link( OPrintEvenBranch , IEndOfSwitchBranch )
+    LPrintOddBranchEmptyNodeBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( OPrintOddBranch , IEmptyNodeBranch )
     
-    LEmptyNodeaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid2.Link( OEmptyNodea , IEndOfSwitcha )
+    LPrintEvenBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( OPrintEvenBranch , IEndOfSwitchBranch )
     
-    LEmptyNodeBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid2.Link( OEmptyNodeBranch , IEndOfSwitchBranch )
+    LEmptyNodeaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid2_1.Link( OEmptyNodea , IEndOfSwitcha )
     
-    LDefaultaPutaa = GraphSwitchCheckDefault2NOTValid2.Link( ODefaulta , IPutaa )
+    LEmptyNodeBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( OEmptyNodeBranch , IEndOfSwitchBranch )
     
-    LDefaultBranchPutBranchBranch = GraphSwitchCheckDefault2NOTValid2.Link( ODefaultBranch , IPutBranchBranch )
+    LDefaultaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid2_1.Link( ODefaulta , IEndOfSwitcha )
     
-    LInitLoopSwitchIndexSwitcha = GraphSwitchCheckDefault2NOTValid2.Link( OInitLoopSwitchIndex , ISwitcha )
+    LDefaultBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( ODefaultBranch , IEndOfSwitchBranch )
     
-    LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckDefault2NOTValid2.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
+    LDefaultBranchPutBranchBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( ODefaultBranch , IPutBranchBranch )
     
-    LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckDefault2NOTValid2.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
+    LInitLoopSwitchIndexSwitcha = GraphSwitchCheckDefault2NOTValid2_1.Link( OInitLoopSwitchIndex , ISwitcha )
     
-    LSwitchOddIsOddGate = GraphSwitchCheckDefault2NOTValid2.Link( OSwitchOdd , IIsOddGate )
+    LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckDefault2NOTValid2_1.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
+    
+    LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckDefault2NOTValid2_1.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
+    
+    LSwitchOddIsOddGate = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchOdd , IIsOddGate )
     LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
     LSwitchOddIsOddGate.AddCoord( 2 , 401 , 160 )
     
-    LSwitchOddPrintOddGate = GraphSwitchCheckDefault2NOTValid2.Link( OSwitchOdd , IPrintOddGate )
+    LSwitchOddPrintOddGate = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchOdd , IPrintOddGate )
     LSwitchOddPrintOddGate.AddCoord( 1 , 401 , 245 )
     LSwitchOddPrintOddGate.AddCoord( 2 , 401 , 159 )
     
-    LSwitchEvenIsEvenGate = GraphSwitchCheckDefault2NOTValid2.Link( OSwitchEven , IIsEvenGate )
+    LSwitchEvenIsEvenGate = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchEven , IIsEvenGate )
     LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
     LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 182 )
     
-    LSwitchEvenPrintEvenGate = GraphSwitchCheckDefault2NOTValid2.Link( OSwitchEven , IPrintEvenGate )
+    LSwitchEvenPrintEvenGate = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchEven , IPrintEvenGate )
     LSwitchEvenPrintEvenGate.AddCoord( 1 , 392 , 403 )
     LSwitchEvenPrintEvenGate.AddCoord( 2 , 392 , 181 )
     
-    LSwitchaIsOdda = GraphSwitchCheckDefault2NOTValid2.Link( OSwitcha , IIsOdda )
+    LSwitchaIsOdda = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitcha , IIsOdda )
     LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
     LSwitchaIsOdda.AddCoord( 2 , 382 , 199 )
     
-    LSwitchaIsEvena = GraphSwitchCheckDefault2NOTValid2.Link( OSwitcha , IIsEvena )
+    LSwitchaIsEvena = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitcha , IIsEvena )
     LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
     LSwitchaIsEvena.AddCoord( 2 , 382 , 200 )
     
-    LSwitchaPrintOdda = GraphSwitchCheckDefault2NOTValid2.Link( OSwitcha , IPrintOdda )
+    LSwitchaPrintOdda = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitcha , IPrintOdda )
     
-    LSwitchaPrintEvena = GraphSwitchCheckDefault2NOTValid2.Link( OSwitcha , IPrintEvena )
+    LSwitchaPrintEvena = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitcha , IPrintEvena )
     LSwitchaPrintEvena.AddCoord( 1 , 381 , 361 )
     LSwitchaPrintEvena.AddCoord( 2 , 382 , 200 )
     
-    LSwitchaDefaulta = GraphSwitchCheckDefault2NOTValid2.Link( OSwitcha , IDefaulta )
+    LSwitchaDefaulta = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitcha , IDefaulta )
     LSwitchaDefaulta.AddCoord( 1 , 382 , 663 )
     LSwitchaDefaulta.AddCoord( 2 , 382 , 199 )
     
-    LSwitchBranchPrintOddBranch = GraphSwitchCheckDefault2NOTValid2.Link( OSwitchBranch , IPrintOddBranch )
+    LSwitchBranchPrintOddBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchBranch , IPrintOddBranch )
     
-    LSwitchBranchPrintEvenBranch = GraphSwitchCheckDefault2NOTValid2.Link( OSwitchBranch , IPrintEvenBranch )
+    LSwitchBranchPrintEvenBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchBranch , IPrintEvenBranch )
     LSwitchBranchPrintEvenBranch.AddCoord( 1 , 369 , 381 )
     LSwitchBranchPrintEvenBranch.AddCoord( 2 , 369 , 219 )
     
-    LSwitchBranchDefaultBranch = GraphSwitchCheckDefault2NOTValid2.Link( OSwitchBranch , IDefaultBranch )
+    LSwitchBranchDefaultBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchBranch , IDefaultBranch )
     LSwitchBranchDefaultBranch.AddCoord( 1 , 370 , 683 )
     LSwitchBranchDefaultBranch.AddCoord( 2 , 370 , 220 )
     
-    LSwitchdefaultDefaultGate = GraphSwitchCheckDefault2NOTValid2.Link( OSwitchdefault , IDefaultGate )
+    LSwitchdefaultDefaultGate = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchdefault , IDefaultGate )
     LSwitchdefaultDefaultGate.AddCoord( 1 , 363 , 707 )
     LSwitchdefaultDefaultGate.AddCoord( 2 , 362 , 239 )
     
-    LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckDefault2NOTValid2.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
+    LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheckDefault2NOTValid2_1.Link( OSwitchDefault , IEndOfSwitchDefault )
+    
+    LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckDefault2NOTValid2_1.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
     
-    LPutaaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid2.Link( OPutaa , IEndOfSwitcha )
+    LPutaaEndOfSwitcha = GraphSwitchCheckDefault2NOTValid2_1.Link( OPutaa , IEndOfSwitcha )
     
-    LPutBranchBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid2.Link( OPutBranchBranch , IEndOfSwitchBranch )
+    LPutBranchBranchEndOfSwitchBranch = GraphSwitchCheckDefault2NOTValid2_1.Link( OPutBranchBranch , IEndOfSwitchBranch )
     
     # Input datas
     IInitLoopSwitchIndex.Input( 0 )
@@ -326,7 +332,7 @@ def DefGraphSwitchCheckDefault2NOTValid2() :
     #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
     #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
     #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
-    return GraphSwitchCheckDefault2NOTValid2
+    return GraphSwitchCheckDefault2NOTValid2_1
 
 
-GraphSwitchCheckDefault2NOTValid2 = DefGraphSwitchCheckDefault2NOTValid2()
+GraphSwitchCheckDefault2NOTValid2_1 = DefGraphSwitchCheckDefault2NOTValid2_1()
index f628cd053478d809050903cdda57225d309d3cc0..b97732b8326ca578cbf4eb19e079b47e0653d830 100644 (file)
@@ -5,11 +5,11 @@
 <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
-    <node-name>GraphSwitchCheckDefault2NOTValid2</node-name>
+    <node-name>GraphSwitchCheckDefault2NOTValid2_1</node-name>
     <kind>1</kind>
     <coupled-node>?</coupled-node>
     <service>
-<service-name>GraphSwitchCheckDefault2NOTValid2</service-name>
+<service-name>GraphSwitchCheckDefault2NOTValid2_1</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
@@ -33,7 +33,7 @@
     <DataStream-list/>
     <PyFunction-list/>
     <creation-date>13/1/2005 - 12:21:43</creation-date>
-    <lastmodification-date>19/1/2005 - 12:17:7</lastmodification-date>
+    <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>JR</author>
     <container>?</container>
@@ -66,8 +66,8 @@
       <PyFunc><![CDATA[    print a,"IsOdd (GraphSwitch)"      ]]></PyFunc>
       <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
       <PyFunc><![CDATA[    return a     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 12:17:7</creation-date>
-    <lastmodification-date>19/1/2005 - 12:17:7</lastmodification-date>
+    <creation-date>8/3/2005 - 16:55:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
@@ -99,8 +99,8 @@
       <PyFunc><![CDATA[    print a,"IsEven (GraphSwitch)"       ]]></PyFunc>
       <PyFunc><![CDATA[    sleep( 1 )    ]]></PyFunc>
       <PyFunc><![CDATA[    return a      ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 12:17:7</creation-date>
-    <lastmodification-date>19/1/2005 - 12:17:7</lastmodification-date>
+    <creation-date>8/3/2005 - 16:55:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[    print "Print ",a,Branch ]]></PyFunc>
       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
       <PyFunc><![CDATA[    return Branch     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 12:17:7</creation-date>
-    <lastmodification-date>19/1/2005 - 12:17:7</lastmodification-date>
+    <creation-date>8/3/2005 - 16:55:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[    print "Print ",a,Branch ]]></PyFunc>
       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
       <PyFunc><![CDATA[    return Branch     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 12:17:7</creation-date>
-    <lastmodification-date>19/1/2005 - 12:17:7</lastmodification-date>
+    <creation-date>8/3/2005 - 16:55:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[def EmptyNode(a,Branch) : ]]></PyFunc>
       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
       <PyFunc><![CDATA[    return a,Branch  ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 12:17:7</creation-date>
-    <lastmodification-date>19/1/2005 - 12:17:7</lastmodification-date>
+    <creation-date>8/3/2005 - 16:55:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[def Default(a,Branch) : ]]></PyFunc>
       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
       <PyFunc><![CDATA[    return a,Branch ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 12:17:7</creation-date>
-    <lastmodification-date>19/1/2005 - 12:17:7</lastmodification-date>
+    <creation-date>8/3/2005 - 16:55:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[def NextLoop(Index,Min,Max) :       ]]></PyFunc>
       <PyFunc><![CDATA[        Index = Index - 1       ]]></PyFunc>
       <PyFunc><![CDATA[        return Index,Min,Max       ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 12:17:7</creation-date>
-    <lastmodification-date>19/1/2005 - 12:17:7</lastmodification-date>
+    <creation-date>8/3/2005 - 16:55:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) :  ]]></PyFunc>
       <PyFunc><![CDATA[    sleep(1)  ]]></PyFunc>
       <PyFunc><![CDATA[    return DoLoop,Index,Min,Max  ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 12:17:7</creation-date>
-    <lastmodification-date>19/1/2005 - 12:17:7</lastmodification-date>
+    <creation-date>8/3/2005 - 16:55:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[    else :    ]]></PyFunc>
       <PyFunc><![CDATA[        Branch = "Odd"    ]]></PyFunc>
       <PyFunc><![CDATA[    return a & 1,1-(a&1),a,Branch,0  ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 12:17:7</creation-date>
-    <lastmodification-date>19/1/2005 - 12:17:7</lastmodification-date>
+    <creation-date>8/3/2005 - 16:55:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
       <PyFunc><![CDATA[    return a ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 12:17:7</creation-date>
-    <lastmodification-date>19/1/2005 - 12:17:7</lastmodification-date>
+    <creation-date>8/3/2005 - 16:55:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[def Puta(a) : ]]></PyFunc>
       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
       <PyFunc><![CDATA[    return a ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 12:17:7</creation-date>
-    <lastmodification-date>19/1/2005 - 12:17:7</lastmodification-date>
+    <creation-date>8/3/2005 - 16:55:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Compute Node</comment>
-    <x-position>665</x-position>
-    <y-position>486</y-position>   </node>
+    <x-position>653</x-position>
+    <y-position>414</y-position>   </node>
    <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
       <PyFunc><![CDATA[def PutBranch(Branch) : ]]></PyFunc>
       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
       <PyFunc><![CDATA[    return Branch ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 12:17:7</creation-date>
-    <lastmodification-date>19/1/2005 - 12:17:7</lastmodification-date>
+    <creation-date>8/3/2005 - 16:55:59</creation-date>
+    <lastmodification-date>8/3/2005 - 16:55:59</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <toserviceparameter-name>a</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
+<fromnode-name>IsEven</fromnode-name>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>Puta</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>PrintOdd</fromnode-name>
     <fromserviceparameter-name>Branch</fromserviceparameter-name>
     <tonode-name>EmptyNode</tonode-name>
    <link>
 <fromnode-name>Default</fromnode-name>
     <fromserviceparameter-name>a</fromserviceparameter-name>
-    <tonode-name>Puta</tonode-name>
+    <tonode-name>EndOfSwitch</tonode-name>
     <toserviceparameter-name>a</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
+<fromnode-name>Default</fromnode-name>
+    <fromserviceparameter-name>Branch</fromserviceparameter-name>
+    <tonode-name>EndOfSwitch</tonode-name>
+    <toserviceparameter-name>Branch</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>Default</fromnode-name>
     <fromserviceparameter-name>Branch</fromserviceparameter-name>
     <tonode-name>PutBranch</tonode-name>
 <x>362</x>
       <y>239</y>     </coord>    </coord-list>   </link>
    <link>
+<fromnode-name>Switch</fromnode-name>
+    <fromserviceparameter-name>Default</fromserviceparameter-name>
+    <tonode-name>EndOfSwitch</tonode-name>
+    <toserviceparameter-name>Default</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndOfSwitch</fromnode-name>
     <fromserviceparameter-name>a</fromserviceparameter-name>
     <tonode-name>EndOfInitLoopSwitch</tonode-name>
     <coord-list/>   </link>  </link-list>
   <data-list>
 <data>
-<fromnode-name>GraphSwitchCheckDefault2NOTValid2</fromnode-name>
+<fromnode-name>GraphSwitchCheckDefault2NOTValid2_1</fromnode-name>
     <fromserviceparameter-name>InitLoopSwitch__Index</fromserviceparameter-name>
     <tonode-name>InitLoopSwitch</tonode-name>
     <toserviceparameter-name>Index</toserviceparameter-name>
      <value>0</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphSwitchCheckDefault2NOTValid2</fromnode-name>
+<fromnode-name>GraphSwitchCheckDefault2NOTValid2_1</fromnode-name>
     <fromserviceparameter-name>InitLoopSwitch__Min</fromserviceparameter-name>
     <tonode-name>InitLoopSwitch</tonode-name>
     <toserviceparameter-name>Min</toserviceparameter-name>
      <value>-5</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphSwitchCheckDefault2NOTValid2</fromnode-name>
+<fromnode-name>GraphSwitchCheckDefault2NOTValid2_1</fromnode-name>
     <fromserviceparameter-name>InitLoopSwitch__Max</fromserviceparameter-name>
     <tonode-name>InitLoopSwitch</tonode-name>
     <toserviceparameter-name>Max</toserviceparameter-name>
index f22827a1af1c1bd3d78bac6af0eddfe054c13fac..59443ba24682aba899dc91f68af06deeeca889fb 100755 (executable)
 
-# Generated python file of Graph GraphSwitchCrash
+# Generated python file of Graph GraphSwitchCrash_1
 
 from SuperV import *
-# Graph creation 
-GraphSwitchCrash = Graph( 'GraphSwitchCrash' )
-GraphSwitchCrash.SetName( 'GraphSwitchCrash' )
-GraphSwitchCrash.SetAuthor( '' )
-GraphSwitchCrash.SetComment( '' )
-GraphSwitchCrash.Coords( 0 , 0 )
 
-# Creation of Factory Nodes
+# Graph creation of GraphSwitchCrash_1
+def DefGraphSwitchCrash_1() :
+    GraphSwitchCrash_1 = Graph( 'GraphSwitchCrash_1' )
+    GraphSwitchCrash_1.SetName( 'GraphSwitchCrash_1' )
+    GraphSwitchCrash_1.SetAuthor( '' )
+    GraphSwitchCrash_1.SetComment( '' )
+    GraphSwitchCrash_1.Coords( 0 , 0 )
+    
+    # Creation of Factory Nodes
+    
+    # Creation of InLine Nodes
+    PyIsOdd = []
+    PyIsOdd.append( 'from time import *   ' )
+    PyIsOdd.append( 'def IsOdd(a) :       ' )
+    PyIsOdd.append( '    print a,"IsOdd (IsOdd)"      ' )
+    PyIsOdd.append( '    sleep( 1 )   ' )
+    PyIsOdd.append( '    return a     ' )
+    IsOdd = GraphSwitchCrash_1.INode( 'IsOdd' , PyIsOdd )
+    IsOdd.SetName( 'IsOdd' )
+    IsOdd.SetAuthor( '' )
+    IsOdd.SetComment( 'Python function' )
+    IsOdd.Coords( 387 , 58 )
+    IIsOdda = IsOdd.InPort( 'a' , 'long' )
+    IIsOddGate = IsOdd.GetInPort( 'Gate' )
+    OIsOdda = IsOdd.OutPort( 'a' , 'long' )
+    OIsOddGate = IsOdd.GetOutPort( 'Gate' )
+    
+    PyIsOdd_1 = []
+    PyIsOdd_1.append( 'from time import *    ' )
+    PyIsOdd_1.append( 'def IsOdd(a,Even) :        ' )
+    PyIsOdd_1.append( '    print a,"IsOdd (IsOdd_1)"       ' )
+    PyIsOdd_1.append( '    sleep( 1 )    ' )
+    PyIsOdd_1.append( '    return a      ' )
+    IsOdd_1 = GraphSwitchCrash_1.INode( 'IsOdd' , PyIsOdd_1 )
+    IsOdd_1.SetName( 'IsOdd_1' )
+    IsOdd_1.SetAuthor( '' )
+    IsOdd_1.SetComment( 'Python function' )
+    IsOdd_1.Coords( 417 , 287 )
+    IIsOdd_1a = IsOdd_1.InPort( 'a' , 'long' )
+    IIsOdd_1Even = IsOdd_1.InPort( 'Even' , 'boolean' )
+    IIsOdd_1Gate = IsOdd_1.GetInPort( 'Gate' )
+    OIsOdd_1a = IsOdd_1.OutPort( 'a' , 'long' )
+    OIsOdd_1Gate = IsOdd_1.GetOutPort( 'Gate' )
+    
+    # Creation of Loop Nodes
+    PyInitLoopSwitch = []
+    PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) :      ' )
+    PyInitLoopSwitch.append( ' return Index,Min,Max     ' )
+    PyMoreInitLoopSwitch = []
+    PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) :     ' )
+    PyMoreInitLoopSwitch.append( '     if Index <= Max :   ' )
+    PyMoreInitLoopSwitch.append( '             DoLoop = 1     ' )
+    PyMoreInitLoopSwitch.append( '     else :     ' )
+    PyMoreInitLoopSwitch.append( '             DoLoop = 0     ' )
+    PyMoreInitLoopSwitch.append( '     return DoLoop,Index,Min,Max     ' )
+    PyNextInitLoopSwitch = []
+    PyNextInitLoopSwitch.append( 'def NextLoop(Index,Min,Max) :     ' )
+    PyNextInitLoopSwitch.append( '     Index = Index + 1     ' )
+    PyNextInitLoopSwitch.append( '     return Index,Min,Max     ' )
+    InitLoopSwitch,EndOfInitLoopSwitch = GraphSwitchCrash_1.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
+    EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
+    EndOfInitLoopSwitch.SetAuthor( '' )
+    EndOfInitLoopSwitch.SetComment( 'Compute Node' )
+    EndOfInitLoopSwitch.Coords( 766 , 127 )
+    PyEndOfInitLoopSwitch = []
+    EndOfInitLoopSwitch.SetPyFunction( '' , PyEndOfInitLoopSwitch )
+    IInitLoopSwitchDoLoop = InitLoopSwitch.GetInPort( 'DoLoop' )
+    IInitLoopSwitchIndex = InitLoopSwitch.InPort( 'Index' , 'long' )
+    IInitLoopSwitchMin = InitLoopSwitch.InPort( 'Min' , 'long' )
+    IInitLoopSwitchMax = InitLoopSwitch.InPort( 'Max' , 'long' )
+    IInitLoopSwitchGate = InitLoopSwitch.GetInPort( 'Gate' )
+    OInitLoopSwitchDoLoop = InitLoopSwitch.GetOutPort( 'DoLoop' )
+    OInitLoopSwitchIndex = InitLoopSwitch.GetOutPort( 'Index' )
+    OInitLoopSwitchMin = InitLoopSwitch.GetOutPort( 'Min' )
+    OInitLoopSwitchMax = InitLoopSwitch.GetOutPort( 'Max' )
+    IEndOfInitLoopSwitchDoLoop = EndOfInitLoopSwitch.GetInPort( 'DoLoop' )
+    IEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetInPort( 'Index' )
+    IEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetInPort( 'Min' )
+    IEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetInPort( 'Max' )
+    IEndOfInitLoopSwitchGate = EndOfInitLoopSwitch.GetInPort( 'Gate' )
+    OEndOfInitLoopSwitchDoLoop = EndOfInitLoopSwitch.GetOutPort( 'DoLoop' )
+    OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
+    OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
+    OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
+    OEndOfInitLoopSwitchGate = EndOfInitLoopSwitch.GetOutPort( 'Gate' )
+    InitLoopSwitch.SetName( 'InitLoopSwitch' )
+    InitLoopSwitch.SetAuthor( '' )
+    InitLoopSwitch.SetComment( 'Compute Node' )
+    InitLoopSwitch.Coords( 10 , 129 )
+    
+    PyInitLoop = []
+    PyInitLoop.append( 'def InitLoop(Index,Min,Max) :      ' )
+    PyInitLoop.append( '       return Index,Min,Max     ' )
+    PyMoreInitLoop = []
+    PyMoreInitLoop.append( 'def MoreLoop(Index,Min,Max) :     ' )
+    PyMoreInitLoop.append( '   if Index <= Max :   ' )
+    PyMoreInitLoop.append( '           DoLoop = 1     ' )
+    PyMoreInitLoop.append( '   else :     ' )
+    PyMoreInitLoop.append( '           DoLoop = 0     ' )
+    PyMoreInitLoop.append( '   return DoLoop,Index,Min,Max     ' )
+    PyNextInitLoop = []
+    PyNextInitLoop.append( 'def NextLoop(Index,Min,Max) :     ' )
+    PyNextInitLoop.append( '   Index = Index + 1     ' )
+    PyNextInitLoop.append( '   return Index,Min,Max     ' )
+    InitLoop,EndOfInitLoop = GraphSwitchCrash_1.LNode( 'InitLoop' , PyInitLoop , 'MoreLoop' , PyMoreInitLoop , 'NextLoop' , PyNextInitLoop )
+    EndOfInitLoop.SetName( 'EndOfInitLoop' )
+    EndOfInitLoop.SetAuthor( '' )
+    EndOfInitLoop.SetComment( 'Compute Node' )
+    EndOfInitLoop.Coords( 783 , 381 )
+    PyEndOfInitLoop = []
+    EndOfInitLoop.SetPyFunction( '' , PyEndOfInitLoop )
+    IInitLoopDoLoop = InitLoop.GetInPort( 'DoLoop' )
+    IInitLoopIndex = InitLoop.InPort( 'Index' , 'long' )
+    IInitLoopMin = InitLoop.InPort( 'Min' , 'long' )
+    IInitLoopMax = InitLoop.InPort( 'Max' , 'long' )
+    IInitLoopGate = InitLoop.GetInPort( 'Gate' )
+    OInitLoopDoLoop = InitLoop.GetOutPort( 'DoLoop' )
+    OInitLoopIndex = InitLoop.GetOutPort( 'Index' )
+    OInitLoopMin = InitLoop.GetOutPort( 'Min' )
+    OInitLoopMax = InitLoop.GetOutPort( 'Max' )
+    IEndOfInitLoopDoLoop = EndOfInitLoop.GetInPort( 'DoLoop' )
+    IEndOfInitLoopIndex = EndOfInitLoop.GetInPort( 'Index' )
+    IEndOfInitLoopMin = EndOfInitLoop.GetInPort( 'Min' )
+    IEndOfInitLoopMax = EndOfInitLoop.GetInPort( 'Max' )
+    IEndOfInitLoopGate = EndOfInitLoop.GetInPort( 'Gate' )
+    OEndOfInitLoopDoLoop = EndOfInitLoop.GetOutPort( 'DoLoop' )
+    OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
+    OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
+    OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
+    OEndOfInitLoopGate = EndOfInitLoop.GetOutPort( 'Gate' )
+    InitLoop.SetName( 'InitLoop' )
+    InitLoop.SetAuthor( '' )
+    InitLoop.SetComment( 'Compute Node' )
+    InitLoop.Coords( 10 , 388 )
+    
+    # Creation of Switch Nodes
+    PySwitch = []
+    PySwitch.append( 'from time import * ' )
+    PySwitch.append( 'def Switch(a) :   ' )
+    PySwitch.append( '    if ( a & 1 ) == 0 : ' )
+    PySwitch.append( '        sleep(1)    ' )
+    PySwitch.append( '    return a & 1,1-(a&1),a    ' )
+    Switch,EndOfSwitch = GraphSwitchCrash_1.SNode( 'Switch' , PySwitch )
+    EndOfSwitch.SetName( 'EndOfSwitch' )
+    EndOfSwitch.SetAuthor( '' )
+    EndOfSwitch.SetComment( 'Compute Node' )
+    EndOfSwitch.Coords( 587 , 126 )
+    PyEndOfSwitch = []
+    EndOfSwitch.SetPyFunction( '' , PyEndOfSwitch )
+    IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
+    IEndOfSwitchDefault = EndOfSwitch.GetInPort( 'Default' )
+    OEndOfSwitcha = EndOfSwitch.OutPort( 'a' , 'long' )
+    OEndOfSwitchGate = EndOfSwitch.GetOutPort( 'Gate' )
+    Switch.SetName( 'Switch' )
+    Switch.SetAuthor( '' )
+    Switch.SetComment( 'Compute Node' )
+    Switch.Coords( 186 , 130 )
+    ISwitcha = Switch.InPort( 'a' , 'long' )
+    ISwitchGate = Switch.GetInPort( 'Gate' )
+    OSwitchOdd = Switch.OutPort( 'Odd' , 'long' )
+    OSwitchEven = Switch.OutPort( 'Even' , 'int' )
+    OSwitcha = Switch.OutPort( 'a' , 'int' )
+    OSwitchDefault = Switch.GetOutPort( 'Default' )
+    
+    PySwitch_1 = []
+    PySwitch_1.append( 'from time import *  ' )
+    PySwitch_1.append( 'def Switch(a) :    ' )
+    PySwitch_1.append( '    if ( a & 1 ) == 0 :  ' )
+    PySwitch_1.append( '        sleep(1)  ' )
+    PySwitch_1.append( '    return a & 1,1-(a&1),a    ' )
+    Switch_1,EndSwitch = GraphSwitchCrash_1.SNode( 'Switch' , PySwitch_1 )
+    EndSwitch.SetName( 'EndSwitch' )
+    EndSwitch.SetAuthor( '' )
+    EndSwitch.SetComment( 'Compute Node' )
+    EndSwitch.Coords( 605 , 382 )
+    PyEndSwitch = []
+    EndSwitch.SetPyFunction( '' , PyEndSwitch )
+    IEndSwitcha = EndSwitch.InPort( 'a' , 'long' )
+    IEndSwitchDefault = EndSwitch.GetInPort( 'Default' )
+    OEndSwitcha = EndSwitch.OutPort( 'a' , 'long' )
+    OEndSwitchGate = EndSwitch.GetOutPort( 'Gate' )
+    Switch_1.SetName( 'Switch_1' )
+    Switch_1.SetAuthor( '' )
+    Switch_1.SetComment( 'Compute Node' )
+    Switch_1.Coords( 193 , 388 )
+    ISwitch_1a = Switch_1.InPort( 'a' , 'long' )
+    ISwitch_1Gate = Switch_1.GetInPort( 'Gate' )
+    OSwitch_1Odd = Switch_1.OutPort( 'Odd' , 'long' )
+    OSwitch_1Even = Switch_1.OutPort( 'Even' , 'int' )
+    OSwitch_1a = Switch_1.OutPort( 'a' , 'int' )
+    OSwitch_1Default = Switch_1.GetOutPort( 'Default' )
+    
+    # Creation of Links
+    LIsOddaEndOfSwitcha = GraphSwitchCrash_1.Link( OIsOdda , IEndOfSwitcha )
+    LIsOddaEndOfSwitcha.AddCoord( 1 , 572 , 157 )
+    LIsOddaEndOfSwitcha.AddCoord( 2 , 572 , 130 )
+    
+    LInitLoopSwitchIndexSwitcha = GraphSwitchCrash_1.Link( OInitLoopSwitchIndex , ISwitcha )
+    
+    LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCrash_1.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
+    
+    LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCrash_1.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
+    
+    LSwitchOddIsOddGate = GraphSwitchCrash_1.Link( OSwitchOdd , IIsOddGate )
+    
+    LSwitchaIsOdda = GraphSwitchCrash_1.Link( OSwitcha , IIsOdda )
+    LSwitchaIsOdda.AddCoord( 1 , 365 , 129 )
+    LSwitchaIsOdda.AddCoord( 2 , 365 , 201 )
+    
+    LSwitchDefaultEndOfSwitchDefault = GraphSwitchCrash_1.Link( OSwitchDefault , IEndOfSwitchDefault )
+    
+    LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCrash_1.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
+    
+    LIsOdd_1aEndSwitcha = GraphSwitchCrash_1.Link( OIsOdd_1a , IEndSwitcha )
+    LIsOdd_1aEndSwitcha.AddCoord( 1 , 593 , 411 )
+    LIsOdd_1aEndSwitcha.AddCoord( 2 , 593 , 358 )
+    
+    LInitLoopIndexSwitch_1a = GraphSwitchCrash_1.Link( OInitLoopIndex , ISwitch_1a )
+    
+    LInitLoopMinEndOfInitLoopMin = GraphSwitchCrash_1.Link( OInitLoopMin , IEndOfInitLoopMin )
+    
+    LInitLoopMaxEndOfInitLoopMax = GraphSwitchCrash_1.Link( OInitLoopMax , IEndOfInitLoopMax )
+    
+    LSwitch_1OddIsOdd_1Gate = GraphSwitchCrash_1.Link( OSwitch_1Odd , IIsOdd_1Gate )
+    
+    LSwitch_1EvenIsOdd_1Even = GraphSwitchCrash_1.Link( OSwitch_1Even , IIsOdd_1Even )
+    
+    LSwitch_1aIsOdd_1a = GraphSwitchCrash_1.Link( OSwitch_1a , IIsOdd_1a )
+    LSwitch_1aIsOdd_1a.AddCoord( 1 , 377 , 358 )
+    LSwitch_1aIsOdd_1a.AddCoord( 2 , 377 , 460 )
+    
+    LSwitch_1DefaultEndSwitchDefault = GraphSwitchCrash_1.Link( OSwitch_1Default , IEndSwitchDefault )
+    
+    LEndSwitchaEndOfInitLoopIndex = GraphSwitchCrash_1.Link( OEndSwitcha , IEndOfInitLoopIndex )
+    
+    # Input datas
+    IInitLoopSwitchIndex.Input( 0 )
+    IInitLoopSwitchMin.Input( 0 )
+    IInitLoopSwitchMax.Input( 23 )
+    IInitLoopIndex.Input( 0 )
+    IInitLoopMin.Input( 0 )
+    IInitLoopMax.Input( 31 )
+    
+    # Output Ports of the graph
+    #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
+    #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
+    #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
+    #OSwitchEven = Switch.GetOutPort( 'Even' )
+    #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' )
+    #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' )
+    #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' )
+    return GraphSwitchCrash_1
 
-# Creation of InLine Nodes
-PyIsOdd = []
-PyIsOdd.append( 'from time import *   ' )
-PyIsOdd.append( 'def IsOdd(a) :       ' )
-PyIsOdd.append( '    print a,"IsOdd (PyIsOdd)"      ' )
-PyIsOdd.append( '    sleep( 1 )   ' )
-PyIsOdd.append( '    return a     ' )
-IsOdd = GraphSwitchCrash.INode( 'IsOdd' , PyIsOdd )
-IsOdd.SetName( 'IsOdd' )
-IsOdd.SetAuthor( '' )
-IsOdd.SetComment( 'Python function' )
-IsOdd.Coords( 388 , 50 )
-IsOdd.InPort( 'a' , 'long' )
-IsOdd.OutPort( 'a' , 'long' )
 
-PyIsOdd_1 = []
-PyIsOdd_1.append( 'from time import *    ' )
-PyIsOdd_1.append( 'def IsOdd(a,Even) :        ' )
-PyIsOdd_1.append( '    print a,"IsOdd (PyIsOdd_1)"       ' )
-PyIsOdd_1.append( '    sleep( 1 )    ' )
-PyIsOdd_1.append( '    return a      ' )
-IsOdd_1 = GraphSwitchCrash.INode( 'IsOdd' , PyIsOdd_1 )
-IsOdd_1.SetName( 'IsOdd_1' )
-IsOdd_1.SetAuthor( '' )
-IsOdd_1.SetComment( 'Python function' )
-IsOdd_1.Coords( 419 , 279 )
-IsOdd_1.InPort( 'a' , 'long' )
-IsOdd_1.InPort( 'Even' , 'boolean' )
-IsOdd_1.OutPort( 'a' , 'long' )
-
-# Creation of Loop Nodes
-PyInitLoopSwitch = []
-PyInitLoopSwitch.append( 'def InitLoop(Index,Min,Max) :      ' )
-PyInitLoopSwitch.append( '     return Index,Min,Max     ' )
-PyMoreInitLoopSwitch = []
-PyMoreInitLoopSwitch.append( 'def MoreLoop(Index,Min,Max) :     ' )
-PyMoreInitLoopSwitch.append( ' if Index <= Max :   ' )
-PyMoreInitLoopSwitch.append( '         DoLoop = 1     ' )
-PyMoreInitLoopSwitch.append( ' else :     ' )
-PyMoreInitLoopSwitch.append( '         DoLoop = 0     ' )
-PyMoreInitLoopSwitch.append( ' return DoLoop,Index,Min,Max     ' )
-PyNextInitLoopSwitch = []
-PyNextInitLoopSwitch.append( 'def NextLoop(Index,Min,Max) :     ' )
-PyNextInitLoopSwitch.append( ' Index = Index + 1     ' )
-PyNextInitLoopSwitch.append( ' return Index,Min,Max     ' )
-InitLoopSwitch,EndOfInitLoopSwitch = GraphSwitchCrash.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
-EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
-EndOfInitLoopSwitch.SetAuthor( '' )
-EndOfInitLoopSwitch.SetComment( '' )
-EndOfInitLoopSwitch.Coords( 766 , 127 )
-InitLoopSwitch.SetName( 'InitLoopSwitch' )
-InitLoopSwitch.SetAuthor( '' )
-InitLoopSwitch.SetComment( '' )
-InitLoopSwitch.Coords( 10 , 129 )
-InitLoopSwitch.InPort( 'Index' , 'long' )
-InitLoopSwitch.InPort( 'Min' , 'long' )
-InitLoopSwitch.InPort( 'Max' , 'long' )
-InitLoopSwitch.OutPort( 'Index' , 'long' )
-InitLoopSwitch.OutPort( 'Min' , 'long' )
-InitLoopSwitch.OutPort( 'Max' , 'long' )
-
-PyInitLoop = []
-PyInitLoop.append( 'def InitLoop(Index,Min,Max) :      ' )
-PyInitLoop.append( '   return Index,Min,Max     ' )
-PyMoreInitLoop = []
-PyMoreInitLoop.append( 'def MoreLoop(Index,Min,Max) :     ' )
-PyMoreInitLoop.append( '       if Index <= Max :   ' )
-PyMoreInitLoop.append( '               DoLoop = 1     ' )
-PyMoreInitLoop.append( '       else :     ' )
-PyMoreInitLoop.append( '               DoLoop = 0     ' )
-PyMoreInitLoop.append( '       return DoLoop,Index,Min,Max     ' )
-PyNextInitLoop = []
-PyNextInitLoop.append( 'def NextLoop(Index,Min,Max) :     ' )
-PyNextInitLoop.append( '       Index = Index + 1     ' )
-PyNextInitLoop.append( '       return Index,Min,Max     ' )
-InitLoop,EndOfInitLoop = GraphSwitchCrash.LNode( 'InitLoop' , PyInitLoop , 'MoreLoop' , PyMoreInitLoop , 'NextLoop' , PyNextInitLoop )
-EndOfInitLoop.SetName( 'EndOfInitLoop' )
-EndOfInitLoop.SetAuthor( '' )
-EndOfInitLoop.SetComment( '' )
-EndOfInitLoop.Coords( 783 , 381 )
-InitLoop.SetName( 'InitLoop' )
-InitLoop.SetAuthor( '' )
-InitLoop.SetComment( '' )
-InitLoop.Coords( 10 , 388 )
-InitLoop.InPort( 'Index' , 'long' )
-InitLoop.InPort( 'Min' , 'long' )
-InitLoop.InPort( 'Max' , 'long' )
-InitLoop.OutPort( 'Index' , 'long' )
-InitLoop.OutPort( 'Min' , 'long' )
-InitLoop.OutPort( 'Max' , 'long' )
-
-# Creation of Switch Nodes
-PySwitch = []
-PySwitch.append( 'from time import * ' )
-PySwitch.append( 'def Switch(a) :   ' )
-PySwitch.append( '    if ( a & 1 ) == 0 : ' )
-PySwitch.append( '        sleep(1)    ' )
-PySwitch.append( '    return a & 1,1-(a&1),a    ' )
-Switch,EndOfSwitch = GraphSwitchCrash.SNode( 'Switch' , PySwitch )
-EndOfSwitch.SetName( 'EndOfSwitch' )
-EndOfSwitch.SetAuthor( '' )
-EndOfSwitch.SetComment( '' )
-EndOfSwitch.Coords( 587 , 126 )
-PyEndOfSwitch = []
-EndOfSwitch.SetPyFunction( 'EndSwitch' , PyEndOfSwitch )
-EndOfSwitch.InPort( 'a' , 'long' )
-EndOfSwitch.OutPort( 'a' , 'long' )
-Switch.SetName( 'Switch' )
-Switch.SetAuthor( '' )
-Switch.SetComment( '' )
-Switch.Coords( 186 , 130 )
-Switch.InPort( 'a' , 'long' )
-Switch.OutPort( 'Odd' , 'long' )
-Switch.OutPort( 'Even' , 'int' )
-Switch.OutPort( 'a' , 'int' )
-
-PySwitch_1 = []
-PySwitch_1.append( 'from time import *  ' )
-PySwitch_1.append( 'def Switch(a) :    ' )
-PySwitch_1.append( '    if ( a & 1 ) == 0 :  ' )
-PySwitch_1.append( '        sleep(1)  ' )
-PySwitch_1.append( '    return a & 1,1-(a&1),a    ' )
-Switch_1,EndSwitch = GraphSwitchCrash.SNode( 'Switch' , PySwitch_1 )
-EndSwitch.SetName( 'EndSwitch' )
-EndSwitch.SetAuthor( '' )
-EndSwitch.SetComment( '' )
-EndSwitch.Coords( 605 , 382 )
-PyEndSwitch = []
-EndSwitch.SetPyFunction( 'EndSwitch' , PyEndSwitch )
-EndSwitch.InPort( 'a' , 'long' )
-EndSwitch.OutPort( 'a' , 'long' )
-Switch_1.SetName( 'Switch_1' )
-Switch_1.SetAuthor( '' )
-Switch_1.SetComment( '' )
-Switch_1.Coords( 193 , 388 )
-Switch_1.InPort( 'a' , 'long' )
-Switch_1.OutPort( 'Odd' , 'long' )
-Switch_1.OutPort( 'Even' , 'int' )
-Switch_1.OutPort( 'a' , 'int' )
-
-# Creation of Links
-IsOdda = IsOdd.Port( 'a' )
-EndOfSwitcha = GraphSwitchCrash.Link( IsOdda , EndOfSwitch.Port( 'a' ) )
-EndOfSwitcha.AddCoord( 1 , 573 , 160 )
-EndOfSwitcha.AddCoord( 2 , 572 , 130 )
-
-InitLoopSwitchIndex = InitLoopSwitch.Port( 'Index' )
-Switcha = GraphSwitchCrash.Link( InitLoopSwitchIndex , Switch.Port( 'a' ) )
-
-InitLoopSwitchMin = InitLoopSwitch.Port( 'Min' )
-EndOfInitLoopSwitchMin = GraphSwitchCrash.Link( InitLoopSwitchMin , EndOfInitLoopSwitch.Port( 'Min' ) )
-
-InitLoopSwitchMax = InitLoopSwitch.Port( 'Max' )
-EndOfInitLoopSwitchMax = GraphSwitchCrash.Link( InitLoopSwitchMax , EndOfInitLoopSwitch.Port( 'Max' ) )
-
-SwitchOdd = Switch.Port( 'Odd' )
-IsOddInGate = GraphSwitchCrash.Link( SwitchOdd , IsOdd.Port( 'InGate' ) )
-
-Switcha = Switch.Port( 'a' )
-IsOdda = GraphSwitchCrash.Link( Switcha , IsOdd.Port( 'a' ) )
-IsOdda.AddCoord( 1 , 365 , 129 )
-IsOdda.AddCoord( 2 , 365 , 222 )
-
-SwitchDefault = Switch.Port( 'Default' )
-EndOfSwitchDefault = GraphSwitchCrash.Link( SwitchDefault , EndOfSwitch.Port( 'Default' ) )
-EndOfSwitchDefault.AddCoord( 1 , 572 , 194 )
-EndOfSwitchDefault.AddCoord( 2 , 571 , 257 )
-
-EndOfSwitcha = EndOfSwitch.Port( 'a' )
-EndOfInitLoopSwitchIndex = GraphSwitchCrash.Link( EndOfSwitcha , EndOfInitLoopSwitch.Port( 'Index' ) )
-
-IsOdd_1a = IsOdd_1.Port( 'a' )
-EndSwitcha = GraphSwitchCrash.Link( IsOdd_1a , EndSwitch.Port( 'a' ) )
-EndSwitcha.AddCoord( 1 , 599 , 416 )
-EndSwitcha.AddCoord( 2 , 598 , 358 )
-
-InitLoopIndex = InitLoop.Port( 'Index' )
-Switch_1a = GraphSwitchCrash.Link( InitLoopIndex , Switch_1.Port( 'a' ) )
-
-InitLoopMin = InitLoop.Port( 'Min' )
-EndOfInitLoopMin = GraphSwitchCrash.Link( InitLoopMin , EndOfInitLoop.Port( 'Min' ) )
-
-InitLoopMax = InitLoop.Port( 'Max' )
-EndOfInitLoopMax = GraphSwitchCrash.Link( InitLoopMax , EndOfInitLoop.Port( 'Max' ) )
-
-Switch_1Odd = Switch_1.Port( 'Odd' )
-IsOdd_1InGate = GraphSwitchCrash.Link( Switch_1Odd , IsOdd_1.Port( 'InGate' ) )
-
-Switch_1Even = Switch_1.Port( 'Even' )
-EndSwitchDefault = GraphSwitchCrash.Link( Switch_1Even , EndSwitch.Port( 'Default' ) )
-
-IsOdd_1Even = GraphSwitchCrash.Link( Switch_1Even , IsOdd_1.Port( 'Even' ) )
-IsOdd_1Even.AddCoord( 1 , 402 , 388 )
-IsOdd_1Even.AddCoord( 2 , 402 , 450 )
-
-Switch_1a = Switch_1.Port( 'a' )
-IsOdd_1a = GraphSwitchCrash.Link( Switch_1a , IsOdd_1.Port( 'a' ) )
-IsOdd_1a.AddCoord( 1 , 377 , 358 )
-IsOdd_1a.AddCoord( 2 , 378 , 481 )
-
-EndSwitcha = EndSwitch.Port( 'a' )
-EndOfInitLoopIndex = GraphSwitchCrash.Link( EndSwitcha , EndOfInitLoop.Port( 'Index' ) )
-
-# Creation of Input datas
-InitLoopSwitchIndex = InitLoopSwitch.Input( 'Index' , 0)
-InitLoopSwitchMin = InitLoopSwitch.Input( 'Min' , 0)
-InitLoopSwitchMax = InitLoopSwitch.Input( 'Max' , 100)
-InitLoopIndex = InitLoop.Input( 'Index' , 0)
-InitLoopMin = InitLoop.Input( 'Min' , 0)
-InitLoopMax = InitLoop.Input( 'Max' , 100)
-
-# Creation of Output variables
-EndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.Port( 'Index' )
-EndOfInitLoopSwitchMin = EndOfInitLoopSwitch.Port( 'Min' )
-EndOfInitLoopSwitchMax = EndOfInitLoopSwitch.Port( 'Max' )
-SwitchEven = Switch.Port( 'Even' )
-EndOfInitLoopIndex = EndOfInitLoop.Port( 'Index' )
-EndOfInitLoopMin = EndOfInitLoop.Port( 'Min' )
-EndOfInitLoopMax = EndOfInitLoop.Port( 'Max' )
-
-GraphSwitchCrash.Run()
-GraphSwitchCrash.DoneW()
-print GraphSwitchCrash.State()
-GraphSwitchCrash.PrintPorts()
+GraphSwitchCrash_1 = DefGraphSwitchCrash_1()
index 50c0b252b42ce3beb562fabe801c9b95761a4ff2..d536a406237d2e847821b95beb53ad067e1f797f 100755 (executable)
-<!DOCTYPE Dataflow>
+<!DOCTYPE SuperGraph>
+<supergraph>
 <dataflow>
 <info-list>
 <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>GraphSwitchCrash</node-name>
-   <kind>1</kind>
-   <coupled-node>?</coupled-node>
-   <service>
-<service-name>GraphSwitchCrash</service-name>
-    <inParameter-list>
+    <interface-name>?</interface-name>
+    <node-name>GraphSwitchCrash_1</node-name>
+    <kind>1</kind>
+    <coupled-node>?</coupled-node>
+    <service>
+<service-name>GraphSwitchCrash_1</service-name>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>InitLoopSwitch\Index</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>InitLoopSwitch__Index</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>InitLoopSwitch\Min</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>InitLoopSwitch__Min</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>InitLoopSwitch\Max</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>InitLoopSwitch__Max</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>InitLoop\Index</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>InitLoop__Index</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>InitLoop\Min</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>InitLoop__Min</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>InitLoop\Max</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>InitLoop__Max</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfInitLoopSwitch\Index</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfInitLoopSwitch__Index</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfInitLoopSwitch\Min</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfInitLoopSwitch\Max</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>int</outParameter-type>
-      <outParameter-name>Switch\Even</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Switch__Even</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfInitLoop\Index</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfInitLoop__Index</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfInitLoop\Min</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfInitLoop__Min</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfInitLoop\Max</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list/>
-   <creation-date>14/10/2003 - 10:29:4</creation-date>
-   <lastmodification-date>15/10/2003 - 18:11:6</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>0</x-position>
-   <y-position>0</y-position>  </node> </info-list>
- <node-list>
+       <outParameter-name>EndOfInitLoop__Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list/>
+    <creation-date>14/10/2003 - 10:29:4</creation-date>
+    <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>?</comment>
+    <x-position>0</x-position>
+    <y-position>0</y-position>   </node>  </info-list>
 <node-list>
 <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>IsOdd</node-name>
-   <kind>3</kind>
-   <coupled-node>?</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>IsOdd</node-name>
+    <kind>3</kind>
+    <coupled-node>?</coupled-node>
+    <service>
 <service-name>IsOdd</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>IsOdd</FuncName>
-     <PyFunc><![CDATA[from time import *   ]]></PyFunc>
-     <PyFunc><![CDATA[def IsOdd(a) :       ]]></PyFunc>
-     <PyFunc><![CDATA[    print a,"IsOdd (IsOdd)"      ]]></PyFunc>
-     <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
-     <PyFunc><![CDATA[    return a     ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>15/10/2003 - 18:11:6</creation-date>
-   <lastmodification-date>15/10/2003 - 18:11:6</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>Python function</comment>
-   <x-position>388</x-position>
-   <y-position>50</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[from time import *   ]]></PyFunc>
+      <PyFunc><![CDATA[def IsOdd(a) :       ]]></PyFunc>
+      <PyFunc><![CDATA[    print a,"IsOdd (IsOdd)"      ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
+      <PyFunc><![CDATA[    return a     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 16:57:44</creation-date>
+    <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Python function</comment>
+    <x-position>387</x-position>
+    <y-position>58</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>InitLoopSwitch</node-name>
-   <kind>4</kind>
-   <coupled-node>EndOfInitLoopSwitch</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>InitLoopSwitch</node-name>
+    <kind>4</kind>
+    <coupled-node>EndOfInitLoopSwitch</coupled-node>
+    <service>
 <service-name>InitLoopSwitch</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Index</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Index</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Min</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Min</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Max</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>Max</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Index</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Index</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Min</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Min</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Max</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>InitLoop</FuncName>
-     <PyFunc><![CDATA[def InitLoop(Index,Min,Max) :      ]]></PyFunc>
-     <PyFunc><![CDATA[ return Index,Min,Max     ]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[def InitLoop(Index,Min,Max) :      ]]></PyFunc>
+      <PyFunc><![CDATA[        return Index,Min,Max     ]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>MoreLoop</FuncName>
-     <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) :     ]]></PyFunc>
-     <PyFunc><![CDATA[ if Index <= Max :   ]]></PyFunc>
-     <PyFunc><![CDATA[         DoLoop = 1     ]]></PyFunc>
-     <PyFunc><![CDATA[ else :     ]]></PyFunc>
-     <PyFunc><![CDATA[         DoLoop = 0     ]]></PyFunc>
-     <PyFunc><![CDATA[ return DoLoop,Index,Min,Max     ]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) :     ]]></PyFunc>
+      <PyFunc><![CDATA[        if Index <= Max :   ]]></PyFunc>
+      <PyFunc><![CDATA[                DoLoop = 1     ]]></PyFunc>
+      <PyFunc><![CDATA[        else :     ]]></PyFunc>
+      <PyFunc><![CDATA[                DoLoop = 0     ]]></PyFunc>
+      <PyFunc><![CDATA[        return DoLoop,Index,Min,Max     ]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>NextLoop</FuncName>
-     <PyFunc><![CDATA[def NextLoop(Index,Min,Max) :     ]]></PyFunc>
-     <PyFunc><![CDATA[ Index = Index + 1     ]]></PyFunc>
-     <PyFunc><![CDATA[ return Index,Min,Max     ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>15/10/2003 - 18:11:6</creation-date>
-   <lastmodification-date>15/10/2003 - 18:11:6</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>10</x-position>
-   <y-position>129</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[def NextLoop(Index,Min,Max) :     ]]></PyFunc>
+      <PyFunc><![CDATA[        Index = Index + 1     ]]></PyFunc>
+      <PyFunc><![CDATA[        return Index,Min,Max     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 16:57:44</creation-date>
+    <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>10</x-position>
+    <y-position>129</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>EndOfInitLoopSwitch</node-name>
-   <kind>5</kind>
-   <coupled-node>InitLoopSwitch</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>EndOfInitLoopSwitch</node-name>
+    <kind>5</kind>
+    <coupled-node>InitLoopSwitch</coupled-node>
+    <service>
 <service-name>EndOfInitLoopSwitch</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Index</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Index</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Min</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Min</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Max</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>Max</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Index</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Index</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Min</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Min</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Max</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
-<PyFunction/>   </PyFunction-list>
-   <creation-date>15/10/2003 - 18:11:6</creation-date>
-   <lastmodification-date>15/10/2003 - 18:11:6</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>766</x-position>
-   <y-position>127</y-position>  </node>
-  <node>
+       <outParameter-name>Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
+<PyFunction>
+<FuncName>?</FuncName>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 16:57:44</creation-date>
+    <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>766</x-position>
+    <y-position>127</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>Switch</node-name>
-   <kind>6</kind>
-   <coupled-node>EndOfSwitch</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>Switch</node-name>
+    <kind>6</kind>
+    <coupled-node>EndOfSwitch</coupled-node>
+    <service>
 <service-name>Switch</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Odd</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Odd</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>int</outParameter-type>
-      <outParameter-name>Even</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Even</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>int</outParameter-type>
-      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>Switch</FuncName>
-     <PyFunc><![CDATA[from time import * ]]></PyFunc>
-     <PyFunc><![CDATA[def Switch(a) :   ]]></PyFunc>
-     <PyFunc><![CDATA[    if ( a & 1 ) == 0 : ]]></PyFunc>
-     <PyFunc><![CDATA[        sleep(1)    ]]></PyFunc>
-     <PyFunc><![CDATA[    return a & 1,1-(a&1),a    ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>15/10/2003 - 18:11:6</creation-date>
-   <lastmodification-date>15/10/2003 - 18:11:6</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>186</x-position>
-   <y-position>130</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[from time import * ]]></PyFunc>
+      <PyFunc><![CDATA[def Switch(a) :   ]]></PyFunc>
+      <PyFunc><![CDATA[    if ( a & 1 ) == 0 : ]]></PyFunc>
+      <PyFunc><![CDATA[        sleep(1)    ]]></PyFunc>
+      <PyFunc><![CDATA[    return a & 1,1-(a&1),a    ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 16:57:44</creation-date>
+    <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>186</x-position>
+    <y-position>130</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>EndOfSwitch</node-name>
-   <kind>7</kind>
-   <coupled-node>Switch</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>EndOfSwitch</node-name>
+    <kind>7</kind>
+    <coupled-node>Switch</coupled-node>
+    <service>
 <service-name>EndOfSwitch</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
-<PyFunction/>   </PyFunction-list>
-   <creation-date>15/10/2003 - 18:11:6</creation-date>
-   <lastmodification-date>15/10/2003 - 18:11:6</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>587</x-position>
-   <y-position>126</y-position>  </node>
-  <node>
+       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
+<PyFunction>
+<FuncName>?</FuncName>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 16:57:44</creation-date>
+    <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>587</x-position>
+    <y-position>126</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>IsOdd_1</node-name>
-   <kind>3</kind>
-   <coupled-node>?</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>IsOdd_1</node-name>
+    <kind>3</kind>
+    <coupled-node>?</coupled-node>
+    <service>
 <service-name>IsOdd_1</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>a</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>a</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>boolean</inParameter-type>
-      <inParameter-name>Even</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>Even</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>IsOdd</FuncName>
-     <PyFunc><![CDATA[from time import *    ]]></PyFunc>
-     <PyFunc><![CDATA[def IsOdd(a,Even) :        ]]></PyFunc>
-     <PyFunc><![CDATA[    print a,"IsOdd (IsOdd_1)"       ]]></PyFunc>
-     <PyFunc><![CDATA[    sleep( 1 )    ]]></PyFunc>
-     <PyFunc><![CDATA[    return a      ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>15/10/2003 - 18:11:6</creation-date>
-   <lastmodification-date>15/10/2003 - 18:11:6</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>Python function</comment>
-   <x-position>419</x-position>
-   <y-position>279</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[from time import *    ]]></PyFunc>
+      <PyFunc><![CDATA[def IsOdd(a,Even) :        ]]></PyFunc>
+      <PyFunc><![CDATA[    print a,"IsOdd (IsOdd_1)"       ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep( 1 )    ]]></PyFunc>
+      <PyFunc><![CDATA[    return a      ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 16:57:44</creation-date>
+    <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Python function</comment>
+    <x-position>417</x-position>
+    <y-position>287</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>InitLoop</node-name>
-   <kind>4</kind>
-   <coupled-node>EndOfInitLoop</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>InitLoop</node-name>
+    <kind>4</kind>
+    <coupled-node>EndOfInitLoop</coupled-node>
+    <service>
 <service-name>InitLoop</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Index</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Index</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Min</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Min</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Max</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>Max</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Index</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Index</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Min</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Min</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Max</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>InitLoop</FuncName>
-     <PyFunc><![CDATA[def InitLoop(Index,Min,Max) :      ]]></PyFunc>
-     <PyFunc><![CDATA[ return Index,Min,Max     ]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[def InitLoop(Index,Min,Max) :      ]]></PyFunc>
+      <PyFunc><![CDATA[        return Index,Min,Max     ]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>MoreLoop</FuncName>
-     <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) :     ]]></PyFunc>
-     <PyFunc><![CDATA[ if Index <= Max :   ]]></PyFunc>
-     <PyFunc><![CDATA[         DoLoop = 1     ]]></PyFunc>
-     <PyFunc><![CDATA[ else :     ]]></PyFunc>
-     <PyFunc><![CDATA[         DoLoop = 0     ]]></PyFunc>
-     <PyFunc><![CDATA[ return DoLoop,Index,Min,Max     ]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) :     ]]></PyFunc>
+      <PyFunc><![CDATA[        if Index <= Max :   ]]></PyFunc>
+      <PyFunc><![CDATA[                DoLoop = 1     ]]></PyFunc>
+      <PyFunc><![CDATA[        else :     ]]></PyFunc>
+      <PyFunc><![CDATA[                DoLoop = 0     ]]></PyFunc>
+      <PyFunc><![CDATA[        return DoLoop,Index,Min,Max     ]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>NextLoop</FuncName>
-     <PyFunc><![CDATA[def NextLoop(Index,Min,Max) :     ]]></PyFunc>
-     <PyFunc><![CDATA[ Index = Index + 1     ]]></PyFunc>
-     <PyFunc><![CDATA[ return Index,Min,Max     ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>15/10/2003 - 18:11:6</creation-date>
-   <lastmodification-date>15/10/2003 - 18:11:6</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>10</x-position>
-   <y-position>388</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[def NextLoop(Index,Min,Max) :     ]]></PyFunc>
+      <PyFunc><![CDATA[        Index = Index + 1     ]]></PyFunc>
+      <PyFunc><![CDATA[        return Index,Min,Max     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 16:57:44</creation-date>
+    <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>10</x-position>
+    <y-position>388</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>EndOfInitLoop</node-name>
-   <kind>5</kind>
-   <coupled-node>InitLoop</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>EndOfInitLoop</node-name>
+    <kind>5</kind>
+    <coupled-node>InitLoop</coupled-node>
+    <service>
 <service-name>EndOfInitLoop</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Index</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Index</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Min</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>Min</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>Max</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>Max</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Index</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Index</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Min</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Min</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Max</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
-<PyFunction/>   </PyFunction-list>
-   <creation-date>15/10/2003 - 18:11:6</creation-date>
-   <lastmodification-date>15/10/2003 - 18:11:6</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>783</x-position>
-   <y-position>381</y-position>  </node>
-  <node>
+       <outParameter-name>Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
+<PyFunction>
+<FuncName>?</FuncName>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 16:57:44</creation-date>
+    <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>783</x-position>
+    <y-position>381</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>Switch_1</node-name>
-   <kind>6</kind>
-   <coupled-node>EndSwitch</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>Switch_1</node-name>
+    <kind>6</kind>
+    <coupled-node>EndSwitch</coupled-node>
+    <service>
 <service-name>Switch_1</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>Odd</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Odd</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>int</outParameter-type>
-      <outParameter-name>Even</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Even</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>int</outParameter-type>
-      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>Switch</FuncName>
-     <PyFunc><![CDATA[from time import *  ]]></PyFunc>
-     <PyFunc><![CDATA[def Switch(a) :    ]]></PyFunc>
-     <PyFunc><![CDATA[    if ( a & 1 ) == 0 :  ]]></PyFunc>
-     <PyFunc><![CDATA[        sleep(1)  ]]></PyFunc>
-     <PyFunc><![CDATA[    return a & 1,1-(a&1),a    ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>15/10/2003 - 18:11:6</creation-date>
-   <lastmodification-date>15/10/2003 - 18:11:6</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>193</x-position>
-   <y-position>388</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[from time import *  ]]></PyFunc>
+      <PyFunc><![CDATA[def Switch(a) :    ]]></PyFunc>
+      <PyFunc><![CDATA[    if ( a & 1 ) == 0 :  ]]></PyFunc>
+      <PyFunc><![CDATA[        sleep(1)  ]]></PyFunc>
+      <PyFunc><![CDATA[    return a & 1,1-(a&1),a    ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 16:57:44</creation-date>
+    <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>193</x-position>
+    <y-position>388</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>EndSwitch</node-name>
-   <kind>7</kind>
-   <coupled-node>Switch_1</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>EndSwitch</node-name>
+    <kind>7</kind>
+    <coupled-node>Switch_1</coupled-node>
+    <service>
 <service-name>EndSwitch</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>a</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>a</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
-<PyFunction/>   </PyFunction-list>
-   <creation-date>15/10/2003 - 18:11:6</creation-date>
-   <lastmodification-date>15/10/2003 - 18:11:6</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>605</x-position>
-   <y-position>382</y-position>  </node> </node-list>
- <link-list>
+       <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
+<PyFunction>
+<FuncName>?</FuncName>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>8/3/2005 - 16:57:44</creation-date>
+    <lastmodification-date>8/3/2005 - 16:57:44</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>605</x-position>
+    <y-position>382</y-position>   </node>  </node-list>
+  <link-list>
 <link>
 <fromnode-name>IsOdd</fromnode-name>
-   <fromserviceparameter-name>a</fromserviceparameter-name>
-   <tonode-name>EndOfSwitch</tonode-name>
-   <toserviceparameter-name>a</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>EndOfSwitch</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
+    <coord-list>
 <coord>
-<x>573</x>
-     <y>160</y>    </coord>
-    <coord>
 <x>572</x>
-     <y>130</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>157</y>     </coord>
+     <coord>
+<x>572</x>
+      <y>130</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>InitLoopSwitch</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoopSwitch</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoopSwitch</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>InitLoopSwitch</fromnode-name>
-   <fromserviceparameter-name>Index</fromserviceparameter-name>
-   <tonode-name>Switch</tonode-name>
-   <toserviceparameter-name>a</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Index</fromserviceparameter-name>
+    <tonode-name>Switch</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>InitLoopSwitch</fromnode-name>
-   <fromserviceparameter-name>Min</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoopSwitch</tonode-name>
-   <toserviceparameter-name>Min</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Min</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoopSwitch</tonode-name>
+    <toserviceparameter-name>Min</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>InitLoopSwitch</fromnode-name>
-   <fromserviceparameter-name>Max</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoopSwitch</tonode-name>
-   <toserviceparameter-name>Max</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Max</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoopSwitch</tonode-name>
+    <toserviceparameter-name>Max</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndOfInitLoopSwitch</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>InitLoopSwitch</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>InitLoopSwitch</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>Switch</fromnode-name>
-   <fromserviceparameter-name>Odd</fromserviceparameter-name>
-   <tonode-name>IsOdd</tonode-name>
-   <toserviceparameter-name>InGate</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Odd</fromserviceparameter-name>
+    <tonode-name>IsOdd</tonode-name>
+    <toserviceparameter-name>Gate</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>Switch</fromnode-name>
-   <fromserviceparameter-name>a</fromserviceparameter-name>
-   <tonode-name>IsOdd</tonode-name>
-   <toserviceparameter-name>a</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>IsOdd</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
+    <coord-list>
 <coord>
 <x>365</x>
-     <y>129</y>    </coord>
-    <coord>
+      <y>129</y>     </coord>
+     <coord>
 <x>365</x>
-     <y>222</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>201</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>Switch</fromnode-name>
-   <fromserviceparameter-name>Default</fromserviceparameter-name>
-   <tonode-name>EndOfSwitch</tonode-name>
-   <toserviceparameter-name>Default</toserviceparameter-name>
-   <coord-list>
-<coord>
-<x>572</x>
-     <y>194</y>    </coord>
-    <coord>
-<x>571</x>
-     <y>257</y>    </coord>   </coord-list>  </link>
-  <link>
+    <fromserviceparameter-name>Default</fromserviceparameter-name>
+    <tonode-name>EndOfSwitch</tonode-name>
+    <toserviceparameter-name>Default</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndOfSwitch</fromnode-name>
-   <fromserviceparameter-name>a</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoopSwitch</tonode-name>
-   <toserviceparameter-name>Index</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoopSwitch</tonode-name>
+    <toserviceparameter-name>Index</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>IsOdd_1</fromnode-name>
-   <fromserviceparameter-name>a</fromserviceparameter-name>
-   <tonode-name>EndSwitch</tonode-name>
-   <toserviceparameter-name>a</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>EndSwitch</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
+    <coord-list>
 <coord>
-<x>599</x>
-     <y>416</y>    </coord>
-    <coord>
-<x>598</x>
-     <y>358</y>    </coord>   </coord-list>  </link>
-  <link>
+<x>593</x>
+      <y>411</y>     </coord>
+     <coord>
+<x>593</x>
+      <y>358</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>InitLoop</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoop</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoop</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>InitLoop</fromnode-name>
-   <fromserviceparameter-name>Index</fromserviceparameter-name>
-   <tonode-name>Switch_1</tonode-name>
-   <toserviceparameter-name>a</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Index</fromserviceparameter-name>
+    <tonode-name>Switch_1</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>InitLoop</fromnode-name>
-   <fromserviceparameter-name>Min</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoop</tonode-name>
-   <toserviceparameter-name>Min</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Min</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoop</tonode-name>
+    <toserviceparameter-name>Min</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>InitLoop</fromnode-name>
-   <fromserviceparameter-name>Max</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoop</tonode-name>
-   <toserviceparameter-name>Max</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Max</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoop</tonode-name>
+    <toserviceparameter-name>Max</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndOfInitLoop</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>InitLoop</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
-<fromnode-name>Switch_1</fromnode-name>
-   <fromserviceparameter-name>Odd</fromserviceparameter-name>
-   <tonode-name>IsOdd_1</tonode-name>
-   <toserviceparameter-name>InGate</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>InitLoop</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>Switch_1</fromnode-name>
-   <fromserviceparameter-name>Even</fromserviceparameter-name>
-   <tonode-name>EndSwitch</tonode-name>
-   <toserviceparameter-name>Default</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Odd</fromserviceparameter-name>
+    <tonode-name>IsOdd_1</tonode-name>
+    <toserviceparameter-name>Gate</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>Switch_1</fromnode-name>
-   <fromserviceparameter-name>Even</fromserviceparameter-name>
-   <tonode-name>IsOdd_1</tonode-name>
-   <toserviceparameter-name>Even</toserviceparameter-name>
-   <coord-list>
-<coord>
-<x>402</x>
-     <y>388</y>    </coord>
-    <coord>
-<x>402</x>
-     <y>450</y>    </coord>   </coord-list>  </link>
-  <link>
+    <fromserviceparameter-name>Even</fromserviceparameter-name>
+    <tonode-name>IsOdd_1</tonode-name>
+    <toserviceparameter-name>Even</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>Switch_1</fromnode-name>
-   <fromserviceparameter-name>a</fromserviceparameter-name>
-   <tonode-name>IsOdd_1</tonode-name>
-   <toserviceparameter-name>a</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>IsOdd_1</tonode-name>
+    <toserviceparameter-name>a</toserviceparameter-name>
+    <coord-list>
 <coord>
 <x>377</x>
-     <y>358</y>    </coord>
-    <coord>
-<x>378</x>
-     <y>481</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>358</y>     </coord>
+     <coord>
+<x>377</x>
+      <y>460</y>     </coord>    </coord-list>   </link>
+   <link>
+<fromnode-name>Switch_1</fromnode-name>
+    <fromserviceparameter-name>Default</fromserviceparameter-name>
+    <tonode-name>EndSwitch</tonode-name>
+    <toserviceparameter-name>Default</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndSwitch</fromnode-name>
-   <fromserviceparameter-name>a</fromserviceparameter-name>
-   <tonode-name>EndOfInitLoop</tonode-name>
-   <toserviceparameter-name>Index</toserviceparameter-name>
-   <coord-list/>  </link> </link-list>
- <data-list>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoop</tonode-name>
+    <toserviceparameter-name>Index</toserviceparameter-name>
+    <coord-list/>   </link>  </link-list>
 <data-list>
 <data>
-<fromnode-name>GraphSwitchCrash</fromnode-name>
-   <fromserviceparameter-name>InitLoopSwitch\Index</fromserviceparameter-name>
-   <tonode-name>InitLoopSwitch</tonode-name>
-   <toserviceparameter-name>Index</toserviceparameter-name>
-   <data-value>
+<fromnode-name>GraphSwitchCrash_1</fromnode-name>
+    <fromserviceparameter-name>InitLoopSwitch__Index</fromserviceparameter-name>
+    <tonode-name>InitLoopSwitch</tonode-name>
+    <toserviceparameter-name>Index</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>0</value>   </data-value>
-   <coord-list/>  </data>
-  <data>
-<fromnode-name>GraphSwitchCrash</fromnode-name>
-   <fromserviceparameter-name>InitLoopSwitch\Min</fromserviceparameter-name>
-   <tonode-name>InitLoopSwitch</tonode-name>
-   <toserviceparameter-name>Min</toserviceparameter-name>
-   <data-value>
+     <value>0</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
+<fromnode-name>GraphSwitchCrash_1</fromnode-name>
+    <fromserviceparameter-name>InitLoopSwitch__Min</fromserviceparameter-name>
+    <tonode-name>InitLoopSwitch</tonode-name>
+    <toserviceparameter-name>Min</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>0</value>   </data-value>
-   <coord-list/>  </data>
-  <data>
-<fromnode-name>GraphSwitchCrash</fromnode-name>
-   <fromserviceparameter-name>InitLoopSwitch\Max</fromserviceparameter-name>
-   <tonode-name>InitLoopSwitch</tonode-name>
-   <toserviceparameter-name>Max</toserviceparameter-name>
-   <data-value>
+     <value>0</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
+<fromnode-name>GraphSwitchCrash_1</fromnode-name>
+    <fromserviceparameter-name>InitLoopSwitch__Max</fromserviceparameter-name>
+    <tonode-name>InitLoopSwitch</tonode-name>
+    <toserviceparameter-name>Max</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>100</value>   </data-value>
-   <coord-list/>  </data>
-  <data>
-<fromnode-name>GraphSwitchCrash</fromnode-name>
-   <fromserviceparameter-name>InitLoop\Index</fromserviceparameter-name>
-   <tonode-name>InitLoop</tonode-name>
-   <toserviceparameter-name>Index</toserviceparameter-name>
-   <data-value>
+     <value>23</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
+<fromnode-name>GraphSwitchCrash_1</fromnode-name>
+    <fromserviceparameter-name>InitLoop__Index</fromserviceparameter-name>
+    <tonode-name>InitLoop</tonode-name>
+    <toserviceparameter-name>Index</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>0</value>   </data-value>
-   <coord-list/>  </data>
-  <data>
-<fromnode-name>GraphSwitchCrash</fromnode-name>
-   <fromserviceparameter-name>InitLoop\Min</fromserviceparameter-name>
-   <tonode-name>InitLoop</tonode-name>
-   <toserviceparameter-name>Min</toserviceparameter-name>
-   <data-value>
+     <value>0</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
+<fromnode-name>GraphSwitchCrash_1</fromnode-name>
+    <fromserviceparameter-name>InitLoop__Min</fromserviceparameter-name>
+    <tonode-name>InitLoop</tonode-name>
+    <toserviceparameter-name>Min</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>0</value>   </data-value>
-   <coord-list/>  </data>
-  <data>
-<fromnode-name>GraphSwitchCrash</fromnode-name>
-   <fromserviceparameter-name>InitLoop\Max</fromserviceparameter-name>
-   <tonode-name>InitLoop</tonode-name>
-   <toserviceparameter-name>Max</toserviceparameter-name>
-   <data-value>
+     <value>0</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
+<fromnode-name>GraphSwitchCrash_1</fromnode-name>
+    <fromserviceparameter-name>InitLoop__Max</fromserviceparameter-name>
+    <tonode-name>InitLoop</tonode-name>
+    <toserviceparameter-name>Max</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>100</value>   </data-value>
-   <coord-list/>  </data> </data-list></dataflow>
+     <value>31</value>    </data-value>
+    <coord-list/>   </data>  </data-list> </dataflow></supergraph>
index 94ae98d33b61a9d924e2f6f3936734db2b54261b..bf061a15a9ad850edb24c9ce77c45bc5c4d83a0e 100644 (file)
@@ -1,15 +1,15 @@
 
-# Generated python file of Graph GraphSwitch_1_1_1
+# Generated python file of Graph GraphSwitchOutputNOTValid
 
 from SuperV import *
 
-# Graph creation of GraphSwitch_1_1_1
-def DefGraphSwitch_1_1_1() :
-    GraphSwitch_1_1_1 = Graph( 'GraphSwitch_1_1_1' )
-    GraphSwitch_1_1_1.SetName( 'GraphSwitch_1_1_1' )
-    GraphSwitch_1_1_1.SetAuthor( '' )
-    GraphSwitch_1_1_1.SetComment( '' )
-    GraphSwitch_1_1_1.Coords( 0 , 0 )
+# Graph creation of GraphSwitchOutputNOTValid
+def DefGraphSwitchOutputNOTValid() :
+    GraphSwitchOutputNOTValid = Graph( 'GraphSwitchOutputNOTValid' )
+    GraphSwitchOutputNOTValid.SetName( 'GraphSwitchOutputNOTValid' )
+    GraphSwitchOutputNOTValid.SetAuthor( 'JR' )
+    GraphSwitchOutputNOTValid.SetComment( '' )
+    GraphSwitchOutputNOTValid.Coords( 0 , 0 )
     
     # Creation of Factory Nodes
     
@@ -20,7 +20,7 @@ def DefGraphSwitch_1_1_1() :
     PyIsOdd.append( '    print a,"IsOdd (GraphSwitch)"      ' )
     PyIsOdd.append( '    sleep( 1 )   ' )
     PyIsOdd.append( '    return a     ' )
-    IsOdd = GraphSwitch_1_1_1.INode( 'IsOdd' , PyIsOdd )
+    IsOdd = GraphSwitchOutputNOTValid.INode( 'IsOdd' , PyIsOdd )
     IsOdd.SetName( 'IsOdd' )
     IsOdd.SetAuthor( '' )
     IsOdd.SetComment( 'Python function' )
@@ -36,11 +36,11 @@ def DefGraphSwitch_1_1_1() :
     PyIsEven.append( '    print a,"IsEven (GraphSwitch)"       ' )
     PyIsEven.append( '    sleep( 1 )    ' )
     PyIsEven.append( '    return a      ' )
-    IsEven = GraphSwitch_1_1_1.INode( 'IsEven' , PyIsEven )
+    IsEven = GraphSwitchOutputNOTValid.INode( 'IsEven' , PyIsEven )
     IsEven.SetName( 'IsEven' )
     IsEven.SetAuthor( '' )
     IsEven.SetComment( 'Compute Node' )
-    IsEven.Coords( 395 , 334 )
+    IsEven.Coords( 432 , 337 )
     IIsEvena = IsEven.InPort( 'a' , 'long' )
     IIsEvenGate = IsEven.GetInPort( 'Gate' )
     OIsEvena = IsEven.OutPort( 'a' , 'long' )
@@ -50,11 +50,11 @@ def DefGraphSwitch_1_1_1() :
     PyPrint.append( 'def Print(a,Branch) :   ' )
     PyPrint.append( '    print "Print ",Branch   ' )
     PyPrint.append( '    return a,Branch   ' )
-    Print = GraphSwitch_1_1_1.INode( 'Print' , PyPrint )
+    Print = GraphSwitchOutputNOTValid.INode( 'Print' , PyPrint )
     Print.SetName( 'Print' )
     Print.SetAuthor( '' )
     Print.SetComment( 'Compute Node' )
-    Print.Coords( 639 , 63 )
+    Print.Coords( 639 , 50 )
     IPrinta = Print.InPort( 'a' , 'long' )
     IPrintBranch = Print.InPort( 'Branch' , 'string' )
     IPrintGate = Print.GetInPort( 'Gate' )
@@ -66,11 +66,11 @@ def DefGraphSwitch_1_1_1() :
     PyPrint_1.append( 'def Print_1(a,Branch) :   ' )
     PyPrint_1.append( '    print "Print ",Branch   ' )
     PyPrint_1.append( '    return a,Branch   ' )
-    Print_1 = GraphSwitch_1_1_1.INode( 'Print_1' , PyPrint_1 )
+    Print_1 = GraphSwitchOutputNOTValid.INode( 'Print_1' , PyPrint_1 )
     Print_1.SetName( 'Print_1' )
     Print_1.SetAuthor( '' )
     Print_1.SetComment( 'Compute Node' )
-    Print_1.Coords( 639 , 263 )
+    Print_1.Coords( 645 , 250 )
     IPrint_1a = Print_1.InPort( 'a' , 'long' )
     IPrint_1Branch = Print_1.InPort( 'Branch' , 'string' )
     IPrint_1Gate = Print_1.GetInPort( 'Gate' )
@@ -94,7 +94,7 @@ def DefGraphSwitch_1_1_1() :
     PyNextInitLoopSwitch.append( 'def NextLoop(Index,Min,Max) :      ' )
     PyNextInitLoopSwitch.append( '     Index = Index - 1      ' )
     PyNextInitLoopSwitch.append( '     return Index,Min,Max      ' )
-    InitLoopSwitch,EndOfInitLoopSwitch = GraphSwitch_1_1_1.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
+    InitLoopSwitch,EndOfInitLoopSwitch = GraphSwitchOutputNOTValid.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
     EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
     EndOfInitLoopSwitch.SetAuthor( '' )
     EndOfInitLoopSwitch.SetComment( 'Compute Node' )
@@ -138,7 +138,7 @@ def DefGraphSwitch_1_1_1() :
     PySwitch.append( '        Branch = 'Odd'   ' )
     PySwitch.append( '    sleep(1)   ' )
     PySwitch.append( '    return a & 1,1-(a&1),a,Branch,0 ' )
-    Switch,EndOfSwitch = GraphSwitch_1_1_1.SNode( 'Switch' , PySwitch )
+    Switch,EndOfSwitch = GraphSwitchOutputNOTValid.SNode( 'Switch' , PySwitch )
     EndOfSwitch.SetName( 'EndOfSwitch' )
     EndOfSwitch.SetAuthor( '' )
     EndOfSwitch.SetComment( 'Compute Node' )
@@ -163,35 +163,35 @@ def DefGraphSwitch_1_1_1() :
     OSwitchDefault = Switch.GetOutPort( 'Default' )
     
     # Creation of Links
-    LIsOddaPrinta = GraphSwitch_1_1_1.Link( OIsOdda , IPrinta )
+    LIsOddaPrinta = GraphSwitchOutputNOTValid.Link( OIsOdda , IPrinta )
     
-    LInitLoopSwitchIndexSwitcha = GraphSwitch_1_1_1.Link( OInitLoopSwitchIndex , ISwitcha )
+    LInitLoopSwitchIndexSwitcha = GraphSwitchOutputNOTValid.Link( OInitLoopSwitchIndex , ISwitcha )
     
-    LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitch_1_1_1.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
+    LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchOutputNOTValid.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
     
-    LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitch_1_1_1.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
+    LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchOutputNOTValid.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
     
-    LIsEvenaPrint_1a = GraphSwitch_1_1_1.Link( OIsEvena , IPrint_1a )
+    LIsEvenaPrint_1a = GraphSwitchOutputNOTValid.Link( OIsEvena , IPrint_1a )
     
-    LSwitchOddIsOddGate = GraphSwitch_1_1_1.Link( OSwitchOdd , IIsOddGate )
+    LSwitchOddIsOddGate = GraphSwitchOutputNOTValid.Link( OSwitchOdd , IIsOddGate )
     
-    LSwitchEvenIsEvenGate = GraphSwitch_1_1_1.Link( OSwitchEven , IIsEvenGate )
+    LSwitchEvenIsEvenGate = GraphSwitchOutputNOTValid.Link( OSwitchEven , IIsEvenGate )
     
-    LSwitchaIsOdda = GraphSwitch_1_1_1.Link( OSwitcha , IIsOdda )
+    LSwitchaIsOdda = GraphSwitchOutputNOTValid.Link( OSwitcha , IIsOdda )
     
-    LSwitchaIsEvena = GraphSwitch_1_1_1.Link( OSwitcha , IIsEvena )
+    LSwitchaIsEvena = GraphSwitchOutputNOTValid.Link( OSwitcha , IIsEvena )
     
-    LSwitchBranchPrintBranch = GraphSwitch_1_1_1.Link( OSwitchBranch , IPrintBranch )
+    LSwitchBranchPrintBranch = GraphSwitchOutputNOTValid.Link( OSwitchBranch , IPrintBranch )
     
-    LSwitchBranchPrint_1Branch = GraphSwitch_1_1_1.Link( OSwitchBranch , IPrint_1Branch )
+    LSwitchBranchPrint_1Branch = GraphSwitchOutputNOTValid.Link( OSwitchBranch , IPrint_1Branch )
     
-    LSwitchDefaultEndOfSwitchDefault = GraphSwitch_1_1_1.Link( OSwitchDefault , IEndOfSwitchDefault )
+    LSwitchDefaultEndOfSwitchDefault = GraphSwitchOutputNOTValid.Link( OSwitchDefault , IEndOfSwitchDefault )
     
-    LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitch_1_1_1.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
+    LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchOutputNOTValid.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
     
-    LPrintaEndOfSwitcha = GraphSwitch_1_1_1.Link( OPrinta , IEndOfSwitcha )
+    LPrintaEndOfSwitcha = GraphSwitchOutputNOTValid.Link( OPrinta , IEndOfSwitcha )
     
-    LPrint_1aEndOfSwitcha = GraphSwitch_1_1_1.Link( OPrint_1a , IEndOfSwitcha )
+    LPrint_1aEndOfSwitcha = GraphSwitchOutputNOTValid.Link( OPrint_1a , IEndOfSwitcha )
     
     # Input datas
     IInitLoopSwitchIndex.Input( 0 )
@@ -205,7 +205,7 @@ def DefGraphSwitch_1_1_1() :
     #OSwitchdefault = Switch.GetOutPort( 'default' )
     #OPrintBranch = Print.GetOutPort( 'Branch' )
     #OPrint_1Branch = Print_1.GetOutPort( 'Branch' )
-    return GraphSwitch_1_1_1
+    return GraphSwitchOutputNOTValid
 
 
-GraphSwitch_1_1_1 = DefGraphSwitch_1_1_1()
+GraphSwitchOutputNOTValid = DefGraphSwitchOutputNOTValid()
index 30a7c29e61d5313c241246acb3ceb832fc400c29..fd5da864c8bf23f2912ccae8c418c69ca0d5510b 100644 (file)
@@ -5,11 +5,11 @@
 <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
-    <node-name>GraphSwitch_1_1_1</node-name>
+    <node-name>GraphSwitchOutputNOTValid</node-name>
     <kind>1</kind>
     <coupled-node>?</coupled-node>
     <service>
-<service-name>GraphSwitch_1_1_1</service-name>
+<service-name>GraphSwitchOutputNOTValid</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
@@ -42,9 +42,9 @@
     <DataStream-list/>
     <PyFunction-list/>
     <creation-date>1/10/2003 - 17:23:54</creation-date>
-    <lastmodification-date>20/1/2005 - 12:54:59</lastmodification-date>
+    <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
     <editor-release>1.05</editor-release>
-    <author>?</author>
+    <author>JR</author>
     <container>?</container>
     <comment>?</comment>
     <x-position>0</x-position>
@@ -75,8 +75,8 @@
       <PyFunc><![CDATA[    print a,"IsOdd (GraphSwitch)"      ]]></PyFunc>
       <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
       <PyFunc><![CDATA[    return a     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>20/1/2005 - 12:54:59</creation-date>
-    <lastmodification-date>20/1/2005 - 12:54:59</lastmodification-date>
+    <creation-date>8/3/2005 - 17:1:28</creation-date>
+    <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[def NextLoop(Index,Min,Max) :      ]]></PyFunc>
       <PyFunc><![CDATA[        Index = Index - 1      ]]></PyFunc>
       <PyFunc><![CDATA[        return Index,Min,Max      ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>20/1/2005 - 12:54:59</creation-date>
-    <lastmodification-date>20/1/2005 - 12:54:59</lastmodification-date>
+    <creation-date>8/3/2005 - 17:1:28</creation-date>
+    <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
 <PyFunction>
 <FuncName>?</FuncName>
       <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>20/1/2005 - 12:54:59</creation-date>
-    <lastmodification-date>20/1/2005 - 12:54:59</lastmodification-date>
+    <creation-date>8/3/2005 - 17:1:28</creation-date>
+    <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[    print a,"IsEven (GraphSwitch)"       ]]></PyFunc>
       <PyFunc><![CDATA[    sleep( 1 )    ]]></PyFunc>
       <PyFunc><![CDATA[    return a      ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>20/1/2005 - 12:54:59</creation-date>
-    <lastmodification-date>20/1/2005 - 12:54:59</lastmodification-date>
+    <creation-date>8/3/2005 - 17:1:28</creation-date>
+    <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Compute Node</comment>
-    <x-position>395</x-position>
-    <y-position>334</y-position>   </node>
+    <x-position>432</x-position>
+    <y-position>337</y-position>   </node>
    <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
       <PyFunc><![CDATA[        Branch = 'Odd'   ]]></PyFunc>
       <PyFunc><![CDATA[    sleep(1)   ]]></PyFunc>
       <PyFunc><![CDATA[    return a & 1,1-(a&1),a,Branch,0 ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>20/1/2005 - 12:54:59</creation-date>
-    <lastmodification-date>20/1/2005 - 12:54:59</lastmodification-date>
+    <creation-date>8/3/2005 - 17:1:28</creation-date>
+    <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
 <PyFunction>
 <FuncName>EndSwitch_1</FuncName>
       <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>20/1/2005 - 12:54:59</creation-date>
-    <lastmodification-date>20/1/2005 - 12:54:59</lastmodification-date>
+    <creation-date>8/3/2005 - 17:1:28</creation-date>
+    <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <PyFunc><![CDATA[def Print(a,Branch) :   ]]></PyFunc>
       <PyFunc><![CDATA[    print "Print ",Branch   ]]></PyFunc>
       <PyFunc><![CDATA[    return a,Branch   ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>20/1/2005 - 12:54:59</creation-date>
-    <lastmodification-date>20/1/2005 - 12:54:59</lastmodification-date>
+    <creation-date>8/3/2005 - 17:1:28</creation-date>
+    <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Compute Node</comment>
     <x-position>639</x-position>
-    <y-position>63</y-position>   </node>
+    <y-position>50</y-position>   </node>
    <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
       <PyFunc><![CDATA[def Print_1(a,Branch) :   ]]></PyFunc>
       <PyFunc><![CDATA[    print "Print ",Branch   ]]></PyFunc>
       <PyFunc><![CDATA[    return a,Branch   ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>20/1/2005 - 12:54:59</creation-date>
-    <lastmodification-date>20/1/2005 - 12:54:59</lastmodification-date>
+    <creation-date>8/3/2005 - 17:1:28</creation-date>
+    <lastmodification-date>8/3/2005 - 17:1:28</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Compute Node</comment>
-    <x-position>639</x-position>
-    <y-position>263</y-position>   </node>  </node-list>
+    <x-position>645</x-position>
+    <y-position>250</y-position>   </node>  </node-list>
   <link-list>
 <link>
 <fromnode-name>IsOdd</fromnode-name>
     <coord-list/>   </link>  </link-list>
   <data-list>
 <data>
-<fromnode-name>GraphSwitch_1_1_1</fromnode-name>
+<fromnode-name>GraphSwitchOutputNOTValid</fromnode-name>
     <fromserviceparameter-name>InitLoopSwitch__Index</fromserviceparameter-name>
     <tonode-name>InitLoopSwitch</tonode-name>
     <toserviceparameter-name>Index</toserviceparameter-name>
      <value>0</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphSwitch_1_1_1</fromnode-name>
+<fromnode-name>GraphSwitchOutputNOTValid</fromnode-name>
     <fromserviceparameter-name>InitLoopSwitch__Min</fromserviceparameter-name>
     <tonode-name>InitLoopSwitch</tonode-name>
     <toserviceparameter-name>Min</toserviceparameter-name>
      <value>-5</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphSwitch_1_1_1</fromnode-name>
+<fromnode-name>GraphSwitchOutputNOTValid</fromnode-name>
     <fromserviceparameter-name>InitLoopSwitch__Max</fromserviceparameter-name>
     <tonode-name>InitLoopSwitch</tonode-name>
     <toserviceparameter-name>Max</toserviceparameter-name>
index e32ea729e4fea55bf090e164d1306c68d65e842f..487f4bec0d37a271e9f5e491c9460833874628d9 100644 (file)
@@ -1,19 +1,19 @@
 
-# Generated python file of Graph GraphSyrControlAve
+# Generated python file of Graph GraphSyrControlAve_1
 
 from SuperV import *
 
-# Graph creation of GraphSyrControlAve
-def DefGraphSyrControlAve() :
-    GraphSyrControlAve = Graph( 'GraphSyrControlAve' )
-    GraphSyrControlAve.SetName( 'GraphSyrControlAve' )
-    GraphSyrControlAve.SetAuthor( 'JR' )
-    GraphSyrControlAve.SetComment( 'Syracuse algorithm' )
-    GraphSyrControlAve.Coords( 0 , 0 )
+# Graph creation of GraphSyrControlAve_1
+def DefGraphSyrControlAve_1() :
+    GraphSyrControlAve_1 = Graph( 'GraphSyrControlAve_1' )
+    GraphSyrControlAve_1.SetName( 'GraphSyrControlAve_1' )
+    GraphSyrControlAve_1.SetAuthor( 'JR' )
+    GraphSyrControlAve_1.SetComment( 'Syracuse algorithm' )
+    GraphSyrControlAve_1.Coords( 0 , 0 )
     
     # Creation of Factory Nodes
     
-    test_ISEVEN = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' )
+    test_ISEVEN = GraphSyrControlAve_1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' )
     test_ISEVEN.SetName( 'test_ISEVEN' )
     test_ISEVEN.SetAuthor( '' )
     test_ISEVEN.SetContainer( 'localhost/FactoryServer' )
@@ -24,7 +24,7 @@ def DefGraphSyrControlAve() :
     Otest_ISEVENBoolEven = test_ISEVEN.GetOutPort( 'BoolEven' )
     Otest_ISEVENGate = test_ISEVEN.GetOutPort( 'Gate' )
     
-    test_ISONE = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' )
+    test_ISONE = GraphSyrControlAve_1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' )
     test_ISONE.SetName( 'test_ISONE' )
     test_ISONE.SetAuthor( '' )
     test_ISONE.SetContainer( 'localhost/FactoryServer' )
@@ -35,7 +35,7 @@ def DefGraphSyrControlAve() :
     Otest_ISONEBoolOne = test_ISONE.GetOutPort( 'BoolOne' )
     Otest_ISONEGate = test_ISONE.GetOutPort( 'Gate' )
     
-    m3p1 = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
+    m3p1 = GraphSyrControlAve_1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
     m3p1.SetName( 'm3p1' )
     m3p1.SetAuthor( '' )
     m3p1.SetContainer( 'localhost/FactoryServer' )
@@ -46,18 +46,18 @@ def DefGraphSyrControlAve() :
     Om3p1anEvenInteger = m3p1.GetOutPort( 'anEvenInteger' )
     Om3p1Gate = m3p1.GetOutPort( 'Gate' )
     
-    div2 = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
+    div2 = GraphSyrControlAve_1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
     div2.SetName( 'div2' )
     div2.SetAuthor( '' )
     div2.SetContainer( 'localhost/FactoryServer' )
     div2.SetComment( 'C_DIV2 from SyrComponent' )
-    div2.Coords( 789 , 276 )
+    div2.Coords( 789 , 255 )
     Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
     Idiv2Gate = div2.GetInPort( 'Gate' )
     Odiv2anInteger = div2.GetOutPort( 'anInteger' )
     Odiv2Gate = div2.GetOutPort( 'Gate' )
     
-    incr = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+    incr = GraphSyrControlAve_1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
     incr.SetName( 'incr' )
     incr.SetAuthor( '' )
     incr.SetContainer( 'localhost/FactoryServer' )
@@ -68,7 +68,7 @@ def DefGraphSyrControlAve() :
     OincraNewCount = incr.GetOutPort( 'aNewCount' )
     OincrGate = incr.GetOutPort( 'Gate' )
     
-    C_MIN = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MIN' )
+    C_MIN = GraphSyrControlAve_1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MIN' )
     C_MIN.SetName( 'C_MIN' )
     C_MIN.SetAuthor( '' )
     C_MIN.SetContainer( 'localhost/FactoryServer' )
@@ -80,7 +80,7 @@ def DefGraphSyrControlAve() :
     OC_MINaNewMinVal = C_MIN.GetOutPort( 'aNewMinVal' )
     OC_MINGate = C_MIN.GetOutPort( 'Gate' )
     
-    C_MAX = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MAX' )
+    C_MAX = GraphSyrControlAve_1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MAX' )
     C_MAX.SetName( 'C_MAX' )
     C_MAX.SetAuthor( '' )
     C_MAX.SetContainer( 'localhost/FactoryServer' )
@@ -92,7 +92,7 @@ def DefGraphSyrControlAve() :
     OC_MAXaNewMaxVal = C_MAX.GetOutPort( 'aNewMaxVal' )
     OC_MAXGate = C_MAX.GetOutPort( 'Gate' )
     
-    C_AVERAGE = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_AVERAGE' )
+    C_AVERAGE = GraphSyrControlAve_1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_AVERAGE' )
     C_AVERAGE.SetName( 'C_AVERAGE' )
     C_AVERAGE.SetAuthor( '' )
     C_AVERAGE.SetContainer( 'localhost/FactoryServer' )
@@ -106,12 +106,12 @@ def DefGraphSyrControlAve() :
     OC_AVERAGEanAverage = C_AVERAGE.GetOutPort( 'anAverage' )
     OC_AVERAGEGate = C_AVERAGE.GetOutPort( 'Gate' )
     
-    C_LISTOFSYR = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_LISTOFSYR' )
+    C_LISTOFSYR = GraphSyrControlAve_1.FNode( 'SyrComponent' , 'SyrComponent' , 'C_LISTOFSYR' )
     C_LISTOFSYR.SetName( 'C_LISTOFSYR' )
     C_LISTOFSYR.SetAuthor( '' )
     C_LISTOFSYR.SetContainer( 'localhost/FactoryServer' )
     C_LISTOFSYR.SetComment( 'C_LISTOFSYR from SyrComponent' )
-    C_LISTOFSYR.Coords( 4 , 363 )
+    C_LISTOFSYR.Coords( 5 , 321 )
     IC_LISTOFSYRGate = C_LISTOFSYR.GetInPort( 'Gate' )
     OC_LISTOFSYRaListOfSyr = C_LISTOFSYR.GetOutPort( 'aListOfSyr' )
     OC_LISTOFSYRGate = C_LISTOFSYR.GetOutPort( 'Gate' )
@@ -120,11 +120,11 @@ def DefGraphSyrControlAve() :
     Pylabel_begin = []
     Pylabel_begin.append( 'def label_begin( NB , KB , MINB , MAXB , AVERAGEB , SYRLISTB ) :' )
     Pylabel_begin.append( '    return NB,KB,MINB,MAXB,AVERAGEB,SYRLISTB' )
-    label_begin = GraphSyrControlAve.INode( 'label_begin' , Pylabel_begin )
+    label_begin = GraphSyrControlAve_1.INode( 'label_begin' , Pylabel_begin )
     label_begin.SetName( 'label_begin' )
     label_begin.SetAuthor( '' )
     label_begin.SetComment( 'Python function' )
-    label_begin.Coords( 183 , 219 )
+    label_begin.Coords( 183 , 220 )
     Ilabel_beginNB = label_begin.InPort( 'NB' , 'long' )
     Ilabel_beginKB = label_begin.InPort( 'KB' , 'long' )
     Ilabel_beginMINB = label_begin.InPort( 'MINB' , 'long' )
@@ -157,16 +157,16 @@ def DefGraphSyrControlAve() :
     Pylabel_test.append( '        Odd = 0' )
     Pylabel_test.append( '    Even = ValEven' )
     Pylabel_test.append( '    return Finished,Incr,Even,Odd,NT,KT,MIN,MAX,AVERAGE,SYRLIST' )
-    label_test,EndL_OneEven = GraphSyrControlAve.SNode( 'L_OneEven' , Pylabel_test )
+    label_test,EndL_OneEven = GraphSyrControlAve_1.SNode( 'L_OneEven' , Pylabel_test )
     EndL_OneEven.SetName( 'EndL_OneEven' )
     EndL_OneEven.SetAuthor( '' )
     EndL_OneEven.SetComment( 'Compute Node' )
-    EndL_OneEven.Coords( 1064 , 379 )
+    EndL_OneEven.Coords( 1064 , 339 )
     PyEndL_OneEven = []
     EndL_OneEven.SetPyFunction( '' , PyEndL_OneEven )
-    IEndL_OneEvenMIN = EndL_OneEven.InPort( 'MIN' , 'long' )
-    IEndL_OneEvenMAX = EndL_OneEven.InPort( 'MAX' , 'long' )
-    IEndL_OneEvenAVERAGE = EndL_OneEven.InPort( 'AVERAGE' , 'double' )
+    IEndL_OneEvenMINT = EndL_OneEven.InPort( 'MINT' , 'long' )
+    IEndL_OneEvenMAXT = EndL_OneEven.InPort( 'MAXT' , 'long' )
+    IEndL_OneEvenAVERAGET = EndL_OneEven.InPort( 'AVERAGET' , 'double' )
     IEndL_OneEvenDefault = EndL_OneEven.GetInPort( 'Default' )
     OEndL_OneEvenMIN = EndL_OneEven.OutPort( 'MIN' , 'long' )
     OEndL_OneEvenMAX = EndL_OneEven.OutPort( 'MAX' , 'long' )
@@ -175,7 +175,7 @@ def DefGraphSyrControlAve() :
     label_test.SetName( 'label_test' )
     label_test.SetAuthor( '' )
     label_test.SetComment( 'Compute Node' )
-    label_test.Coords( 563 , 206 )
+    label_test.Coords( 564 , 219 )
     Ilabel_testValOne = label_test.InPort( 'ValOne' , 'long' )
     Ilabel_testValEven = label_test.InPort( 'ValEven' , 'long' )
     Ilabel_testNT = label_test.InPort( 'NT' , 'long' )
@@ -201,7 +201,7 @@ def DefGraphSyrControlAve() :
     Pycontrol_m3p1 = []
     Pycontrol_m3p1.append( 'def C_NotOneIsEven( N , K , MINT , MAXT , AVERAGET , SYRLISTT ):' )
     Pycontrol_m3p1.append( '    return 0,1,N,K,MINT,MAXT,AVERAGET,SYRLISTT' )
-    control_m3p1 = GraphSyrControlAve.GNode( 'C_NotOneIsEven' , Pycontrol_m3p1 , 'label_test' )
+    control_m3p1 = GraphSyrControlAve_1.GNode( 'C_NotOneIsEven' , Pycontrol_m3p1 , 'label_test' )
     control_m3p1.SetName( 'control_m3p1' )
     control_m3p1.SetAuthor( '' )
     control_m3p1.SetComment( 'Compute Node' )
@@ -226,7 +226,7 @@ def DefGraphSyrControlAve() :
     Pycontrol_div2 = []
     Pycontrol_div2.append( 'def control_div2( N , K , MINT , MAXT , AVERAGET , SYRLISTT ) :' )
     Pycontrol_div2.append( '    return N,K,MINT,MAXT,AVERAGET,SYRLISTT' )
-    control_div2 = GraphSyrControlAve.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
+    control_div2 = GraphSyrControlAve_1.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
     control_div2.SetName( 'control_div2' )
     control_div2.SetAuthor( '' )
     control_div2.SetComment( 'Compute Node' )
@@ -247,151 +247,151 @@ def DefGraphSyrControlAve() :
     Ocontrol_div2Gate = control_div2.GetOutPort( 'Gate' )
     
     # Creation of Links
-    Ltest_ISEVENBoolEvenlabel_testValEven = GraphSyrControlAve.Link( Otest_ISEVENBoolEven , Ilabel_testValEven )
-    Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 545 , 269 )
-    Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 545 , 535 )
+    Ltest_ISEVENBoolEvenlabel_testValEven = GraphSyrControlAve_1.Link( Otest_ISEVENBoolEven , Ilabel_testValEven )
+    Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 544 , 256 )
+    Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 544 , 524 )
     
-    Ltest_ISONEBoolOnelabel_testValOne = GraphSyrControlAve.Link( Otest_ISONEBoolOne , Ilabel_testValOne )
-    Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 1 , 546 , 241 )
-    Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 2 , 545 , 208 )
+    Ltest_ISONEBoolOnelabel_testValOne = GraphSyrControlAve_1.Link( Otest_ISONEBoolOne , Ilabel_testValOne )
+    Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 1 , 546 , 237 )
+    Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 2 , 546 , 198 )
     
-    Lm3p1anEvenIntegercontrol_m3p1N = GraphSyrControlAve.Link( Om3p1anEvenInteger , Icontrol_m3p1N )
-    Lm3p1anEvenIntegercontrol_m3p1N.AddCoord( 1 , 977 , 43 )
+    Lm3p1anEvenIntegercontrol_m3p1N = GraphSyrControlAve_1.Link( Om3p1anEvenInteger , Icontrol_m3p1N )
+    Lm3p1anEvenIntegercontrol_m3p1N.AddCoord( 1 , 975 , 38 )
     Lm3p1anEvenIntegercontrol_m3p1N.AddCoord( 2 , 976 , 81 )
     
-    Ldiv2anIntegercontrol_div2N = GraphSyrControlAve.Link( Odiv2anInteger , Icontrol_div2N )
-    Ldiv2anIntegercontrol_div2N.AddCoord( 1 , 1011 , 590 )
-    Ldiv2anIntegercontrol_div2N.AddCoord( 2 , 1010 , 357 )
+    Ldiv2anIntegercontrol_div2N = GraphSyrControlAve_1.Link( Odiv2anInteger , Icontrol_div2N )
+    Ldiv2anIntegercontrol_div2N.AddCoord( 1 , 1012 , 585 )
+    Ldiv2anIntegercontrol_div2N.AddCoord( 2 , 1011 , 346 )
     
-    LincraNewCountcontrol_div2K = GraphSyrControlAve.Link( OincraNewCount , Icontrol_div2K )
-    LincraNewCountcontrol_div2K.AddCoord( 1 , 964 , 618 )
-    LincraNewCountcontrol_div2K.AddCoord( 2 , 966 , 217 )
+    LincraNewCountcontrol_div2K = GraphSyrControlAve_1.Link( OincraNewCount , Icontrol_div2K )
+    LincraNewCountcontrol_div2K.AddCoord( 1 , 966 , 606 )
+    LincraNewCountcontrol_div2K.AddCoord( 2 , 968 , 207 )
     
-    LincraNewCountcontrol_m3p1K = GraphSyrControlAve.Link( OincraNewCount , Icontrol_m3p1K )
-    LincraNewCountcontrol_m3p1K.AddCoord( 1 , 966 , 70 )
-    LincraNewCountcontrol_m3p1K.AddCoord( 2 , 966 , 216 )
+    LincraNewCountcontrol_m3p1K = GraphSyrControlAve_1.Link( OincraNewCount , Icontrol_m3p1K )
+    LincraNewCountcontrol_m3p1K.AddCoord( 1 , 965 , 59 )
+    LincraNewCountcontrol_m3p1K.AddCoord( 2 , 966 , 208 )
     
-    LincraNewCountC_AVERAGEaCount = GraphSyrControlAve.Link( OincraNewCount , IC_AVERAGEaCount )
-    LincraNewCountC_AVERAGEaCount.AddCoord( 1 , 778 , 615 )
-    LincraNewCountC_AVERAGEaCount.AddCoord( 2 , 779 , 462 )
+    LincraNewCountC_AVERAGEaCount = GraphSyrControlAve_1.Link( OincraNewCount , IC_AVERAGEaCount )
+    LincraNewCountC_AVERAGEaCount.AddCoord( 1 , 751 , 588 )
+    LincraNewCountC_AVERAGEaCount.AddCoord( 2 , 751 , 460 )
     LincraNewCountC_AVERAGEaCount.AddCoord( 3 , 965 , 462 )
-    LincraNewCountC_AVERAGEaCount.AddCoord( 4 , 966 , 216 )
+    LincraNewCountC_AVERAGEaCount.AddCoord( 4 , 968 , 205 )
     
-    LC_MINaNewMinValcontrol_m3p1MINT = GraphSyrControlAve.Link( OC_MINaNewMinVal , Icontrol_m3p1MINT )
-    LC_MINaNewMinValcontrol_m3p1MINT.AddCoord( 1 , 991 , 100 )
-    LC_MINaNewMinValcontrol_m3p1MINT.AddCoord( 2 , 991 , 913 )
+    LC_MINaNewMinValcontrol_m3p1MINT = GraphSyrControlAve_1.Link( OC_MINaNewMinVal , Icontrol_m3p1MINT )
+    LC_MINaNewMinValcontrol_m3p1MINT.AddCoord( 1 , 991 , 78 )
+    LC_MINaNewMinValcontrol_m3p1MINT.AddCoord( 2 , 991 , 905 )
     
-    LC_MINaNewMinValcontrol_div2MINT = GraphSyrControlAve.Link( OC_MINaNewMinVal , Icontrol_div2MINT )
-    LC_MINaNewMinValcontrol_div2MINT.AddCoord( 1 , 990 , 646 )
-    LC_MINaNewMinValcontrol_div2MINT.AddCoord( 2 , 991 , 912 )
+    LC_MINaNewMinValcontrol_div2MINT = GraphSyrControlAve_1.Link( OC_MINaNewMinVal , Icontrol_div2MINT )
+    LC_MINaNewMinValcontrol_div2MINT.AddCoord( 1 , 991 , 626 )
+    LC_MINaNewMinValcontrol_div2MINT.AddCoord( 2 , 991 , 905 )
     
-    LC_MAXaNewMaxValcontrol_m3p1MAXT = GraphSyrControlAve.Link( OC_MAXaNewMaxVal , Icontrol_m3p1MAXT )
-    LC_MAXaNewMaxValcontrol_m3p1MAXT.AddCoord( 1 , 974 , 130 )
-    LC_MAXaNewMaxValcontrol_m3p1MAXT.AddCoord( 2 , 974 , 747 )
+    LC_MAXaNewMaxValcontrol_m3p1MAXT = GraphSyrControlAve_1.Link( OC_MAXaNewMaxVal , Icontrol_m3p1MAXT )
+    LC_MAXaNewMaxValcontrol_m3p1MAXT.AddCoord( 1 , 976 , 98 )
+    LC_MAXaNewMaxValcontrol_m3p1MAXT.AddCoord( 2 , 974 , 738 )
     
-    LC_MAXaNewMaxValcontrol_div2MAXT = GraphSyrControlAve.Link( OC_MAXaNewMaxVal , Icontrol_div2MAXT )
-    LC_MAXaNewMaxValcontrol_div2MAXT.AddCoord( 1 , 973 , 676 )
-    LC_MAXaNewMaxValcontrol_div2MAXT.AddCoord( 2 , 974 , 747 )
+    LC_MAXaNewMaxValcontrol_div2MAXT = GraphSyrControlAve_1.Link( OC_MAXaNewMaxVal , Icontrol_div2MAXT )
+    LC_MAXaNewMaxValcontrol_div2MAXT.AddCoord( 1 , 972 , 648 )
+    LC_MAXaNewMaxValcontrol_div2MAXT.AddCoord( 2 , 974 , 738 )
     
-    LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT = GraphSyrControlAve.Link( OC_AVERAGEaNewListOfSyr , Icontrol_m3p1SYRLISTT )
-    LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT.AddCoord( 1 , 1037 , 188 )
+    LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT = GraphSyrControlAve_1.Link( OC_AVERAGEaNewListOfSyr , Icontrol_m3p1SYRLISTT )
+    LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT.AddCoord( 1 , 1037 , 137 )
     LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT.AddCoord( 2 , 1038 , 556 )
     
-    LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT = GraphSyrControlAve.Link( OC_AVERAGEaNewListOfSyr , Icontrol_div2SYRLISTT )
-    LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT.AddCoord( 1 , 1038 , 735 )
+    LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT = GraphSyrControlAve_1.Link( OC_AVERAGEaNewListOfSyr , Icontrol_div2SYRLISTT )
+    LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT.AddCoord( 1 , 1038 , 686 )
     LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT.AddCoord( 2 , 1038 , 555 )
     
-    LC_AVERAGEanAveragecontrol_m3p1AVERAGET = GraphSyrControlAve.Link( OC_AVERAGEanAverage , Icontrol_m3p1AVERAGET )
-    LC_AVERAGEanAveragecontrol_m3p1AVERAGET.AddCoord( 1 , 1027 , 158 )
-    LC_AVERAGEanAveragecontrol_m3p1AVERAGET.AddCoord( 2 , 1026 , 584 )
+    LC_AVERAGEanAveragecontrol_m3p1AVERAGET = GraphSyrControlAve_1.Link( OC_AVERAGEanAverage , Icontrol_m3p1AVERAGET )
+    LC_AVERAGEanAveragecontrol_m3p1AVERAGET.AddCoord( 1 , 1026 , 118 )
+    LC_AVERAGEanAveragecontrol_m3p1AVERAGET.AddCoord( 2 , 1027 , 567 )
     
-    LC_AVERAGEanAveragecontrol_div2AVERAGET = GraphSyrControlAve.Link( OC_AVERAGEanAverage , Icontrol_div2AVERAGET )
-    LC_AVERAGEanAveragecontrol_div2AVERAGET.AddCoord( 1 , 1027 , 706 )
-    LC_AVERAGEanAveragecontrol_div2AVERAGET.AddCoord( 2 , 1027 , 584 )
+    LC_AVERAGEanAveragecontrol_div2AVERAGET = GraphSyrControlAve_1.Link( OC_AVERAGEanAverage , Icontrol_div2AVERAGET )
+    LC_AVERAGEanAveragecontrol_div2AVERAGET.AddCoord( 1 , 1027 , 668 )
+    LC_AVERAGEanAveragecontrol_div2AVERAGET.AddCoord( 2 , 1026 , 568 )
     
-    LC_LISTOFSYRaListOfSyrlabel_beginSYRLISTB = GraphSyrControlAve.Link( OC_LISTOFSYRaListOfSyr , Ilabel_beginSYRLISTB )
+    LC_LISTOFSYRaListOfSyrlabel_beginSYRLISTB = GraphSyrControlAve_1.Link( OC_LISTOFSYRaListOfSyr , Ilabel_beginSYRLISTB )
     
-    Llabel_beginNTtest_ISONEanInteger = GraphSyrControlAve.Link( Olabel_beginNT , Itest_ISONEanInteger )
-    Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 362 , 207 )
-    Llabel_beginNTtest_ISONEanInteger.AddCoord( 2 , 362 , 299 )
+    Llabel_beginNTtest_ISONEanInteger = GraphSyrControlAve_1.Link( Olabel_beginNT , Itest_ISONEanInteger )
+    Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 361 , 197 )
+    Llabel_beginNTtest_ISONEanInteger.AddCoord( 2 , 360 , 290 )
     
-    Llabel_beginNTlabel_testNT = GraphSyrControlAve.Link( Olabel_beginNT , Ilabel_testNT )
+    Llabel_beginNTlabel_testNT = GraphSyrControlAve_1.Link( Olabel_beginNT , Ilabel_testNT )
     
-    Llabel_beginNTtest_ISEVENanInteger = GraphSyrControlAve.Link( Olabel_beginNT , Itest_ISEVENanInteger )
-    Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 361 , 534 )
-    Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 362 , 299 )
+    Llabel_beginNTtest_ISEVENanInteger = GraphSyrControlAve_1.Link( Olabel_beginNT , Itest_ISEVENanInteger )
+    Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 359 , 525 )
+    Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 361 , 291 )
     
-    Llabel_beginKTlabel_testKT = GraphSyrControlAve.Link( Olabel_beginKT , Ilabel_testKT )
+    Llabel_beginKTlabel_testKT = GraphSyrControlAve_1.Link( Olabel_beginKT , Ilabel_testKT )
     
-    Llabel_beginMINlabel_testMIN = GraphSyrControlAve.Link( Olabel_beginMIN , Ilabel_testMIN )
+    Llabel_beginMINlabel_testMIN = GraphSyrControlAve_1.Link( Olabel_beginMIN , Ilabel_testMIN )
     
-    Llabel_beginMAXlabel_testMAX = GraphSyrControlAve.Link( Olabel_beginMAX , Ilabel_testMAX )
+    Llabel_beginMAXlabel_testMAX = GraphSyrControlAve_1.Link( Olabel_beginMAX , Ilabel_testMAX )
     
-    Llabel_beginAVERAGElabel_testAVERAGE = GraphSyrControlAve.Link( Olabel_beginAVERAGE , Ilabel_testAVERAGE )
+    Llabel_beginAVERAGElabel_testAVERAGE = GraphSyrControlAve_1.Link( Olabel_beginAVERAGE , Ilabel_testAVERAGE )
     
-    Llabel_beginSYRLISTlabel_testSYRLIST = GraphSyrControlAve.Link( Olabel_beginSYRLIST , Ilabel_testSYRLIST )
+    Llabel_beginSYRLISTlabel_testSYRLIST = GraphSyrControlAve_1.Link( Olabel_beginSYRLIST , Ilabel_testSYRLIST )
     
-    Llabel_testFinishedEndL_OneEvenDefault = GraphSyrControlAve.Link( Olabel_testFinished , IEndL_OneEvenDefault )
+    Llabel_testEvendiv2Gate = GraphSyrControlAve_1.Link( Olabel_testEven , Idiv2Gate )
+    Llabel_testEvendiv2Gate.AddCoord( 1 , 777 , 351 )
+    Llabel_testEvendiv2Gate.AddCoord( 2 , 777 , 286 )
     
-    Llabel_testEvendiv2Gate = GraphSyrControlAve.Link( Olabel_testEven , Idiv2Gate )
-    Llabel_testEvendiv2Gate.AddCoord( 1 , 780 , 387 )
-    Llabel_testEvendiv2Gate.AddCoord( 2 , 779 , 299 )
+    Llabel_testOddm3p1Gate = GraphSyrControlAve_1.Link( Olabel_testOdd , Im3p1Gate )
+    Llabel_testOddm3p1Gate.AddCoord( 1 , 757 , 95 )
+    Llabel_testOddm3p1Gate.AddCoord( 2 , 757 , 310 )
     
-    Llabel_testOddm3p1Gate = GraphSyrControlAve.Link( Olabel_testOdd , Im3p1Gate )
-    Llabel_testOddm3p1Gate.AddCoord( 1 , 756 , 115 )
-    Llabel_testOddm3p1Gate.AddCoord( 2 , 756 , 328 )
+    Llabel_testNm3p1anOddInteger = GraphSyrControlAve_1.Link( Olabel_testN , Im3p1anOddInteger )
+    Llabel_testNm3p1anOddInteger.AddCoord( 1 , 741 , 72 )
+    Llabel_testNm3p1anOddInteger.AddCoord( 2 , 741 , 331 )
     
-    Llabel_testNm3p1anOddInteger = GraphSyrControlAve.Link( Olabel_testN , Im3p1anOddInteger )
-    Llabel_testNm3p1anOddInteger.AddCoord( 1 , 740 , 80 )
-    Llabel_testNm3p1anOddInteger.AddCoord( 2 , 741 , 356 )
+    Llabel_testNdiv2anEvenInteger = GraphSyrControlAve_1.Link( Olabel_testN , Idiv2anEvenInteger )
     
-    Llabel_testNdiv2anEvenInteger = GraphSyrControlAve.Link( Olabel_testN , Idiv2anEvenInteger )
+    Llabel_testNC_MINanInteger = GraphSyrControlAve_1.Link( Olabel_testN , IC_MINanInteger )
+    Llabel_testNC_MINanInteger.AddCoord( 1 , 744 , 923 )
+    Llabel_testNC_MINanInteger.AddCoord( 2 , 742 , 331 )
     
-    Llabel_testNC_MINanInteger = GraphSyrControlAve.Link( Olabel_testN , IC_MINanInteger )
-    Llabel_testNC_MINanInteger.AddCoord( 1 , 741 , 943 )
-    Llabel_testNC_MINanInteger.AddCoord( 2 , 740 , 357 )
+    Llabel_testNC_MAXanInteger = GraphSyrControlAve_1.Link( Olabel_testN , IC_MAXanInteger )
+    Llabel_testNC_MAXanInteger.AddCoord( 1 , 742 , 759 )
+    Llabel_testNC_MAXanInteger.AddCoord( 2 , 743 , 332 )
     
-    Llabel_testNC_MAXanInteger = GraphSyrControlAve.Link( Olabel_testN , IC_MAXanInteger )
-    Llabel_testNC_MAXanInteger.AddCoord( 1 , 742 , 778 )
-    Llabel_testNC_MAXanInteger.AddCoord( 2 , 741 , 359 )
+    Llabel_testNC_AVERAGEanInteger = GraphSyrControlAve_1.Link( Olabel_testN , IC_AVERAGEanInteger )
+    Llabel_testNC_AVERAGEanInteger.AddCoord( 1 , 741 , 568 )
+    Llabel_testNC_AVERAGEanInteger.AddCoord( 2 , 742 , 330 )
     
-    Llabel_testNC_AVERAGEanInteger = GraphSyrControlAve.Link( Olabel_testN , IC_AVERAGEanInteger )
-    Llabel_testNC_AVERAGEanInteger.AddCoord( 1 , 742 , 584 )
-    Llabel_testNC_AVERAGEanInteger.AddCoord( 2 , 741 , 357 )
+    Llabel_testKincraCount = GraphSyrControlAve_1.Link( Olabel_testK , IincraCount )
+    Llabel_testKincraCount.AddCoord( 1 , 766 , 207 )
+    Llabel_testKincraCount.AddCoord( 2 , 766 , 343 )
     
-    Llabel_testKincraCount = GraphSyrControlAve.Link( Olabel_testK , IincraCount )
-    Llabel_testKincraCount.AddCoord( 1 , 765 , 217 )
-    Llabel_testKincraCount.AddCoord( 2 , 764 , 385 )
+    Llabel_testMINTC_MINaMinVal = GraphSyrControlAve_1.Link( Olabel_testMINT , IC_MINaMinVal )
+    Llabel_testMINTC_MINaMinVal.AddCoord( 1 , 760 , 904 )
+    Llabel_testMINTC_MINaMinVal.AddCoord( 2 , 756 , 372 )
     
-    Llabel_testMINTC_MINaMinVal = GraphSyrControlAve.Link( Olabel_testMINT , IC_MINaMinVal )
-    Llabel_testMINTC_MINaMinVal.AddCoord( 1 , 759 , 914 )
-    Llabel_testMINTC_MINaMinVal.AddCoord( 2 , 758 , 414 )
+    Llabel_testMINTEndL_OneEvenMINT = GraphSyrControlAve_1.Link( Olabel_testMINT , IEndL_OneEvenMINT )
     
-    Llabel_testMINTEndL_OneEvenMIN = GraphSyrControlAve.Link( Olabel_testMINT , IEndL_OneEvenMIN )
+    Llabel_testMAXTC_MAXaMaxVal = GraphSyrControlAve_1.Link( Olabel_testMAXT , IC_MAXaMaxVal )
+    Llabel_testMAXTC_MAXaMaxVal.AddCoord( 1 , 765 , 742 )
+    Llabel_testMAXTC_MAXaMaxVal.AddCoord( 2 , 766 , 384 )
     
-    Llabel_testMAXTC_MAXaMaxVal = GraphSyrControlAve.Link( Olabel_testMAXT , IC_MAXaMaxVal )
-    Llabel_testMAXTC_MAXaMaxVal.AddCoord( 1 , 729 , 749 )
-    Llabel_testMAXTC_MAXaMaxVal.AddCoord( 2 , 728 , 444 )
+    Llabel_testMAXTEndL_OneEvenMAXT = GraphSyrControlAve_1.Link( Olabel_testMAXT , IEndL_OneEvenMAXT )
     
-    Llabel_testMAXTEndL_OneEvenMAX = GraphSyrControlAve.Link( Olabel_testMAXT , IEndL_OneEvenMAX )
+    Llabel_testAVERAGETEndL_OneEvenAVERAGET = GraphSyrControlAve_1.Link( Olabel_testAVERAGET , IEndL_OneEvenAVERAGET )
     
-    Llabel_testAVERAGETEndL_OneEvenAVERAGE = GraphSyrControlAve.Link( Olabel_testAVERAGET , IEndL_OneEvenAVERAGE )
+    Llabel_testSYRLISTTC_AVERAGEaListOfSyr = GraphSyrControlAve_1.Link( Olabel_testSYRLISTT , IC_AVERAGEaListOfSyr )
+    Llabel_testSYRLISTTC_AVERAGEaListOfSyr.AddCoord( 1 , 773 , 546 )
+    Llabel_testSYRLISTTC_AVERAGEaListOfSyr.AddCoord( 2 , 772 , 424 )
     
-    Llabel_testSYRLISTTC_AVERAGEaListOfSyr = GraphSyrControlAve.Link( Olabel_testSYRLISTT , IC_AVERAGEaListOfSyr )
-    Llabel_testSYRLISTTC_AVERAGEaListOfSyr.AddCoord( 1 , 771 , 557 )
-    Llabel_testSYRLISTTC_AVERAGEaListOfSyr.AddCoord( 2 , 770 , 502 )
+    Llabel_testDefaultEndL_OneEvenDefault = GraphSyrControlAve_1.Link( Olabel_testDefault , IEndL_OneEvenDefault )
     
-    Lcontrol_m3p1Gatelabel_testGate = GraphSyrControlAve.Link( Ocontrol_m3p1Gate , Ilabel_testGate )
-    Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 553 , 536 )
+    Lcontrol_m3p1Gatelabel_testGate = GraphSyrControlAve_1.Link( Ocontrol_m3p1Gate , Ilabel_testGate )
+    Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 553 , 453 )
     Lcontrol_m3p1Gatelabel_testGate.AddCoord( 2 , 554 , 1025 )
     Lcontrol_m3p1Gatelabel_testGate.AddCoord( 3 , 1242 , 1026 )
-    Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1243 , 279 )
+    Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1234 , 204 )
     
-    Lcontrol_div2Gatelabel_beginGate = GraphSyrControlAve.Link( Ocontrol_div2Gate , Ilabel_beginGate )
-    Lcontrol_div2Gatelabel_beginGate.AddCoord( 1 , 176 , 476 )
+    Lcontrol_div2Gatelabel_beginGate = GraphSyrControlAve_1.Link( Ocontrol_div2Gate , Ilabel_beginGate )
+    Lcontrol_div2Gatelabel_beginGate.AddCoord( 1 , 176 , 419 )
     Lcontrol_div2Gatelabel_beginGate.AddCoord( 2 , 176 , 997 )
     Lcontrol_div2Gatelabel_beginGate.AddCoord( 3 , 1217 , 996 )
-    Lcontrol_div2Gatelabel_beginGate.AddCoord( 4 , 1218 , 768 )
+    Lcontrol_div2Gatelabel_beginGate.AddCoord( 4 , 1223 , 711 )
     
     # Input datas
     Ilabel_beginNB.Input( 31 )
@@ -401,11 +401,12 @@ def DefGraphSyrControlAve() :
     Ilabel_beginAVERAGEB.Input( 0 )
     
     # Output Ports of the graph
+    #Olabel_testFinished = label_test.GetOutPort( 'Finished' )
     #Olabel_testIncr = label_test.GetOutPort( 'Incr' )
     #OEndL_OneEvenMIN = EndL_OneEven.GetOutPort( 'MIN' )
     #OEndL_OneEvenMAX = EndL_OneEven.GetOutPort( 'MAX' )
     #OEndL_OneEvenAVERAGE = EndL_OneEven.GetOutPort( 'AVERAGE' )
-    return GraphSyrControlAve
+    return GraphSyrControlAve_1
 
 
-GraphSyrControlAve = DefGraphSyrControlAve()
+GraphSyrControlAve_1 = DefGraphSyrControlAve_1()
index a9c6b0d99dd2305fe23ae436b163ef70575a31dd..b08a064686c0cb42505cc68153b4074b0a353a54 100644 (file)
@@ -5,11 +5,11 @@
 <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
-    <node-name>GraphSyrControlAve</node-name>
+    <node-name>GraphSyrControlAve_1</node-name>
     <kind>1</kind>
     <coupled-node>?</coupled-node>
     <service>
-<service-name>GraphSyrControlAve</service-name>
+<service-name>GraphSyrControlAve_1</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
@@ -28,6 +28,9 @@
        <inParameter-name>label_begin__AVERAGEB</inParameter-name>      </inParameter>     </inParameter-list>
      <outParameter-list>
 <outParameter>
+<outParameter-type>long</outParameter-type>
+       <outParameter-name>label_test__Finished</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
        <outParameter-name>label_test__Incr</outParameter-name>      </outParameter>
       <outParameter>
@@ -42,7 +45,7 @@
     <DataStream-list/>
     <PyFunction-list/>
     <creation-date>2/10/2003 - 11:17:14</creation-date>
-    <lastmodification-date>19/1/2005 - 17:52:49</lastmodification-date>
+    <lastmodification-date>8/3/2005 - 17:25:57</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>JR</author>
     <container>?</container>
@@ -68,8 +71,8 @@
        <outParameter-name>BoolEven</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list/>
-    <creation-date>19/1/2005 - 17:44:31</creation-date>
-    <lastmodification-date>19/1/2005 - 17:44:31</lastmodification-date>
+    <creation-date>8/3/2005 - 17:25:57</creation-date>
+    <lastmodification-date>8/3/2005 - 17:25:57</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>localhost/FactoryServer</container>
@@ -94,8 +97,8 @@
        <outParameter-name>BoolOne</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list/>
-    <creation-date>19/1/2005 - 17:44:31</creation-date>
-    <lastmodification-date>19/1/2005 - 17:44:31</lastmodification-date>
+    <creation-date>8/3/2005 - 17:25:57</creation-date>
+    <lastmodification-date>8/3/2005 - 17:25:57</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>localhost/FactoryServer</container>
        <outParameter-name>anEvenInteger</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list/>
-    <creation-date>19/1/2005 - 17:44:31</creation-date>
-    <lastmodification-date>19/1/2005 - 17:44:31</lastmodification-date>
+    <creation-date>8/3/2005 - 17:25:57</creation-date>
+    <lastmodification-date>8/3/2005 - 17:25:57</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>localhost/FactoryServer</container>
        <outParameter-name>anInteger</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list/>
-    <creation-date>19/1/2005 - 17:44:31</creation-date>
-    <lastmodification-date>19/1/2005 - 17:44:31</lastmodification-date>
+    <creation-date>8/3/2005 - 17:25:57</creation-date>
+    <lastmodification-date>8/3/2005 - 17:25:57</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>localhost/FactoryServer</container>
     <comment>C_DIV2 from SyrComponent</comment>
     <x-position>789</x-position>
-    <y-position>276</y-position>   </node>
+    <y-position>255</y-position>   </node>
    <node>
 <component-name>SyrComponent</component-name>
     <interface-name>SyrComponent</interface-name>
        <outParameter-name>aNewCount</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list/>
-    <creation-date>19/1/2005 - 17:44:31</creation-date>
-    <lastmodification-date>19/1/2005 - 17:44:31</lastmodification-date>
+    <creation-date>8/3/2005 - 17:25:57</creation-date>
+    <lastmodification-date>8/3/2005 - 17:25:57</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>localhost/FactoryServer</container>
        <outParameter-name>aNewMinVal</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list/>
-    <creation-date>19/1/2005 - 17:44:31</creation-date>
-    <lastmodification-date>19/1/2005 - 17:44:31</lastmodification-date>
+    <creation-date>8/3/2005 - 17:25:57</creation-date>
+    <lastmodification-date>8/3/2005 - 17:25:57</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>localhost/FactoryServer</container>
        <outParameter-name>aNewMaxVal</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list/>
-    <creation-date>19/1/2005 - 17:44:31</creation-date>
-    <lastmodification-date>19/1/2005 - 17:44:31</lastmodification-date>
+    <creation-date>8/3/2005 - 17:25:57</creation-date>
+    <lastmodification-date>8/3/2005 - 17:25:57</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>localhost/FactoryServer</container>
        <outParameter-name>anAverage</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list/>
-    <creation-date>19/1/2005 - 17:44:31</creation-date>
-    <lastmodification-date>19/1/2005 - 17:44:31</lastmodification-date>
+    <creation-date>8/3/2005 - 17:25:57</creation-date>
+    <lastmodification-date>8/3/2005 - 17:25:57</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>localhost/FactoryServer</container>
        <outParameter-name>aListOfSyr</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list/>
-    <creation-date>19/1/2005 - 17:44:31</creation-date>
-    <lastmodification-date>19/1/2005 - 17:44:31</lastmodification-date>
+    <creation-date>8/3/2005 - 17:25:57</creation-date>
+    <lastmodification-date>8/3/2005 - 17:25:57</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>localhost/FactoryServer</container>
     <comment>C_LISTOFSYR from SyrComponent</comment>
-    <x-position>4</x-position>
-    <y-position>363</y-position>   </node>
+    <x-position>5</x-position>
+    <y-position>321</y-position>   </node>
    <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
 <FuncName>label_begin</FuncName>
       <PyFunc><![CDATA[def label_begin( NB , KB , MINB , MAXB , AVERAGEB , SYRLISTB ) :]]></PyFunc>
       <PyFunc><![CDATA[    return NB,KB,MINB,MAXB,AVERAGEB,SYRLISTB]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 17:44:31</creation-date>
-    <lastmodification-date>19/1/2005 - 17:44:31</lastmodification-date>
+    <creation-date>8/3/2005 - 17:25:57</creation-date>
+    <lastmodification-date>8/3/2005 - 17:25:57</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Python function</comment>
     <x-position>183</x-position>
-    <y-position>219</y-position>   </node>
+    <y-position>220</y-position>   </node>
    <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
       <PyFunc><![CDATA[        Odd = 0]]></PyFunc>
       <PyFunc><![CDATA[    Even = ValEven]]></PyFunc>
       <PyFunc><![CDATA[    return Finished,Incr,Even,Odd,NT,KT,MIN,MAX,AVERAGE,SYRLIST]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 17:44:31</creation-date>
-    <lastmodification-date>19/1/2005 - 17:44:31</lastmodification-date>
+    <creation-date>8/3/2005 - 17:25:57</creation-date>
+    <lastmodification-date>8/3/2005 - 17:25:57</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Compute Node</comment>
-    <x-position>563</x-position>
-    <y-position>206</y-position>   </node>
+    <x-position>564</x-position>
+    <y-position>219</y-position>   </node>
    <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-       <inParameter-name>MIN</inParameter-name>      </inParameter>
+       <inParameter-name>MINT</inParameter-name>      </inParameter>
       <inParameter>
 <inParameter-type>long</inParameter-type>
-       <inParameter-name>MAX</inParameter-name>      </inParameter>
+       <inParameter-name>MAXT</inParameter-name>      </inParameter>
       <inParameter>
 <inParameter-type>double</inParameter-type>
-       <inParameter-name>AVERAGE</inParameter-name>      </inParameter>     </inParameter-list>
+       <inParameter-name>AVERAGET</inParameter-name>      </inParameter>     </inParameter-list>
      <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
 <PyFunction>
 <FuncName>?</FuncName>
       <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 17:44:31</creation-date>
-    <lastmodification-date>19/1/2005 - 17:44:31</lastmodification-date>
+    <creation-date>8/3/2005 - 17:25:57</creation-date>
+    <lastmodification-date>8/3/2005 - 17:25:57</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Compute Node</comment>
     <x-position>1064</x-position>
-    <y-position>379</y-position>   </node>
+    <y-position>339</y-position>   </node>
    <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
 <FuncName>C_NotOneIsEven</FuncName>
       <PyFunc><![CDATA[def C_NotOneIsEven( N , K , MINT , MAXT , AVERAGET , SYRLISTT ):]]></PyFunc>
       <PyFunc><![CDATA[    return 0,1,N,K,MINT,MAXT,AVERAGET,SYRLISTT]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 17:44:31</creation-date>
-    <lastmodification-date>19/1/2005 - 17:44:31</lastmodification-date>
+    <creation-date>8/3/2005 - 17:25:57</creation-date>
+    <lastmodification-date>8/3/2005 - 17:25:57</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
 <FuncName>control_div2</FuncName>
       <PyFunc><![CDATA[def control_div2( N , K , MINT , MAXT , AVERAGET , SYRLISTT ) :]]></PyFunc>
       <PyFunc><![CDATA[    return N,K,MINT,MAXT,AVERAGET,SYRLISTT]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>19/1/2005 - 17:44:31</creation-date>
-    <lastmodification-date>19/1/2005 - 17:44:31</lastmodification-date>
+    <creation-date>8/3/2005 - 17:25:57</creation-date>
+    <lastmodification-date>8/3/2005 - 17:25:57</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
     <toserviceparameter-name>ValEven</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>545</x>
-      <y>269</y>     </coord>
+<x>544</x>
+      <y>256</y>     </coord>
      <coord>
-<x>545</x>
-      <y>535</y>     </coord>    </coord-list>   </link>
+<x>544</x>
+      <y>524</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>test_ISONE</fromnode-name>
     <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
     <coord-list>
 <coord>
 <x>546</x>
-      <y>241</y>     </coord>
+      <y>237</y>     </coord>
      <coord>
-<x>545</x>
-      <y>208</y>     </coord>    </coord-list>   </link>
+<x>546</x>
+      <y>198</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>m3p1</fromnode-name>
     <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
     <toserviceparameter-name>N</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>977</x>
-      <y>43</y>     </coord>
+<x>975</x>
+      <y>38</y>     </coord>
      <coord>
 <x>976</x>
       <y>81</y>     </coord>    </coord-list>   </link>
     <toserviceparameter-name>N</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>1011</x>
-      <y>590</y>     </coord>
+<x>1012</x>
+      <y>585</y>     </coord>
      <coord>
-<x>1010</x>
-      <y>357</y>     </coord>    </coord-list>   </link>
+<x>1011</x>
+      <y>346</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>incr</fromnode-name>
     <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
     <toserviceparameter-name>K</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>964</x>
-      <y>618</y>     </coord>
-     <coord>
 <x>966</x>
-      <y>217</y>     </coord>    </coord-list>   </link>
+      <y>606</y>     </coord>
+     <coord>
+<x>968</x>
+      <y>207</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>incr</fromnode-name>
     <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
     <toserviceparameter-name>K</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>966</x>
-      <y>70</y>     </coord>
+<x>965</x>
+      <y>59</y>     </coord>
      <coord>
 <x>966</x>
-      <y>216</y>     </coord>    </coord-list>   </link>
+      <y>208</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>incr</fromnode-name>
     <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
     <toserviceparameter-name>aCount</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>778</x>
-      <y>615</y>     </coord>
+<x>751</x>
+      <y>588</y>     </coord>
      <coord>
-<x>779</x>
-      <y>462</y>     </coord>
+<x>751</x>
+      <y>460</y>     </coord>
      <coord>
 <x>965</x>
       <y>462</y>     </coord>
      <coord>
-<x>966</x>
-      <y>216</y>     </coord>    </coord-list>   </link>
+<x>968</x>
+      <y>205</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>C_MIN</fromnode-name>
     <fromserviceparameter-name>aNewMinVal</fromserviceparameter-name>
     <coord-list>
 <coord>
 <x>991</x>
-      <y>100</y>     </coord>
+      <y>78</y>     </coord>
      <coord>
 <x>991</x>
-      <y>913</y>     </coord>    </coord-list>   </link>
+      <y>905</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>C_MIN</fromnode-name>
     <fromserviceparameter-name>aNewMinVal</fromserviceparameter-name>
     <toserviceparameter-name>MINT</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>990</x>
-      <y>646</y>     </coord>
+<x>991</x>
+      <y>626</y>     </coord>
      <coord>
 <x>991</x>
-      <y>912</y>     </coord>    </coord-list>   </link>
+      <y>905</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>C_MAX</fromnode-name>
     <fromserviceparameter-name>aNewMaxVal</fromserviceparameter-name>
     <toserviceparameter-name>MAXT</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>974</x>
-      <y>130</y>     </coord>
+<x>976</x>
+      <y>98</y>     </coord>
      <coord>
 <x>974</x>
-      <y>747</y>     </coord>    </coord-list>   </link>
+      <y>738</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>C_MAX</fromnode-name>
     <fromserviceparameter-name>aNewMaxVal</fromserviceparameter-name>
     <toserviceparameter-name>MAXT</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>973</x>
-      <y>676</y>     </coord>
+<x>972</x>
+      <y>648</y>     </coord>
      <coord>
 <x>974</x>
-      <y>747</y>     </coord>    </coord-list>   </link>
+      <y>738</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>C_AVERAGE</fromnode-name>
     <fromserviceparameter-name>aNewListOfSyr</fromserviceparameter-name>
     <coord-list>
 <coord>
 <x>1037</x>
-      <y>188</y>     </coord>
+      <y>137</y>     </coord>
      <coord>
 <x>1038</x>
       <y>556</y>     </coord>    </coord-list>   </link>
     <coord-list>
 <coord>
 <x>1038</x>
-      <y>735</y>     </coord>
+      <y>686</y>     </coord>
      <coord>
 <x>1038</x>
       <y>555</y>     </coord>    </coord-list>   </link>
     <toserviceparameter-name>AVERAGET</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>1027</x>
-      <y>158</y>     </coord>
-     <coord>
 <x>1026</x>
-      <y>584</y>     </coord>    </coord-list>   </link>
+      <y>118</y>     </coord>
+     <coord>
+<x>1027</x>
+      <y>567</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>C_AVERAGE</fromnode-name>
     <fromserviceparameter-name>anAverage</fromserviceparameter-name>
     <coord-list>
 <coord>
 <x>1027</x>
-      <y>706</y>     </coord>
+      <y>668</y>     </coord>
      <coord>
-<x>1027</x>
-      <y>584</y>     </coord>    </coord-list>   </link>
+<x>1026</x>
+      <y>568</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>C_LISTOFSYR</fromnode-name>
     <fromserviceparameter-name>aListOfSyr</fromserviceparameter-name>
     <toserviceparameter-name>anInteger</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>362</x>
-      <y>207</y>     </coord>
+<x>361</x>
+      <y>197</y>     </coord>
      <coord>
-<x>362</x>
-      <y>299</y>     </coord>    </coord-list>   </link>
+<x>360</x>
+      <y>290</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>label_begin</fromnode-name>
     <fromserviceparameter-name>NT</fromserviceparameter-name>
     <toserviceparameter-name>anInteger</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>361</x>
-      <y>534</y>     </coord>
+<x>359</x>
+      <y>525</y>     </coord>
      <coord>
-<x>362</x>
-      <y>299</y>     </coord>    </coord-list>   </link>
+<x>361</x>
+      <y>291</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>label_begin</fromnode-name>
     <fromserviceparameter-name>KT</fromserviceparameter-name>
     <toserviceparameter-name>SYRLIST</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
-<fromnode-name>label_test</fromnode-name>
-    <fromserviceparameter-name>Finished</fromserviceparameter-name>
-    <tonode-name>EndL_OneEven</tonode-name>
-    <toserviceparameter-name>Default</toserviceparameter-name>
-    <coord-list/>   </link>
-   <link>
 <fromnode-name>label_test</fromnode-name>
     <fromserviceparameter-name>Even</fromserviceparameter-name>
     <tonode-name>div2</tonode-name>
     <toserviceparameter-name>Gate</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>780</x>
-      <y>387</y>     </coord>
+<x>777</x>
+      <y>351</y>     </coord>
      <coord>
-<x>779</x>
-      <y>299</y>     </coord>    </coord-list>   </link>
+<x>777</x>
+      <y>286</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>label_test</fromnode-name>
     <fromserviceparameter-name>Odd</fromserviceparameter-name>
     <toserviceparameter-name>Gate</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>756</x>
-      <y>115</y>     </coord>
+<x>757</x>
+      <y>95</y>     </coord>
      <coord>
-<x>756</x>
-      <y>328</y>     </coord>    </coord-list>   </link>
+<x>757</x>
+      <y>310</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>label_test</fromnode-name>
     <fromserviceparameter-name>N</fromserviceparameter-name>
     <toserviceparameter-name>anOddInteger</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>740</x>
-      <y>80</y>     </coord>
+<x>741</x>
+      <y>72</y>     </coord>
      <coord>
 <x>741</x>
-      <y>356</y>     </coord>    </coord-list>   </link>
+      <y>331</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>label_test</fromnode-name>
     <fromserviceparameter-name>N</fromserviceparameter-name>
     <toserviceparameter-name>anInteger</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>741</x>
-      <y>943</y>     </coord>
+<x>744</x>
+      <y>923</y>     </coord>
      <coord>
-<x>740</x>
-      <y>357</y>     </coord>    </coord-list>   </link>
+<x>742</x>
+      <y>331</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>label_test</fromnode-name>
     <fromserviceparameter-name>N</fromserviceparameter-name>
     <coord-list>
 <coord>
 <x>742</x>
-      <y>778</y>     </coord>
+      <y>759</y>     </coord>
      <coord>
-<x>741</x>
-      <y>359</y>     </coord>    </coord-list>   </link>
+<x>743</x>
+      <y>332</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>label_test</fromnode-name>
     <fromserviceparameter-name>N</fromserviceparameter-name>
     <toserviceparameter-name>anInteger</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>742</x>
-      <y>584</y>     </coord>
-     <coord>
 <x>741</x>
-      <y>357</y>     </coord>    </coord-list>   </link>
+      <y>568</y>     </coord>
+     <coord>
+<x>742</x>
+      <y>330</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>label_test</fromnode-name>
     <fromserviceparameter-name>K</fromserviceparameter-name>
     <toserviceparameter-name>aCount</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>765</x>
-      <y>217</y>     </coord>
+<x>766</x>
+      <y>207</y>     </coord>
      <coord>
-<x>764</x>
-      <y>385</y>     </coord>    </coord-list>   </link>
+<x>766</x>
+      <y>343</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>label_test</fromnode-name>
     <fromserviceparameter-name>MINT</fromserviceparameter-name>
     <toserviceparameter-name>aMinVal</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>759</x>
-      <y>914</y>     </coord>
+<x>760</x>
+      <y>904</y>     </coord>
      <coord>
-<x>758</x>
-      <y>414</y>     </coord>    </coord-list>   </link>
+<x>756</x>
+      <y>372</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>label_test</fromnode-name>
     <fromserviceparameter-name>MINT</fromserviceparameter-name>
     <tonode-name>EndL_OneEven</tonode-name>
-    <toserviceparameter-name>MIN</toserviceparameter-name>
+    <toserviceparameter-name>MINT</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
 <fromnode-name>label_test</fromnode-name>
     <toserviceparameter-name>aMaxVal</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>729</x>
-      <y>749</y>     </coord>
+<x>765</x>
+      <y>742</y>     </coord>
      <coord>
-<x>728</x>
-      <y>444</y>     </coord>    </coord-list>   </link>
+<x>766</x>
+      <y>384</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>label_test</fromnode-name>
     <fromserviceparameter-name>MAXT</fromserviceparameter-name>
     <tonode-name>EndL_OneEven</tonode-name>
-    <toserviceparameter-name>MAX</toserviceparameter-name>
+    <toserviceparameter-name>MAXT</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
 <fromnode-name>label_test</fromnode-name>
     <fromserviceparameter-name>AVERAGET</fromserviceparameter-name>
     <tonode-name>EndL_OneEven</tonode-name>
-    <toserviceparameter-name>AVERAGE</toserviceparameter-name>
+    <toserviceparameter-name>AVERAGET</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
 <fromnode-name>label_test</fromnode-name>
     <toserviceparameter-name>aListOfSyr</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>771</x>
-      <y>557</y>     </coord>
+<x>773</x>
+      <y>546</y>     </coord>
      <coord>
-<x>770</x>
-      <y>502</y>     </coord>    </coord-list>   </link>
+<x>772</x>
+      <y>424</y>     </coord>    </coord-list>   </link>
+   <link>
+<fromnode-name>label_test</fromnode-name>
+    <fromserviceparameter-name>Default</fromserviceparameter-name>
+    <tonode-name>EndL_OneEven</tonode-name>
+    <toserviceparameter-name>Default</toserviceparameter-name>
+    <coord-list/>   </link>
    <link>
 <fromnode-name>control_m3p1</fromnode-name>
     <fromserviceparameter-name>Gate</fromserviceparameter-name>
     <coord-list>
 <coord>
 <x>553</x>
-      <y>536</y>     </coord>
+      <y>453</y>     </coord>
      <coord>
 <x>554</x>
       <y>1025</y>     </coord>
 <x>1242</x>
       <y>1026</y>     </coord>
      <coord>
-<x>1243</x>
-      <y>279</y>     </coord>    </coord-list>   </link>
+<x>1234</x>
+      <y>204</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>control_div2</fromnode-name>
     <fromserviceparameter-name>Gate</fromserviceparameter-name>
     <coord-list>
 <coord>
 <x>176</x>
-      <y>476</y>     </coord>
+      <y>419</y>     </coord>
      <coord>
 <x>176</x>
       <y>997</y>     </coord>
 <x>1217</x>
       <y>996</y>     </coord>
      <coord>
-<x>1218</x>
-      <y>768</y>     </coord>    </coord-list>   </link>  </link-list>
+<x>1223</x>
+      <y>711</y>     </coord>    </coord-list>   </link>  </link-list>
   <data-list>
 <data>
-<fromnode-name>GraphSyrControlAve</fromnode-name>
+<fromnode-name>GraphSyrControlAve_1</fromnode-name>
     <fromserviceparameter-name>label_begin__NB</fromserviceparameter-name>
     <tonode-name>label_begin</tonode-name>
     <toserviceparameter-name>NB</toserviceparameter-name>
      <value>31</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphSyrControlAve</fromnode-name>
+<fromnode-name>GraphSyrControlAve_1</fromnode-name>
     <fromserviceparameter-name>label_begin__KB</fromserviceparameter-name>
     <tonode-name>label_begin</tonode-name>
     <toserviceparameter-name>KB</toserviceparameter-name>
      <value>0</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphSyrControlAve</fromnode-name>
+<fromnode-name>GraphSyrControlAve_1</fromnode-name>
     <fromserviceparameter-name>label_begin__MINB</fromserviceparameter-name>
     <tonode-name>label_begin</tonode-name>
     <toserviceparameter-name>MINB</toserviceparameter-name>
      <value>0</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphSyrControlAve</fromnode-name>
+<fromnode-name>GraphSyrControlAve_1</fromnode-name>
     <fromserviceparameter-name>label_begin__MAXB</fromserviceparameter-name>
     <tonode-name>label_begin</tonode-name>
     <toserviceparameter-name>MAXB</toserviceparameter-name>
      <value>0</value>    </data-value>
     <coord-list/>   </data>
    <data>
-<fromnode-name>GraphSyrControlAve</fromnode-name>
+<fromnode-name>GraphSyrControlAve_1</fromnode-name>
     <fromserviceparameter-name>label_begin__AVERAGEB</fromserviceparameter-name>
     <tonode-name>label_begin</tonode-name>
     <toserviceparameter-name>AVERAGEB</toserviceparameter-name>