]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Updated example graphs from Jean Rahuel. Mainly Switch nodes in the graphs were...
authorasv <asv@opencascade.com>
Fri, 28 Jan 2005 12:13:55 +0000 (12:13 +0000)
committerasv <asv@opencascade.com>
Fri, 28 Jan 2005 12:13:55 +0000 (12:13 +0000)
18 files changed:
examples/GraphGOTO.py
examples/GraphGOTO.xml
examples/GraphSwitch.py
examples/GraphSwitch.xml
examples/GraphSwitch1.py
examples/GraphSwitch1.xml
examples/GraphSwitch2.py
examples/GraphSwitch2.xml
examples/GraphSwitchCheckDefault1.py
examples/GraphSwitchCheckDefault1.xml
examples/GraphSwitchCheckDefault2.py
examples/GraphSwitchCheckDefault2.xml
examples/GraphSwitchOutput.py
examples/GraphSwitchOutput.xml
examples/GraphSwitchs.py
examples/GraphSwitchs.xml
examples/SyrStruct.py
examples/SyrStruct.xml

index 4d555c2e0ecf1e367e9d57d1300477f81050ecc2..eb27bdf48bbdbaddb905fc1fba43ac063ee0a36c 100644 (file)
@@ -1,41 +1,41 @@
 
-# Generated python file of Graph GraphGOTO
+# Generated python file of Graph GraphGOTO_2
 
 from SuperV import *
 
-# Graph creation of GraphGOTO
-def DefGraphGOTO() :
-    GraphGOTO = Graph( 'GraphGOTO' )
-    GraphGOTO.SetName( 'GraphGOTO' )
-    GraphGOTO.SetAuthor( 'JR' )
-    GraphGOTO.SetComment( 'Syracuse algorithm' )
-    GraphGOTO.Coords( 0 , 0 )
+# Graph creation of GraphGOTO_2
+def DefGraphGOTO_2() :
+    GraphGOTO_2 = Graph( 'GraphGOTO_2' )
+    GraphGOTO_2.SetName( 'GraphGOTO_2' )
+    GraphGOTO_2.SetAuthor( 'JR' )
+    GraphGOTO_2.SetComment( 'Syracuse algorithm' )
+    GraphGOTO_2.Coords( 0 , 0 )
     
     # Creation of Factory Nodes
     
-    test_ISEVEN = GraphGOTO.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' )
+    test_ISEVEN = GraphGOTO_2.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' )
     test_ISEVEN.SetName( 'test_ISEVEN' )
     test_ISEVEN.SetAuthor( '' )
     test_ISEVEN.SetContainer( 'localhost/FactoryServer' )
     test_ISEVEN.SetComment( 'C_ISEVEN from SyrComponent' )
-    test_ISEVEN.Coords( 195 , 417 )
+    test_ISEVEN.Coords( 204 , 420 )
     Itest_ISEVENanInteger = test_ISEVEN.GetInPort( 'anInteger' )
     Itest_ISEVENGate = test_ISEVEN.GetInPort( 'Gate' )
     Otest_ISEVENBoolEven = test_ISEVEN.GetOutPort( 'BoolEven' )
     Otest_ISEVENGate = test_ISEVEN.GetOutPort( 'Gate' )
     
-    test_ISONE = GraphGOTO.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' )
+    test_ISONE = GraphGOTO_2.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' )
     test_ISONE.SetName( 'test_ISONE' )
     test_ISONE.SetAuthor( '' )
     test_ISONE.SetContainer( 'localhost/FactoryServer' )
     test_ISONE.SetComment( 'C_ISONE from SyrComponent' )
-    test_ISONE.Coords( 201 , 145 )
+    test_ISONE.Coords( 208 , 155 )
     Itest_ISONEanInteger = test_ISONE.GetInPort( 'anInteger' )
     Itest_ISONEGate = test_ISONE.GetInPort( 'Gate' )
     Otest_ISONEBoolOne = test_ISONE.GetOutPort( 'BoolOne' )
     Otest_ISONEGate = test_ISONE.GetOutPort( 'Gate' )
     
-    m3p1 = GraphGOTO.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
+    m3p1 = GraphGOTO_2.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
     m3p1.SetName( 'm3p1' )
     m3p1.SetAuthor( '' )
     m3p1.SetContainer( 'localhost/FactoryServer' )
@@ -46,7 +46,7 @@ def DefGraphGOTO() :
     Om3p1anEvenInteger = m3p1.GetOutPort( 'anEvenInteger' )
     Om3p1Gate = m3p1.GetOutPort( 'Gate' )
     
-    div2 = GraphGOTO.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
+    div2 = GraphGOTO_2.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
     div2.SetName( 'div2' )
     div2.SetAuthor( '' )
     div2.SetContainer( 'localhost/FactoryServer' )
@@ -57,7 +57,7 @@ def DefGraphGOTO() :
     Odiv2anInteger = div2.GetOutPort( 'anInteger' )
     Odiv2Gate = div2.GetOutPort( 'Gate' )
     
-    incr = GraphGOTO.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+    incr = GraphGOTO_2.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
     incr.SetName( 'incr' )
     incr.SetAuthor( '' )
     incr.SetContainer( 'localhost/FactoryServer' )
@@ -68,7 +68,7 @@ def DefGraphGOTO() :
     OincraNewCount = incr.GetOutPort( 'aNewCount' )
     OincrGate = incr.GetOutPort( 'Gate' )
     
-    incr_1 = GraphGOTO.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+    incr_1 = GraphGOTO_2.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
     incr_1.SetName( 'incr_1' )
     incr_1.SetAuthor( '' )
     incr_1.SetContainer( 'localhost/FactoryServer' )
@@ -84,11 +84,11 @@ def DefGraphGOTO() :
     Pylabel_begin.append( 'def label_begin( NB , KB ):' )
     Pylabel_begin.append( '    print "label_begin",NB,KB' )
     Pylabel_begin.append( '    return NB,KB' )
-    label_begin = GraphGOTO.INode( 'label_begin' , Pylabel_begin )
+    label_begin = GraphGOTO_2.INode( 'label_begin' , Pylabel_begin )
     label_begin.SetName( 'label_begin' )
     label_begin.SetAuthor( '' )
     label_begin.SetComment( 'Python function' )
-    label_begin.Coords( 9 , 250 )
+    label_begin.Coords( 10 , 260 )
     Ilabel_beginNB = label_begin.InPort( 'NB' , 'long' )
     Ilabel_beginKB = label_begin.InPort( 'KB' , 'long' )
     Ilabel_beginGate = label_begin.GetInPort( 'Gate' )
@@ -100,11 +100,11 @@ def DefGraphGOTO() :
     Pylabel_test.append( 'def label_test( ValEven , ValOne , NB , KB ):' )
     Pylabel_test.append( '    print "label_begin",ValEven,ValOne,NB,KB' )
     Pylabel_test.append( '    return ValEven,ValOne,NB,KB' )
-    label_test = GraphGOTO.INode( 'label_test' , Pylabel_test )
+    label_test = GraphGOTO_2.INode( 'label_test' , Pylabel_test )
     label_test.SetName( 'label_test' )
     label_test.SetAuthor( '' )
     label_test.SetComment( 'Python function' )
-    label_test.Coords( 396 , 193 )
+    label_test.Coords( 400 , 220 )
     Ilabel_testValEven = label_test.InPort( 'ValEven' , 'long' )
     Ilabel_testValOne = label_test.InPort( 'ValOne' , 'long' )
     Ilabel_testNT = label_test.InPort( 'NT' , 'long' )
@@ -133,11 +133,11 @@ def DefGraphGOTO() :
     Pytest.append( '        Odd = 0' )
     Pytest.append( '    Even = ValEven' )
     Pytest.append( '    return Finished,Incr,Even,Odd,NT,KT' )
-    test,EndSwitch_OneEven = GraphGOTO.SNode( 'Switch_OneEven' , Pytest )
+    test,EndSwitch_OneEven = GraphGOTO_2.SNode( 'Switch_OneEven' , Pytest )
     EndSwitch_OneEven.SetName( 'EndSwitch_OneEven' )
     EndSwitch_OneEven.SetAuthor( '' )
     EndSwitch_OneEven.SetComment( 'Compute Node' )
-    EndSwitch_OneEven.Coords( 1256 , 305 )
+    EndSwitch_OneEven.Coords( 1331 , 310 )
     PyEndSwitch_OneEven = []
     PyEndSwitch_OneEven.append( 'def EndSwitch_OneEven( Finished , K ):' )
     PyEndSwitch_OneEven.append( '    print "label_begin",Finished,K' )
@@ -152,7 +152,7 @@ def DefGraphGOTO() :
     test.SetName( 'test' )
     test.SetAuthor( '' )
     test.SetComment( 'Compute Node' )
-    test.Coords( 595 , 239 )
+    test.Coords( 596 , 260 )
     ItestValOne = test.InPort( 'ValOne' , 'long' )
     ItestValEven = test.InPort( 'ValEven' , 'long' )
     ItestNT = test.InPort( 'NT' , 'long' )
@@ -170,11 +170,11 @@ def DefGraphGOTO() :
     Pycontrol_m3p1 = []
     Pycontrol_m3p1.append( 'def control_m3p1( N , K ):' )
     Pycontrol_m3p1.append( '    return 0,1,N,K' )
-    control_m3p1 = GraphGOTO.GNode( 'control_m3p1' , Pycontrol_m3p1 , 'label_test' )
+    control_m3p1 = GraphGOTO_2.GNode( 'control_m3p1' , Pycontrol_m3p1 , 'label_test' )
     control_m3p1.SetName( 'control_m3p1' )
     control_m3p1.SetAuthor( '' )
     control_m3p1.SetComment( 'Compute Node' )
-    control_m3p1.Coords( 1073 , 87 )
+    control_m3p1.Coords( 1073 , 86 )
     Icontrol_m3p1N = control_m3p1.InPort( 'N' , 'long' )
     Icontrol_m3p1K = control_m3p1.InPort( 'K' , 'long' )
     Icontrol_m3p1Gate = control_m3p1.GetInPort( 'Gate' )
@@ -187,7 +187,7 @@ def DefGraphGOTO() :
     Pycontrol_div2 = []
     Pycontrol_div2.append( 'def control_div2( N , NB ) :' )
     Pycontrol_div2.append( '    return N,NB' )
-    control_div2 = GraphGOTO.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
+    control_div2 = GraphGOTO_2.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
     control_div2.SetName( 'control_div2' )
     control_div2.SetAuthor( '' )
     control_div2.SetComment( 'Compute Node' )
@@ -200,93 +200,82 @@ def DefGraphGOTO() :
     Ocontrol_div2Gate = control_div2.GetOutPort( 'Gate' )
     
     # Creation of Links
-    Ltest_ISEVENBoolEvenlabel_testValEven = GraphGOTO.Link( Otest_ISEVENBoolEven , Ilabel_testValEven )
-    Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 369 , 273 )
-    Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 370 , 498 )
+    Ltest_ISEVENBoolEvenlabel_testValEven = GraphGOTO_2.Link( Otest_ISEVENBoolEven , Ilabel_testValEven )
+    Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 374 , 290 )
+    Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 374 , 491 )
     
-    Ltest_ISONEBoolOnelabel_testValOne = GraphGOTO.Link( Otest_ISONEBoolOne , Ilabel_testValOne )
-    Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 1 , 385 , 303 )
-    Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 2 , 384 , 225 )
+    Ltest_ISONEBoolOnelabel_testValOne = GraphGOTO_2.Link( Otest_ISONEBoolOne , Ilabel_testValOne )
+    Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 1 , 385 , 311 )
+    Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 2 , 385 , 226 )
     
-    Lm3p1anEvenIntegercontrol_m3p1N = GraphGOTO.Link( Om3p1anEvenInteger , Icontrol_m3p1N )
+    Lm3p1anEvenIntegercontrol_m3p1N = GraphGOTO_2.Link( Om3p1anEvenInteger , Icontrol_m3p1N )
     
-    Ldiv2anIntegercontrol_div2N = GraphGOTO.Link( Odiv2anInteger , Icontrol_div2N )
+    Ldiv2anIntegercontrol_div2N = GraphGOTO_2.Link( Odiv2anInteger , Icontrol_div2N )
     
-    LincraNewCountcontrol_m3p1K = GraphGOTO.Link( OincraNewCount , Icontrol_m3p1K )
-    LincraNewCountcontrol_m3p1K.AddCoord( 1 , 1048 , 139 )
+    LincraNewCountcontrol_m3p1K = GraphGOTO_2.Link( OincraNewCount , Icontrol_m3p1K )
+    LincraNewCountcontrol_m3p1K.AddCoord( 1 , 1048 , 135 )
     LincraNewCountcontrol_m3p1K.AddCoord( 2 , 1048 , 241 )
     
-    Lincr_1aNewCountcontrol_div2K = GraphGOTO.Link( Oincr_1aNewCount , Icontrol_div2K )
+    Lincr_1aNewCountcontrol_div2K = GraphGOTO_2.Link( Oincr_1aNewCount , Icontrol_div2K )
     
-    Llabel_beginNTlabel_testNT = GraphGOTO.Link( Olabel_beginNT , Ilabel_testNT )
+    Llabel_beginNTlabel_testNT = GraphGOTO_2.Link( Olabel_beginNT , Ilabel_testNT )
     
-    Llabel_beginNTtest_ISONEanInteger = GraphGOTO.Link( Olabel_beginNT , Itest_ISONEanInteger )
-    Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 192 , 226 )
+    Llabel_beginNTtest_ISONEanInteger = GraphGOTO_2.Link( Olabel_beginNT , Itest_ISONEanInteger )
+    Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 191 , 225 )
     Llabel_beginNTtest_ISONEanInteger.AddCoord( 2 , 191 , 331 )
     
-    Llabel_beginNTtest_ISEVENanInteger = GraphGOTO.Link( Olabel_beginNT , Itest_ISEVENanInteger )
-    Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 191 , 494 )
-    Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 192 , 331 )
+    Llabel_beginNTtest_ISEVENanInteger = GraphGOTO_2.Link( Olabel_beginNT , Itest_ISEVENanInteger )
+    Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 190 , 491 )
+    Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 190 , 331 )
     
-    Llabel_beginKTlabel_testKT = GraphGOTO.Link( Olabel_beginKT , Ilabel_testKT )
+    Llabel_beginKTlabel_testKT = GraphGOTO_2.Link( Olabel_beginKT , Ilabel_testKT )
     
-    Llabel_testValEventestValEven = GraphGOTO.Link( Olabel_testValEven , ItestValEven )
-    Llabel_testValEventestValEven.AddCoord( 1 , 587 , 318 )
-    Llabel_testValEventestValEven.AddCoord( 2 , 570 , 318 )
-    Llabel_testValEventestValEven.AddCoord( 3 , 569 , 272 )
+    Llabel_testValEventestValEven = GraphGOTO_2.Link( Olabel_testValEven , ItestValEven )
     
-    Llabel_testValOnetestValOne = GraphGOTO.Link( Olabel_testValOne , ItestValOne )
-    Llabel_testValOnetestValOne.AddCoord( 1 , 585 , 273 )
-    Llabel_testValOnetestValOne.AddCoord( 2 , 586 , 303 )
+    Llabel_testValOnetestValOne = GraphGOTO_2.Link( Olabel_testValOne , ItestValOne )
     
-    Llabel_testNTtestNT = GraphGOTO.Link( Olabel_testNT , ItestNT )
+    Llabel_testNTtestNT = GraphGOTO_2.Link( Olabel_testNT , ItestNT )
     
-    Llabel_testKTtestKT = GraphGOTO.Link( Olabel_testKT , ItestKT )
+    Llabel_testKTtestKT = GraphGOTO_2.Link( Olabel_testKT , ItestKT )
     
-    LtestFinishedEndSwitch_OneEvenFinished = GraphGOTO.Link( OtestFinished , IEndSwitch_OneEvenFinished )
+    LtestFinishedEndSwitch_OneEvenFinished = GraphGOTO_2.Link( OtestFinished , IEndSwitch_OneEvenFinished )
     
-    LtestEvenincr_1Gate = GraphGOTO.Link( OtestEven , Iincr_1Gate )
+    LtestEvenincr_1Gate = GraphGOTO_2.Link( OtestEven , Iincr_1Gate )
     
-    LtestEvendiv2Gate = GraphGOTO.Link( OtestEven , Idiv2Gate )
-    LtestEvendiv2Gate.AddCoord( 1 , 793 , 561 )
-    LtestEvendiv2Gate.AddCoord( 2 , 794 , 310 )
+    LtestEvendiv2Gate = GraphGOTO_2.Link( OtestEven , Idiv2Gate )
     
-    LtestOddincrGate = GraphGOTO.Link( OtestOdd , IincrGate )
+    LtestOddincrGate = GraphGOTO_2.Link( OtestOdd , IincrGate )
     
-    LtestOddm3p1Gate = GraphGOTO.Link( OtestOdd , Im3p1Gate )
-    LtestOddm3p1Gate.AddCoord( 1 , 778 , 138 )
-    LtestOddm3p1Gate.AddCoord( 2 , 780 , 328 )
+    LtestOddm3p1Gate = GraphGOTO_2.Link( OtestOdd , Im3p1Gate )
     
-    LtestNm3p1anOddInteger = GraphGOTO.Link( OtestN , Im3p1anOddInteger )
-    LtestNm3p1anOddInteger.AddCoord( 1 , 808 , 113 )
-    LtestNm3p1anOddInteger.AddCoord( 2 , 807 , 352 )
+    LtestNm3p1anOddInteger = GraphGOTO_2.Link( OtestN , Im3p1anOddInteger )
+    LtestNm3p1anOddInteger.AddCoord( 1 , 808 , 116 )
+    LtestNm3p1anOddInteger.AddCoord( 2 , 806 , 372 )
     
-    LtestNdiv2anEvenInteger = GraphGOTO.Link( OtestN , Idiv2anEvenInteger )
+    LtestNdiv2anEvenInteger = GraphGOTO_2.Link( OtestN , Idiv2anEvenInteger )
     LtestNdiv2anEvenInteger.AddCoord( 1 , 806 , 537 )
-    LtestNdiv2anEvenInteger.AddCoord( 2 , 807 , 351 )
+    LtestNdiv2anEvenInteger.AddCoord( 2 , 806 , 373 )
     
-    LtestKEndSwitch_OneEvenK = GraphGOTO.Link( OtestK , IEndSwitch_OneEvenK )
+    LtestKEndSwitch_OneEvenK = GraphGOTO_2.Link( OtestK , IEndSwitch_OneEvenK )
     
-    LtestKincraCount = GraphGOTO.Link( OtestK , IincraCount )
-    LtestKincraCount.AddCoord( 1 , 773 , 236 )
-    LtestKincraCount.AddCoord( 2 , 773 , 370 )
+    LtestKincraCount = GraphGOTO_2.Link( OtestK , IincraCount )
     
-    LtestKincr_1aCount = GraphGOTO.Link( OtestK , Iincr_1aCount )
-    LtestKincr_1aCount.AddCoord( 1 , 774 , 409 )
-    LtestKincr_1aCount.AddCoord( 2 , 773 , 368 )
+    LtestKincr_1aCount = GraphGOTO_2.Link( OtestK , Iincr_1aCount )
     
-    LtestDefaultEndSwitch_OneEvenDefault = GraphGOTO.Link( OtestDefault , IEndSwitch_OneEvenDefault )
-    LtestDefaultEndSwitch_OneEvenDefault.AddCoord( 1 , 840 , 381 )
-    LtestDefaultEndSwitch_OneEvenDefault.AddCoord( 2 , 839 , 394 )
+    LtestDefaultEndSwitch_OneEvenDefault = GraphGOTO_2.Link( OtestDefault , IEndSwitch_OneEvenDefault )
+    LtestDefaultEndSwitch_OneEvenDefault.AddCoord( 1 , 1319 , 385 )
+    LtestDefaultEndSwitch_OneEvenDefault.AddCoord( 2 , 1319 , 577 )
+    LtestDefaultEndSwitch_OneEvenDefault.AddCoord( 3 , 779 , 577 )
+    LtestDefaultEndSwitch_OneEvenDefault.AddCoord( 4 , 778 , 415 )
     
-    Lcontrol_m3p1Gatelabel_testGate = GraphGOTO.Link( Ocontrol_m3p1Gate , Ilabel_testGate )
-    Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 388 , 388 )
+    Lcontrol_m3p1Gatelabel_testGate = GraphGOTO_2.Link( Ocontrol_m3p1Gate , Ilabel_testGate )
+    Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 389 , 375 )
     Lcontrol_m3p1Gatelabel_testGate.AddCoord( 2 , 389 , 597 )
-    Lcontrol_m3p1Gatelabel_testGate.AddCoord( 3 , 1441 , 604 )
-    Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1441 , 199 )
+    Lcontrol_m3p1Gatelabel_testGate.AddCoord( 3 , 1519 , 602 )
+    Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1508 , 201 )
     
-    Lcontrol_div2Gatelabel_beginGate = GraphGOTO.Link( Ocontrol_div2Gate , Ilabel_beginGate )
-    Lcontrol_div2Gatelabel_beginGate.AddCoord( 1 , 4 , 388 )
+    Lcontrol_div2Gatelabel_beginGate = GraphGOTO_2.Link( Ocontrol_div2Gate , Ilabel_beginGate )
+    Lcontrol_div2Gatelabel_beginGate.AddCoord( 1 , 3 , 373 )
     Lcontrol_div2Gatelabel_beginGate.AddCoord( 2 , 3 , 587 )
     Lcontrol_div2Gatelabel_beginGate.AddCoord( 3 , 1307 , 586 )
     Lcontrol_div2Gatelabel_beginGate.AddCoord( 4 , 1307 , 528 )
@@ -299,14 +288,7 @@ def DefGraphGOTO() :
     #OtestIncr = test.GetOutPort( 'Incr' )
     #OEndSwitch_OneEvenFinished = EndSwitch_OneEven.GetOutPort( 'Finished' )
     #OEndSwitch_OneEvenK = EndSwitch_OneEven.GetOutPort( 'K' )
-    return GraphGOTO
+    return GraphGOTO_2
 
 
-GraphGOTO = DefGraphGOTO()
-
-GraphGOTO.Run()
-
-GraphGOTO.DoneW()
-
-GraphGOTO.PrintPorts()
-
+GraphGOTO_2 = DefGraphGOTO_2()
index fc3884b123029d74a2cbd9f0231aa9e4d0659680..c94611811f4bd59c407dc4b70eb25648f5de3a1b 100644 (file)
@@ -30,7 +30,7 @@
     <DataStream-list/>
     <PyFunction-list/>
     <creation-date>17/1/2005 - 13:44:46</creation-date>
-    <lastmodification-date>17/1/2005 - 13:47:40</lastmodification-date>
+    <lastmodification-date>18/1/2005 - 16:11:13</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>JR</author>
     <container>?</container>
        <outParameter-name>BoolEven</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list/>
-    <creation-date>17/1/2005 - 13:45:36</creation-date>
-    <lastmodification-date>17/1/2005 - 13:45:36</lastmodification-date>
+    <creation-date>18/1/2005 - 16:11:13</creation-date>
+    <lastmodification-date>18/1/2005 - 16:11:13</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>localhost/FactoryServer</container>
     <comment>C_ISEVEN from SyrComponent</comment>
-    <x-position>195</x-position>
-    <y-position>417</y-position>   </node>
+    <x-position>204</x-position>
+    <y-position>420</y-position>   </node>
    <node>
 <component-name>SyrComponent</component-name>
     <interface-name>SyrComponent</interface-name>
        <outParameter-name>BoolOne</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list/>
-    <creation-date>17/1/2005 - 13:45:36</creation-date>
-    <lastmodification-date>17/1/2005 - 13:45:36</lastmodification-date>
+    <creation-date>18/1/2005 - 16:11:13</creation-date>
+    <lastmodification-date>18/1/2005 - 16:11:13</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>localhost/FactoryServer</container>
     <comment>C_ISONE from SyrComponent</comment>
-    <x-position>201</x-position>
-    <y-position>145</y-position>   </node>
+    <x-position>208</x-position>
+    <y-position>155</y-position>   </node>
    <node>
 <component-name>SyrComponent</component-name>
     <interface-name>SyrComponent</interface-name>
        <outParameter-name>anEvenInteger</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list/>
-    <creation-date>17/1/2005 - 13:45:36</creation-date>
-    <lastmodification-date>17/1/2005 - 13:45:36</lastmodification-date>
+    <creation-date>18/1/2005 - 16:11:13</creation-date>
+    <lastmodification-date>18/1/2005 - 16:11:13</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>localhost/FactoryServer</container>
        <outParameter-name>anInteger</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list/>
-    <creation-date>17/1/2005 - 13:45:36</creation-date>
-    <lastmodification-date>17/1/2005 - 13:45:36</lastmodification-date>
+    <creation-date>18/1/2005 - 16:11:13</creation-date>
+    <lastmodification-date>18/1/2005 - 16:11:13</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>localhost/FactoryServer</container>
        <outParameter-name>aNewCount</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list/>
-    <creation-date>17/1/2005 - 13:45:36</creation-date>
-    <lastmodification-date>17/1/2005 - 13:45:36</lastmodification-date>
+    <creation-date>18/1/2005 - 16:11:13</creation-date>
+    <lastmodification-date>18/1/2005 - 16:11:13</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>localhost/FactoryServer</container>
        <outParameter-name>aNewCount</outParameter-name>      </outParameter>     </outParameter-list>    </service>
     <DataStream-list/>
     <PyFunction-list/>
-    <creation-date>17/1/2005 - 13:45:36</creation-date>
-    <lastmodification-date>17/1/2005 - 13:45:36</lastmodification-date>
+    <creation-date>18/1/2005 - 16:11:13</creation-date>
+    <lastmodification-date>18/1/2005 - 16:11:13</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>localhost/FactoryServer</container>
       <PyFunc><![CDATA[def label_begin( NB , KB ):]]></PyFunc>
       <PyFunc><![CDATA[    print "label_begin",NB,KB]]></PyFunc>
       <PyFunc><![CDATA[    return NB,KB]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>17/1/2005 - 13:45:36</creation-date>
-    <lastmodification-date>17/1/2005 - 13:45:36</lastmodification-date>
+    <creation-date>18/1/2005 - 16:11:13</creation-date>
+    <lastmodification-date>18/1/2005 - 16:11:13</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Python function</comment>
-    <x-position>9</x-position>
-    <y-position>250</y-position>   </node>
+    <x-position>10</x-position>
+    <y-position>260</y-position>   </node>
    <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
       <PyFunc><![CDATA[def label_test( ValEven , ValOne , NB , KB ):]]></PyFunc>
       <PyFunc><![CDATA[    print "label_begin",ValEven,ValOne,NB,KB]]></PyFunc>
       <PyFunc><![CDATA[    return ValEven,ValOne,NB,KB]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>17/1/2005 - 13:45:36</creation-date>
-    <lastmodification-date>17/1/2005 - 13:45:36</lastmodification-date>
+    <creation-date>18/1/2005 - 16:11:13</creation-date>
+    <lastmodification-date>18/1/2005 - 16:11:13</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Python function</comment>
-    <x-position>396</x-position>
-    <y-position>193</y-position>   </node>
+    <x-position>400</x-position>
+    <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]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>17/1/2005 - 13:45:36</creation-date>
-    <lastmodification-date>17/1/2005 - 13:45:36</lastmodification-date>
+    <creation-date>18/1/2005 - 16:11:13</creation-date>
+    <lastmodification-date>18/1/2005 - 16:11:13</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Compute Node</comment>
-    <x-position>595</x-position>
-    <y-position>239</y-position>   </node>
+    <x-position>596</x-position>
+    <y-position>260</y-position>   </node>
    <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
       <PyFunc><![CDATA[def EndSwitch_OneEven( Finished , K ):]]></PyFunc>
       <PyFunc><![CDATA[    print "label_begin",Finished,K]]></PyFunc>
       <PyFunc><![CDATA[    return Finished,K]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>17/1/2005 - 13:45:36</creation-date>
-    <lastmodification-date>17/1/2005 - 13:45:36</lastmodification-date>
+    <creation-date>18/1/2005 - 16:11:13</creation-date>
+    <lastmodification-date>18/1/2005 - 16:11:13</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Compute Node</comment>
-    <x-position>1256</x-position>
-    <y-position>305</y-position>   </node>
+    <x-position>1331</x-position>
+    <y-position>310</y-position>   </node>
    <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
 <FuncName>control_m3p1</FuncName>
       <PyFunc><![CDATA[def control_m3p1( N , K ):]]></PyFunc>
       <PyFunc><![CDATA[    return 0,1,N,K]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>17/1/2005 - 13:45:36</creation-date>
-    <lastmodification-date>17/1/2005 - 13:45:36</lastmodification-date>
+    <creation-date>18/1/2005 - 16:11:13</creation-date>
+    <lastmodification-date>18/1/2005 - 16:11:13</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Compute Node</comment>
     <x-position>1073</x-position>
-    <y-position>87</y-position>   </node>
+    <y-position>86</y-position>   </node>
    <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
 <FuncName>control_div2</FuncName>
       <PyFunc><![CDATA[def control_div2( N , NB ) :]]></PyFunc>
       <PyFunc><![CDATA[    return N,NB]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>17/1/2005 - 13:45:36</creation-date>
-    <lastmodification-date>17/1/2005 - 13:45:36</lastmodification-date>
+    <creation-date>18/1/2005 - 16:11:13</creation-date>
+    <lastmodification-date>18/1/2005 - 16:11:13</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <toserviceparameter-name>ValEven</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>369</x>
-      <y>273</y>     </coord>
+<x>374</x>
+      <y>290</y>     </coord>
      <coord>
-<x>370</x>
-      <y>498</y>     </coord>    </coord-list>   </link>
+<x>374</x>
+      <y>491</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>test_ISONE</fromnode-name>
     <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
     <coord-list>
 <coord>
 <x>385</x>
-      <y>303</y>     </coord>
+      <y>311</y>     </coord>
      <coord>
-<x>384</x>
-      <y>225</y>     </coord>    </coord-list>   </link>
+<x>385</x>
+      <y>226</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>m3p1</fromnode-name>
     <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
     <coord-list>
 <coord>
 <x>1048</x>
-      <y>139</y>     </coord>
+      <y>135</y>     </coord>
      <coord>
 <x>1048</x>
       <y>241</y>     </coord>    </coord-list>   </link>
     <toserviceparameter-name>anInteger</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>192</x>
-      <y>226</y>     </coord>
+<x>191</x>
+      <y>225</y>     </coord>
      <coord>
 <x>191</x>
       <y>331</y>     </coord>    </coord-list>   </link>
     <toserviceparameter-name>anInteger</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>191</x>
-      <y>494</y>     </coord>
+<x>190</x>
+      <y>491</y>     </coord>
      <coord>
-<x>192</x>
+<x>190</x>
       <y>331</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>label_begin</fromnode-name>
     <fromserviceparameter-name>ValEven</fromserviceparameter-name>
     <tonode-name>test</tonode-name>
     <toserviceparameter-name>ValEven</toserviceparameter-name>
-    <coord-list>
-<coord>
-<x>587</x>
-      <y>318</y>     </coord>
-     <coord>
-<x>570</x>
-      <y>318</y>     </coord>
-     <coord>
-<x>569</x>
-      <y>272</y>     </coord>    </coord-list>   </link>
+    <coord-list/>   </link>
    <link>
 <fromnode-name>label_test</fromnode-name>
     <fromserviceparameter-name>ValOne</fromserviceparameter-name>
     <tonode-name>test</tonode-name>
     <toserviceparameter-name>ValOne</toserviceparameter-name>
-    <coord-list>
-<coord>
-<x>585</x>
-      <y>273</y>     </coord>
-     <coord>
-<x>586</x>
-      <y>303</y>     </coord>    </coord-list>   </link>
+    <coord-list/>   </link>
    <link>
 <fromnode-name>label_test</fromnode-name>
     <fromserviceparameter-name>NT</fromserviceparameter-name>
     <fromserviceparameter-name>Even</fromserviceparameter-name>
     <tonode-name>div2</tonode-name>
     <toserviceparameter-name>Gate</toserviceparameter-name>
-    <coord-list>
-<coord>
-<x>793</x>
-      <y>561</y>     </coord>
-     <coord>
-<x>794</x>
-      <y>310</y>     </coord>    </coord-list>   </link>
+    <coord-list/>   </link>
    <link>
 <fromnode-name>test</fromnode-name>
     <fromserviceparameter-name>Odd</fromserviceparameter-name>
     <fromserviceparameter-name>Odd</fromserviceparameter-name>
     <tonode-name>m3p1</tonode-name>
     <toserviceparameter-name>Gate</toserviceparameter-name>
-    <coord-list>
-<coord>
-<x>778</x>
-      <y>138</y>     </coord>
-     <coord>
-<x>780</x>
-      <y>328</y>     </coord>    </coord-list>   </link>
+    <coord-list/>   </link>
    <link>
 <fromnode-name>test</fromnode-name>
     <fromserviceparameter-name>N</fromserviceparameter-name>
     <coord-list>
 <coord>
 <x>808</x>
-      <y>113</y>     </coord>
+      <y>116</y>     </coord>
      <coord>
-<x>807</x>
-      <y>352</y>     </coord>    </coord-list>   </link>
+<x>806</x>
+      <y>372</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>test</fromnode-name>
     <fromserviceparameter-name>N</fromserviceparameter-name>
 <x>806</x>
       <y>537</y>     </coord>
      <coord>
-<x>807</x>
-      <y>351</y>     </coord>    </coord-list>   </link>
+<x>806</x>
+      <y>373</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>test</fromnode-name>
     <fromserviceparameter-name>K</fromserviceparameter-name>
     <fromserviceparameter-name>K</fromserviceparameter-name>
     <tonode-name>incr</tonode-name>
     <toserviceparameter-name>aCount</toserviceparameter-name>
-    <coord-list>
-<coord>
-<x>773</x>
-      <y>236</y>     </coord>
-     <coord>
-<x>773</x>
-      <y>370</y>     </coord>    </coord-list>   </link>
+    <coord-list/>   </link>
    <link>
 <fromnode-name>test</fromnode-name>
     <fromserviceparameter-name>K</fromserviceparameter-name>
     <tonode-name>incr_1</tonode-name>
     <toserviceparameter-name>aCount</toserviceparameter-name>
-    <coord-list>
-<coord>
-<x>774</x>
-      <y>409</y>     </coord>
-     <coord>
-<x>773</x>
-      <y>368</y>     </coord>    </coord-list>   </link>
+    <coord-list/>   </link>
    <link>
 <fromnode-name>test</fromnode-name>
     <fromserviceparameter-name>Default</fromserviceparameter-name>
     <toserviceparameter-name>Default</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>840</x>
-      <y>381</y>     </coord>
+<x>1319</x>
+      <y>385</y>     </coord>
+     <coord>
+<x>1319</x>
+      <y>577</y>     </coord>
      <coord>
-<x>839</x>
-      <y>394</y>     </coord>    </coord-list>   </link>
+<x>779</x>
+      <y>577</y>     </coord>
+     <coord>
+<x>778</x>
+      <y>415</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>control_m3p1</fromnode-name>
     <fromserviceparameter-name>Gate</fromserviceparameter-name>
     <toserviceparameter-name>Gate</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>388</x>
-      <y>388</y>     </coord>
+<x>389</x>
+      <y>375</y>     </coord>
      <coord>
 <x>389</x>
       <y>597</y>     </coord>
      <coord>
-<x>1441</x>
-      <y>604</y>     </coord>
+<x>1519</x>
+      <y>602</y>     </coord>
      <coord>
-<x>1441</x>
-      <y>199</y>     </coord>    </coord-list>   </link>
+<x>1508</x>
+      <y>201</y>     </coord>    </coord-list>   </link>
    <link>
 <fromnode-name>control_div2</fromnode-name>
     <fromserviceparameter-name>Gate</fromserviceparameter-name>
     <toserviceparameter-name>Gate</toserviceparameter-name>
     <coord-list>
 <coord>
-<x>4</x>
-      <y>388</y>     </coord>
+<x>3</x>
+      <y>373</y>     </coord>
      <coord>
 <x>3</x>
       <y>587</y>     </coord>
index 8515637053211fce41693476fe3758a589bd4554..04c5ee60810fec3673d555bb2415104f28b255a6 100644 (file)
 # Generated python file of Graph GraphSwitch
 
 from SuperV import *
-# Graph creation 
-GraphSwitch = Graph( 'GraphSwitch' )
-GraphSwitch.SetName( 'GraphSwitch' )
-GraphSwitch.SetAuthor( '' )
-GraphSwitch.SetComment( '' )
-GraphSwitch.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 (GraphSwitch)"      ' )
-PyIsOdd.append( '    sleep( 1 )   ' )
-PyIsOdd.append( '    return a     ' )
-IsOdd = GraphSwitch.INode( 'IsOdd' , PyIsOdd )
-IsOdd.SetName( 'IsOdd' )
-IsOdd.SetAuthor( '' )
-IsOdd.SetComment( 'Python function' )
-IsOdd.Coords( 388 , 50 )
-IsOdd.InPort( 'a' , 'long' )
-IsOdd.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 = GraphSwitch.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' )
-
-# 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 = GraphSwitch.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' )
-
-# Creation of Links
-IsOdda = IsOdd.Port( 'a' )
-EndOfSwitcha = GraphSwitch.Link( IsOdda , EndOfSwitch.Port( 'a' ) )
-EndOfSwitcha.AddCoord( 1 , 571 , 161 )
-EndOfSwitcha.AddCoord( 2 , 571 , 131 )
-
-InitLoopSwitchIndex = InitLoopSwitch.Port( 'Index' )
-Switcha = GraphSwitch.Link( InitLoopSwitchIndex , Switch.Port( 'a' ) )
-
-InitLoopSwitchMin = InitLoopSwitch.Port( 'Min' )
-EndOfInitLoopSwitchMin = GraphSwitch.Link( InitLoopSwitchMin , EndOfInitLoopSwitch.Port( 'Min' ) )
-
-InitLoopSwitchMax = InitLoopSwitch.Port( 'Max' )
-EndOfInitLoopSwitchMax = GraphSwitch.Link( InitLoopSwitchMax , EndOfInitLoopSwitch.Port( 'Max' ) )
-
-SwitchOdd = Switch.Port( 'Odd' )
-IsOddInGate = GraphSwitch.Link( SwitchOdd , IsOdd.Port( 'InGate' ) )
-
-Switcha = Switch.Port( 'a' )
-IsOdda = GraphSwitch.Link( Switcha , IsOdd.Port( 'a' ) )
-IsOdda.AddCoord( 1 , 372 , 129 )
-IsOdda.AddCoord( 2 , 371 , 223 )
-
-SwitchDefault = Switch.Port( 'Default' )
-EndOfSwitchDefault = GraphSwitch.Link( SwitchDefault , EndOfSwitch.Port( 'Default' ) )
-EndOfSwitchDefault.AddCoord( 1 , 572 , 194 )
-EndOfSwitchDefault.AddCoord( 2 , 571 , 257 )
-
-EndOfSwitcha = EndOfSwitch.Port( 'a' )
-EndOfInitLoopSwitchIndex = GraphSwitch.Link( EndOfSwitcha , EndOfInitLoopSwitch.Port( 'Index' ) )
-
-# Creation of Input datas
-InitLoopSwitchIndex = InitLoopSwitch.Input( 'Index' , 0)
-InitLoopSwitchMin = InitLoopSwitch.Input( 'Min' , 0)
-InitLoopSwitchMax = InitLoopSwitch.Input( 'Max' , 100)
-
-# Creation of Output variables
-EndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.Port( 'Index' )
-EndOfInitLoopSwitchMin = EndOfInitLoopSwitch.Port( 'Min' )
-EndOfInitLoopSwitchMax = EndOfInitLoopSwitch.Port( 'Max' )
-SwitchEven = Switch.Port( 'Even' )
-
-GraphSwitch.Run()
-GraphSwitch.DoneW()
-print GraphSwitch.State()
-GraphSwitch.PrintPorts()
+# Graph creation of GraphSwitch
+def DefGraphSwitch() :
+    GraphSwitch = Graph( 'GraphSwitch' )
+    GraphSwitch.SetName( 'GraphSwitch' )
+    GraphSwitch.SetAuthor( '' )
+    GraphSwitch.SetComment( '' )
+    GraphSwitch.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 (GraphSwitch)"      ' )
+    PyIsOdd.append( '    sleep( 1 )   ' )
+    PyIsOdd.append( '    return a     ' )
+    IsOdd = GraphSwitch.INode( 'IsOdd' , PyIsOdd )
+    IsOdd.SetName( 'IsOdd' )
+    IsOdd.SetAuthor( '' )
+    IsOdd.SetComment( 'Python function' )
+    IsOdd.Coords( 389 , 65 )
+    IIsOdda = IsOdd.InPort( 'a' , 'long' )
+    IIsOddGate = IsOdd.GetInPort( 'Gate' )
+    OIsOdda = IsOdd.OutPort( 'a' , 'long' )
+    OIsOddGate = IsOdd.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 = GraphSwitch.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
+    EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
+    EndOfInitLoopSwitch.SetAuthor( '' )
+    EndOfInitLoopSwitch.SetComment( 'Compute Node' )
+    EndOfInitLoopSwitch.Coords( 776 , 170 )
+    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 )
+    
+    # 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 = GraphSwitch.SNode( 'Switch' , PySwitch )
+    EndOfSwitch.SetName( 'EndOfSwitch' )
+    EndOfSwitch.SetAuthor( '' )
+    EndOfSwitch.SetComment( 'Compute Node' )
+    EndOfSwitch.Coords( 582 , 170 )
+    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( 194 , 129 )
+    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' )
+    
+    # Creation of Links
+    LIsOddaEndOfSwitcha = GraphSwitch.Link( OIsOdda , IEndOfSwitcha )
+    LIsOddaEndOfSwitcha.AddCoord( 1 , 564 , 201 )
+    LIsOddaEndOfSwitcha.AddCoord( 2 , 564 , 137 )
+    
+    LInitLoopSwitchIndexSwitcha = GraphSwitch.Link( OInitLoopSwitchIndex , ISwitcha )
+    
+    LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitch.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
+    
+    LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitch.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
+    
+    LSwitchOddIsOddGate = GraphSwitch.Link( OSwitchOdd , IIsOddGate )
+    
+    LSwitchaIsOdda = GraphSwitch.Link( OSwitcha , IIsOdda )
+    LSwitchaIsOdda.AddCoord( 1 , 371 , 136 )
+    LSwitchaIsOdda.AddCoord( 2 , 371 , 200 )
+    
+    LSwitchDefaultEndOfSwitchDefault = GraphSwitch.Link( OSwitchDefault , IEndOfSwitchDefault )
+    
+    LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitch.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
+    
+    # Input datas
+    IInitLoopSwitchIndex.Input( 0 )
+    IInitLoopSwitchMin.Input( 0 )
+    IInitLoopSwitchMax.Input( 100 )
+    
+    # Output Ports of the graph
+    #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
+    #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
+    #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
+    #OSwitchEven = Switch.GetOutPort( 'Even' )
+    return GraphSwitch
+
+
+GraphSwitch = DefGraphSwitch()
index f25242c0ae40c89c71134e2ffa8739b189e7acde..770cffa644764aa4d639f27daf8b601f6c7c4d42 100644 (file)
-<!DOCTYPE Dataflow>
+<!DOCTYPE SuperGraph>
+<supergraph>
 <dataflow>
 <info-list>
 <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>GraphSwitch</node-name>
-   <kind>1</kind>
-   <coupled-node>?</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>GraphSwitch</node-name>
+    <kind>1</kind>
+    <coupled-node>?</coupled-node>
+    <service>
 <service-name>GraphSwitch</service-name>
-    <inParameter-list>
+     <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-list>
-    <outParameter-list>
+       <inParameter-name>InitLoopSwitch__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-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list/>
-   <creation-date>1/10/2003 - 17:23:54</creation-date>
-   <lastmodification-date>13/10/2003 - 10:53: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>
+       <outParameter-name>Switch__Even</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list/>
+    <creation-date>1/10/2003 - 17:23:54</creation-date>
+    <lastmodification-date>19/1/2005 - 15:34:39</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 (GraphSwitch)"      ]]></PyFunc>
-     <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
-     <PyFunc><![CDATA[    return a     ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>13/10/2003 - 10:53:44</creation-date>
-   <lastmodification-date>13/10/2003 - 10:53:44</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 (GraphSwitch)"      ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
+      <PyFunc><![CDATA[    return a     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>19/1/2005 - 15:34:39</creation-date>
+    <lastmodification-date>19/1/2005 - 15:34:39</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Python function</comment>
+    <x-position>389</x-position>
+    <y-position>65</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>13/10/2003 - 10:53:44</creation-date>
-   <lastmodification-date>13/10/2003 - 10:53:44</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>19/1/2005 - 15:34:39</creation-date>
+    <lastmodification-date>19/1/2005 - 15:34:39</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>13/10/2003 - 10:53:44</creation-date>
-   <lastmodification-date>13/10/2003 - 10:53:44</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>19/1/2005 - 15:34:39</creation-date>
+    <lastmodification-date>19/1/2005 - 15:34:39</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>776</x-position>
+    <y-position>170</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>13/10/2003 - 10:53:44</creation-date>
-   <lastmodification-date>13/10/2003 - 10:53:44</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>19/1/2005 - 15:34:39</creation-date>
+    <lastmodification-date>19/1/2005 - 15:34:39</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>194</x-position>
+    <y-position>129</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>13/10/2003 - 10:53:44</creation-date>
-   <lastmodification-date>13/10/2003 - 10:53:44</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-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>19/1/2005 - 15:34:39</creation-date>
+    <lastmodification-date>19/1/2005 - 15:34:39</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>582</x-position>
+    <y-position>170</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>161</y>    </coord>
-    <coord>
-<x>571</x>
-     <y>131</y>    </coord>   </coord-list>  </link>
-  <link>
+<x>564</x>
+      <y>201</y>     </coord>
+     <coord>
+<x>564</x>
+      <y>137</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>372</x>
-     <y>129</y>    </coord>
-    <coord>
 <x>371</x>
-     <y>223</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>136</y>     </coord>
+     <coord>
+<x>371</x>
+      <y>200</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-list>
- <data-list>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>EndOfInitLoopSwitch</tonode-name>
+    <toserviceparameter-name>Index</toserviceparameter-name>
+    <coord-list/>   </link>  </link-list>
 <data-list>
 <data>
 <fromnode-name>GraphSwitch</fromnode-name>
-   <fromserviceparameter-name>InitLoopSwitch\Index</fromserviceparameter-name>
-   <tonode-name>InitLoopSwitch</tonode-name>
-   <toserviceparameter-name>Index</toserviceparameter-name>
-   <data-value>
+    <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>
+     <value>0</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
 <fromnode-name>GraphSwitch</fromnode-name>
-   <fromserviceparameter-name>InitLoopSwitch\Min</fromserviceparameter-name>
-   <tonode-name>InitLoopSwitch</tonode-name>
-   <toserviceparameter-name>Min</toserviceparameter-name>
-   <data-value>
+    <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>
+     <value>0</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
 <fromnode-name>GraphSwitch</fromnode-name>
-   <fromserviceparameter-name>InitLoopSwitch\Max</fromserviceparameter-name>
-   <tonode-name>InitLoopSwitch</tonode-name>
-   <toserviceparameter-name>Max</toserviceparameter-name>
-   <data-value>
+    <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-list></dataflow>
+     <value>100</value>    </data-value>
+    <coord-list/>   </data>  </data-list> </dataflow></supergraph>
index 0af47224cd5a6ffd6da0ece672c85936f4ccf6ab..7a150e934035ae643e1e4fc675d2552543982a67 100755 (executable)
 # Generated python file of Graph GraphSwitch1
 
 from SuperV import *
-# Graph creation 
-GraphSwitch1 = Graph( 'GraphSwitch1' )
-GraphSwitch1.SetName( 'GraphSwitch1' )
-GraphSwitch1.SetAuthor( '' )
-GraphSwitch1.SetComment( '' )
-GraphSwitch1.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 (GraphSwitch1)"      ' )
-PyIsOdd.append( '    sleep( 1 )   ' )
-PyIsOdd.append( '    return a     ' )
-IsOdd = GraphSwitch1.INode( 'IsOdd' , PyIsOdd )
-IsOdd.SetName( 'IsOdd' )
-IsOdd.SetAuthor( '' )
-IsOdd.SetComment( 'Python function' )
-IsOdd.Coords( 388 , 50 )
-IsOdd.InPort( 'a' , 'long' )
-IsOdd.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 = GraphSwitch1.LNode( 'InitLoop' , PyInitLoop , 'MoreLoop' , PyMoreInitLoop , 'NextLoop' , PyNextInitLoop )
-EndOfInitLoop.SetName( 'EndOfInitLoop' )
-EndOfInitLoop.SetAuthor( '' )
-EndOfInitLoop.SetComment( '' )
-EndOfInitLoop.Coords( 766 , 127 )
-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' )
-
-# 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 = GraphSwitch1.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' )
-
-# Creation of Links
-IsOdda = IsOdd.Port( 'a' )
-EndOfSwitcha = GraphSwitch1.Link( IsOdda , EndOfSwitch.Port( 'a' ) )
-EndOfSwitcha.AddCoord( 1 , 571 , 161 )
-EndOfSwitcha.AddCoord( 2 , 571 , 131 )
-
-InitLoopIndex = InitLoop.Port( 'Index' )
-Switcha = GraphSwitch1.Link( InitLoopIndex , Switch.Port( 'a' ) )
-
-InitLoopMin = InitLoop.Port( 'Min' )
-EndOfInitLoopMin = GraphSwitch1.Link( InitLoopMin , EndOfInitLoop.Port( 'Min' ) )
-
-InitLoopMax = InitLoop.Port( 'Max' )
-EndOfInitLoopMax = GraphSwitch1.Link( InitLoopMax , EndOfInitLoop.Port( 'Max' ) )
-
-SwitchOdd = Switch.Port( 'Odd' )
-IsOddInGate = GraphSwitch1.Link( SwitchOdd , IsOdd.Port( 'InGate' ) )
-
-SwitchEven = Switch.Port( 'Even' )
-EndOfSwitchDefault = GraphSwitch1.Link( SwitchEven , EndOfSwitch.Port( 'Default' ) )
-
-Switcha = Switch.Port( 'a' )
-IsOdda = GraphSwitch1.Link( Switcha , IsOdd.Port( 'a' ) )
-IsOdda.AddCoord( 1 , 372 , 129 )
-IsOdda.AddCoord( 2 , 371 , 223 )
-
-EndOfSwitcha = GraphSwitch1.Link( Switcha , EndOfSwitch.Port( 'a' ) )
-EndOfSwitcha.AddCoord( 1 , 571 , 161 )
-EndOfSwitcha.AddCoord( 2 , 570 , 221 )
-
-EndOfSwitcha = EndOfSwitch.Port( 'a' )
-EndOfInitLoopIndex = GraphSwitch1.Link( EndOfSwitcha , EndOfInitLoop.Port( 'Index' ) )
-
-# Creation of Input datas
-InitLoopIndex = InitLoop.Input( 'Index' , 0)
-InitLoopMin = InitLoop.Input( 'Min' , 0)
-InitLoopMax = InitLoop.Input( 'Max' , 100)
-
-# Creation of Output variables
-EndOfInitLoopIndex = EndOfInitLoop.Port( 'Index' )
-EndOfInitLoopMin = EndOfInitLoop.Port( 'Min' )
-EndOfInitLoopMax = EndOfInitLoop.Port( 'Max' )
-
-GraphSwitch1.Run()
-GraphSwitch1.DoneW()
-print GraphSwitch1.State()
-GraphSwitch1.PrintPorts()
+# Graph creation of GraphSwitch1
+def DefGraphSwitch1() :
+    GraphSwitch1 = Graph( 'GraphSwitch1' )
+    GraphSwitch1.SetName( 'GraphSwitch1' )
+    GraphSwitch1.SetAuthor( '' )
+    GraphSwitch1.SetComment( '' )
+    GraphSwitch1.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 (GraphSwitch1)"      ' )
+    PyIsOdd.append( '    sleep( 1 )   ' )
+    PyIsOdd.append( '    return a     ' )
+    IsOdd = GraphSwitch1.INode( 'IsOdd' , PyIsOdd )
+    IsOdd.SetName( 'IsOdd' )
+    IsOdd.SetAuthor( '' )
+    IsOdd.SetComment( 'Python function' )
+    IsOdd.Coords( 389 , 65 )
+    IIsOdda = IsOdd.InPort( 'a' , 'long' )
+    IIsOddGate = IsOdd.GetInPort( 'Gate' )
+    OIsOdda = IsOdd.OutPort( 'a' , 'long' )
+    OIsOddGate = IsOdd.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 = GraphSwitch1.LNode( 'InitLoop' , PyInitLoop , 'MoreLoop' , PyMoreInitLoop , 'NextLoop' , PyNextInitLoop )
+    EndOfInitLoop.SetName( 'EndOfInitLoop' )
+    EndOfInitLoop.SetAuthor( '' )
+    EndOfInitLoop.SetComment( 'Compute Node' )
+    EndOfInitLoop.Coords( 768 , 126 )
+    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 , 129 )
+    
+    # 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 = GraphSwitch1.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( 195 , 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' )
+    
+    # Creation of Links
+    LIsOddaEndOfSwitcha = GraphSwitch1.Link( OIsOdda , IEndOfSwitcha )
+    LIsOddaEndOfSwitcha.AddCoord( 1 , 571 , 158 )
+    LIsOddaEndOfSwitcha.AddCoord( 2 , 571 , 136 )
+    
+    LInitLoopIndexSwitcha = GraphSwitch1.Link( OInitLoopIndex , ISwitcha )
+    
+    LInitLoopMinEndOfInitLoopMin = GraphSwitch1.Link( OInitLoopMin , IEndOfInitLoopMin )
+    
+    LInitLoopMaxEndOfInitLoopMax = GraphSwitch1.Link( OInitLoopMax , IEndOfInitLoopMax )
+    
+    LSwitchOddIsOddGate = GraphSwitch1.Link( OSwitchOdd , IIsOddGate )
+    
+    LSwitchEvenEndOfSwitchDefault = GraphSwitch1.Link( OSwitchEven , IEndOfSwitchDefault )
+    
+    LSwitchaIsOdda = GraphSwitch1.Link( OSwitcha , IIsOdda )
+    LSwitchaIsOdda.AddCoord( 1 , 375 , 136 )
+    LSwitchaIsOdda.AddCoord( 2 , 375 , 201 )
+    
+    LSwitchaEndOfSwitcha = GraphSwitch1.Link( OSwitcha , IEndOfSwitcha )
+    LSwitchaEndOfSwitcha.AddCoord( 1 , 571 , 161 )
+    LSwitchaEndOfSwitcha.AddCoord( 2 , 570 , 221 )
+    
+    LEndOfSwitchaEndOfInitLoopIndex = GraphSwitch1.Link( OEndOfSwitcha , IEndOfInitLoopIndex )
+    
+    # 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 GraphSwitch1
+
+
+GraphSwitch1 = DefGraphSwitch1()
index bff16b125884e3029377ab41d128065d07f14c16..556f16b3ff4e03b510a0d99f4539cc4de0686a90 100755 (executable)
-<!DOCTYPE Dataflow>
+<!DOCTYPE SuperGraph>
+<supergraph>
 <dataflow>
 <info-list>
 <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>GraphSwitch1</node-name>
-   <kind>1</kind>
-   <coupled-node>?</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>GraphSwitch1</node-name>
+    <kind>1</kind>
+    <coupled-node>?</coupled-node>
+    <service>
 <service-name>GraphSwitch1</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>
-   <Parameter-list/>
-   <PyFunction-list/>
-   <creation-date>1/10/2003 - 17:12:48</creation-date>
-   <lastmodification-date>13/10/2003 - 10:54:20</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>1/10/2003 - 17:12:48</creation-date>
+    <lastmodification-date>19/1/2005 - 15:36:46</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 (GraphSwitch1)"      ]]></PyFunc>
-     <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
-     <PyFunc><![CDATA[    return a     ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>13/10/2003 - 10:54:20</creation-date>
-   <lastmodification-date>13/10/2003 - 10:54: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[from time import *   ]]></PyFunc>
+      <PyFunc><![CDATA[def IsOdd(a) :       ]]></PyFunc>
+      <PyFunc><![CDATA[    print a,"IsOdd (GraphSwitch1)"      ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
+      <PyFunc><![CDATA[    return a     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>19/1/2005 - 15:36:46</creation-date>
+    <lastmodification-date>19/1/2005 - 15:36:46</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Python function</comment>
+    <x-position>389</x-position>
+    <y-position>65</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>13/10/2003 - 10:54:20</creation-date>
-   <lastmodification-date>13/10/2003 - 10:54:20</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>19/1/2005 - 15:36:46</creation-date>
+    <lastmodification-date>19/1/2005 - 15:36:46</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>
+    <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>13/10/2003 - 10:54:20</creation-date>
-   <lastmodification-date>13/10/2003 - 10:54:20</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>19/1/2005 - 15:36:46</creation-date>
+    <lastmodification-date>19/1/2005 - 15:36:46</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>768</x-position>
+    <y-position>126</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>13/10/2003 - 10:54:20</creation-date>
-   <lastmodification-date>13/10/2003 - 10:54:20</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>19/1/2005 - 15:36:46</creation-date>
+    <lastmodification-date>19/1/2005 - 15:36:46</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>195</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>13/10/2003 - 10:54:20</creation-date>
-   <lastmodification-date>13/10/2003 - 10:54:20</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-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>19/1/2005 - 15:36:46</creation-date>
+    <lastmodification-date>19/1/2005 - 15:36:46</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-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>161</y>    </coord>
-    <coord>
+      <y>158</y>     </coord>
+     <coord>
 <x>571</x>
-     <y>131</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>136</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>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>Even</fromserviceparameter-name>
-   <tonode-name>EndOfSwitch</tonode-name>
-   <toserviceparameter-name>Default</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Even</fromserviceparameter-name>
+    <tonode-name>EndOfSwitch</tonode-name>
+    <toserviceparameter-name>Default</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>372</x>
-     <y>129</y>    </coord>
-    <coord>
-<x>371</x>
-     <y>223</y>    </coord>   </coord-list>  </link>
-  <link>
+<x>375</x>
+      <y>136</y>     </coord>
+     <coord>
+<x>375</x>
+      <y>201</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>Switch</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>161</y>    </coord>
-    <coord>
+      <y>161</y>     </coord>
+     <coord>
 <x>570</x>
-     <y>221</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>221</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-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>GraphSwitch1</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>GraphSwitch1</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>GraphSwitch1</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 3bdae8d84bf55820cc546051a794908b76ef7615..bd57970874354ff74d2b2bb698c3a50fdd0a950d 100644 (file)
@@ -66,7 +66,7 @@ def DefGraphSwitch_1_1() :
     EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
     EndOfInitLoopSwitch.SetAuthor( '' )
     EndOfInitLoopSwitch.SetComment( 'Compute Node' )
-    EndOfInitLoopSwitch.Coords( 766 , 127 )
+    EndOfInitLoopSwitch.Coords( 775 , 169 )
     PyEndOfInitLoopSwitch = []
     EndOfInitLoopSwitch.SetPyFunction( '' , PyEndOfInitLoopSwitch )
     IInitLoopSwitchDoLoop = InitLoopSwitch.GetInPort( 'DoLoop' )
@@ -95,18 +95,17 @@ def DefGraphSwitch_1_1() :
     
     # Creation of Switch Nodes
     PySwitch = []
-    PySwitch.append( 'from time import *    ' )
-    PySwitch.append( 'def Switch(a) :      ' )
-    PySwitch.append( '    if a <= 0 :   ' )
-    PySwitch.append( '        return 0,0,a   ' )
-    PySwitch.append( '    if ( a & 1 ) == 0 :    ' )
-    PySwitch.append( '        sleep(1)       ' )
-    PySwitch.append( '    return a & 1,1-(a&1),a       ' )
+    PySwitch.append( 'from time import *     ' )
+    PySwitch.append( 'def Switch(a) : ' )
+    PySwitch.append( '    sleep(1) ' )
+    PySwitch.append( '    if a <= 0 :    ' )
+    PySwitch.append( '        return 0,0,a    ' )
+    PySwitch.append( '    return a & 1,1-(a&1),a        ' )
     Switch,EndOfSwitch = GraphSwitch_1_1.SNode( 'Switch' , PySwitch )
     EndOfSwitch.SetName( 'EndOfSwitch' )
     EndOfSwitch.SetAuthor( '' )
     EndOfSwitch.SetComment( 'Compute Node' )
-    EndOfSwitch.Coords( 580 , 147 )
+    EndOfSwitch.Coords( 583 , 169 )
     PyEndOfSwitch = []
     EndOfSwitch.SetPyFunction( 'EndSwitch_1' , PyEndOfSwitch )
     IEndOfSwitcha = EndOfSwitch.InPort( 'a' , 'long' )
index 98d34c18a4dad1204b070718485cd26fe0510e0c..68f85a166f55fa40222a9493d1c16afce91b18d3 100644 (file)
@@ -33,7 +33,7 @@
     <DataStream-list/>
     <PyFunction-list/>
     <creation-date>1/10/2003 - 17:23:54</creation-date>
-    <lastmodification-date>12/1/2005 - 17:7:20</lastmodification-date>
+    <lastmodification-date>20/1/2005 - 12:38:11</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</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>12/1/2005 - 17:7:20</creation-date>
-    <lastmodification-date>12/1/2005 - 17:7:20</lastmodification-date>
+    <creation-date>20/1/2005 - 12:38:11</creation-date>
+    <lastmodification-date>20/1/2005 - 12:38:11</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>12/1/2005 - 17:7:20</creation-date>
-    <lastmodification-date>12/1/2005 - 17:7:20</lastmodification-date>
+    <creation-date>20/1/2005 - 12:38:11</creation-date>
+    <lastmodification-date>20/1/2005 - 12:38:11</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
 <PyFunction>
 <FuncName>?</FuncName>
       <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>12/1/2005 - 17:7:20</creation-date>
-    <lastmodification-date>12/1/2005 - 17:7:20</lastmodification-date>
+    <creation-date>20/1/2005 - 12:38:11</creation-date>
+    <lastmodification-date>20/1/2005 - 12:38:11</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>
+    <x-position>775</x-position>
+    <y-position>169</y-position>   </node>
    <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
       <PyFunc><![CDATA[    print a,"IsEven (GraphSwitch)"       ]]></PyFunc>
       <PyFunc><![CDATA[    sleep( 1 )    ]]></PyFunc>
       <PyFunc><![CDATA[    return a      ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>12/1/2005 - 17:7:20</creation-date>
-    <lastmodification-date>12/1/2005 - 17:7:20</lastmodification-date>
+    <creation-date>20/1/2005 - 12:38:11</creation-date>
+    <lastmodification-date>20/1/2005 - 12:38:11</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <PyFunction-list>
 <PyFunction>
 <FuncName>Switch</FuncName>
-      <PyFunc><![CDATA[from time import *    ]]></PyFunc>
-      <PyFunc><![CDATA[def Switch(a) :      ]]></PyFunc>
-      <PyFunc><![CDATA[    if a <= 0 :   ]]></PyFunc>
-      <PyFunc><![CDATA[        return 0,0,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>12/1/2005 - 17:7:20</creation-date>
-    <lastmodification-date>12/1/2005 - 17:7:20</lastmodification-date>
+      <PyFunc><![CDATA[from time import *     ]]></PyFunc>
+      <PyFunc><![CDATA[def Switch(a) : ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
+      <PyFunc><![CDATA[    if a <= 0 :    ]]></PyFunc>
+      <PyFunc><![CDATA[        return 0,0,a    ]]></PyFunc>
+      <PyFunc><![CDATA[    return a & 1,1-(a&1),a        ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>20/1/2005 - 12:38:11</creation-date>
+    <lastmodification-date>20/1/2005 - 12:38:11</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>12/1/2005 - 17:7:20</creation-date>
-    <lastmodification-date>12/1/2005 - 17:7:20</lastmodification-date>
+    <creation-date>20/1/2005 - 12:38:11</creation-date>
+    <lastmodification-date>20/1/2005 - 12:38:11</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Compute Node</comment>
-    <x-position>580</x-position>
-    <y-position>147</y-position>   </node>  </node-list>
+    <x-position>583</x-position>
+    <y-position>169</y-position>   </node>  </node-list>
   <link-list>
 <link>
 <fromnode-name>IsOdd</fromnode-name>
index a7cbc2ab98d7e6b2ba448de374b367c3238754d1..fcbb4cc86096d06b3d648112d5e01e4dc4eaa460 100644 (file)
@@ -281,6 +281,8 @@ def DefGraphSwitchCheckDefault1() :
     LSwitchdefaultDefaultGate.AddCoord( 1 , 363 , 707 )
     LSwitchdefaultDefaultGate.AddCoord( 2 , 362 , 239 )
     
+    LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheckDefault1.Link( OSwitchDefault , IEndOfSwitchDefault )
+    
     LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckDefault1.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
     
     # Input datas
index 317bc925872e6f53135c77c07c5d191a79eec039..fe70c0d1b63f4bac3551f4c0fc989da48fd5278a 100644 (file)
@@ -9,7 +9,7 @@
     <kind>1</kind>
     <coupled-node>?</coupled-node>
     <service>
-<service-name>GraphSwitchCheckDefault</service-name>
+<service-name>GraphSwitchCheckDefault1</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>13/1/2005 - 12:28:19</lastmodification-date>
+    <lastmodification-date>14/1/2005 - 17:54:11</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>13/1/2005 - 12:23:17</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
+    <creation-date>14/1/2005 - 17:51:6</creation-date>
+    <lastmodification-date>14/1/2005 - 17:51:6</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>13/1/2005 - 12:23:17</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
+    <creation-date>14/1/2005 - 17:51:6</creation-date>
+    <lastmodification-date>14/1/2005 - 17:51:6</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>14/1/2005 - 17:51:6</creation-date>
+    <lastmodification-date>14/1/2005 - 17:51:6</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>14/1/2005 - 17:51:6</creation-date>
+    <lastmodification-date>14/1/2005 - 17:51:6</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>14/1/2005 - 17:51:6</creation-date>
+    <lastmodification-date>14/1/2005 - 17:51:6</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>13/1/2005 - 12:23:17</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
+    <creation-date>14/1/2005 - 17:51:6</creation-date>
+    <lastmodification-date>14/1/2005 - 17:51:6</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>13/1/2005 - 12:23:17</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
+    <creation-date>14/1/2005 - 17:51:6</creation-date>
+    <lastmodification-date>14/1/2005 - 17:51:6</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>14/1/2005 - 17:51:6</creation-date>
+    <lastmodification-date>14/1/2005 - 17:51:6</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>14/1/2005 - 17:51:6</creation-date>
+    <lastmodification-date>14/1/2005 - 17:51:6</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>14/1/2005 - 17:51:6</creation-date>
+    <lastmodification-date>14/1/2005 - 17:51:6</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
 <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>
index e26b64a17aa7e3388c247d7688fa466bfe770e07..d33f06e0f2a7421dd236f09d15432f32279784f7 100644 (file)
@@ -1,15 +1,15 @@
 
-# Generated python file of Graph GraphSwitchCheckDefault1
+# Generated python file of Graph GraphSwitchCheckDefault2
 
 from SuperV import *
 
-# Graph creation of GraphSwitchCheckDefault1
-def DefGraphSwitchCheckDefault1() :
-    GraphSwitchCheckDefault1 = Graph( 'GraphSwitchCheckDefault1' )
-    GraphSwitchCheckDefault1.SetName( 'GraphSwitchCheckDefault1' )
-    GraphSwitchCheckDefault1.SetAuthor( 'JR' )
-    GraphSwitchCheckDefault1.SetComment( '' )
-    GraphSwitchCheckDefault1.Coords( 0 , 0 )
+# Graph creation of GraphSwitchCheckDefault2
+def DefGraphSwitchCheckDefault2() :
+    GraphSwitchCheckDefault2 = Graph( 'GraphSwitchCheckDefault2' )
+    GraphSwitchCheckDefault2.SetName( 'GraphSwitchCheckDefault2' )
+    GraphSwitchCheckDefault2.SetAuthor( 'JR' )
+    GraphSwitchCheckDefault2.SetComment( '' )
+    GraphSwitchCheckDefault2.Coords( 0 , 0 )
     
     # Creation of Factory Nodes
     
@@ -20,7 +20,7 @@ def DefGraphSwitchCheckDefault1() :
     PyIsOdd.append( '    print a,"IsOdd (GraphSwitch)"      ' )
     PyIsOdd.append( '    sleep( 1 )   ' )
     PyIsOdd.append( '    return a     ' )
-    IsOdd = GraphSwitchCheckDefault1.INode( 'IsOdd' , PyIsOdd )
+    IsOdd = GraphSwitchCheckDefault2.INode( 'IsOdd' , PyIsOdd )
     IsOdd.SetName( 'IsOdd' )
     IsOdd.SetAuthor( '' )
     IsOdd.SetComment( 'Python function' )
@@ -36,7 +36,7 @@ def DefGraphSwitchCheckDefault1() :
     PyIsEven.append( '    print a,"IsEven (GraphSwitch)"       ' )
     PyIsEven.append( '    sleep( 1 )    ' )
     PyIsEven.append( '    return a      ' )
-    IsEven = GraphSwitchCheckDefault1.INode( 'IsEven' , PyIsEven )
+    IsEven = GraphSwitchCheckDefault2.INode( 'IsEven' , PyIsEven )
     IsEven.SetName( 'IsEven' )
     IsEven.SetAuthor( '' )
     IsEven.SetComment( 'Compute Node' )
@@ -52,7 +52,7 @@ def DefGraphSwitchCheckDefault1() :
     PyPrintOdd.append( '    print "Print ",a,Branch ' )
     PyPrintOdd.append( '    sleep(1) ' )
     PyPrintOdd.append( '    return Branch     ' )
-    PrintOdd = GraphSwitchCheckDefault1.INode( 'Print' , PyPrintOdd )
+    PrintOdd = GraphSwitchCheckDefault2.INode( 'Print' , PyPrintOdd )
     PrintOdd.SetName( 'PrintOdd' )
     PrintOdd.SetAuthor( '' )
     PrintOdd.SetComment( 'Compute Node' )
@@ -69,7 +69,7 @@ def DefGraphSwitchCheckDefault1() :
     PyPrintEven.append( '    print "Print ",a,Branch ' )
     PyPrintEven.append( '    sleep(1) ' )
     PyPrintEven.append( '    return Branch     ' )
-    PrintEven = GraphSwitchCheckDefault1.INode( 'Print_1' , PyPrintEven )
+    PrintEven = GraphSwitchCheckDefault2.INode( 'Print_1' , PyPrintEven )
     PrintEven.SetName( 'PrintEven' )
     PrintEven.SetAuthor( '' )
     PrintEven.SetComment( 'Compute Node' )
@@ -85,7 +85,7 @@ def DefGraphSwitchCheckDefault1() :
     PyEmptyNode.append( 'def EmptyNode(a,Branch) : ' )
     PyEmptyNode.append( '    sleep(1) ' )
     PyEmptyNode.append( '    return a,Branch  ' )
-    EmptyNode = GraphSwitchCheckDefault1.INode( 'EmptyNode' , PyEmptyNode )
+    EmptyNode = GraphSwitchCheckDefault2.INode( 'EmptyNode' , PyEmptyNode )
     EmptyNode.SetName( 'EmptyNode' )
     EmptyNode.SetAuthor( '' )
     EmptyNode.SetComment( 'Compute Node' )
@@ -102,7 +102,7 @@ def DefGraphSwitchCheckDefault1() :
     PyDefault.append( 'def Default(a,Branch) : ' )
     PyDefault.append( '    sleep(1) ' )
     PyDefault.append( '    return a,Branch ' )
-    Default = GraphSwitchCheckDefault1.INode( 'Default' , PyDefault )
+    Default = GraphSwitchCheckDefault2.INode( 'Default' , PyDefault )
     Default.SetName( 'Default' )
     Default.SetAuthor( '' )
     Default.SetComment( 'Compute Node' )
@@ -119,11 +119,11 @@ def DefGraphSwitchCheckDefault1() :
     PyPuta.append( 'def Puta(a) : ' )
     PyPuta.append( '    sleep(1) ' )
     PyPuta.append( '    return a ' )
-    Puta = GraphSwitchCheckDefault1.INode( 'Puta' , PyPuta )
+    Puta = GraphSwitchCheckDefault2.INode( 'Puta' , PyPuta )
     Puta.SetName( 'Puta' )
     Puta.SetAuthor( '' )
     Puta.SetComment( 'Compute Node' )
-    Puta.Coords( 658 , 472 )
+    Puta.Coords( 665 , 486 )
     IPutaa = Puta.InPort( 'a' , 'long' )
     IPutaGate = Puta.GetInPort( 'Gate' )
     OPutaa = Puta.OutPort( 'a' , 'long' )
@@ -134,7 +134,7 @@ def DefGraphSwitchCheckDefault1() :
     PyPutBranch.append( 'def PutBranch(Branch) : ' )
     PyPutBranch.append( '    sleep(1) ' )
     PyPutBranch.append( '    return Branch ' )
-    PutBranch = GraphSwitchCheckDefault1.INode( 'PutBranch' , PyPutBranch )
+    PutBranch = GraphSwitchCheckDefault2.INode( 'PutBranch' , PyPutBranch )
     PutBranch.SetName( 'PutBranch' )
     PutBranch.SetAuthor( '' )
     PutBranch.SetComment( 'Compute Node' )
@@ -162,7 +162,7 @@ def DefGraphSwitchCheckDefault1() :
     PyNextInitLoopSwitch.append( 'def NextLoop(Index,Min,Max) :       ' )
     PyNextInitLoopSwitch.append( '     Index = Index - 1       ' )
     PyNextInitLoopSwitch.append( '     return Index,Min,Max       ' )
-    InitLoopSwitch,EndOfInitLoopSwitch = GraphSwitchCheckDefault1.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
+    InitLoopSwitch,EndOfInitLoopSwitch = GraphSwitchCheckDefault2.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
     EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
     EndOfInitLoopSwitch.SetAuthor( '' )
     EndOfInitLoopSwitch.SetComment( 'Compute Node' )
@@ -210,7 +210,7 @@ def DefGraphSwitchCheckDefault1() :
     PySwitch.append( '    else :    ' )
     PySwitch.append( '        Branch = "Odd"    ' )
     PySwitch.append( '    return a & 1,1-(a&1),a,Branch,0  ' )
-    Switch,EndOfSwitch = GraphSwitchCheckDefault1.SNode( 'Switch' , PySwitch )
+    Switch,EndOfSwitch = GraphSwitchCheckDefault2.SNode( 'Switch' , PySwitch )
     EndOfSwitch.SetName( 'EndOfSwitch' )
     EndOfSwitch.SetAuthor( '' )
     EndOfSwitch.SetComment( 'Compute Node' )
@@ -240,82 +240,84 @@ def DefGraphSwitchCheckDefault1() :
     OSwitchDefault = Switch.GetOutPort( 'Default' )
     
     # Creation of Links
-    LIsOddaEmptyNodea = GraphSwitchCheckDefault1.Link( OIsOdda , IEmptyNodea )
+    LIsOddaEmptyNodea = GraphSwitchCheckDefault2.Link( OIsOdda , IEmptyNodea )
     LIsOddaEmptyNodea.AddCoord( 1 , 646 , 78 )
     
-    LPrintOddBranchEmptyNodeBranch = GraphSwitchCheckDefault1.Link( OPrintOddBranch , IEmptyNodeBranch )
+    LIsEvenaEndOfSwitcha = GraphSwitchCheckDefault2.Link( OIsEvena , IEndOfSwitcha )
     
-    LEmptyNodeaEndOfSwitcha = GraphSwitchCheckDefault1.Link( OEmptyNodea , IEndOfSwitcha )
+    LPrintOddBranchEmptyNodeBranch = GraphSwitchCheckDefault2.Link( OPrintOddBranch , IEmptyNodeBranch )
     
-    LEmptyNodeBranchEndOfSwitchBranch = GraphSwitchCheckDefault1.Link( OEmptyNodeBranch , IEndOfSwitchBranch )
+    LPrintEvenBranchEndOfSwitchBranch = GraphSwitchCheckDefault2.Link( OPrintEvenBranch , IEndOfSwitchBranch )
     
-    LDefaultaEndOfSwitcha = GraphSwitchCheckDefault1.Link( ODefaulta , IEndOfSwitcha )
+    LEmptyNodeaEndOfSwitcha = GraphSwitchCheckDefault2.Link( OEmptyNodea , IEndOfSwitcha )
     
-    LDefaultaPutaa = GraphSwitchCheckDefault1.Link( ODefaulta , IPutaa )
+    LEmptyNodeBranchEndOfSwitchBranch = GraphSwitchCheckDefault2.Link( OEmptyNodeBranch , IEndOfSwitchBranch )
     
-    LDefaultBranchEndOfSwitchBranch = GraphSwitchCheckDefault1.Link( ODefaultBranch , IEndOfSwitchBranch )
+    LDefaultaPutaa = GraphSwitchCheckDefault2.Link( ODefaulta , IPutaa )
     
-    LDefaultBranchPutBranchBranch = GraphSwitchCheckDefault1.Link( ODefaultBranch , IPutBranchBranch )
+    LDefaultBranchPutBranchBranch = GraphSwitchCheckDefault2.Link( ODefaultBranch , IPutBranchBranch )
     
-    LInitLoopSwitchIndexSwitcha = GraphSwitchCheckDefault1.Link( OInitLoopSwitchIndex , ISwitcha )
+    LInitLoopSwitchIndexSwitcha = GraphSwitchCheckDefault2.Link( OInitLoopSwitchIndex , ISwitcha )
     
-    LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckDefault1.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
+    LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchCheckDefault2.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
     
-    LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckDefault1.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
+    LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchCheckDefault2.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
     
-    LSwitchOddIsOddGate = GraphSwitchCheckDefault1.Link( OSwitchOdd , IIsOddGate )
+    LSwitchOddIsOddGate = GraphSwitchCheckDefault2.Link( OSwitchOdd , IIsOddGate )
     LSwitchOddIsOddGate.AddCoord( 1 , 401 , 101 )
     LSwitchOddIsOddGate.AddCoord( 2 , 401 , 160 )
     
-    LSwitchOddPrintOddGate = GraphSwitchCheckDefault1.Link( OSwitchOdd , IPrintOddGate )
+    LSwitchOddPrintOddGate = GraphSwitchCheckDefault2.Link( OSwitchOdd , IPrintOddGate )
     LSwitchOddPrintOddGate.AddCoord( 1 , 401 , 245 )
     LSwitchOddPrintOddGate.AddCoord( 2 , 401 , 159 )
     
-    LSwitchEvenIsEvenGate = GraphSwitchCheckDefault1.Link( OSwitchEven , IIsEvenGate )
+    LSwitchEvenIsEvenGate = GraphSwitchCheckDefault2.Link( OSwitchEven , IIsEvenGate )
     LSwitchEvenIsEvenGate.AddCoord( 1 , 392 , 533 )
     LSwitchEvenIsEvenGate.AddCoord( 2 , 392 , 182 )
     
-    LSwitchEvenPrintEvenGate = GraphSwitchCheckDefault1.Link( OSwitchEven , IPrintEvenGate )
+    LSwitchEvenPrintEvenGate = GraphSwitchCheckDefault2.Link( OSwitchEven , IPrintEvenGate )
     LSwitchEvenPrintEvenGate.AddCoord( 1 , 392 , 403 )
     LSwitchEvenPrintEvenGate.AddCoord( 2 , 392 , 181 )
     
-    LSwitchaIsOdda = GraphSwitchCheckDefault1.Link( OSwitcha , IIsOdda )
+    LSwitchaIsOdda = GraphSwitchCheckDefault2.Link( OSwitcha , IIsOdda )
     LSwitchaIsOdda.AddCoord( 1 , 382 , 78 )
     LSwitchaIsOdda.AddCoord( 2 , 382 , 199 )
     
-    LSwitchaIsEvena = GraphSwitchCheckDefault1.Link( OSwitcha , IIsEvena )
+    LSwitchaIsEvena = GraphSwitchCheckDefault2.Link( OSwitcha , IIsEvena )
     LSwitchaIsEvena.AddCoord( 1 , 381 , 509 )
     LSwitchaIsEvena.AddCoord( 2 , 382 , 200 )
     
-    LSwitchaPrintOdda = GraphSwitchCheckDefault1.Link( OSwitcha , IPrintOdda )
+    LSwitchaPrintOdda = GraphSwitchCheckDefault2.Link( OSwitcha , IPrintOdda )
     
-    LSwitchaPrintEvena = GraphSwitchCheckDefault1.Link( OSwitcha , IPrintEvena )
+    LSwitchaPrintEvena = GraphSwitchCheckDefault2.Link( OSwitcha , IPrintEvena )
     LSwitchaPrintEvena.AddCoord( 1 , 381 , 361 )
     LSwitchaPrintEvena.AddCoord( 2 , 382 , 200 )
     
-    LSwitchaDefaulta = GraphSwitchCheckDefault1.Link( OSwitcha , IDefaulta )
+    LSwitchaDefaulta = GraphSwitchCheckDefault2.Link( OSwitcha , IDefaulta )
     LSwitchaDefaulta.AddCoord( 1 , 382 , 663 )
     LSwitchaDefaulta.AddCoord( 2 , 382 , 199 )
     
-    LSwitchBranchPrintOddBranch = GraphSwitchCheckDefault1.Link( OSwitchBranch , IPrintOddBranch )
+    LSwitchBranchPrintOddBranch = GraphSwitchCheckDefault2.Link( OSwitchBranch , IPrintOddBranch )
     
-    LSwitchBranchPrintEvenBranch = GraphSwitchCheckDefault1.Link( OSwitchBranch , IPrintEvenBranch )
+    LSwitchBranchPrintEvenBranch = GraphSwitchCheckDefault2.Link( OSwitchBranch , IPrintEvenBranch )
     LSwitchBranchPrintEvenBranch.AddCoord( 1 , 369 , 381 )
     LSwitchBranchPrintEvenBranch.AddCoord( 2 , 369 , 219 )
     
-    LSwitchBranchDefaultBranch = GraphSwitchCheckDefault1.Link( OSwitchBranch , IDefaultBranch )
+    LSwitchBranchDefaultBranch = GraphSwitchCheckDefault2.Link( OSwitchBranch , IDefaultBranch )
     LSwitchBranchDefaultBranch.AddCoord( 1 , 370 , 683 )
     LSwitchBranchDefaultBranch.AddCoord( 2 , 370 , 220 )
     
-    LSwitchdefaultDefaultGate = GraphSwitchCheckDefault1.Link( OSwitchdefault , IDefaultGate )
+    LSwitchdefaultDefaultGate = GraphSwitchCheckDefault2.Link( OSwitchdefault , IDefaultGate )
     LSwitchdefaultDefaultGate.AddCoord( 1 , 363 , 707 )
     LSwitchdefaultDefaultGate.AddCoord( 2 , 362 , 239 )
     
-    LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckDefault1.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
+    LSwitchDefaultEndOfSwitchDefault = GraphSwitchCheckDefault2.Link( OSwitchDefault , IEndOfSwitchDefault )
     
-    LPutaaEndOfSwitcha = GraphSwitchCheckDefault1.Link( OPutaa , IEndOfSwitcha )
+    LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchCheckDefault2.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
     
-    LPutBranchBranchEndOfSwitchBranch = GraphSwitchCheckDefault1.Link( OPutBranchBranch , IEndOfSwitchBranch )
+    LPutaaEndOfSwitcha = GraphSwitchCheckDefault2.Link( OPutaa , IEndOfSwitcha )
+    
+    LPutBranchBranchEndOfSwitchBranch = GraphSwitchCheckDefault2.Link( OPutBranchBranch , IEndOfSwitchBranch )
     
     # Input datas
     IInitLoopSwitchIndex.Input( 0 )
@@ -323,12 +325,10 @@ def DefGraphSwitchCheckDefault1() :
     IInitLoopSwitchMax.Input( 10 )
     
     # Output Ports of the graph
-    #OIsEvena = IsEven.GetOutPort( 'a' )
-    #OPrintEvenBranch = PrintEven.GetOutPort( 'Branch' )
     #OEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetOutPort( 'Index' )
     #OEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetOutPort( 'Min' )
     #OEndOfInitLoopSwitchMax = EndOfInitLoopSwitch.GetOutPort( 'Max' )
-    return GraphSwitchCheckDefault1
+    return GraphSwitchCheckDefault2
 
 
-GraphSwitchCheckDefault1 = DefGraphSwitchCheckDefault1()
+GraphSwitchCheckDefault2 = DefGraphSwitchCheckDefault2()
index 3022d346d840bf14a988cb4aa8e0fe662209ce12..ba59f46dd4b1f7cc8d1d04d6ba5bb88dea724d6b 100644 (file)
@@ -5,11 +5,11 @@
 <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
-    <node-name>GraphSwitchCheckDefault1</node-name>
+    <node-name>GraphSwitchCheckDefault2</node-name>
     <kind>1</kind>
     <coupled-node>?</coupled-node>
     <service>
-<service-name>GraphSwitchCheckDefault1</service-name>
+<service-name>GraphSwitchCheckDefault1_1_1</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
        <inParameter-name>InitLoopSwitch__Max</inParameter-name>      </inParameter>     </inParameter-list>
      <outParameter-list>
 <outParameter>
-<outParameter-type>long</outParameter-type>
-       <outParameter-name>IsEven__a</outParameter-name>      </outParameter>
-      <outParameter>
-<outParameter-type>string</outParameter-type>
-       <outParameter-name>PrintEven__Branch</outParameter-name>      </outParameter>
-      <outParameter>
 <outParameter-type>long</outParameter-type>
        <outParameter-name>EndOfInitLoopSwitch__Index</outParameter-name>      </outParameter>
       <outParameter>
@@ -39,7 +33,7 @@
     <DataStream-list/>
     <PyFunction-list/>
     <creation-date>13/1/2005 - 12:21:43</creation-date>
-    <lastmodification-date>13/1/2005 - 12:33:25</lastmodification-date>
+    <lastmodification-date>19/1/2005 - 12:15:25</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>JR</author>
     <container>?</container>
@@ -72,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>13/1/2005 - 12:23:17</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
+    <creation-date>19/1/2005 - 12:15:25</creation-date>
+    <lastmodification-date>19/1/2005 - 12:15:25</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>19/1/2005 - 12:15:25</creation-date>
+    <lastmodification-date>19/1/2005 - 12:15:25</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>19/1/2005 - 12:15:25</creation-date>
+    <lastmodification-date>19/1/2005 - 12:15:25</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>19/1/2005 - 12:15:25</creation-date>
+    <lastmodification-date>19/1/2005 - 12:15:25</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>19/1/2005 - 12:15:25</creation-date>
+    <lastmodification-date>19/1/2005 - 12:15:25</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>13/1/2005 - 12:23:17</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
+    <creation-date>19/1/2005 - 12:15:25</creation-date>
+    <lastmodification-date>19/1/2005 - 12:15:25</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>13/1/2005 - 12:23:17</creation-date>
-    <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
+    <creation-date>19/1/2005 - 12:15:25</creation-date>
+    <lastmodification-date>19/1/2005 - 12:15:25</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>19/1/2005 - 12:15:25</creation-date>
+    <lastmodification-date>19/1/2005 - 12:15:25</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>19/1/2005 - 12:15:25</creation-date>
+    <lastmodification-date>19/1/2005 - 12:15:25</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>19/1/2005 - 12:15:25</creation-date>
+    <lastmodification-date>19/1/2005 - 12:15:25</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>13/1/2005 - 12:31:48</creation-date>
-    <lastmodification-date>13/1/2005 - 12:31:48</lastmodification-date>
+    <creation-date>19/1/2005 - 12:15:25</creation-date>
+    <lastmodification-date>19/1/2005 - 12:15:25</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <comment>Compute Node</comment>
-    <x-position>658</x-position>
-    <y-position>472</y-position>   </node>
+    <x-position>665</x-position>
+    <y-position>486</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>13/1/2005 - 12:32:11</creation-date>
-    <lastmodification-date>13/1/2005 - 12:32:11</lastmodification-date>
+    <creation-date>19/1/2005 - 12:15:25</creation-date>
+    <lastmodification-date>19/1/2005 - 12:15:25</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
 <x>646</x>
       <y>78</y>     </coord>    </coord-list>   </link>
    <link>
+<fromnode-name>IsEven</fromnode-name>
+    <fromserviceparameter-name>a</fromserviceparameter-name>
+    <tonode-name>EndOfSwitch</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>
     <toserviceparameter-name>Branch</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
+<fromnode-name>PrintEven</fromnode-name>
+    <fromserviceparameter-name>Branch</fromserviceparameter-name>
+    <tonode-name>EndOfSwitch</tonode-name>
+    <toserviceparameter-name>Branch</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EmptyNode</fromnode-name>
     <fromserviceparameter-name>a</fromserviceparameter-name>
     <tonode-name>EndOfSwitch</tonode-name>
     <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>a</fromserviceparameter-name>
     <tonode-name>Puta</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>GraphSwitchCheckDefault1</fromnode-name>
+<fromnode-name>GraphSwitchCheckDefault2</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>GraphSwitchCheckDefault1</fromnode-name>
+<fromnode-name>GraphSwitchCheckDefault2</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>GraphSwitchCheckDefault1</fromnode-name>
+<fromnode-name>GraphSwitchCheckDefault2</fromnode-name>
     <fromserviceparameter-name>InitLoopSwitch__Max</fromserviceparameter-name>
     <tonode-name>InitLoopSwitch</tonode-name>
     <toserviceparameter-name>Max</toserviceparameter-name>
index 2c9c77725b1120e7d1be36f1197b96fc9995aeff..a9c8a714ad3f852b712003dfdf8f0adf76bb323e 100644 (file)
@@ -1,56 +1,60 @@
 
-# Generated python file of Graph GraphSwitch_1_1
+# Generated python file of Graph GraphSwitch_1_1_2
 
 from SuperV import *
 
-# Graph creation of GraphSwitch_1_1
-def DefGraphSwitch_1_1() :
-    GraphSwitch_1_1 = Graph( 'GraphSwitch_1_1' )
-    GraphSwitch_1_1.SetName( 'GraphSwitch_1_1' )
-    GraphSwitch_1_1.SetAuthor( '' )
-    GraphSwitch_1_1.SetComment( '' )
-    GraphSwitch_1_1.Coords( 0 , 0 )
+# Graph creation of GraphSwitch_1_1_2
+def DefGraphSwitch_1_1_2() :
+    GraphSwitch_1_1_2 = Graph( 'GraphSwitch_1_1_2' )
+    GraphSwitch_1_1_2.SetName( 'GraphSwitch_1_1_2' )
+    GraphSwitch_1_1_2.SetAuthor( '' )
+    GraphSwitch_1_1_2.SetComment( '' )
+    GraphSwitch_1_1_2.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 (GraphSwitch)"      ' )
-    PyIsOdd.append( '    sleep( 1 )   ' )
-    PyIsOdd.append( '    return a     ' )
-    IsOdd = GraphSwitch_1_1.INode( 'IsOdd' , PyIsOdd )
+    PyIsOdd.append( 'from time import *    ' )
+    PyIsOdd.append( 'def IsOdd(a,Branch) :        ' )
+    PyIsOdd.append( '    print a,"IsOdd (GraphSwitch)"       ' )
+    PyIsOdd.append( '    sleep( 1 )    ' )
+    PyIsOdd.append( '    return a,Branch ' )
+    IsOdd = GraphSwitch_1_1_2.INode( 'IsOdd' , PyIsOdd )
     IsOdd.SetName( 'IsOdd' )
     IsOdd.SetAuthor( '' )
     IsOdd.SetComment( 'Python function' )
     IsOdd.Coords( 388 , 50 )
     IIsOdda = IsOdd.InPort( 'a' , 'long' )
+    IIsOddBranch = IsOdd.InPort( 'Branch' , 'string' )
     IIsOddGate = IsOdd.GetInPort( 'Gate' )
     OIsOdda = IsOdd.OutPort( 'a' , 'long' )
+    OIsOddBranch = IsOdd.OutPort( 'Branch' , 'string' )
     OIsOddGate = IsOdd.GetOutPort( 'Gate' )
     
     PyIsEven = []
-    PyIsEven.append( 'from time import *    ' )
-    PyIsEven.append( 'def IsEven(a) :        ' )
-    PyIsEven.append( '    print a,"IsEven (GraphSwitch)"       ' )
-    PyIsEven.append( '    sleep( 1 )    ' )
-    PyIsEven.append( '    return a      ' )
-    IsEven = GraphSwitch_1_1.INode( 'IsEven' , PyIsEven )
+    PyIsEven.append( 'from time import *     ' )
+    PyIsEven.append( 'def IsEven(a,Branch) :         ' )
+    PyIsEven.append( '    print a,"IsEven (GraphSwitch)"        ' )
+    PyIsEven.append( '    sleep( 1 )     ' )
+    PyIsEven.append( '    return a,Branch ' )
+    IsEven = GraphSwitch_1_1_2.INode( 'IsEven' , PyIsEven )
     IsEven.SetName( 'IsEven' )
     IsEven.SetAuthor( '' )
     IsEven.SetComment( 'Compute Node' )
     IsEven.Coords( 395 , 334 )
     IIsEvena = IsEven.InPort( 'a' , 'long' )
+    IIsEvenBranch = IsEven.InPort( 'Branch' , 'string' )
     IIsEvenGate = IsEven.GetInPort( 'Gate' )
     OIsEvena = IsEven.OutPort( 'a' , 'long' )
+    OIsEvenBranch = IsEven.OutPort( 'Branch' , 'string' )
     OIsEvenGate = IsEven.GetOutPort( 'Gate' )
     
     PyPrint = []
     PyPrint.append( 'def Print(a,Branch) :   ' )
     PyPrint.append( '    print "Print ",Branch   ' )
     PyPrint.append( '    return a,Branch   ' )
-    Print = GraphSwitch_1_1.INode( 'Print' , PyPrint )
+    Print = GraphSwitch_1_1_2.INode( 'Print' , PyPrint )
     Print.SetName( 'Print' )
     Print.SetAuthor( '' )
     Print.SetComment( 'Compute Node' )
@@ -66,7 +70,7 @@ def DefGraphSwitch_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.INode( 'Print_1' , PyPrint_1 )
+    Print_1 = GraphSwitch_1_1_2.INode( 'Print_1' , PyPrint_1 )
     Print_1.SetName( 'Print_1' )
     Print_1.SetAuthor( '' )
     Print_1.SetComment( 'Compute Node' )
@@ -94,7 +98,7 @@ def DefGraphSwitch_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.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
+    InitLoopSwitch,EndOfInitLoopSwitch = GraphSwitch_1_1_2.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch )
     EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' )
     EndOfInitLoopSwitch.SetAuthor( '' )
     EndOfInitLoopSwitch.SetComment( 'Compute Node' )
@@ -138,7 +142,7 @@ def DefGraphSwitch_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.SNode( 'Switch' , PySwitch )
+    Switch,EndOfSwitch = GraphSwitch_1_1_2.SNode( 'Switch' , PySwitch )
     EndOfSwitch.SetName( 'EndOfSwitch' )
     EndOfSwitch.SetAuthor( '' )
     EndOfSwitch.SetComment( 'Compute Node' )
@@ -163,35 +167,39 @@ def DefGraphSwitch_1_1() :
     OSwitchDefault = Switch.GetOutPort( 'Default' )
     
     # Creation of Links
-    LIsOddaPrinta = GraphSwitch_1_1.Link( OIsOdda , IPrinta )
+    LIsOddaPrinta = GraphSwitch_1_1_2.Link( OIsOdda , IPrinta )
     
-    LInitLoopSwitchIndexSwitcha = GraphSwitch_1_1.Link( OInitLoopSwitchIndex , ISwitcha )
+    LIsOddBranchPrintBranch = GraphSwitch_1_1_2.Link( OIsOddBranch , IPrintBranch )
     
-    LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitch_1_1.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
+    LInitLoopSwitchIndexSwitcha = GraphSwitch_1_1_2.Link( OInitLoopSwitchIndex , ISwitcha )
     
-    LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitch_1_1.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
+    LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitch_1_1_2.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
     
-    LIsEvenaPrint_1a = GraphSwitch_1_1.Link( OIsEvena , IPrint_1a )
+    LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitch_1_1_2.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
     
-    LSwitchOddIsOddGate = GraphSwitch_1_1.Link( OSwitchOdd , IIsOddGate )
+    LIsEvenaPrint_1a = GraphSwitch_1_1_2.Link( OIsEvena , IPrint_1a )
     
-    LSwitchEvenIsEvenGate = GraphSwitch_1_1.Link( OSwitchEven , IIsEvenGate )
+    LIsEvenBranchPrint_1Branch = GraphSwitch_1_1_2.Link( OIsEvenBranch , IPrint_1Branch )
     
-    LSwitchaIsOdda = GraphSwitch_1_1.Link( OSwitcha , IIsOdda )
+    LSwitchOddIsOddGate = GraphSwitch_1_1_2.Link( OSwitchOdd , IIsOddGate )
     
-    LSwitchaIsEvena = GraphSwitch_1_1.Link( OSwitcha , IIsEvena )
+    LSwitchEvenIsEvenGate = GraphSwitch_1_1_2.Link( OSwitchEven , IIsEvenGate )
     
-    LSwitchBranchPrintBranch = GraphSwitch_1_1.Link( OSwitchBranch , IPrintBranch )
+    LSwitchaIsOdda = GraphSwitch_1_1_2.Link( OSwitcha , IIsOdda )
     
-    LSwitchBranchPrint_1Branch = GraphSwitch_1_1.Link( OSwitchBranch , IPrint_1Branch )
+    LSwitchaIsEvena = GraphSwitch_1_1_2.Link( OSwitcha , IIsEvena )
     
-    LSwitchDefaultEndOfSwitchDefault = GraphSwitch_1_1.Link( OSwitchDefault , IEndOfSwitchDefault )
+    LSwitchBranchIsOddBranch = GraphSwitch_1_1_2.Link( OSwitchBranch , IIsOddBranch )
     
-    LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitch_1_1.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
+    LSwitchBranchIsEvenBranch = GraphSwitch_1_1_2.Link( OSwitchBranch , IIsEvenBranch )
     
-    LPrintaEndOfSwitcha = GraphSwitch_1_1.Link( OPrinta , IEndOfSwitcha )
+    LSwitchDefaultEndOfSwitchDefault = GraphSwitch_1_1_2.Link( OSwitchDefault , IEndOfSwitchDefault )
     
-    LPrint_1aEndOfSwitcha = GraphSwitch_1_1.Link( OPrint_1a , IEndOfSwitcha )
+    LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitch_1_1_2.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
+    
+    LPrintaEndOfSwitcha = GraphSwitch_1_1_2.Link( OPrinta , IEndOfSwitcha )
+    
+    LPrint_1aEndOfSwitcha = GraphSwitch_1_1_2.Link( OPrint_1a , IEndOfSwitcha )
     
     # Input datas
     IInitLoopSwitchIndex.Input( 0 )
@@ -205,7 +213,7 @@ def DefGraphSwitch_1_1() :
     #OSwitchdefault = Switch.GetOutPort( 'default' )
     #OPrintBranch = Print.GetOutPort( 'Branch' )
     #OPrint_1Branch = Print_1.GetOutPort( 'Branch' )
-    return GraphSwitch_1_1
+    return GraphSwitch_1_1_2
 
 
-GraphSwitch_1_1 = DefGraphSwitch_1_1()
+GraphSwitch_1_1_2 = DefGraphSwitch_1_1_2()
index 86d6720bbc384b3494d63d4f02e59c73f0f7dab5..d48c3a0181f96c34c81c2dd29a02863e36a4cca8 100644 (file)
@@ -5,11 +5,11 @@
 <node>
 <component-name>?</component-name>
     <interface-name>?</interface-name>
-    <node-name>GraphSwitch_1_1</node-name>
+    <node-name>GraphSwitch_1_1_2</node-name>
     <kind>1</kind>
     <coupled-node>?</coupled-node>
     <service>
-<service-name>GraphSwitch_1_1</service-name>
+<service-name>GraphSwitch_1_1_2</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
@@ -42,7 +42,7 @@
     <DataStream-list/>
     <PyFunction-list/>
     <creation-date>1/10/2003 - 17:23:54</creation-date>
-    <lastmodification-date>13/1/2005 - 11:21:30</lastmodification-date>
+    <lastmodification-date>20/1/2005 - 13:2:4</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>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-list>    </service>
+       <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>IsOdd</FuncName>
-      <PyFunc><![CDATA[from time import *   ]]></PyFunc>
-      <PyFunc><![CDATA[def IsOdd(a) :       ]]></PyFunc>
-      <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 - 11:17:18</creation-date>
-    <lastmodification-date>13/1/2005 - 11:17:18</lastmodification-date>
+      <PyFunc><![CDATA[from time import *    ]]></PyFunc>
+      <PyFunc><![CDATA[def IsOdd(a,Branch) :        ]]></PyFunc>
+      <PyFunc><![CDATA[    print a,"IsOdd (GraphSwitch)"       ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep( 1 )    ]]></PyFunc>
+      <PyFunc><![CDATA[    return a,Branch ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>20/1/2005 - 13:0:10</creation-date>
+    <lastmodification-date>20/1/2005 - 13:0:10</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>13/1/2005 - 11:17:18</creation-date>
-    <lastmodification-date>13/1/2005 - 11:17:18</lastmodification-date>
+    <creation-date>20/1/2005 - 13:0:10</creation-date>
+    <lastmodification-date>20/1/2005 - 13:0:10</lastmodification-date>
     <editor-release>1.05</editor-release>
     <author>?</author>
     <container>?</container>
 <PyFunction>
 <FuncName>?</FuncName>
       <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>13/1/2005 - 11:17:18</creation-date>
-    <lastmodification-date>13/1/2005 - 11:17:18</lastmodification-date>
+    <creation-date>20/1/2005 - 13:0:10</creation-date>
+    <lastmodification-date>20/1/2005 - 13:0:10</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>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-list>    </service>
+       <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>IsEven</FuncName>
-      <PyFunc><![CDATA[from time import *    ]]></PyFunc>
-      <PyFunc><![CDATA[def IsEven(a) :        ]]></PyFunc>
-      <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 - 11:17:18</creation-date>
-    <lastmodification-date>13/1/2005 - 11:17:18</lastmodification-date>
+      <PyFunc><![CDATA[from time import *     ]]></PyFunc>
+      <PyFunc><![CDATA[def IsEven(a,Branch) :         ]]></PyFunc>
+      <PyFunc><![CDATA[    print a,"IsEven (GraphSwitch)"        ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep( 1 )     ]]></PyFunc>
+      <PyFunc><![CDATA[    return a,Branch ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>20/1/2005 - 13:0:10</creation-date>
+    <lastmodification-date>20/1/2005 - 13:0:10</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <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>13/1/2005 - 11:17:18</creation-date>
-    <lastmodification-date>13/1/2005 - 11:17:18</lastmodification-date>
+    <creation-date>20/1/2005 - 13:0:10</creation-date>
+    <lastmodification-date>20/1/2005 - 13:0:10</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>13/1/2005 - 11:17:18</creation-date>
-    <lastmodification-date>13/1/2005 - 11:17:18</lastmodification-date>
+    <creation-date>20/1/2005 - 13:0:10</creation-date>
+    <lastmodification-date>20/1/2005 - 13:0:10</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <kind>3</kind>
     <coupled-node>?</coupled-node>
     <service>
-<service-name>Void</service-name>
+<service-name>Print</service-name>
      <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
       <PyFunc><![CDATA[def Print(a,Branch) :   ]]></PyFunc>
       <PyFunc><![CDATA[    print "Print ",Branch   ]]></PyFunc>
       <PyFunc><![CDATA[    return a,Branch   ]]></PyFunc>     </PyFunction>    </PyFunction-list>
-    <creation-date>13/1/2005 - 11:17:18</creation-date>
-    <lastmodification-date>13/1/2005 - 11:17:18</lastmodification-date>
+    <creation-date>20/1/2005 - 13:0:10</creation-date>
+    <lastmodification-date>20/1/2005 - 13:0:10</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
       <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>13/1/2005 - 11:20:58</creation-date>
-    <lastmodification-date>13/1/2005 - 11:20:58</lastmodification-date>
+    <creation-date>20/1/2005 - 13:0:10</creation-date>
+    <lastmodification-date>20/1/2005 - 13:0:10</lastmodification-date>
     <editor-release>2.0</editor-release>
     <author>?</author>
     <container>?</container>
     <toserviceparameter-name>a</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
+<fromnode-name>IsOdd</fromnode-name>
+    <fromserviceparameter-name>Branch</fromserviceparameter-name>
+    <tonode-name>Print</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>
     <toserviceparameter-name>a</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
+<fromnode-name>IsEven</fromnode-name>
+    <fromserviceparameter-name>Branch</fromserviceparameter-name>
+    <tonode-name>Print_1</tonode-name>
+    <toserviceparameter-name>Branch</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>Switch</fromnode-name>
     <fromserviceparameter-name>Odd</fromserviceparameter-name>
     <tonode-name>IsOdd</tonode-name>
    <link>
 <fromnode-name>Switch</fromnode-name>
     <fromserviceparameter-name>Branch</fromserviceparameter-name>
-    <tonode-name>Print</tonode-name>
+    <tonode-name>IsOdd</tonode-name>
     <toserviceparameter-name>Branch</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
 <fromnode-name>Switch</fromnode-name>
     <fromserviceparameter-name>Branch</fromserviceparameter-name>
-    <tonode-name>Print_1</tonode-name>
+    <tonode-name>IsEven</tonode-name>
     <toserviceparameter-name>Branch</toserviceparameter-name>
     <coord-list/>   </link>
    <link>
     <coord-list/>   </link>  </link-list>
   <data-list>
 <data>
-<fromnode-name>GraphSwitch_1_1</fromnode-name>
+<fromnode-name>GraphSwitch_1_1_2</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</fromnode-name>
+<fromnode-name>GraphSwitch_1_1_2</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</fromnode-name>
+<fromnode-name>GraphSwitch_1_1_2</fromnode-name>
     <fromserviceparameter-name>InitLoopSwitch__Max</fromserviceparameter-name>
     <tonode-name>InitLoopSwitch</tonode-name>
     <toserviceparameter-name>Max</toserviceparameter-name>
index bf78c8168ea9564a377cb030cb7ecb9999e8b4df..716db20fc3bb3e48f08bd036d93b05952ce3a776 100755 (executable)
 
-# Generated python file of Graph GraphSwitch
+# Generated python file of Graph GraphSwitchs
 
 from SuperV import *
-# Graph creation 
-GraphSwitchs = Graph( 'GraphSwitchs' )
-GraphSwitchs.SetName( 'GraphSwitchs' )
-GraphSwitchs.SetAuthor( '' )
-GraphSwitchs.SetComment( '' )
-GraphSwitchs.Coords( 0 , 0 )
 
-# Creation of Factory Nodes
+# Graph creation of GraphSwitchs
+def DefGraphSwitchs() :
+    GraphSwitchs = Graph( 'GraphSwitchs' )
+    GraphSwitchs.SetName( 'GraphSwitchs' )
+    GraphSwitchs.SetAuthor( '' )
+    GraphSwitchs.SetComment( '' )
+    GraphSwitchs.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 (GraphSwitchs)"      ' )
+    PyIsOdd.append( '    sleep( 1 )   ' )
+    PyIsOdd.append( '    return a     ' )
+    IsOdd = GraphSwitchs.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_1 (GraphSwitchs)"      ' )
+    PyIsOdd_1.append( '    sleep( 1 )   ' )
+    PyIsOdd_1.append( '    return a     ' )
+    IsOdd_1 = GraphSwitchs.INode( 'IsOdd' , PyIsOdd_1 )
+    IsOdd_1.SetName( 'IsOdd_1' )
+    IsOdd_1.SetAuthor( '' )
+    IsOdd_1.SetComment( 'Python function' )
+    IsOdd_1.Coords( 419 , 308 )
+    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
+    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 = GraphSwitchs.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 = GraphSwitchs.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 = GraphSwitchs.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 = GraphSwitchs.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 = GraphSwitchs.Link( OIsOdda , IEndOfSwitcha )
+    LIsOddaEndOfSwitcha.AddCoord( 1 , 573 , 160 )
+    LIsOddaEndOfSwitcha.AddCoord( 2 , 572 , 130 )
+    
+    LInitLoopSwitchIndexSwitcha = GraphSwitchs.Link( OInitLoopSwitchIndex , ISwitcha )
+    
+    LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchs.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin )
+    
+    LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchs.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax )
+    
+    LSwitchOddIsOddGate = GraphSwitchs.Link( OSwitchOdd , IIsOddGate )
+    
+    LSwitchaIsOdda = GraphSwitchs.Link( OSwitcha , IIsOdda )
+    LSwitchaIsOdda.AddCoord( 1 , 365 , 129 )
+    LSwitchaIsOdda.AddCoord( 2 , 365 , 222 )
+    
+    LSwitchDefaultEndOfSwitchDefault = GraphSwitchs.Link( OSwitchDefault , IEndOfSwitchDefault )
+    LSwitchDefaultEndOfSwitchDefault.AddCoord( 1 , 572 , 194 )
+    LSwitchDefaultEndOfSwitchDefault.AddCoord( 2 , 571 , 257 )
+    
+    LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchs.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex )
+    
+    LIsOdd_1aEndSwitcha = GraphSwitchs.Link( OIsOdd_1a , IEndSwitcha )
+    LIsOdd_1aEndSwitcha.AddCoord( 1 , 599 , 416 )
+    LIsOdd_1aEndSwitcha.AddCoord( 2 , 598 , 389 )
+    
+    LInitLoopIndexSwitch_1a = GraphSwitchs.Link( OInitLoopIndex , ISwitch_1a )
+    
+    LInitLoopMinEndOfInitLoopMin = GraphSwitchs.Link( OInitLoopMin , IEndOfInitLoopMin )
+    
+    LInitLoopMaxEndOfInitLoopMax = GraphSwitchs.Link( OInitLoopMax , IEndOfInitLoopMax )
+    
+    LSwitch_1OddIsOdd_1Gate = GraphSwitchs.Link( OSwitch_1Odd , IIsOdd_1Gate )
+    
+    LSwitch_1EvenEndSwitchDefault = GraphSwitchs.Link( OSwitch_1Even , IEndSwitchDefault )
+    
+    LSwitch_1aIsOdd_1a = GraphSwitchs.Link( OSwitch_1a , IIsOdd_1a )
+    LSwitch_1aIsOdd_1a.AddCoord( 1 , 379 , 387 )
+    LSwitch_1aIsOdd_1a.AddCoord( 2 , 378 , 481 )
+    
+    LEndSwitchaEndOfInitLoopIndex = GraphSwitchs.Link( OEndSwitcha , IEndOfInitLoopIndex )
+    
+    # Input datas
+    IInitLoopSwitchIndex.Input( 0 )
+    IInitLoopSwitchMin.Input( 0 )
+    IInitLoopSwitchMax.Input( 20 )
+    IInitLoopIndex.Input( 0 )
+    IInitLoopMin.Input( 0 )
+    IInitLoopMax.Input( 20 )
+    
+    # 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 GraphSwitchs
 
-# Creation of InLine Nodes
-PyIsOdd = []
-PyIsOdd.append( 'from time import *   ' )
-PyIsOdd.append( 'def IsOdd(a) :       ' )
-PyIsOdd.append( '    print a,"IsOdd (GraphSwitchs)"      ' )
-PyIsOdd.append( '    sleep( 1 )   ' )
-PyIsOdd.append( '    return a     ' )
-IsOdd = GraphSwitchs.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_1 (GraphSwitchs)"      ' )
-PyIsOdd_1.append( '    sleep( 1 )   ' )
-PyIsOdd_1.append( '    return a     ' )
-IsOdd_1 = GraphSwitchs.INode( 'IsOdd' , PyIsOdd_1 )
-IsOdd_1.SetName( 'IsOdd_1' )
-IsOdd_1.SetAuthor( '' )
-IsOdd_1.SetComment( 'Python function' )
-IsOdd_1.Coords( 419 , 308 )
-IsOdd_1.InPort( 'a' , 'long' )
-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 = GraphSwitchs.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 = GraphSwitchs.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 = GraphSwitchs.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 = GraphSwitchs.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 = GraphSwitchs.Link( IsOdda , EndOfSwitch.Port( 'a' ) )
-EndOfSwitcha.AddCoord( 1 , 573 , 160 )
-EndOfSwitcha.AddCoord( 2 , 572 , 130 )
-
-InitLoopSwitchIndex = InitLoopSwitch.Port( 'Index' )
-Switcha = GraphSwitchs.Link( InitLoopSwitchIndex , Switch.Port( 'a' ) )
-
-InitLoopSwitchMin = InitLoopSwitch.Port( 'Min' )
-EndOfInitLoopSwitchMin = GraphSwitchs.Link( InitLoopSwitchMin , EndOfInitLoopSwitch.Port( 'Min' ) )
-
-InitLoopSwitchMax = InitLoopSwitch.Port( 'Max' )
-EndOfInitLoopSwitchMax = GraphSwitchs.Link( InitLoopSwitchMax , EndOfInitLoopSwitch.Port( 'Max' ) )
-
-SwitchOdd = Switch.Port( 'Odd' )
-IsOddInGate = GraphSwitchs.Link( SwitchOdd , IsOdd.Port( 'InGate' ) )
-
-Switcha = Switch.Port( 'a' )
-IsOdda = GraphSwitchs.Link( Switcha , IsOdd.Port( 'a' ) )
-IsOdda.AddCoord( 1 , 365 , 129 )
-IsOdda.AddCoord( 2 , 365 , 222 )
-
-SwitchDefault = Switch.Port( 'Default' )
-EndOfSwitchDefault = GraphSwitchs.Link( SwitchDefault , EndOfSwitch.Port( 'Default' ) )
-EndOfSwitchDefault.AddCoord( 1 , 572 , 194 )
-EndOfSwitchDefault.AddCoord( 2 , 571 , 257 )
-
-EndOfSwitcha = EndOfSwitch.Port( 'a' )
-EndOfInitLoopSwitchIndex = GraphSwitchs.Link( EndOfSwitcha , EndOfInitLoopSwitch.Port( 'Index' ) )
-
-IsOdd_1a = IsOdd_1.Port( 'a' )
-EndSwitcha = GraphSwitchs.Link( IsOdd_1a , EndSwitch.Port( 'a' ) )
-EndSwitcha.AddCoord( 1 , 599 , 416 )
-EndSwitcha.AddCoord( 2 , 598 , 389 )
-
-InitLoopIndex = InitLoop.Port( 'Index' )
-Switch_1a = GraphSwitchs.Link( InitLoopIndex , Switch_1.Port( 'a' ) )
-
-InitLoopMin = InitLoop.Port( 'Min' )
-EndOfInitLoopMin = GraphSwitchs.Link( InitLoopMin , EndOfInitLoop.Port( 'Min' ) )
-
-InitLoopMax = InitLoop.Port( 'Max' )
-EndOfInitLoopMax = GraphSwitchs.Link( InitLoopMax , EndOfInitLoop.Port( 'Max' ) )
-
-Switch_1Odd = Switch_1.Port( 'Odd' )
-IsOdd_1InGate = GraphSwitchs.Link( Switch_1Odd , IsOdd_1.Port( 'InGate' ) )
-
-Switch_1Even = Switch_1.Port( 'Even' )
-EndSwitchDefault = GraphSwitchs.Link( Switch_1Even , EndSwitch.Port( 'Default' ) )
-
-Switch_1a = Switch_1.Port( 'a' )
-IsOdd_1a = GraphSwitchs.Link( Switch_1a , IsOdd_1.Port( 'a' ) )
-IsOdd_1a.AddCoord( 1 , 379 , 387 )
-IsOdd_1a.AddCoord( 2 , 378 , 481 )
-
-EndSwitcha = EndSwitch.Port( 'a' )
-EndOfInitLoopIndex = GraphSwitchs.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' )
-
-GraphSwitchs.Run()
-GraphSwitchs.DoneW()
-print GraphSwitchs.State()
-GraphSwitchs.PrintPorts()
+GraphSwitchs = DefGraphSwitchs()
index 059040e09201f6785e799391938498bcfa952ed6..f018951df15f33bb8b34cb9582aeda326b76bf89 100755 (executable)
-<!DOCTYPE Dataflow>
+<!DOCTYPE SuperGraph>
+<supergraph>
 <dataflow>
 <info-list>
 <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>GraphSwitchs</node-name>
-   <kind>1</kind>
-   <coupled-node>?</coupled-node>
-   <service>
-<service-name>GraphSwitchs</service-name>
-    <inParameter-list>
+    <interface-name>?</interface-name>
+    <node-name>GraphSwitchs_1</node-name>
+    <kind>1</kind>
+    <coupled-node>?</coupled-node>
+    <service>
+<service-name>GraphSwitchs_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>16/10/2003 - 10:57: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>
+       <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>20/1/2005 - 18:31:38</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 (GraphSwitchs)"      ]]></PyFunc>
-     <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
-     <PyFunc><![CDATA[    return a     ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>16/10/2003 - 10:57:24</creation-date>
-   <lastmodification-date>16/10/2003 - 10:57: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>
+      <PyFunc><![CDATA[from time import *   ]]></PyFunc>
+      <PyFunc><![CDATA[def IsOdd(a) :       ]]></PyFunc>
+      <PyFunc><![CDATA[    print a,"IsOdd (GraphSwitchs)"      ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
+      <PyFunc><![CDATA[    return a     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>20/1/2005 - 18:31:38</creation-date>
+    <lastmodification-date>20/1/2005 - 18:31:38</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>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>16/10/2003 - 10:57:24</creation-date>
-   <lastmodification-date>16/10/2003 - 10:57:24</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>20/1/2005 - 18:31:38</creation-date>
+    <lastmodification-date>20/1/2005 - 18:31:38</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>16/10/2003 - 10:57:24</creation-date>
-   <lastmodification-date>16/10/2003 - 10:57:24</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>20/1/2005 - 18:31:38</creation-date>
+    <lastmodification-date>20/1/2005 - 18:31:38</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>16/10/2003 - 10:57:24</creation-date>
-   <lastmodification-date>16/10/2003 - 10:57:24</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>20/1/2005 - 18:31:38</creation-date>
+    <lastmodification-date>20/1/2005 - 18:31:38</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>16/10/2003 - 10:57:24</creation-date>
-   <lastmodification-date>16/10/2003 - 10:57:24</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>20/1/2005 - 18:31:38</creation-date>
+    <lastmodification-date>20/1/2005 - 18:31:38</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-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_1 (GraphSwitchs)"      ]]></PyFunc>
-     <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
-     <PyFunc><![CDATA[    return a     ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>16/10/2003 - 10:57:24</creation-date>
-   <lastmodification-date>16/10/2003 - 10:57:24</lastmodification-date>
-   <editor-release>1.05</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>Python function</comment>
-   <x-position>419</x-position>
-   <y-position>308</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[from time import *   ]]></PyFunc>
+      <PyFunc><![CDATA[def IsOdd(a) :       ]]></PyFunc>
+      <PyFunc><![CDATA[    print a,"IsOdd_1 (GraphSwitchs)"      ]]></PyFunc>
+      <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
+      <PyFunc><![CDATA[    return a     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>20/1/2005 - 18:31:38</creation-date>
+    <lastmodification-date>20/1/2005 - 18:31:38</lastmodification-date>
+    <editor-release>1.05</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Python function</comment>
+    <x-position>419</x-position>
+    <y-position>308</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>16/10/2003 - 10:57:24</creation-date>
-   <lastmodification-date>16/10/2003 - 10:57:24</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>20/1/2005 - 18:31:38</creation-date>
+    <lastmodification-date>20/1/2005 - 18:31:38</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>16/10/2003 - 10:57:24</creation-date>
-   <lastmodification-date>16/10/2003 - 10:57:24</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>20/1/2005 - 18:31:38</creation-date>
+    <lastmodification-date>20/1/2005 - 18:31:38</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>16/10/2003 - 10:57:24</creation-date>
-   <lastmodification-date>16/10/2003 - 10:57:24</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>20/1/2005 - 18:31:38</creation-date>
+    <lastmodification-date>20/1/2005 - 18:31:38</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>16/10/2003 - 10:57:24</creation-date>
-   <lastmodification-date>16/10/2003 - 10:57:24</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>20/1/2005 - 18:31:38</creation-date>
+    <lastmodification-date>20/1/2005 - 18:31:38</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>
+      <y>160</y>     </coord>
+     <coord>
 <x>572</x>
-     <y>130</y>    </coord>   </coord-list>  </link>
-  <link>
+      <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>222</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>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>
+      <y>416</y>     </coord>
+     <coord>
 <x>598</x>
-     <y>389</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>389</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>
+    <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>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>EndSwitch</tonode-name>
-   <toserviceparameter-name>Default</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Even</fromserviceparameter-name>
+    <tonode-name>EndSwitch</tonode-name>
+    <toserviceparameter-name>Default</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>379</x>
-     <y>387</y>    </coord>
-    <coord>
+      <y>387</y>     </coord>
+     <coord>
 <x>378</x>
-     <y>481</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>481</y>     </coord>    </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>GraphSwitchs</fromnode-name>
-   <fromserviceparameter-name>InitLoopSwitch\Index</fromserviceparameter-name>
-   <tonode-name>InitLoopSwitch</tonode-name>
-   <toserviceparameter-name>Index</toserviceparameter-name>
-   <data-value>
+<fromnode-name>GraphSwitchs_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>GraphSwitchs</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>GraphSwitchs_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>GraphSwitchs</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>GraphSwitchs_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>GraphSwitchs</fromnode-name>
-   <fromserviceparameter-name>InitLoop\Index</fromserviceparameter-name>
-   <tonode-name>InitLoop</tonode-name>
-   <toserviceparameter-name>Index</toserviceparameter-name>
-   <data-value>
+     <value>20</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
+<fromnode-name>GraphSwitchs_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>GraphSwitchs</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>GraphSwitchs_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>GraphSwitchs</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>GraphSwitchs_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>20</value>    </data-value>
+    <coord-list/>   </data>  </data-list> </dataflow></supergraph>
index 18091029a2dcdb66d8cbf3fc2bc4c4106e595e67..bd009beb299600f743a0f9c22713e56d5a3c159d 100644 (file)
 # Generated python file of Graph SyrStruct
 
 from SuperV import *
-# Graph creation 
-SyrStruct = Graph( 'SyrStruct' )
-SyrStruct.SetName( 'SyrStruct' )
-SyrStruct.SetAuthor( 'JR' )
-SyrStruct.SetComment( 'Syracuse algorithm' )
-SyrStruct.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-m3 = SyrStruct.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3' )
-m3.SetName( 'm3' )
-m3.SetAuthor( '' )
-m3.SetContainer( 'localhost/FactoryServer' )
-m3.SetComment( 'C_M3 from SyrComponent' )
-m3.Coords( 672 , 28 )
-
-m3incr = SyrStruct.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
-m3incr.SetName( 'm3incr' )
-m3incr.SetAuthor( '' )
-m3incr.SetContainer( 'localhost/FactoryServer' )
-m3incr.SetComment( 'C_INCR from SyrComponent' )
-m3incr.Coords( 898 , 29 )
-
-incra = SyrStruct.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
-incra.SetName( 'incra' )
-incra.SetAuthor( '' )
-incra.SetContainer( 'localhost/FactoryServer' )
-incra.SetComment( 'C_INCR from SyrComponent' )
-incra.Coords( 803 , 195 )
-
-div2 = SyrStruct.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
-div2.SetName( 'div2' )
-div2.SetAuthor( '' )
-div2.SetContainer( 'localhost/FactoryServer' )
-div2.SetComment( 'C_DIV2 from SyrComponent' )
-div2.Coords( 810 , 435 )
-
-incrb = SyrStruct.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
-incrb.SetName( 'incrb' )
-incrb.SetAuthor( '' )
-incrb.SetContainer( 'localhost/FactoryServer' )
-incrb.SetComment( 'C_INCR from SyrComponent' )
-incrb.Coords( 809 , 574 )
-
-# Creation of InLine Nodes
-PySyrComponent = []
-PySyrComponent.append( 'from LifeCycleCORBA import * ' )
-PySyrComponent.append( 'def SyrComponent( aContainer , aComponent ) : ' )
-PySyrComponent.append( '    orb = CORBA.ORB_init([], CORBA.ORB_ID) ' )
-PySyrComponent.append( '    lcc = LifeCycleCORBA(orb) ' )
-PySyrComponent.append( '    ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent ) ' )
-PySyrComponent.append( '    return ComponentRef ' )
-SyrComponent = SyrStruct.INode( 'SyrComponent' , PySyrComponent )
-SyrComponent.SetName( 'SyrComponent' )
-SyrComponent.SetAuthor( '' )
-SyrComponent.SetComment( 'SyrComponent( aContainer , aComponent )' )
-SyrComponent.Coords( 0 , 0 )
-SyrComponent.InPort( 'aContainer' , 'string' )
-SyrComponent.InPort( 'aComponent' , 'string' )
-SyrComponent.OutPort( 'SyrComponentobjref' , 'objref' )
-
-# Creation of Loop Nodes
-PyforN = []
-PyforN.append( 'def InitN( NN , K , SyrComponent , min , max ) : ' )
-PyforN.append( '    N = max ' )
-PyforN.append( '    if min > 0 : ' )
-PyforN.append( '        if max >= min : ' )
-PyforN.append( '            N = min ' )
-PyforN.append( '    return N,K,SyrComponent,min,max ' )
-PyMoreforN = []
-PyMoreforN.append( 'def MoreN( NN , KK , SyrComponent , min , max ) : ' )
-PyMoreforN.append( '    N = NN ' )
-PyMoreforN.append( '    OutLoop = 0 ' )
-PyMoreforN.append( '    if max > NN : ' )
-PyMoreforN.append( '        OutLoop = 1 ' )
-PyMoreforN.append( '    return OutLoop,N,0,SyrComponent,min,max ' )
-PyNextforN = []
-PyNextforN.append( 'def NextN( NN , KK , SyrComponent , min , max ) : ' )
-PyNextforN.append( '    N = NN + 1 ' )
-PyNextforN.append( '    K = KK ' )
-PyNextforN.append( '    return N,K,SyrComponent,min,max ' )
-forN,EndOfforN = SyrStruct.LNode( 'InitN' , PyforN , 'MoreN' , PyMoreforN , 'NextN' , PyNextforN )
-EndOfforN.SetName( 'EndOfforN' )
-EndOfforN.SetAuthor( '' )
-EndOfforN.SetComment( '' )
-EndOfforN.Coords( 1535 , 332 )
-forN.SetName( 'forN' )
-forN.SetAuthor( '' )
-forN.SetComment( 'InitN , MoreN , NextN' )
-forN.Coords( 20 , 302 )
-forN.InPort( 'N' , 'long' )
-forN.InPort( 'K' , 'long' )
-forN.InPort( 'SyrComponent' , 'objref' )
-forN.InPort( 'min' , 'long' )
-forN.InPort( 'max' , 'long' )
-forN.OutPort( 'N' , 'long' )
-forN.OutPort( 'K' , 'long' )
-forN.OutPort( 'SyrComponent' , 'objref' )
-forN.OutPort( 'min' , 'long' )
-forN.OutPort( 'max' , 'long' )
-
-PywhileNotOne = []
-PywhileNotOne.append( 'import threading' )
-PywhileNotOne.append( 'import SyrComponent_idl' )
-PywhileNotOne.append( 'def InitNotOne( SyrComponent , N , K ) :' )
-PywhileNotOne.append( '    return SyrComponent,N,K' )
-PyMorewhileNotOne = []
-PyMorewhileNotOne.append( 'import SyrComponent_idl' )
-PyMorewhileNotOne.append( 'def MoreNotOne( SyrComponent , N , K ) :' )
-PyMorewhileNotOne.append( '    OutLoop = 1 - SyrComponent.C_ISONE( N )' )
-PyMorewhileNotOne.append( '    return OutLoop,SyrComponent,N,K ' )
-PyNextwhileNotOne = []
-PyNextwhileNotOne.append( 'import SyrComponent_idl' )
-PyNextwhileNotOne.append( 'def NextNotOne( SyrComponent , N , K ) :' )
-PyNextwhileNotOne.append( '    return SyrComponent,N,K' )
-whileNotOne,EndOfwhileNotOne = SyrStruct.LNode( 'InitNotOne' , PywhileNotOne , 'MoreNotOne' , PyMorewhileNotOne , 'NextNotOne' , PyNextwhileNotOne )
-EndOfwhileNotOne.SetName( 'EndOfwhileNotOne' )
-EndOfwhileNotOne.SetAuthor( '' )
-EndOfwhileNotOne.SetComment( '' )
-EndOfwhileNotOne.Coords( 1366 , 303 )
-whileNotOne.SetName( 'whileNotOne' )
-whileNotOne.SetAuthor( '' )
-whileNotOne.SetComment( 'InitNotOne , MoreNotOne , NextNotOne' )
-whileNotOne.Coords( 212 , 274 )
-whileNotOne.InPort( 'SyrComponent' , 'objref' )
-whileNotOne.InPort( 'N' , 'long' )
-whileNotOne.InPort( 'K' , 'long' )
-whileNotOne.OutPort( 'SyrComponent' , 'objref' )
-whileNotOne.OutPort( 'N' , 'long' )
-whileNotOne.OutPort( 'K' , 'long' )
-
-Pyfori = []
-Pyfori.append( 'def Initfori( ii , K ) :' )
-Pyfori.append( '    return 1,0,K' )
-PyMorefori = []
-PyMorefori.append( 'def Morefori( ii , K ) :' )
-PyMorefori.append( '    OutLoop = 0' )
-PyMorefori.append( '    if 2 > ii :' )
-PyMorefori.append( '        OutLoop = 1' )
-PyMorefori.append( '    return OutLoop,ii,K' )
-PyNextfori = []
-PyNextfori.append( 'def Nextfori( ii , K ) :' )
-PyNextfori.append( '    ii = ii + 1' )
-PyNextfori.append( '    return ii,K' )
-fori,EndOffori = SyrStruct.LNode( 'Initfori' , Pyfori , 'Morefori' , PyMorefori , 'Nextfori' , PyNextfori )
-EndOffori.SetName( 'EndOffori' )
-EndOffori.SetAuthor( '' )
-EndOffori.SetComment( '' )
-EndOffori.Coords( 976 , 212 )
-fori.SetName( 'fori' )
-fori.SetAuthor( '' )
-fori.SetComment( 'Initfori, Morefori, Nextfori' )
-fori.Coords( 635 , 212 )
-fori.InPort( 'i' , 'long' )
-fori.InPort( 'K' , 'long' )
-fori.OutPort( 'i' , 'long' )
-fori.OutPort( 'K' , 'long' )
-
-PywhileEven = []
-PywhileEven.append( 'import SyrComponent_idl' )
-PywhileEven.append( 'def InitEven( SyrComponent , N , K ) :' )
-PywhileEven.append( '    return SyrComponent,N,K' )
-PyMorewhileEven = []
-PyMorewhileEven.append( 'import SyrComponent_idl' )
-PyMorewhileEven.append( 'def MoreEven( SyrComponent , N , K ) :' )
-PyMorewhileEven.append( '    OutLoop = SyrComponent.C_ISEVEN( N )' )
-PyMorewhileEven.append( '    return OutLoop,SyrComponent,N,K ' )
-PyNextwhileEven = []
-PyNextwhileEven.append( 'import SyrComponent_idl' )
-PyNextwhileEven.append( 'def NextEven( SyrComponent , N , K ) :' )
-PyNextwhileEven.append( '    return SyrComponent,N,K' )
-whileEven,EndOfwhileEven = SyrStruct.LNode( 'InitEven' , PywhileEven , 'MoreEven' , PyMorewhileEven , 'NextEven' , PyNextwhileEven )
-EndOfwhileEven.SetName( 'EndOfwhileEven' )
-EndOfwhileEven.SetAuthor( '' )
-EndOfwhileEven.SetComment( '' )
-EndOfwhileEven.Coords( 988 , 451 )
-whileEven.SetName( 'whileEven' )
-whileEven.SetAuthor( '' )
-whileEven.SetComment( 'InitEven, MoreEven, NextEven' )
-whileEven.Coords( 632 , 451 )
-whileEven.InPort( 'SyrComponent' , 'objref' )
-whileEven.InPort( 'N' , 'long' )
-whileEven.InPort( 'K' , 'long' )
-whileEven.OutPort( 'SyrComponent' , 'objref' )
-whileEven.OutPort( 'N' , 'long' )
-whileEven.OutPort( 'K' , 'long' )
-
-# Creation of Switch Nodes
-PyifNotEven = []
-PyifNotEven.append( 'import SyrComponent_idl' )
-PyifNotEven.append( 'def ifNotEven( SyrComponent , N , K ) :' )
-PyifNotEven.append( '    Even = SyrComponent.C_ISEVEN( N )' )
-PyifNotEven.append( '    Odd = 1 - Even' )
-PyifNotEven.append( '    return Odd,Even,SyrComponent,N,K' )
-ifNotEven,EndOfifNotEven = SyrStruct.SNode( 'ifNotEven' , PyifNotEven )
-EndOfifNotEven.SetName( 'EndOfifNotEven' )
-EndOfifNotEven.SetAuthor( '' )
-EndOfifNotEven.SetComment( '' )
-EndOfifNotEven.Coords( 1205 , 331 )
-PyEndOfifNotEven = []
-EndOfifNotEven.SetPyFunction( 'EndifNotEven' , PyEndOfifNotEven )
-EndOfifNotEven.InPort( 'N' , 'long' )
-EndOfifNotEven.InPort( 'K' , 'long' )
-EndOfifNotEven.OutPort( 'N' , 'long' )
-EndOfifNotEven.OutPort( 'K' , 'long' )
-ifNotEven.SetName( 'ifNotEven' )
-ifNotEven.SetAuthor( '' )
-ifNotEven.SetComment( 'ifNotEven' )
-ifNotEven.Coords( 418 , 274 )
-ifNotEven.InPort( 'SyrComponent' , 'objref' )
-ifNotEven.InPort( 'N' , 'long' )
-ifNotEven.InPort( 'K' , 'long' )
-ifNotEven.OutPort( 'Odd' , 'long' )
-ifNotEven.OutPort( 'Even' , 'long' )
-ifNotEven.OutPort( 'SyrComponent' , 'objref' )
-ifNotEven.OutPort( 'N' , 'long' )
-ifNotEven.OutPort( 'K' , 'long' )
-
-# Creation of Links
-m3anInteger = m3.Port( 'anInteger' )
-m3incraCount = SyrStruct.Link( m3anInteger , m3incr.Port( 'aCount' ) )
-
-m3incraNewCount = m3incr.Port( 'aNewCount' )
-EndOfifNotEvenN = SyrStruct.Link( m3incraNewCount , EndOfifNotEven.Port( 'N' ) )
-EndOfifNotEvenN.AddCoord( 1 , 1190 , 366 )
-EndOfifNotEvenN.AddCoord( 2 , 1191 , 109 )
-
-incraaNewCount = incra.Port( 'aNewCount' )
-EndOfforiK = SyrStruct.Link( incraaNewCount , EndOffori.Port( 'K' ) )
-
-div2anInteger = div2.Port( 'anInteger' )
-EndOfwhileEvenN = SyrStruct.Link( div2anInteger , EndOfwhileEven.Port( 'N' ) )
-
-incrbaNewCount = incrb.Port( 'aNewCount' )
-EndOfwhileEvenK = SyrStruct.Link( incrbaNewCount , EndOfwhileEven.Port( 'K' ) )
-EndOfwhileEvenK.AddCoord( 1 , 988 , 543 )
-EndOfwhileEvenK.AddCoord( 2 , 988 , 654 )
-
-SyrComponentSyrComponentobjref = SyrComponent.Port( 'SyrComponentobjref' )
-forNSyrComponent = SyrStruct.Link( SyrComponentSyrComponentobjref , forN.Port( 'SyrComponent' ) )
-forNSyrComponent.AddCoord( 1 , 13 , 394 )
-forNSyrComponent.AddCoord( 2 , 12 , 181 )
-forNSyrComponent.AddCoord( 3 , 196 , 181 )
-forNSyrComponent.AddCoord( 4 , 197 , 81 )
-
-forNN = forN.Port( 'N' )
-whileNotOneN = SyrStruct.Link( forNN , whileNotOne.Port( 'N' ) )
-
-EndOfforNN = SyrStruct.Link( forNN , EndOfforN.Port( 'N' ) )
-
-forNK = forN.Port( 'K' )
-whileNotOneK = SyrStruct.Link( forNK , whileNotOne.Port( 'K' ) )
-
-forNSyrComponent = forN.Port( 'SyrComponent' )
-EndOfforNSyrComponent = SyrStruct.Link( forNSyrComponent , EndOfforN.Port( 'SyrComponent' ) )
-
-whileNotOneSyrComponent = SyrStruct.Link( forNSyrComponent , whileNotOne.Port( 'SyrComponent' ) )
-whileNotOneSyrComponent.AddCoord( 1 , 192 , 309 )
-whileNotOneSyrComponent.AddCoord( 2 , 191 , 394 )
-
-forNmin = forN.Port( 'min' )
-EndOfforNmin = SyrStruct.Link( forNmin , EndOfforN.Port( 'min' ) )
-
-forNmax = forN.Port( 'max' )
-EndOfforNmax = SyrStruct.Link( forNmax , EndOfforN.Port( 'max' ) )
-
-whileNotOneSyrComponent = whileNotOne.Port( 'SyrComponent' )
-EndOfwhileNotOneSyrComponent = SyrStruct.Link( whileNotOneSyrComponent , EndOfwhileNotOne.Port( 'SyrComponent' ) )
-
-ifNotEvenSyrComponent = SyrStruct.Link( whileNotOneSyrComponent , ifNotEven.Port( 'SyrComponent' ) )
-
-whileNotOneN = whileNotOne.Port( 'N' )
-ifNotEvenN = SyrStruct.Link( whileNotOneN , ifNotEven.Port( 'N' ) )
-
-whileNotOneK = whileNotOne.Port( 'K' )
-ifNotEvenK = SyrStruct.Link( whileNotOneK , ifNotEven.Port( 'K' ) )
-
-EndOfwhileNotOneK = EndOfwhileNotOne.Port( 'K' )
-EndOfforNK = SyrStruct.Link( EndOfwhileNotOneK , EndOfforN.Port( 'K' ) )
-
-forii = fori.Port( 'i' )
-EndOfforii = SyrStruct.Link( forii , EndOffori.Port( 'i' ) )
-
-foriK = fori.Port( 'K' )
-incraaCount = SyrStruct.Link( foriK , incra.Port( 'aCount' ) )
-
-EndOfforiK = EndOffori.Port( 'K' )
-EndOfifNotEvenK = SyrStruct.Link( EndOfforiK , EndOfifNotEven.Port( 'K' ) )
-EndOfifNotEvenK.AddCoord( 1 , 1170 , 396 )
-EndOfifNotEvenK.AddCoord( 2 , 1169 , 275 )
-
-whileEvenSyrComponent = whileEven.Port( 'SyrComponent' )
-EndOfwhileEvenSyrComponent = SyrStruct.Link( whileEvenSyrComponent , EndOfwhileEven.Port( 'SyrComponent' ) )
-
-whileEvenN = whileEven.Port( 'N' )
-div2anEvenInteger = SyrStruct.Link( whileEvenN , div2.Port( 'anEvenInteger' ) )
-
-whileEvenK = whileEven.Port( 'K' )
-incrbaCount = SyrStruct.Link( whileEvenK , incrb.Port( 'aCount' ) )
-incrbaCount.AddCoord( 1 , 796 , 655 )
-incrbaCount.AddCoord( 2 , 795 , 543 )
-
-EndOfwhileEvenN = EndOfwhileEven.Port( 'N' )
-EndOfifNotEvenN = SyrStruct.Link( EndOfwhileEvenN , EndOfifNotEven.Port( 'N' ) )
-EndOfifNotEvenN.AddCoord( 1 , 1191 , 366 )
-EndOfifNotEvenN.AddCoord( 2 , 1191 , 513 )
-
-EndOfwhileEvenK = EndOfwhileEven.Port( 'K' )
-EndOfifNotEvenK = SyrStruct.Link( EndOfwhileEvenK , EndOfifNotEven.Port( 'K' ) )
-EndOfifNotEvenK.AddCoord( 1 , 1169 , 395 )
-EndOfifNotEvenK.AddCoord( 2 , 1170 , 543 )
-
-ifNotEvenOdd = ifNotEven.Port( 'Odd' )
-m3InGate = SyrStruct.Link( ifNotEvenOdd , m3.Port( 'InGate' ) )
-m3InGate.AddCoord( 1 , 593 , 141 )
-m3InGate.AddCoord( 2 , 593 , 307 )
-
-foriInGate = SyrStruct.Link( ifNotEvenOdd , fori.Port( 'InGate' ) )
-
-ifNotEvenEven = ifNotEven.Port( 'Even' )
-whileEvenInGate = SyrStruct.Link( ifNotEvenEven , whileEven.Port( 'InGate' ) )
-whileEvenInGate.AddCoord( 1 , 593 , 576 )
-whileEvenInGate.AddCoord( 2 , 592 , 339 )
-
-ifNotEvenSyrComponent = ifNotEven.Port( 'SyrComponent' )
-whileEvenSyrComponent = SyrStruct.Link( ifNotEvenSyrComponent , whileEven.Port( 'SyrComponent' ) )
-whileEvenSyrComponent.AddCoord( 1 , 586 , 486 )
-whileEvenSyrComponent.AddCoord( 2 , 587 , 367 )
-
-ifNotEvenN = ifNotEven.Port( 'N' )
-whileEvenN = SyrStruct.Link( ifNotEvenN , whileEven.Port( 'N' ) )
-whileEvenN.AddCoord( 1 , 604 , 513 )
-whileEvenN.AddCoord( 2 , 603 , 397 )
-
-m3anOddInteger = SyrStruct.Link( ifNotEvenN , m3.Port( 'anOddInteger' ) )
-m3anOddInteger.AddCoord( 1 , 604 , 107 )
-m3anOddInteger.AddCoord( 2 , 604 , 395 )
-
-ifNotEvenK = ifNotEven.Port( 'K' )
-whileEvenK = SyrStruct.Link( ifNotEvenK , whileEven.Port( 'K' ) )
-whileEvenK.AddCoord( 1 , 621 , 544 )
-whileEvenK.AddCoord( 2 , 622 , 426 )
-
-foriK = SyrStruct.Link( ifNotEvenK , fori.Port( 'K' ) )
-foriK.AddCoord( 1 , 622 , 275 )
-foriK.AddCoord( 2 , 622 , 426 )
-
-ifNotEvenDefault = ifNotEven.Port( 'Default' )
-EndOfifNotEvenDefault = SyrStruct.Link( ifNotEvenDefault , EndOfifNotEven.Port( 'Default' ) )
-EndOfifNotEvenDefault.AddCoord( 1 , 1204 , 429 )
-EndOfifNotEvenDefault.AddCoord( 2 , 1203 , 12 )
-EndOfifNotEvenDefault.AddCoord( 3 , 581 , 13 )
-EndOfifNotEvenDefault.AddCoord( 4 , 581 , 458 )
-
-EndOfifNotEvenN = EndOfifNotEven.Port( 'N' )
-EndOfwhileNotOneN = SyrStruct.Link( EndOfifNotEvenN , EndOfwhileNotOne.Port( 'N' ) )
-
-EndOfifNotEvenK = EndOfifNotEven.Port( 'K' )
-EndOfwhileNotOneK = SyrStruct.Link( EndOfifNotEvenK , EndOfwhileNotOne.Port( 'K' ) )
-
-# Creation of Input datas
-SyrComponentaContainer = SyrComponent.Input( 'aContainer' , 'FactoryServer')
-SyrComponentaComponent = SyrComponent.Input( 'aComponent' , 'SyrComponent')
-forNN = forN.Input( 'N' , 0)
-
-forNK = forN.Input( 'K' , 0)
-forNmin = forN.Input( 'min' , 5)
-forNmax = forN.Input( 'max' , 9)
-forii = fori.Input( 'i' , 0)
-
-# Creation of Output variables
-EndOfforNN = EndOfforN.Port( 'N' )
-EndOfforNK = EndOfforN.Port( 'K' )
-EndOfforNSyrComponent = EndOfforN.Port( 'SyrComponent' )
-EndOfforNmin = EndOfforN.Port( 'min' )
-EndOfforNmax = EndOfforN.Port( 'max' )
-EndOfwhileNotOneSyrComponent = EndOfwhileNotOne.Port( 'SyrComponent' )
-EndOfwhileNotOneN = EndOfwhileNotOne.Port( 'N' )
-EndOfforii = EndOffori.Port( 'i' )
-EndOfwhileEvenSyrComponent = EndOfwhileEven.Port( 'SyrComponent' )
-
-SyrStruct.Run()
-
-SyrStruct.DoneW()
-
-print SyrStruct.State()
-
-SyrStruct.PrintPorts()
-
-SyrStruct.Export( '/tmp/SyrStruct.xml' )
-
-SyrStruct = Graph( '/tmp/SyrStruct.xml' )
-
-SyrStruct.Run()
-
-SyrStruct.DoneW()
-
-print SyrStruct.State()
 
+# Graph creation of SyrStruct
+def DefSyrStruct() :
+    SyrStruct = Graph( 'SyrStruct' )
+    SyrStruct.SetName( 'SyrStruct' )
+    SyrStruct.SetAuthor( 'JR' )
+    SyrStruct.SetComment( 'Syracuse algorithm' )
+    SyrStruct.Coords( 0 , 0 )
+    
+    # Creation of Factory Nodes
+    
+    m3 = SyrStruct.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3' )
+    m3.SetName( 'm3' )
+    m3.SetAuthor( '' )
+    m3.SetContainer( 'localhost/FactoryServer' )
+    m3.SetComment( 'C_M3 from SyrComponent' )
+    m3.Coords( 672 , 28 )
+    Im3anOddInteger = m3.GetInPort( 'anOddInteger' )
+    Im3Gate = m3.GetInPort( 'Gate' )
+    Om3anInteger = m3.GetOutPort( 'anInteger' )
+    Om3Gate = m3.GetOutPort( 'Gate' )
+    
+    m3incr = SyrStruct.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+    m3incr.SetName( 'm3incr' )
+    m3incr.SetAuthor( '' )
+    m3incr.SetContainer( 'localhost/FactoryServer' )
+    m3incr.SetComment( 'C_INCR from SyrComponent' )
+    m3incr.Coords( 899 , 28 )
+    Im3incraCount = m3incr.GetInPort( 'aCount' )
+    Im3incrGate = m3incr.GetInPort( 'Gate' )
+    Om3incraNewCount = m3incr.GetOutPort( 'aNewCount' )
+    Om3incrGate = m3incr.GetOutPort( 'Gate' )
+    
+    incra = SyrStruct.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+    incra.SetName( 'incra' )
+    incra.SetAuthor( '' )
+    incra.SetContainer( 'localhost/FactoryServer' )
+    incra.SetComment( 'C_INCR from SyrComponent' )
+    incra.Coords( 824 , 218 )
+    IincraaCount = incra.GetInPort( 'aCount' )
+    IincraGate = incra.GetInPort( 'Gate' )
+    OincraaNewCount = incra.GetOutPort( 'aNewCount' )
+    OincraGate = incra.GetOutPort( 'Gate' )
+    
+    div2 = SyrStruct.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
+    div2.SetName( 'div2' )
+    div2.SetAuthor( '' )
+    div2.SetContainer( 'localhost/FactoryServer' )
+    div2.SetComment( 'C_DIV2 from SyrComponent' )
+    div2.Coords( 817 , 431 )
+    Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
+    Idiv2Gate = div2.GetInPort( 'Gate' )
+    Odiv2anInteger = div2.GetOutPort( 'anInteger' )
+    Odiv2Gate = div2.GetOutPort( 'Gate' )
+    
+    incrb = SyrStruct.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
+    incrb.SetName( 'incrb' )
+    incrb.SetAuthor( '' )
+    incrb.SetContainer( 'localhost/FactoryServer' )
+    incrb.SetComment( 'C_INCR from SyrComponent' )
+    incrb.Coords( 821 , 574 )
+    IincrbaCount = incrb.GetInPort( 'aCount' )
+    IincrbGate = incrb.GetInPort( 'Gate' )
+    OincrbaNewCount = incrb.GetOutPort( 'aNewCount' )
+    OincrbGate = incrb.GetOutPort( 'Gate' )
+    
+    # Creation of InLine Nodes
+    PySyrComponent = []
+    PySyrComponent.append( 'from LifeCycleCORBA import * ' )
+    PySyrComponent.append( 'def SyrComponent( aContainer , aComponent ) : ' )
+    PySyrComponent.append( '    orb = CORBA.ORB_init([], CORBA.ORB_ID) ' )
+    PySyrComponent.append( '    lcc = LifeCycleCORBA(orb) ' )
+    PySyrComponent.append( '    ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent ) ' )
+    PySyrComponent.append( '    return ComponentRef ' )
+    SyrComponent = SyrStruct.INode( 'SyrComponent' , PySyrComponent )
+    SyrComponent.SetName( 'SyrComponent' )
+    SyrComponent.SetAuthor( '' )
+    SyrComponent.SetComment( 'SyrComponent( aContainer , aComponent )' )
+    SyrComponent.Coords( 0 , 0 )
+    ISyrComponentaContainer = SyrComponent.InPort( 'aContainer' , 'string' )
+    ISyrComponentaComponent = SyrComponent.InPort( 'aComponent' , 'string' )
+    ISyrComponentGate = SyrComponent.GetInPort( 'Gate' )
+    OSyrComponentSyrComponentobjref = SyrComponent.OutPort( 'SyrComponentobjref' , 'objref' )
+    OSyrComponentGate = SyrComponent.GetOutPort( 'Gate' )
+    
+    # Creation of Loop Nodes
+    PyforN = []
+    PyforN.append( 'def InitN( NN , K , SyrComponent , min , max ) : ' )
+    PyforN.append( '    N = max ' )
+    PyforN.append( '    if min > 0 : ' )
+    PyforN.append( '        if max >= min : ' )
+    PyforN.append( '            N = min ' )
+    PyforN.append( '    return N,K,SyrComponent,min,max ' )
+    PyMoreforN = []
+    PyMoreforN.append( 'def MoreN( NN , KK , SyrComponent , min , max ) : ' )
+    PyMoreforN.append( '    N = NN ' )
+    PyMoreforN.append( '    OutLoop = 0 ' )
+    PyMoreforN.append( '    if max > NN : ' )
+    PyMoreforN.append( '        OutLoop = 1 ' )
+    PyMoreforN.append( '    return OutLoop,N,0,SyrComponent,min,max ' )
+    PyNextforN = []
+    PyNextforN.append( 'def NextN( NN , KK , SyrComponent , min , max ) : ' )
+    PyNextforN.append( '    N = NN + 1 ' )
+    PyNextforN.append( '    K = KK ' )
+    PyNextforN.append( '    return N,K,SyrComponent,min,max ' )
+    forN,EndOfforN = SyrStruct.LNode( 'InitN' , PyforN , 'MoreN' , PyMoreforN , 'NextN' , PyNextforN )
+    EndOfforN.SetName( 'EndOfforN' )
+    EndOfforN.SetAuthor( '' )
+    EndOfforN.SetComment( 'Compute Node' )
+    EndOfforN.Coords( 1590 , 331 )
+    PyEndOfforN = []
+    EndOfforN.SetPyFunction( '' , PyEndOfforN )
+    IforNDoLoop = forN.GetInPort( 'DoLoop' )
+    IforNN = forN.InPort( 'N' , 'long' )
+    IforNK = forN.InPort( 'K' , 'long' )
+    IforNSyrComponent = forN.InPort( 'SyrComponent' , 'objref' )
+    IforNmin = forN.InPort( 'min' , 'long' )
+    IforNmax = forN.InPort( 'max' , 'long' )
+    IforNGate = forN.GetInPort( 'Gate' )
+    OforNDoLoop = forN.GetOutPort( 'DoLoop' )
+    OforNN = forN.GetOutPort( 'N' )
+    OforNK = forN.GetOutPort( 'K' )
+    OforNSyrComponent = forN.GetOutPort( 'SyrComponent' )
+    OforNmin = forN.GetOutPort( 'min' )
+    OforNmax = forN.GetOutPort( 'max' )
+    IEndOfforNDoLoop = EndOfforN.GetInPort( 'DoLoop' )
+    IEndOfforNN = EndOfforN.GetInPort( 'N' )
+    IEndOfforNK = EndOfforN.GetInPort( 'K' )
+    IEndOfforNSyrComponent = EndOfforN.GetInPort( 'SyrComponent' )
+    IEndOfforNmin = EndOfforN.GetInPort( 'min' )
+    IEndOfforNmax = EndOfforN.GetInPort( 'max' )
+    IEndOfforNGate = EndOfforN.GetInPort( 'Gate' )
+    OEndOfforNDoLoop = EndOfforN.GetOutPort( 'DoLoop' )
+    OEndOfforNN = EndOfforN.GetOutPort( 'N' )
+    OEndOfforNK = EndOfforN.GetOutPort( 'K' )
+    OEndOfforNSyrComponent = EndOfforN.GetOutPort( 'SyrComponent' )
+    OEndOfforNmin = EndOfforN.GetOutPort( 'min' )
+    OEndOfforNmax = EndOfforN.GetOutPort( 'max' )
+    OEndOfforNGate = EndOfforN.GetOutPort( 'Gate' )
+    forN.SetName( 'forN' )
+    forN.SetAuthor( '' )
+    forN.SetComment( 'InitN , MoreN , NextN' )
+    forN.Coords( 20 , 302 )
+    
+    PywhileNotOne = []
+    PywhileNotOne.append( 'import threading' )
+    PywhileNotOne.append( 'import SyrComponent_idl' )
+    PywhileNotOne.append( 'def InitNotOne( SyrComponent , N , K ) :' )
+    PywhileNotOne.append( '    return SyrComponent,N,K' )
+    PyMorewhileNotOne = []
+    PyMorewhileNotOne.append( 'import SyrComponent_idl' )
+    PyMorewhileNotOne.append( 'def MoreNotOne( SyrComponent , N , K ) :' )
+    PyMorewhileNotOne.append( '    OutLoop = 1 - SyrComponent.C_ISONE( N )' )
+    PyMorewhileNotOne.append( '    return OutLoop,SyrComponent,N,K ' )
+    PyNextwhileNotOne = []
+    PyNextwhileNotOne.append( 'import SyrComponent_idl' )
+    PyNextwhileNotOne.append( 'def NextNotOne( SyrComponent , N , K ) :' )
+    PyNextwhileNotOne.append( '    return SyrComponent,N,K' )
+    whileNotOne,EndOfwhileNotOne = SyrStruct.LNode( 'InitNotOne' , PywhileNotOne , 'MoreNotOne' , PyMorewhileNotOne , 'NextNotOne' , PyNextwhileNotOne )
+    EndOfwhileNotOne.SetName( 'EndOfwhileNotOne' )
+    EndOfwhileNotOne.SetAuthor( '' )
+    EndOfwhileNotOne.SetComment( 'Compute Node' )
+    EndOfwhileNotOne.Coords( 1405 , 311 )
+    PyEndOfwhileNotOne = []
+    EndOfwhileNotOne.SetPyFunction( '' , PyEndOfwhileNotOne )
+    IwhileNotOneDoLoop = whileNotOne.GetInPort( 'DoLoop' )
+    IwhileNotOneSyrComponent = whileNotOne.InPort( 'SyrComponent' , 'objref' )
+    IwhileNotOneN = whileNotOne.InPort( 'N' , 'long' )
+    IwhileNotOneK = whileNotOne.InPort( 'K' , 'long' )
+    IwhileNotOneGate = whileNotOne.GetInPort( 'Gate' )
+    OwhileNotOneDoLoop = whileNotOne.GetOutPort( 'DoLoop' )
+    OwhileNotOneSyrComponent = whileNotOne.GetOutPort( 'SyrComponent' )
+    OwhileNotOneN = whileNotOne.GetOutPort( 'N' )
+    OwhileNotOneK = whileNotOne.GetOutPort( 'K' )
+    IEndOfwhileNotOneDoLoop = EndOfwhileNotOne.GetInPort( 'DoLoop' )
+    IEndOfwhileNotOneSyrComponent = EndOfwhileNotOne.GetInPort( 'SyrComponent' )
+    IEndOfwhileNotOneN = EndOfwhileNotOne.GetInPort( 'N' )
+    IEndOfwhileNotOneK = EndOfwhileNotOne.GetInPort( 'K' )
+    IEndOfwhileNotOneGate = EndOfwhileNotOne.GetInPort( 'Gate' )
+    OEndOfwhileNotOneDoLoop = EndOfwhileNotOne.GetOutPort( 'DoLoop' )
+    OEndOfwhileNotOneSyrComponent = EndOfwhileNotOne.GetOutPort( 'SyrComponent' )
+    OEndOfwhileNotOneN = EndOfwhileNotOne.GetOutPort( 'N' )
+    OEndOfwhileNotOneK = EndOfwhileNotOne.GetOutPort( 'K' )
+    OEndOfwhileNotOneGate = EndOfwhileNotOne.GetOutPort( 'Gate' )
+    whileNotOne.SetName( 'whileNotOne' )
+    whileNotOne.SetAuthor( '' )
+    whileNotOne.SetComment( 'InitNotOne , MoreNotOne , NextNotOne' )
+    whileNotOne.Coords( 215 , 282 )
+    
+    Pyfori = []
+    Pyfori.append( 'def Initfori( ii , K ) :  ' )
+    Pyfori.append( '    ii = 0    ' )
+    Pyfori.append( '    return ii,K    ' )
+    PyMorefori = []
+    PyMorefori.append( 'from time import *    ' )
+    PyMorefori.append( 'def Morefori( ii , K ) :    ' )
+    PyMorefori.append( '    OutLoop = 0    ' )
+    PyMorefori.append( '    if ii < 2 :    ' )
+    PyMorefori.append( '        OutLoop = 1 ' )
+    PyMorefori.append( '    return OutLoop,ii,K    ' )
+    PyNextfori = []
+    PyNextfori.append( 'def Nextfori( ii , K ) :    ' )
+    PyNextfori.append( '    ii = ii + 1 ' )
+    PyNextfori.append( '    return ii,K    ' )
+    fori,EndOffori = SyrStruct.LNode( 'Initfori' , Pyfori , 'Morefori' , PyMorefori , 'Nextfori' , PyNextfori )
+    EndOffori.SetName( 'EndOffori' )
+    EndOffori.SetAuthor( '' )
+    EndOffori.SetComment( 'Compute Node' )
+    EndOffori.Coords( 1009 , 238 )
+    PyEndOffori = []
+    EndOffori.SetPyFunction( '' , PyEndOffori )
+    IforiDoLoop = fori.GetInPort( 'DoLoop' )
+    Iforii = fori.InPort( 'i' , 'long' )
+    IforiK = fori.InPort( 'K' , 'long' )
+    IforiGate = fori.GetInPort( 'Gate' )
+    OforiDoLoop = fori.GetOutPort( 'DoLoop' )
+    Oforii = fori.GetOutPort( 'i' )
+    OforiK = fori.GetOutPort( 'K' )
+    IEndOfforiDoLoop = EndOffori.GetInPort( 'DoLoop' )
+    IEndOfforii = EndOffori.GetInPort( 'i' )
+    IEndOfforiK = EndOffori.GetInPort( 'K' )
+    IEndOfforiGate = EndOffori.GetInPort( 'Gate' )
+    OEndOfforiDoLoop = EndOffori.GetOutPort( 'DoLoop' )
+    OEndOfforii = EndOffori.GetOutPort( 'i' )
+    OEndOfforiK = EndOffori.GetOutPort( 'K' )
+    OEndOfforiGate = EndOffori.GetOutPort( 'Gate' )
+    fori.SetName( 'fori' )
+    fori.SetAuthor( '' )
+    fori.SetComment( 'Initfori, Morefori, Nextfori' )
+    fori.Coords( 641 , 238 )
+    
+    PywhileEven = []
+    PywhileEven.append( 'import SyrComponent_idl' )
+    PywhileEven.append( 'def InitEven( SyrComponent , N , K ) :' )
+    PywhileEven.append( '    return SyrComponent,N,K' )
+    PyMorewhileEven = []
+    PyMorewhileEven.append( 'import SyrComponent_idl' )
+    PyMorewhileEven.append( 'def MoreEven( SyrComponent , N , K ) :' )
+    PyMorewhileEven.append( '    OutLoop = SyrComponent.C_ISEVEN( N )' )
+    PyMorewhileEven.append( '    return OutLoop,SyrComponent,N,K ' )
+    PyNextwhileEven = []
+    PyNextwhileEven.append( 'import SyrComponent_idl' )
+    PyNextwhileEven.append( 'def NextEven( SyrComponent , N , K ) :' )
+    PyNextwhileEven.append( '    return SyrComponent,N,K' )
+    whileEven,EndOfwhileEven = SyrStruct.LNode( 'InitEven' , PywhileEven , 'MoreEven' , PyMorewhileEven , 'NextEven' , PyNextwhileEven )
+    EndOfwhileEven.SetName( 'EndOfwhileEven' )
+    EndOfwhileEven.SetAuthor( '' )
+    EndOfwhileEven.SetComment( 'Compute Node' )
+    EndOfwhileEven.Coords( 1006 , 451 )
+    PyEndOfwhileEven = []
+    EndOfwhileEven.SetPyFunction( '' , PyEndOfwhileEven )
+    IwhileEvenDoLoop = whileEven.GetInPort( 'DoLoop' )
+    IwhileEvenSyrComponent = whileEven.InPort( 'SyrComponent' , 'objref' )
+    IwhileEvenN = whileEven.InPort( 'N' , 'long' )
+    IwhileEvenK = whileEven.InPort( 'K' , 'long' )
+    IwhileEvenGate = whileEven.GetInPort( 'Gate' )
+    OwhileEvenDoLoop = whileEven.GetOutPort( 'DoLoop' )
+    OwhileEvenSyrComponent = whileEven.GetOutPort( 'SyrComponent' )
+    OwhileEvenN = whileEven.GetOutPort( 'N' )
+    OwhileEvenK = whileEven.GetOutPort( 'K' )
+    IEndOfwhileEvenDoLoop = EndOfwhileEven.GetInPort( 'DoLoop' )
+    IEndOfwhileEvenSyrComponent = EndOfwhileEven.GetInPort( 'SyrComponent' )
+    IEndOfwhileEvenN = EndOfwhileEven.GetInPort( 'N' )
+    IEndOfwhileEvenK = EndOfwhileEven.GetInPort( 'K' )
+    IEndOfwhileEvenGate = EndOfwhileEven.GetInPort( 'Gate' )
+    OEndOfwhileEvenDoLoop = EndOfwhileEven.GetOutPort( 'DoLoop' )
+    OEndOfwhileEvenSyrComponent = EndOfwhileEven.GetOutPort( 'SyrComponent' )
+    OEndOfwhileEvenN = EndOfwhileEven.GetOutPort( 'N' )
+    OEndOfwhileEvenK = EndOfwhileEven.GetOutPort( 'K' )
+    OEndOfwhileEvenGate = EndOfwhileEven.GetOutPort( 'Gate' )
+    whileEven.SetName( 'whileEven' )
+    whileEven.SetAuthor( '' )
+    whileEven.SetComment( 'InitEven, MoreEven, NextEven' )
+    whileEven.Coords( 632 , 451 )
+    
+    # Creation of Switch Nodes
+    PyifNotEven = []
+    PyifNotEven.append( 'import SyrComponent_idl' )
+    PyifNotEven.append( 'def ifNotEven( SyrComponent , N , K ) :' )
+    PyifNotEven.append( '    Even = SyrComponent.C_ISEVEN( N )' )
+    PyifNotEven.append( '    Odd = 1 - Even' )
+    PyifNotEven.append( '    return Odd,Even,SyrComponent,N,K' )
+    ifNotEven,EndOfifNotEven = SyrStruct.SNode( 'ifNotEven' , PyifNotEven )
+    EndOfifNotEven.SetName( 'EndOfifNotEven' )
+    EndOfifNotEven.SetAuthor( '' )
+    EndOfifNotEven.SetComment( 'Compute Node' )
+    EndOfifNotEven.Coords( 1220 , 331 )
+    PyEndOfifNotEven = []
+    EndOfifNotEven.SetPyFunction( '' , PyEndOfifNotEven )
+    IEndOfifNotEvenN = EndOfifNotEven.InPort( 'N' , 'long' )
+    IEndOfifNotEvenK = EndOfifNotEven.InPort( 'K' , 'long' )
+    IEndOfifNotEvenDefault = EndOfifNotEven.GetInPort( 'Default' )
+    OEndOfifNotEvenN = EndOfifNotEven.OutPort( 'N' , 'long' )
+    OEndOfifNotEvenK = EndOfifNotEven.OutPort( 'K' , 'long' )
+    OEndOfifNotEvenGate = EndOfifNotEven.GetOutPort( 'Gate' )
+    ifNotEven.SetName( 'ifNotEven' )
+    ifNotEven.SetAuthor( '' )
+    ifNotEven.SetComment( 'ifNotEven' )
+    ifNotEven.Coords( 407 , 282 )
+    IifNotEvenSyrComponent = ifNotEven.InPort( 'SyrComponent' , 'objref' )
+    IifNotEvenN = ifNotEven.InPort( 'N' , 'long' )
+    IifNotEvenK = ifNotEven.InPort( 'K' , 'long' )
+    IifNotEvenGate = ifNotEven.GetInPort( 'Gate' )
+    OifNotEvenOdd = ifNotEven.OutPort( 'Odd' , 'long' )
+    OifNotEvenEven = ifNotEven.OutPort( 'Even' , 'long' )
+    OifNotEvenSyrComponent = ifNotEven.OutPort( 'SyrComponent' , 'objref' )
+    OifNotEvenN = ifNotEven.OutPort( 'N' , 'long' )
+    OifNotEvenK = ifNotEven.OutPort( 'K' , 'long' )
+    OifNotEvenDefault = ifNotEven.GetOutPort( 'Default' )
+    
+    # Creation of Links
+    Lm3anIntegerm3incraCount = SyrStruct.Link( Om3anInteger , Im3incraCount )
+    
+    Lm3incraNewCountEndOfifNotEvenN = SyrStruct.Link( Om3incraNewCount , IEndOfifNotEvenN )
+    Lm3incraNewCountEndOfifNotEvenN.AddCoord( 1 , 1193 , 362 )
+    Lm3incraNewCountEndOfifNotEvenN.AddCoord( 2 , 1191 , 100 )
+    
+    LincraaNewCountEndOfforiK = SyrStruct.Link( OincraaNewCount , IEndOfforiK )
+    
+    Ldiv2anIntegerEndOfwhileEvenN = SyrStruct.Link( Odiv2anInteger , IEndOfwhileEvenN )
+    
+    LincrbaNewCountEndOfwhileEvenK = SyrStruct.Link( OincrbaNewCount , IEndOfwhileEvenK )
+    LincrbaNewCountEndOfwhileEvenK.AddCoord( 1 , 992 , 521 )
+    LincrbaNewCountEndOfwhileEvenK.AddCoord( 2 , 992 , 645 )
+    
+    LSyrComponentSyrComponentobjrefforNSyrComponent = SyrStruct.Link( OSyrComponentSyrComponentobjref , IforNSyrComponent )
+    LSyrComponentSyrComponentobjrefforNSyrComponent.AddCoord( 1 , 8 , 373 )
+    LSyrComponentSyrComponentobjrefforNSyrComponent.AddCoord( 2 , 8 , 181 )
+    LSyrComponentSyrComponentobjrefforNSyrComponent.AddCoord( 3 , 196 , 181 )
+    LSyrComponentSyrComponentobjrefforNSyrComponent.AddCoord( 4 , 196 , 71 )
+    
+    LforNNwhileNotOneN = SyrStruct.Link( OforNN , IwhileNotOneN )
+    
+    LforNNEndOfforNN = SyrStruct.Link( OforNN , IEndOfforNN )
+    
+    LforNKwhileNotOneK = SyrStruct.Link( OforNK , IwhileNotOneK )
+    
+    LforNSyrComponentEndOfforNSyrComponent = SyrStruct.Link( OforNSyrComponent , IEndOfforNSyrComponent )
+    
+    LforNSyrComponentwhileNotOneSyrComponent = SyrStruct.Link( OforNSyrComponent , IwhileNotOneSyrComponent )
+    LforNSyrComponentwhileNotOneSyrComponent.AddCoord( 1 , 197 , 313 )
+    LforNSyrComponentwhileNotOneSyrComponent.AddCoord( 2 , 197 , 373 )
+    
+    LforNminEndOfforNmin = SyrStruct.Link( OforNmin , IEndOfforNmin )
+    
+    LforNmaxEndOfforNmax = SyrStruct.Link( OforNmax , IEndOfforNmax )
+    
+    LwhileNotOneSyrComponentEndOfwhileNotOneSyrComponent = SyrStruct.Link( OwhileNotOneSyrComponent , IEndOfwhileNotOneSyrComponent )
+    
+    LwhileNotOneSyrComponentifNotEvenSyrComponent = SyrStruct.Link( OwhileNotOneSyrComponent , IifNotEvenSyrComponent )
+    
+    LwhileNotOneNifNotEvenN = SyrStruct.Link( OwhileNotOneN , IifNotEvenN )
+    
+    LwhileNotOneKifNotEvenK = SyrStruct.Link( OwhileNotOneK , IifNotEvenK )
+    
+    LEndOfwhileNotOneKEndOfforNK = SyrStruct.Link( OEndOfwhileNotOneK , IEndOfforNK )
+    
+    LforiiEndOfforii = SyrStruct.Link( Oforii , IEndOfforii )
+    
+    LforiKincraaCount = SyrStruct.Link( OforiK , IincraaCount )
+    
+    LEndOfforiKEndOfifNotEvenK = SyrStruct.Link( OEndOfforiK , IEndOfifNotEvenK )
+    LEndOfforiKEndOfifNotEvenK.AddCoord( 1 , 1180 , 382 )
+    LEndOfforiKEndOfifNotEvenK.AddCoord( 2 , 1180 , 289 )
+    
+    LwhileEvenSyrComponentEndOfwhileEvenSyrComponent = SyrStruct.Link( OwhileEvenSyrComponent , IEndOfwhileEvenSyrComponent )
+    
+    LwhileEvenNdiv2anEvenInteger = SyrStruct.Link( OwhileEvenN , Idiv2anEvenInteger )
+    
+    LwhileEvenKincrbaCount = SyrStruct.Link( OwhileEvenK , IincrbaCount )
+    LwhileEvenKincrbaCount.AddCoord( 1 , 805 , 645 )
+    LwhileEvenKincrbaCount.AddCoord( 2 , 805 , 522 )
+    
+    LEndOfwhileEvenNEndOfifNotEvenN = SyrStruct.Link( OEndOfwhileEvenN , IEndOfifNotEvenN )
+    LEndOfwhileEvenNEndOfifNotEvenN.AddCoord( 1 , 1192 , 362 )
+    LEndOfwhileEvenNEndOfifNotEvenN.AddCoord( 2 , 1192 , 502 )
+    
+    LEndOfwhileEvenKEndOfifNotEvenK = SyrStruct.Link( OEndOfwhileEvenK , IEndOfifNotEvenK )
+    LEndOfwhileEvenKEndOfifNotEvenK.AddCoord( 1 , 1180 , 382 )
+    LEndOfwhileEvenKEndOfifNotEvenK.AddCoord( 2 , 1180 , 522 )
+    
+    LifNotEvenOddm3Gate = SyrStruct.Link( OifNotEvenOdd , Im3Gate )
+    LifNotEvenOddm3Gate.AddCoord( 1 , 594 , 123 )
+    LifNotEvenOddm3Gate.AddCoord( 2 , 594 , 313 )
+    
+    LifNotEvenOddforiGate = SyrStruct.Link( OifNotEvenOdd , IforiGate )
+    
+    LifNotEvenEvenwhileEvenGate = SyrStruct.Link( OifNotEvenEven , IwhileEvenGate )
+    LifNotEvenEvenwhileEvenGate.AddCoord( 1 , 594 , 546 )
+    LifNotEvenEvenwhileEvenGate.AddCoord( 2 , 594 , 334 )
+    
+    LifNotEvenSyrComponentwhileEvenSyrComponent = SyrStruct.Link( OifNotEvenSyrComponent , IwhileEvenSyrComponent )
+    LifNotEvenSyrComponentwhileEvenSyrComponent.AddCoord( 1 , 588 , 482 )
+    LifNotEvenSyrComponentwhileEvenSyrComponent.AddCoord( 2 , 588 , 354 )
+    
+    LifNotEvenNwhileEvenN = SyrStruct.Link( OifNotEvenN , IwhileEvenN )
+    LifNotEvenNwhileEvenN.AddCoord( 1 , 603 , 502 )
+    LifNotEvenNwhileEvenN.AddCoord( 2 , 603 , 373 )
+    
+    LifNotEvenNm3anOddInteger = SyrStruct.Link( OifNotEvenN , Im3anOddInteger )
+    LifNotEvenNm3anOddInteger.AddCoord( 1 , 605 , 99 )
+    LifNotEvenNm3anOddInteger.AddCoord( 2 , 604 , 372 )
+    
+    LifNotEvenKwhileEvenK = SyrStruct.Link( OifNotEvenK , IwhileEvenK )
+    LifNotEvenKwhileEvenK.AddCoord( 1 , 620 , 523 )
+    LifNotEvenKwhileEvenK.AddCoord( 2 , 620 , 396 )
+    
+    LifNotEvenKforiK = SyrStruct.Link( OifNotEvenK , IforiK )
+    LifNotEvenKforiK.AddCoord( 1 , 620 , 289 )
+    LifNotEvenKforiK.AddCoord( 2 , 620 , 395 )
+    
+    LifNotEvenDefaultEndOfifNotEvenDefault = SyrStruct.Link( OifNotEvenDefault , IEndOfifNotEvenDefault )
+    LifNotEvenDefaultEndOfifNotEvenDefault.AddCoord( 1 , 1204 , 407 )
+    LifNotEvenDefaultEndOfifNotEvenDefault.AddCoord( 2 , 1203 , 12 )
+    LifNotEvenDefaultEndOfifNotEvenDefault.AddCoord( 3 , 581 , 13 )
+    LifNotEvenDefaultEndOfifNotEvenDefault.AddCoord( 4 , 581 , 418 )
+    
+    LEndOfifNotEvenNEndOfwhileNotOneN = SyrStruct.Link( OEndOfifNotEvenN , IEndOfwhileNotOneN )
+    
+    LEndOfifNotEvenKEndOfwhileNotOneK = SyrStruct.Link( OEndOfifNotEvenK , IEndOfwhileNotOneK )
+    
+    # Input datas
+    ISyrComponentaContainer.Input( 'FactoryServer' )
+    ISyrComponentaComponent.Input( 'SyrComponent' )
+    IforNN.Input( 0 )
+    IforNK.Input( 0 )
+    IforNmin.Input( 5 )
+    IforNmax.Input( 9 )
+    Iforii.Input( 0 )
+    
+    # Output Ports of the graph
+    #OEndOfforNN = EndOfforN.GetOutPort( 'N' )
+    #OEndOfforNK = EndOfforN.GetOutPort( 'K' )
+    #OEndOfforNSyrComponent = EndOfforN.GetOutPort( 'SyrComponent' )
+    #OEndOfforNmin = EndOfforN.GetOutPort( 'min' )
+    #OEndOfforNmax = EndOfforN.GetOutPort( 'max' )
+    #OEndOfwhileNotOneSyrComponent = EndOfwhileNotOne.GetOutPort( 'SyrComponent' )
+    #OEndOfwhileNotOneN = EndOfwhileNotOne.GetOutPort( 'N' )
+    #OEndOfforii = EndOffori.GetOutPort( 'i' )
+    #OEndOfwhileEvenSyrComponent = EndOfwhileEven.GetOutPort( 'SyrComponent' )
+    return SyrStruct
+
+
+SyrStruct = DefSyrStruct()
index 8038092e4ad53f62cbfc577077e0a85ca71de1e7..bce3fda02954759828fce4b2ef5b8347145be115 100644 (file)
-<!DOCTYPE Dataflow>
+<!DOCTYPE SuperGraph>
+<supergraph>
 <dataflow>
 <info-list>
 <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>SyrStruct</node-name>
-   <kind>1</kind>
-   <coupled-node>?</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>SyrStruct</node-name>
+    <kind>1</kind>
+    <coupled-node>?</coupled-node>
+    <service>
 <service-name>SyrStruct</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>string</inParameter-type>
-      <inParameter-name>SyrComponent\aContainer</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>SyrComponent__aContainer</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>string</inParameter-type>
-      <inParameter-name>SyrComponent\aComponent</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>SyrComponent__aComponent</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>forN\N</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>forN__N</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>forN\K</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>forN__K</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>forN\min</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>forN__min</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>forN\max</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>forN__max</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>fori\i</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>fori__i</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfforN\N</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfforN__N</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfforN\K</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfforN__K</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>objref</outParameter-type>
-      <outParameter-name>EndOfforN\SyrComponent</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfforN__SyrComponent</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfforN\min</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfforN__min</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfforN\max</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfforN__max</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>objref</outParameter-type>
-      <outParameter-name>EndOfwhileNotOne\SyrComponent</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfwhileNotOne__SyrComponent</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOfwhileNotOne\N</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOfwhileNotOne__N</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>EndOffori\i</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>EndOffori__i</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>objref</outParameter-type>
-      <outParameter-name>EndOfwhileEven\SyrComponent</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list/>
-   <creation-date>4/8/2003 - 17:56:20</creation-date>
-   <lastmodification-date>1/10/2003 - 17:39:29</lastmodification-date>
-   <editor-release>1.04</editor-release>
-   <author>JR</author>
-   <container>?</container>
-   <comment>Syracuse algorithm</comment>
-   <x-position>0</x-position>
-   <y-position>0</y-position>  </node> </info-list>
- <node-list>
+       <outParameter-name>EndOfwhileEven__SyrComponent</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list/>
+    <creation-date>4/8/2003 - 17:56:20</creation-date>
+    <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>JR</author>
+    <container>?</container>
+    <comment>Syracuse algorithm</comment>
+    <x-position>0</x-position>
+    <y-position>0</y-position>   </node>  </info-list>
 <node-list>
 <node>
 <component-name>SyrComponent</component-name>
-   <interface-name>SyrComponent</interface-name>
-   <node-name>m3</node-name>
-   <kind>0</kind>
-   <coupled-node>?</coupled-node>
-   <service>
+    <interface-name>SyrComponent</interface-name>
+    <node-name>m3</node-name>
+    <kind>0</kind>
+    <coupled-node>?</coupled-node>
+    <service>
 <service-name>C_M3</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>anOddInteger</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>anOddInteger</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>anInteger</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list/>
-   <creation-date>1/10/2003 - 17:39:29</creation-date>
-   <lastmodification-date>1/10/2003 - 17:39:29</lastmodification-date>
-   <editor-release>1.04</editor-release>
-   <author>?</author>
-   <container>localhost/FactoryServer</container>
-   <comment>C_M3 from SyrComponent</comment>
-   <x-position>672</x-position>
-   <y-position>28</y-position>  </node>
-  <node>
+       <outParameter-name>anInteger</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list/>
+    <creation-date>19/1/2005 - 13:1:13</creation-date>
+    <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>localhost/FactoryServer</container>
+    <comment>C_M3 from SyrComponent</comment>
+    <x-position>672</x-position>
+    <y-position>28</y-position>   </node>
+   <node>
 <component-name>SyrComponent</component-name>
-   <interface-name>SyrComponent</interface-name>
-   <node-name>m3incr</node-name>
-   <kind>0</kind>
-   <coupled-node>?</coupled-node>
-   <service>
+    <interface-name>SyrComponent</interface-name>
+    <node-name>m3incr</node-name>
+    <kind>0</kind>
+    <coupled-node>?</coupled-node>
+    <service>
 <service-name>C_INCR</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>aCount</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>aCount</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>aNewCount</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list/>
-   <creation-date>1/10/2003 - 17:39:29</creation-date>
-   <lastmodification-date>1/10/2003 - 17:39:29</lastmodification-date>
-   <editor-release>1.04</editor-release>
-   <author>?</author>
-   <container>localhost/FactoryServer</container>
-   <comment>C_INCR from SyrComponent</comment>
-   <x-position>898</x-position>
-   <y-position>29</y-position>  </node>
-  <node>
+       <outParameter-name>aNewCount</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list/>
+    <creation-date>19/1/2005 - 13:1:13</creation-date>
+    <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>localhost/FactoryServer</container>
+    <comment>C_INCR from SyrComponent</comment>
+    <x-position>899</x-position>
+    <y-position>28</y-position>   </node>
+   <node>
 <component-name>SyrComponent</component-name>
-   <interface-name>SyrComponent</interface-name>
-   <node-name>incra</node-name>
-   <kind>0</kind>
-   <coupled-node>?</coupled-node>
-   <service>
+    <interface-name>SyrComponent</interface-name>
+    <node-name>incra</node-name>
+    <kind>0</kind>
+    <coupled-node>?</coupled-node>
+    <service>
 <service-name>C_INCR</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>aCount</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>aCount</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>aNewCount</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list/>
-   <creation-date>1/10/2003 - 17:39:29</creation-date>
-   <lastmodification-date>1/10/2003 - 17:39:29</lastmodification-date>
-   <editor-release>1.04</editor-release>
-   <author>?</author>
-   <container>localhost/FactoryServer</container>
-   <comment>C_INCR from SyrComponent</comment>
-   <x-position>803</x-position>
-   <y-position>195</y-position>  </node>
-  <node>
+       <outParameter-name>aNewCount</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list/>
+    <creation-date>19/1/2005 - 13:1:13</creation-date>
+    <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>localhost/FactoryServer</container>
+    <comment>C_INCR from SyrComponent</comment>
+    <x-position>824</x-position>
+    <y-position>218</y-position>   </node>
+   <node>
 <component-name>SyrComponent</component-name>
-   <interface-name>SyrComponent</interface-name>
-   <node-name>div2</node-name>
-   <kind>0</kind>
-   <coupled-node>?</coupled-node>
-   <service>
+    <interface-name>SyrComponent</interface-name>
+    <node-name>div2</node-name>
+    <kind>0</kind>
+    <coupled-node>?</coupled-node>
+    <service>
 <service-name>C_DIV2</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>anEvenInteger</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>anEvenInteger</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>anInteger</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list/>
-   <creation-date>1/10/2003 - 17:39:29</creation-date>
-   <lastmodification-date>1/10/2003 - 17:39:29</lastmodification-date>
-   <editor-release>1.04</editor-release>
-   <author>?</author>
-   <container>localhost/FactoryServer</container>
-   <comment>C_DIV2 from SyrComponent</comment>
-   <x-position>810</x-position>
-   <y-position>435</y-position>  </node>
-  <node>
+       <outParameter-name>anInteger</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list/>
+    <creation-date>19/1/2005 - 13:1:13</creation-date>
+    <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>localhost/FactoryServer</container>
+    <comment>C_DIV2 from SyrComponent</comment>
+    <x-position>817</x-position>
+    <y-position>431</y-position>   </node>
+   <node>
 <component-name>SyrComponent</component-name>
-   <interface-name>SyrComponent</interface-name>
-   <node-name>incrb</node-name>
-   <kind>0</kind>
-   <coupled-node>?</coupled-node>
-   <service>
+    <interface-name>SyrComponent</interface-name>
+    <node-name>incrb</node-name>
+    <kind>0</kind>
+    <coupled-node>?</coupled-node>
+    <service>
 <service-name>C_INCR</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>aCount</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>aCount</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>aNewCount</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list/>
-   <creation-date>1/10/2003 - 17:39:29</creation-date>
-   <lastmodification-date>1/10/2003 - 17:39:29</lastmodification-date>
-   <editor-release>1.04</editor-release>
-   <author>?</author>
-   <container>localhost/FactoryServer</container>
-   <comment>C_INCR from SyrComponent</comment>
-   <x-position>809</x-position>
-   <y-position>574</y-position>  </node>
-  <node>
+       <outParameter-name>aNewCount</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list/>
+    <creation-date>19/1/2005 - 13:1:13</creation-date>
+    <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>localhost/FactoryServer</container>
+    <comment>C_INCR from SyrComponent</comment>
+    <x-position>821</x-position>
+    <y-position>574</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>SyrComponent</node-name>
-   <kind>3</kind>
-   <coupled-node>?</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>SyrComponent</node-name>
+    <kind>3</kind>
+    <coupled-node>?</coupled-node>
+    <service>
 <service-name>SyrComponent</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>string</inParameter-type>
-      <inParameter-name>aContainer</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>aContainer</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>string</inParameter-type>
-      <inParameter-name>aComponent</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>aComponent</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>objref</outParameter-type>
-      <outParameter-name>SyrComponentobjref</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>SyrComponentobjref</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>SyrComponent</FuncName>
-     <PyFunc><![CDATA[from LifeCycleCORBA import * ]]></PyFunc>
-     <PyFunc><![CDATA[def SyrComponent( aContainer , aComponent ) : ]]></PyFunc>
-     <PyFunc><![CDATA[    orb = CORBA.ORB_init([], CORBA.ORB_ID) ]]></PyFunc>
-     <PyFunc><![CDATA[    lcc = LifeCycleCORBA(orb) ]]></PyFunc>
-     <PyFunc><![CDATA[    ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent ) ]]></PyFunc>
-     <PyFunc><![CDATA[    return ComponentRef ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>1/10/2003 - 17:39:29</creation-date>
-   <lastmodification-date>1/10/2003 - 17:39:29</lastmodification-date>
-   <editor-release>1.04</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>SyrComponent( aContainer , aComponent )</comment>
-   <x-position>0</x-position>
-   <y-position>0</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[from LifeCycleCORBA import * ]]></PyFunc>
+      <PyFunc><![CDATA[def SyrComponent( aContainer , aComponent ) : ]]></PyFunc>
+      <PyFunc><![CDATA[    orb = CORBA.ORB_init([], CORBA.ORB_ID) ]]></PyFunc>
+      <PyFunc><![CDATA[    lcc = LifeCycleCORBA(orb) ]]></PyFunc>
+      <PyFunc><![CDATA[    ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent ) ]]></PyFunc>
+      <PyFunc><![CDATA[    return ComponentRef ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>19/1/2005 - 13:1:13</creation-date>
+    <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>SyrComponent( aContainer , aComponent )</comment>
+    <x-position>0</x-position>
+    <y-position>0</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>forN</node-name>
-   <kind>4</kind>
-   <coupled-node>EndOfforN</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>forN</node-name>
+    <kind>4</kind>
+    <coupled-node>EndOfforN</coupled-node>
+    <service>
 <service-name>forN</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>N</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>N</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>K</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>K</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>objref</inParameter-type>
-      <inParameter-name>SyrComponent</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>SyrComponent</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>N</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>N</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>K</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>K</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>objref</outParameter-type>
-      <outParameter-name>SyrComponent</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>SyrComponent</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>InitN</FuncName>
-     <PyFunc><![CDATA[def InitN( NN , K , SyrComponent , min , max ) : ]]></PyFunc>
-     <PyFunc><![CDATA[    N = max ]]></PyFunc>
-     <PyFunc><![CDATA[    if min > 0 : ]]></PyFunc>
-     <PyFunc><![CDATA[        if max >= min : ]]></PyFunc>
-     <PyFunc><![CDATA[            N = min ]]></PyFunc>
-     <PyFunc><![CDATA[    return N,K,SyrComponent,min,max ]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[def InitN( NN , K , SyrComponent , min , max ) : ]]></PyFunc>
+      <PyFunc><![CDATA[    N = max ]]></PyFunc>
+      <PyFunc><![CDATA[    if min > 0 : ]]></PyFunc>
+      <PyFunc><![CDATA[        if max >= min : ]]></PyFunc>
+      <PyFunc><![CDATA[            N = min ]]></PyFunc>
+      <PyFunc><![CDATA[    return N,K,SyrComponent,min,max ]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>MoreN</FuncName>
-     <PyFunc><![CDATA[def MoreN( NN , KK , SyrComponent , min , max ) : ]]></PyFunc>
-     <PyFunc><![CDATA[    N = NN ]]></PyFunc>
-     <PyFunc><![CDATA[    OutLoop = 0 ]]></PyFunc>
-     <PyFunc><![CDATA[    if max > NN : ]]></PyFunc>
-     <PyFunc><![CDATA[        OutLoop = 1 ]]></PyFunc>
-     <PyFunc><![CDATA[    return OutLoop,N,0,SyrComponent,min,max ]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[def MoreN( NN , KK , SyrComponent , min , max ) : ]]></PyFunc>
+      <PyFunc><![CDATA[    N = NN ]]></PyFunc>
+      <PyFunc><![CDATA[    OutLoop = 0 ]]></PyFunc>
+      <PyFunc><![CDATA[    if max > NN : ]]></PyFunc>
+      <PyFunc><![CDATA[        OutLoop = 1 ]]></PyFunc>
+      <PyFunc><![CDATA[    return OutLoop,N,0,SyrComponent,min,max ]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>NextN</FuncName>
-     <PyFunc><![CDATA[def NextN( NN , KK , SyrComponent , min , max ) : ]]></PyFunc>
-     <PyFunc><![CDATA[    N = NN + 1 ]]></PyFunc>
-     <PyFunc><![CDATA[    K = KK ]]></PyFunc>
-     <PyFunc><![CDATA[    return N,K,SyrComponent,min,max ]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>1/10/2003 - 17:39:29</creation-date>
-   <lastmodification-date>1/10/2003 - 17:39:29</lastmodification-date>
-   <editor-release>1.04</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>InitN , MoreN , NextN</comment>
-   <x-position>20</x-position>
-   <y-position>302</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[def NextN( NN , KK , SyrComponent , min , max ) : ]]></PyFunc>
+      <PyFunc><![CDATA[    N = NN + 1 ]]></PyFunc>
+      <PyFunc><![CDATA[    K = KK ]]></PyFunc>
+      <PyFunc><![CDATA[    return N,K,SyrComponent,min,max ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>19/1/2005 - 13:1:13</creation-date>
+    <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>InitN , MoreN , NextN</comment>
+    <x-position>20</x-position>
+    <y-position>302</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>EndOfforN</node-name>
-   <kind>5</kind>
-   <coupled-node>forN</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>EndOfforN</node-name>
+    <kind>5</kind>
+    <coupled-node>forN</coupled-node>
+    <service>
 <service-name>EndOfforN</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>N</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>N</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>K</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>K</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>objref</inParameter-type>
-      <inParameter-name>SyrComponent</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>SyrComponent</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>N</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>N</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>K</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>K</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>objref</outParameter-type>
-      <outParameter-name>SyrComponent</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>SyrComponent</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>1/10/2003 - 17:39:29</creation-date>
-   <lastmodification-date>1/10/2003 - 17:39:29</lastmodification-date>
-   <editor-release>1.04</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>1535</x-position>
-   <y-position>332</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>19/1/2005 - 13:1:13</creation-date>
+    <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>1590</x-position>
+    <y-position>331</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>whileNotOne</node-name>
-   <kind>4</kind>
-   <coupled-node>EndOfwhileNotOne</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>whileNotOne</node-name>
+    <kind>4</kind>
+    <coupled-node>EndOfwhileNotOne</coupled-node>
+    <service>
 <service-name>whileNotOne</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>objref</inParameter-type>
-      <inParameter-name>SyrComponent</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>SyrComponent</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>N</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>N</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>K</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>K</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>objref</outParameter-type>
-      <outParameter-name>SyrComponent</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>SyrComponent</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>N</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>N</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>K</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>K</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>InitNotOne</FuncName>
-     <PyFunc><![CDATA[import threading]]></PyFunc>
-     <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
-     <PyFunc><![CDATA[def InitNotOne( SyrComponent , N , K ) :]]></PyFunc>
-     <PyFunc><![CDATA[    return SyrComponent,N,K]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[import threading]]></PyFunc>
+      <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
+      <PyFunc><![CDATA[def InitNotOne( SyrComponent , N , K ) :]]></PyFunc>
+      <PyFunc><![CDATA[    return SyrComponent,N,K]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>MoreNotOne</FuncName>
-     <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
-     <PyFunc><![CDATA[def MoreNotOne( SyrComponent , N , K ) :]]></PyFunc>
-     <PyFunc><![CDATA[    OutLoop = 1 - SyrComponent.C_ISONE( N )]]></PyFunc>
-     <PyFunc><![CDATA[    return OutLoop,SyrComponent,N,K ]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
+      <PyFunc><![CDATA[def MoreNotOne( SyrComponent , N , K ) :]]></PyFunc>
+      <PyFunc><![CDATA[    OutLoop = 1 - SyrComponent.C_ISONE( N )]]></PyFunc>
+      <PyFunc><![CDATA[    return OutLoop,SyrComponent,N,K ]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>NextNotOne</FuncName>
-     <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
-     <PyFunc><![CDATA[def NextNotOne( SyrComponent , N , K ) :]]></PyFunc>
-     <PyFunc><![CDATA[    return SyrComponent,N,K]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>1/10/2003 - 17:39:29</creation-date>
-   <lastmodification-date>1/10/2003 - 17:39:29</lastmodification-date>
-   <editor-release>1.04</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>InitNotOne , MoreNotOne , NextNotOne</comment>
-   <x-position>212</x-position>
-   <y-position>274</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
+      <PyFunc><![CDATA[def NextNotOne( SyrComponent , N , K ) :]]></PyFunc>
+      <PyFunc><![CDATA[    return SyrComponent,N,K]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>19/1/2005 - 13:1:13</creation-date>
+    <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>InitNotOne , MoreNotOne , NextNotOne</comment>
+    <x-position>215</x-position>
+    <y-position>282</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>EndOfwhileNotOne</node-name>
-   <kind>5</kind>
-   <coupled-node>whileNotOne</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>EndOfwhileNotOne</node-name>
+    <kind>5</kind>
+    <coupled-node>whileNotOne</coupled-node>
+    <service>
 <service-name>EndOfwhileNotOne</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>objref</inParameter-type>
-      <inParameter-name>SyrComponent</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>SyrComponent</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>N</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>N</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>K</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>K</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>objref</outParameter-type>
-      <outParameter-name>SyrComponent</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>SyrComponent</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>N</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>N</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>K</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
-<PyFunction/>   </PyFunction-list>
-   <creation-date>1/10/2003 - 17:39:29</creation-date>
-   <lastmodification-date>1/10/2003 - 17:39:29</lastmodification-date>
-   <editor-release>1.04</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>1366</x-position>
-   <y-position>303</y-position>  </node>
-  <node>
+       <outParameter-name>K</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
+<PyFunction>
+<FuncName>?</FuncName>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>19/1/2005 - 13:1:13</creation-date>
+    <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>1405</x-position>
+    <y-position>311</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>fori</node-name>
-   <kind>4</kind>
-   <coupled-node>EndOffori</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>fori</node-name>
+    <kind>4</kind>
+    <coupled-node>EndOffori</coupled-node>
+    <service>
 <service-name>fori</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>i</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>i</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>K</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>K</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>i</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>i</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>K</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>K</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>Initfori</FuncName>
-     <PyFunc><![CDATA[def Initfori( ii , K ) :]]></PyFunc>
-     <PyFunc><![CDATA[    return 1,0,K]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[def Initfori( ii , K ) :  ]]></PyFunc>
+      <PyFunc><![CDATA[    ii = 0    ]]></PyFunc>
+      <PyFunc><![CDATA[    return ii,K    ]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>Morefori</FuncName>
-     <PyFunc><![CDATA[def Morefori( ii , K ) :]]></PyFunc>
-     <PyFunc><![CDATA[    OutLoop = 0]]></PyFunc>
-     <PyFunc><![CDATA[    if 2 > ii :]]></PyFunc>
-     <PyFunc><![CDATA[        OutLoop = 1]]></PyFunc>
-     <PyFunc><![CDATA[    return OutLoop,ii,K]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[from time import *    ]]></PyFunc>
+      <PyFunc><![CDATA[def Morefori( ii , K ) :    ]]></PyFunc>
+      <PyFunc><![CDATA[    OutLoop = 0    ]]></PyFunc>
+      <PyFunc><![CDATA[    if ii < 2 :    ]]></PyFunc>
+      <PyFunc><![CDATA[        OutLoop = 1 ]]></PyFunc>
+      <PyFunc><![CDATA[    return OutLoop,ii,K    ]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>Nextfori</FuncName>
-     <PyFunc><![CDATA[def Nextfori( ii , K ) :]]></PyFunc>
-     <PyFunc><![CDATA[    ii = ii + 1]]></PyFunc>
-     <PyFunc><![CDATA[    return ii,K]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>1/10/2003 - 17:39:29</creation-date>
-   <lastmodification-date>1/10/2003 - 17:39:29</lastmodification-date>
-   <editor-release>1.04</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>Initfori, Morefori, Nextfori</comment>
-   <x-position>635</x-position>
-   <y-position>212</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[def Nextfori( ii , K ) :    ]]></PyFunc>
+      <PyFunc><![CDATA[    ii = ii + 1 ]]></PyFunc>
+      <PyFunc><![CDATA[    return ii,K    ]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>19/1/2005 - 13:1:13</creation-date>
+    <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Initfori, Morefori, Nextfori</comment>
+    <x-position>641</x-position>
+    <y-position>238</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>EndOffori</node-name>
-   <kind>5</kind>
-   <coupled-node>fori</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>EndOffori</node-name>
+    <kind>5</kind>
+    <coupled-node>fori</coupled-node>
+    <service>
 <service-name>EndOffori</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>i</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>i</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>K</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>K</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>i</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>i</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>K</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
-<PyFunction/>   </PyFunction-list>
-   <creation-date>1/10/2003 - 17:39:29</creation-date>
-   <lastmodification-date>1/10/2003 - 17:39:29</lastmodification-date>
-   <editor-release>1.04</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>976</x-position>
-   <y-position>212</y-position>  </node>
-  <node>
+       <outParameter-name>K</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
+<PyFunction>
+<FuncName>?</FuncName>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>19/1/2005 - 13:1:13</creation-date>
+    <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>1009</x-position>
+    <y-position>238</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>whileEven</node-name>
-   <kind>4</kind>
-   <coupled-node>EndOfwhileEven</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>whileEven</node-name>
+    <kind>4</kind>
+    <coupled-node>EndOfwhileEven</coupled-node>
+    <service>
 <service-name>whileEven</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>objref</inParameter-type>
-      <inParameter-name>SyrComponent</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>SyrComponent</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>N</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>N</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>K</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>K</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>objref</outParameter-type>
-      <outParameter-name>SyrComponent</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>SyrComponent</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>N</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>N</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>K</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>K</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>InitEven</FuncName>
-     <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
-     <PyFunc><![CDATA[def InitEven( SyrComponent , N , K ) :]]></PyFunc>
-     <PyFunc><![CDATA[    return SyrComponent,N,K]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
+      <PyFunc><![CDATA[def InitEven( SyrComponent , N , K ) :]]></PyFunc>
+      <PyFunc><![CDATA[    return SyrComponent,N,K]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>MoreEven</FuncName>
-     <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
-     <PyFunc><![CDATA[def MoreEven( SyrComponent , N , K ) :]]></PyFunc>
-     <PyFunc><![CDATA[    OutLoop = SyrComponent.C_ISEVEN( N )]]></PyFunc>
-     <PyFunc><![CDATA[    return OutLoop,SyrComponent,N,K ]]></PyFunc>    </PyFunction>
-    <PyFunction>
+      <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
+      <PyFunc><![CDATA[def MoreEven( SyrComponent , N , K ) :]]></PyFunc>
+      <PyFunc><![CDATA[    OutLoop = SyrComponent.C_ISEVEN( N )]]></PyFunc>
+      <PyFunc><![CDATA[    return OutLoop,SyrComponent,N,K ]]></PyFunc>     </PyFunction>
+     <PyFunction>
 <FuncName>NextEven</FuncName>
-     <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
-     <PyFunc><![CDATA[def NextEven( SyrComponent , N , K ) :]]></PyFunc>
-     <PyFunc><![CDATA[    return SyrComponent,N,K]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>1/10/2003 - 17:39:29</creation-date>
-   <lastmodification-date>1/10/2003 - 17:39:29</lastmodification-date>
-   <editor-release>1.04</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>InitEven, MoreEven, NextEven</comment>
-   <x-position>632</x-position>
-   <y-position>451</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
+      <PyFunc><![CDATA[def NextEven( SyrComponent , N , K ) :]]></PyFunc>
+      <PyFunc><![CDATA[    return SyrComponent,N,K]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>19/1/2005 - 13:1:13</creation-date>
+    <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>InitEven, MoreEven, NextEven</comment>
+    <x-position>632</x-position>
+    <y-position>451</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>EndOfwhileEven</node-name>
-   <kind>5</kind>
-   <coupled-node>whileEven</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>EndOfwhileEven</node-name>
+    <kind>5</kind>
+    <coupled-node>whileEven</coupled-node>
+    <service>
 <service-name>EndOfwhileEven</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>objref</inParameter-type>
-      <inParameter-name>SyrComponent</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>SyrComponent</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>N</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>N</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>K</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>K</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>objref</outParameter-type>
-      <outParameter-name>SyrComponent</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>SyrComponent</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>N</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>N</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>K</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
-<PyFunction/>   </PyFunction-list>
-   <creation-date>1/10/2003 - 17:39:29</creation-date>
-   <lastmodification-date>1/10/2003 - 17:39:29</lastmodification-date>
-   <editor-release>1.04</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>988</x-position>
-   <y-position>451</y-position>  </node>
-  <node>
+       <outParameter-name>K</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
+<PyFunction>
+<FuncName>?</FuncName>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>19/1/2005 - 13:1:13</creation-date>
+    <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>1006</x-position>
+    <y-position>451</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>ifNotEven</node-name>
-   <kind>6</kind>
-   <coupled-node>EndOfifNotEven</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>ifNotEven</node-name>
+    <kind>6</kind>
+    <coupled-node>EndOfifNotEven</coupled-node>
+    <service>
 <service-name>ifNotEven</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>objref</inParameter-type>
-      <inParameter-name>SyrComponent</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>SyrComponent</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>N</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>N</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>K</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>K</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>long</outParameter-type>
-      <outParameter-name>Even</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>Even</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>objref</outParameter-type>
-      <outParameter-name>SyrComponent</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>SyrComponent</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>N</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>N</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>K</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
+       <outParameter-name>K</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
 <PyFunction>
 <FuncName>ifNotEven</FuncName>
-     <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
-     <PyFunc><![CDATA[def ifNotEven( SyrComponent , N , K ) :]]></PyFunc>
-     <PyFunc><![CDATA[    Even = SyrComponent.C_ISEVEN( N )]]></PyFunc>
-     <PyFunc><![CDATA[    Odd = 1 - Even]]></PyFunc>
-     <PyFunc><![CDATA[    return Odd,Even,SyrComponent,N,K]]></PyFunc>    </PyFunction>   </PyFunction-list>
-   <creation-date>1/10/2003 - 17:39:29</creation-date>
-   <lastmodification-date>1/10/2003 - 17:39:29</lastmodification-date>
-   <editor-release>1.04</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>ifNotEven</comment>
-   <x-position>418</x-position>
-   <y-position>274</y-position>  </node>
-  <node>
+      <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
+      <PyFunc><![CDATA[def ifNotEven( SyrComponent , N , K ) :]]></PyFunc>
+      <PyFunc><![CDATA[    Even = SyrComponent.C_ISEVEN( N )]]></PyFunc>
+      <PyFunc><![CDATA[    Odd = 1 - Even]]></PyFunc>
+      <PyFunc><![CDATA[    return Odd,Even,SyrComponent,N,K]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>19/1/2005 - 13:1:13</creation-date>
+    <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>ifNotEven</comment>
+    <x-position>407</x-position>
+    <y-position>282</y-position>   </node>
+   <node>
 <component-name>?</component-name>
-   <interface-name>?</interface-name>
-   <node-name>EndOfifNotEven</node-name>
-   <kind>7</kind>
-   <coupled-node>ifNotEven</coupled-node>
-   <service>
+    <interface-name>?</interface-name>
+    <node-name>EndOfifNotEven</node-name>
+    <kind>7</kind>
+    <coupled-node>ifNotEven</coupled-node>
+    <service>
 <service-name>EndOfifNotEven</service-name>
-    <inParameter-list>
+     <inParameter-list>
 <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>N</inParameter-name>     </inParameter>
-     <inParameter>
+       <inParameter-name>N</inParameter-name>      </inParameter>
+      <inParameter>
 <inParameter-type>long</inParameter-type>
-      <inParameter-name>K</inParameter-name>     </inParameter>    </inParameter-list>
-    <outParameter-list>
+       <inParameter-name>K</inParameter-name>      </inParameter>     </inParameter-list>
+     <outParameter-list>
 <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>N</outParameter-name>     </outParameter>
-     <outParameter>
+       <outParameter-name>N</outParameter-name>      </outParameter>
+      <outParameter>
 <outParameter-type>long</outParameter-type>
-      <outParameter-name>K</outParameter-name>     </outParameter>    </outParameter-list>   </service>
-   <Parameter-list/>
-   <PyFunction-list>
-<PyFunction/>   </PyFunction-list>
-   <creation-date>1/10/2003 - 17:39:29</creation-date>
-   <lastmodification-date>1/10/2003 - 17:39:29</lastmodification-date>
-   <editor-release>1.04</editor-release>
-   <author>?</author>
-   <container>?</container>
-   <comment>?</comment>
-   <x-position>1205</x-position>
-   <y-position>331</y-position>  </node> </node-list>
- <link-list>
+       <outParameter-name>K</outParameter-name>      </outParameter>     </outParameter-list>    </service>
+    <DataStream-list/>
+    <PyFunction-list>
+<PyFunction>
+<FuncName>?</FuncName>
+      <PyFunc><![CDATA[?]]></PyFunc>     </PyFunction>    </PyFunction-list>
+    <creation-date>19/1/2005 - 13:1:13</creation-date>
+    <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
+    <editor-release>1.04</editor-release>
+    <author>?</author>
+    <container>?</container>
+    <comment>Compute Node</comment>
+    <x-position>1220</x-position>
+    <y-position>331</y-position>   </node>  </node-list>
+  <link-list>
 <link>
 <fromnode-name>m3</fromnode-name>
-   <fromserviceparameter-name>anInteger</fromserviceparameter-name>
-   <tonode-name>m3incr</tonode-name>
-   <toserviceparameter-name>aCount</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>anInteger</fromserviceparameter-name>
+    <tonode-name>m3incr</tonode-name>
+    <toserviceparameter-name>aCount</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>m3incr</fromnode-name>
-   <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
-   <tonode-name>EndOfifNotEven</tonode-name>
-   <toserviceparameter-name>N</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
+    <tonode-name>EndOfifNotEven</tonode-name>
+    <toserviceparameter-name>N</toserviceparameter-name>
+    <coord-list>
 <coord>
-<x>1190</x>
-     <y>366</y>    </coord>
-    <coord>
+<x>1193</x>
+      <y>362</y>     </coord>
+     <coord>
 <x>1191</x>
-     <y>109</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>100</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>incra</fromnode-name>
-   <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
-   <tonode-name>EndOffori</tonode-name>
-   <toserviceparameter-name>K</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
+    <tonode-name>EndOffori</tonode-name>
+    <toserviceparameter-name>K</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>div2</fromnode-name>
-   <fromserviceparameter-name>anInteger</fromserviceparameter-name>
-   <tonode-name>EndOfwhileEven</tonode-name>
-   <toserviceparameter-name>N</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>anInteger</fromserviceparameter-name>
+    <tonode-name>EndOfwhileEven</tonode-name>
+    <toserviceparameter-name>N</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>incrb</fromnode-name>
-   <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
-   <tonode-name>EndOfwhileEven</tonode-name>
-   <toserviceparameter-name>K</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
+    <tonode-name>EndOfwhileEven</tonode-name>
+    <toserviceparameter-name>K</toserviceparameter-name>
+    <coord-list>
 <coord>
-<x>988</x>
-     <y>543</y>    </coord>
-    <coord>
-<x>988</x>
-     <y>654</y>    </coord>   </coord-list>  </link>
-  <link>
+<x>992</x>
+      <y>521</y>     </coord>
+     <coord>
+<x>992</x>
+      <y>645</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>SyrComponent</fromnode-name>
-   <fromserviceparameter-name>SyrComponentobjref</fromserviceparameter-name>
-   <tonode-name>forN</tonode-name>
-   <toserviceparameter-name>SyrComponent</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>SyrComponentobjref</fromserviceparameter-name>
+    <tonode-name>forN</tonode-name>
+    <toserviceparameter-name>SyrComponent</toserviceparameter-name>
+    <coord-list>
 <coord>
-<x>13</x>
-     <y>394</y>    </coord>
-    <coord>
-<x>12</x>
-     <y>181</y>    </coord>
-    <coord>
+<x>8</x>
+      <y>373</y>     </coord>
+     <coord>
+<x>8</x>
+      <y>181</y>     </coord>
+     <coord>
 <x>196</x>
-     <y>181</y>    </coord>
-    <coord>
-<x>197</x>
-     <y>81</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>181</y>     </coord>
+     <coord>
+<x>196</x>
+      <y>71</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>forN</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>EndOfforN</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>EndOfforN</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>forN</fromnode-name>
-   <fromserviceparameter-name>N</fromserviceparameter-name>
-   <tonode-name>whileNotOne</tonode-name>
-   <toserviceparameter-name>N</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>N</fromserviceparameter-name>
+    <tonode-name>whileNotOne</tonode-name>
+    <toserviceparameter-name>N</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>forN</fromnode-name>
-   <fromserviceparameter-name>N</fromserviceparameter-name>
-   <tonode-name>EndOfforN</tonode-name>
-   <toserviceparameter-name>N</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>N</fromserviceparameter-name>
+    <tonode-name>EndOfforN</tonode-name>
+    <toserviceparameter-name>N</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>forN</fromnode-name>
-   <fromserviceparameter-name>K</fromserviceparameter-name>
-   <tonode-name>whileNotOne</tonode-name>
-   <toserviceparameter-name>K</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>K</fromserviceparameter-name>
+    <tonode-name>whileNotOne</tonode-name>
+    <toserviceparameter-name>K</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>forN</fromnode-name>
-   <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
-   <tonode-name>EndOfforN</tonode-name>
-   <toserviceparameter-name>SyrComponent</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
+    <tonode-name>EndOfforN</tonode-name>
+    <toserviceparameter-name>SyrComponent</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>forN</fromnode-name>
-   <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
-   <tonode-name>whileNotOne</tonode-name>
-   <toserviceparameter-name>SyrComponent</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
+    <tonode-name>whileNotOne</tonode-name>
+    <toserviceparameter-name>SyrComponent</toserviceparameter-name>
+    <coord-list>
 <coord>
-<x>192</x>
-     <y>309</y>    </coord>
-    <coord>
-<x>191</x>
-     <y>394</y>    </coord>   </coord-list>  </link>
-  <link>
+<x>197</x>
+      <y>313</y>     </coord>
+     <coord>
+<x>197</x>
+      <y>373</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>forN</fromnode-name>
-   <fromserviceparameter-name>min</fromserviceparameter-name>
-   <tonode-name>EndOfforN</tonode-name>
-   <toserviceparameter-name>min</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>min</fromserviceparameter-name>
+    <tonode-name>EndOfforN</tonode-name>
+    <toserviceparameter-name>min</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>forN</fromnode-name>
-   <fromserviceparameter-name>max</fromserviceparameter-name>
-   <tonode-name>EndOfforN</tonode-name>
-   <toserviceparameter-name>max</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>max</fromserviceparameter-name>
+    <tonode-name>EndOfforN</tonode-name>
+    <toserviceparameter-name>max</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndOfforN</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>forN</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>forN</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>whileNotOne</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>EndOfwhileNotOne</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>EndOfwhileNotOne</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>whileNotOne</fromnode-name>
-   <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
-   <tonode-name>EndOfwhileNotOne</tonode-name>
-   <toserviceparameter-name>SyrComponent</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
+    <tonode-name>EndOfwhileNotOne</tonode-name>
+    <toserviceparameter-name>SyrComponent</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>whileNotOne</fromnode-name>
-   <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
-   <tonode-name>ifNotEven</tonode-name>
-   <toserviceparameter-name>SyrComponent</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
+    <tonode-name>ifNotEven</tonode-name>
+    <toserviceparameter-name>SyrComponent</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>whileNotOne</fromnode-name>
-   <fromserviceparameter-name>N</fromserviceparameter-name>
-   <tonode-name>ifNotEven</tonode-name>
-   <toserviceparameter-name>N</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>N</fromserviceparameter-name>
+    <tonode-name>ifNotEven</tonode-name>
+    <toserviceparameter-name>N</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>whileNotOne</fromnode-name>
-   <fromserviceparameter-name>K</fromserviceparameter-name>
-   <tonode-name>ifNotEven</tonode-name>
-   <toserviceparameter-name>K</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>K</fromserviceparameter-name>
+    <tonode-name>ifNotEven</tonode-name>
+    <toserviceparameter-name>K</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndOfwhileNotOne</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>whileNotOne</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>whileNotOne</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndOfwhileNotOne</fromnode-name>
-   <fromserviceparameter-name>K</fromserviceparameter-name>
-   <tonode-name>EndOfforN</tonode-name>
-   <toserviceparameter-name>K</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>K</fromserviceparameter-name>
+    <tonode-name>EndOfforN</tonode-name>
+    <toserviceparameter-name>K</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>fori</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>EndOffori</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>EndOffori</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>fori</fromnode-name>
-   <fromserviceparameter-name>i</fromserviceparameter-name>
-   <tonode-name>EndOffori</tonode-name>
-   <toserviceparameter-name>i</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>i</fromserviceparameter-name>
+    <tonode-name>EndOffori</tonode-name>
+    <toserviceparameter-name>i</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>fori</fromnode-name>
-   <fromserviceparameter-name>K</fromserviceparameter-name>
-   <tonode-name>incra</tonode-name>
-   <toserviceparameter-name>aCount</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>K</fromserviceparameter-name>
+    <tonode-name>incra</tonode-name>
+    <toserviceparameter-name>aCount</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndOffori</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>fori</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>fori</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndOffori</fromnode-name>
-   <fromserviceparameter-name>K</fromserviceparameter-name>
-   <tonode-name>EndOfifNotEven</tonode-name>
-   <toserviceparameter-name>K</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>K</fromserviceparameter-name>
+    <tonode-name>EndOfifNotEven</tonode-name>
+    <toserviceparameter-name>K</toserviceparameter-name>
+    <coord-list>
 <coord>
-<x>1170</x>
-     <y>396</y>    </coord>
-    <coord>
-<x>1169</x>
-     <y>275</y>    </coord>   </coord-list>  </link>
-  <link>
+<x>1180</x>
+      <y>382</y>     </coord>
+     <coord>
+<x>1180</x>
+      <y>289</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>whileEven</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>EndOfwhileEven</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>EndOfwhileEven</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>whileEven</fromnode-name>
-   <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
-   <tonode-name>EndOfwhileEven</tonode-name>
-   <toserviceparameter-name>SyrComponent</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
+    <tonode-name>EndOfwhileEven</tonode-name>
+    <toserviceparameter-name>SyrComponent</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>whileEven</fromnode-name>
-   <fromserviceparameter-name>N</fromserviceparameter-name>
-   <tonode-name>div2</tonode-name>
-   <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>N</fromserviceparameter-name>
+    <tonode-name>div2</tonode-name>
+    <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>whileEven</fromnode-name>
-   <fromserviceparameter-name>K</fromserviceparameter-name>
-   <tonode-name>incrb</tonode-name>
-   <toserviceparameter-name>aCount</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>K</fromserviceparameter-name>
+    <tonode-name>incrb</tonode-name>
+    <toserviceparameter-name>aCount</toserviceparameter-name>
+    <coord-list>
 <coord>
-<x>796</x>
-     <y>655</y>    </coord>
-    <coord>
-<x>795</x>
-     <y>543</y>    </coord>   </coord-list>  </link>
-  <link>
+<x>805</x>
+      <y>645</y>     </coord>
+     <coord>
+<x>805</x>
+      <y>522</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>EndOfwhileEven</fromnode-name>
-   <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
-   <tonode-name>whileEven</tonode-name>
-   <toserviceparameter-name>DoLoop</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
+    <tonode-name>whileEven</tonode-name>
+    <toserviceparameter-name>DoLoop</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndOfwhileEven</fromnode-name>
-   <fromserviceparameter-name>N</fromserviceparameter-name>
-   <tonode-name>EndOfifNotEven</tonode-name>
-   <toserviceparameter-name>N</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>N</fromserviceparameter-name>
+    <tonode-name>EndOfifNotEven</tonode-name>
+    <toserviceparameter-name>N</toserviceparameter-name>
+    <coord-list>
 <coord>
-<x>1191</x>
-     <y>366</y>    </coord>
-    <coord>
-<x>1191</x>
-     <y>513</y>    </coord>   </coord-list>  </link>
-  <link>
+<x>1192</x>
+      <y>362</y>     </coord>
+     <coord>
+<x>1192</x>
+      <y>502</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>EndOfwhileEven</fromnode-name>
-   <fromserviceparameter-name>K</fromserviceparameter-name>
-   <tonode-name>EndOfifNotEven</tonode-name>
-   <toserviceparameter-name>K</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>K</fromserviceparameter-name>
+    <tonode-name>EndOfifNotEven</tonode-name>
+    <toserviceparameter-name>K</toserviceparameter-name>
+    <coord-list>
 <coord>
-<x>1169</x>
-     <y>395</y>    </coord>
-    <coord>
-<x>1170</x>
-     <y>543</y>    </coord>   </coord-list>  </link>
-  <link>
+<x>1180</x>
+      <y>382</y>     </coord>
+     <coord>
+<x>1180</x>
+      <y>522</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>ifNotEven</fromnode-name>
-   <fromserviceparameter-name>Odd</fromserviceparameter-name>
-   <tonode-name>m3</tonode-name>
-   <toserviceparameter-name>InGate</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>Odd</fromserviceparameter-name>
+    <tonode-name>m3</tonode-name>
+    <toserviceparameter-name>Gate</toserviceparameter-name>
+    <coord-list>
 <coord>
-<x>593</x>
-     <y>141</y>    </coord>
-    <coord>
-<x>593</x>
-     <y>307</y>    </coord>   </coord-list>  </link>
-  <link>
+<x>594</x>
+      <y>123</y>     </coord>
+     <coord>
+<x>594</x>
+      <y>313</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>ifNotEven</fromnode-name>
-   <fromserviceparameter-name>Odd</fromserviceparameter-name>
-   <tonode-name>fori</tonode-name>
-   <toserviceparameter-name>InGate</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>Odd</fromserviceparameter-name>
+    <tonode-name>fori</tonode-name>
+    <toserviceparameter-name>Gate</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>ifNotEven</fromnode-name>
-   <fromserviceparameter-name>Even</fromserviceparameter-name>
-   <tonode-name>whileEven</tonode-name>
-   <toserviceparameter-name>InGate</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>Even</fromserviceparameter-name>
+    <tonode-name>whileEven</tonode-name>
+    <toserviceparameter-name>Gate</toserviceparameter-name>
+    <coord-list>
 <coord>
-<x>593</x>
-     <y>576</y>    </coord>
-    <coord>
-<x>592</x>
-     <y>339</y>    </coord>   </coord-list>  </link>
-  <link>
+<x>594</x>
+      <y>546</y>     </coord>
+     <coord>
+<x>594</x>
+      <y>334</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>ifNotEven</fromnode-name>
-   <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
-   <tonode-name>whileEven</tonode-name>
-   <toserviceparameter-name>SyrComponent</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
+    <tonode-name>whileEven</tonode-name>
+    <toserviceparameter-name>SyrComponent</toserviceparameter-name>
+    <coord-list>
 <coord>
-<x>586</x>
-     <y>486</y>    </coord>
-    <coord>
-<x>587</x>
-     <y>367</y>    </coord>   </coord-list>  </link>
-  <link>
+<x>588</x>
+      <y>482</y>     </coord>
+     <coord>
+<x>588</x>
+      <y>354</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>ifNotEven</fromnode-name>
-   <fromserviceparameter-name>N</fromserviceparameter-name>
-   <tonode-name>whileEven</tonode-name>
-   <toserviceparameter-name>N</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>N</fromserviceparameter-name>
+    <tonode-name>whileEven</tonode-name>
+    <toserviceparameter-name>N</toserviceparameter-name>
+    <coord-list>
 <coord>
-<x>604</x>
-     <y>513</y>    </coord>
-    <coord>
 <x>603</x>
-     <y>397</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>502</y>     </coord>
+     <coord>
+<x>603</x>
+      <y>373</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>ifNotEven</fromnode-name>
-   <fromserviceparameter-name>N</fromserviceparameter-name>
-   <tonode-name>m3</tonode-name>
-   <toserviceparameter-name>anOddInteger</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>N</fromserviceparameter-name>
+    <tonode-name>m3</tonode-name>
+    <toserviceparameter-name>anOddInteger</toserviceparameter-name>
+    <coord-list>
 <coord>
+<x>605</x>
+      <y>99</y>     </coord>
+     <coord>
 <x>604</x>
-     <y>107</y>    </coord>
-    <coord>
-<x>604</x>
-     <y>395</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>372</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>ifNotEven</fromnode-name>
-   <fromserviceparameter-name>K</fromserviceparameter-name>
-   <tonode-name>whileEven</tonode-name>
-   <toserviceparameter-name>K</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>K</fromserviceparameter-name>
+    <tonode-name>whileEven</tonode-name>
+    <toserviceparameter-name>K</toserviceparameter-name>
+    <coord-list>
 <coord>
-<x>621</x>
-     <y>544</y>    </coord>
-    <coord>
-<x>622</x>
-     <y>426</y>    </coord>   </coord-list>  </link>
-  <link>
+<x>620</x>
+      <y>523</y>     </coord>
+     <coord>
+<x>620</x>
+      <y>396</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>ifNotEven</fromnode-name>
-   <fromserviceparameter-name>K</fromserviceparameter-name>
-   <tonode-name>fori</tonode-name>
-   <toserviceparameter-name>K</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>K</fromserviceparameter-name>
+    <tonode-name>fori</tonode-name>
+    <toserviceparameter-name>K</toserviceparameter-name>
+    <coord-list>
 <coord>
-<x>622</x>
-     <y>275</y>    </coord>
-    <coord>
-<x>622</x>
-     <y>426</y>    </coord>   </coord-list>  </link>
-  <link>
+<x>620</x>
+      <y>289</y>     </coord>
+     <coord>
+<x>620</x>
+      <y>395</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>ifNotEven</fromnode-name>
-   <fromserviceparameter-name>Default</fromserviceparameter-name>
-   <tonode-name>EndOfifNotEven</tonode-name>
-   <toserviceparameter-name>Default</toserviceparameter-name>
-   <coord-list>
+    <fromserviceparameter-name>Default</fromserviceparameter-name>
+    <tonode-name>EndOfifNotEven</tonode-name>
+    <toserviceparameter-name>Default</toserviceparameter-name>
+    <coord-list>
 <coord>
 <x>1204</x>
-     <y>429</y>    </coord>
-    <coord>
+      <y>407</y>     </coord>
+     <coord>
 <x>1203</x>
-     <y>12</y>    </coord>
-    <coord>
+      <y>12</y>     </coord>
+     <coord>
 <x>581</x>
-     <y>13</y>    </coord>
-    <coord>
+      <y>13</y>     </coord>
+     <coord>
 <x>581</x>
-     <y>458</y>    </coord>   </coord-list>  </link>
-  <link>
+      <y>418</y>     </coord>    </coord-list>   </link>
+   <link>
 <fromnode-name>EndOfifNotEven</fromnode-name>
-   <fromserviceparameter-name>N</fromserviceparameter-name>
-   <tonode-name>EndOfwhileNotOne</tonode-name>
-   <toserviceparameter-name>N</toserviceparameter-name>
-   <coord-list/>  </link>
-  <link>
+    <fromserviceparameter-name>N</fromserviceparameter-name>
+    <tonode-name>EndOfwhileNotOne</tonode-name>
+    <toserviceparameter-name>N</toserviceparameter-name>
+    <coord-list/>   </link>
+   <link>
 <fromnode-name>EndOfifNotEven</fromnode-name>
-   <fromserviceparameter-name>K</fromserviceparameter-name>
-   <tonode-name>EndOfwhileNotOne</tonode-name>
-   <toserviceparameter-name>K</toserviceparameter-name>
-   <coord-list/>  </link> </link-list>
- <data-list>
+    <fromserviceparameter-name>K</fromserviceparameter-name>
+    <tonode-name>EndOfwhileNotOne</tonode-name>
+    <toserviceparameter-name>K</toserviceparameter-name>
+    <coord-list/>   </link>  </link-list>
 <data-list>
 <data>
 <fromnode-name>SyrStruct</fromnode-name>
-   <fromserviceparameter-name>SyrComponent\aContainer</fromserviceparameter-name>
-   <tonode-name>SyrComponent</tonode-name>
-   <toserviceparameter-name>aContainer</toserviceparameter-name>
-   <data-value>
+    <fromserviceparameter-name>SyrComponent__aContainer</fromserviceparameter-name>
+    <tonode-name>SyrComponent</tonode-name>
+    <toserviceparameter-name>aContainer</toserviceparameter-name>
+    <data-value>
 <value-type>18</value-type>
-    <value>FactoryServer</value>   </data-value>
-   <coord-list/>  </data>
-  <data>
+     <value>FactoryServer</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
 <fromnode-name>SyrStruct</fromnode-name>
-   <fromserviceparameter-name>SyrComponent\aComponent</fromserviceparameter-name>
-   <tonode-name>SyrComponent</tonode-name>
-   <toserviceparameter-name>aComponent</toserviceparameter-name>
-   <data-value>
+    <fromserviceparameter-name>SyrComponent__aComponent</fromserviceparameter-name>
+    <tonode-name>SyrComponent</tonode-name>
+    <toserviceparameter-name>aComponent</toserviceparameter-name>
+    <data-value>
 <value-type>18</value-type>
-    <value>SyrComponent</value>   </data-value>
-   <coord-list/>  </data>
-  <data>
+     <value>SyrComponent</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
 <fromnode-name>SyrStruct</fromnode-name>
-   <fromserviceparameter-name>forN\N</fromserviceparameter-name>
-   <tonode-name>forN</tonode-name>
-   <toserviceparameter-name>N</toserviceparameter-name>
-   <data-value>
+    <fromserviceparameter-name>forN__N</fromserviceparameter-name>
+    <tonode-name>forN</tonode-name>
+    <toserviceparameter-name>N</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>SyrStruct</fromnode-name>
-   <fromserviceparameter-name>forN\K</fromserviceparameter-name>
-   <tonode-name>forN</tonode-name>
-   <toserviceparameter-name>K</toserviceparameter-name>
-   <data-value>
+    <fromserviceparameter-name>forN__K</fromserviceparameter-name>
+    <tonode-name>forN</tonode-name>
+    <toserviceparameter-name>K</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>SyrStruct</fromnode-name>
-   <fromserviceparameter-name>forN\min</fromserviceparameter-name>
-   <tonode-name>forN</tonode-name>
-   <toserviceparameter-name>min</toserviceparameter-name>
-   <data-value>
+    <fromserviceparameter-name>forN__min</fromserviceparameter-name>
+    <tonode-name>forN</tonode-name>
+    <toserviceparameter-name>min</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>5</value>   </data-value>
-   <coord-list/>  </data>
-  <data>
+     <value>5</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
 <fromnode-name>SyrStruct</fromnode-name>
-   <fromserviceparameter-name>forN\max</fromserviceparameter-name>
-   <tonode-name>forN</tonode-name>
-   <toserviceparameter-name>max</toserviceparameter-name>
-   <data-value>
+    <fromserviceparameter-name>forN__max</fromserviceparameter-name>
+    <tonode-name>forN</tonode-name>
+    <toserviceparameter-name>max</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>9</value>   </data-value>
-   <coord-list/>  </data>
-  <data>
+     <value>9</value>    </data-value>
+    <coord-list/>   </data>
+   <data>
 <fromnode-name>SyrStruct</fromnode-name>
-   <fromserviceparameter-name>fori\i</fromserviceparameter-name>
-   <tonode-name>fori</tonode-name>
-   <toserviceparameter-name>i</toserviceparameter-name>
-   <data-value>
+    <fromserviceparameter-name>fori__i</fromserviceparameter-name>
+    <tonode-name>fori</tonode-name>
+    <toserviceparameter-name>i</toserviceparameter-name>
+    <data-value>
 <value-type>3</value-type>
-    <value>0</value>   </data-value>
-   <coord-list/>  </data> </data-list></dataflow>
+     <value>0</value>    </data-value>
+    <coord-list/>   </data>  </data-list> </dataflow></supergraph>