From 02478e3471dcd7e0db71aa721014ed7615c63362 Mon Sep 17 00:00:00 2001 From: rahuel Date: Tue, 6 Sep 2005 08:52:33 +0000 Subject: [PATCH] *** empty log message *** --- examples/GraphConvertObjRefCheck.py | 4 + examples/GraphEmbeddedComponents.py | 13 +- examples/GraphEmbeddedComponents.xml | 38 +- examples/GraphEmbeddedComponentsCrash.py | 5 + examples/GraphEmbeddedComponentsCrash1.py | 5 + examples/GraphGOTO.py | 99 +-- examples/GraphGOTO1.py | 5 + examples/GraphGOTOAborted.py | 5 + examples/GraphGOTOAddMemory.py | 5 + examples/GraphGOTOMemory.py | 5 + examples/GraphSwitchs.py | 66 +- examples/GraphSwitchs.xml | 795 +++++++++++++--------- 12 files changed, 633 insertions(+), 412 deletions(-) diff --git a/examples/GraphConvertObjRefCheck.py b/examples/GraphConvertObjRefCheck.py index 08908c7..f85ca54 100755 --- a/examples/GraphConvertObjRefCheck.py +++ b/examples/GraphConvertObjRefCheck.py @@ -104,3 +104,7 @@ def DefGraphConvertObjRefCheck() : GraphConvertObjRefCheck = DefGraphConvertObjRefCheck() + +GraphConvertObjRefCheck.Run() +GraphConvertObjRefCheck.DoneW() +GraphConvertObjRefCheck.PrintPorts() diff --git a/examples/GraphEmbeddedComponents.py b/examples/GraphEmbeddedComponents.py index 40827a2..81c29b1 100644 --- a/examples/GraphEmbeddedComponents.py +++ b/examples/GraphEmbeddedComponents.py @@ -16,7 +16,7 @@ def DefGraphEmbeddedComponents() : Add = GraphEmbeddedComponents.FNode( 'AddComponent' , 'AddComponent' , 'Add' ) Add.SetName( 'Add' ) Add.SetAuthor( '' ) - Add.SetContainer( 'localhost/FactoryServer' ) + Add.SetContainer( 'localhost/SuperVisionContainer' ) Add.SetComment( 'Add from AddComponent' ) Add.Coords( 1 , 152 ) IAddx = Add.GetInPort( 'x' ) @@ -29,7 +29,7 @@ def DefGraphEmbeddedComponents() : Sub = GraphEmbeddedComponents.FNode( 'SubComponent' , 'SubComponent' , 'Sub' ) Sub.SetName( 'Sub' ) Sub.SetAuthor( '' ) - Sub.SetContainer( 'localhost/FactoryServer' ) + Sub.SetContainer( 'localhost/SuperVisionContainer' ) Sub.SetComment( 'Sub from SubComponent' ) Sub.Coords( 412 , 377 ) ISubx = Sub.GetInPort( 'x' ) @@ -41,7 +41,7 @@ def DefGraphEmbeddedComponents() : Mul = GraphEmbeddedComponents.FNode( 'MulComponent' , 'MulComponent' , 'Mul' ) Mul.SetName( 'Mul' ) Mul.SetAuthor( '' ) - Mul.SetContainer( 'localhost/FactoryServer' ) + Mul.SetContainer( 'localhost/SuperVisionContainer' ) Mul.SetComment( 'Mul from MulComponent' ) Mul.Coords( 412 , 152 ) IMulx = Mul.GetInPort( 'x' ) @@ -53,7 +53,7 @@ def DefGraphEmbeddedComponents() : Div = GraphEmbeddedComponents.FNode( 'DivComponent' , 'DivComponent' , 'Div' ) Div.SetName( 'Div' ) Div.SetAuthor( '' ) - Div.SetContainer( 'localhost/FactoryServer' ) + Div.SetContainer( 'localhost/SuperVisionContainer' ) Div.SetComment( 'Div from DivComponent' ) Div.Coords( 622 , 124 ) IDivx = Div.GetInPort( 'x' ) @@ -149,3 +149,8 @@ def DefGraphEmbeddedComponents() : GraphEmbeddedComponents = DefGraphEmbeddedComponents() + +GraphEmbeddedComponents.Run() +GraphEmbeddedComponents.DoneW() +GraphEmbeddedComponents.PrintPorts() + diff --git a/examples/GraphEmbeddedComponents.xml b/examples/GraphEmbeddedComponents.xml index 5a2f962..0757d64 100644 --- a/examples/GraphEmbeddedComponents.xml +++ b/examples/GraphEmbeddedComponents.xml @@ -46,7 +46,7 @@ 11/3/2003 - 10:59:37 - 3/8/2005 - 14:58:47 + 2/9/2005 - 16:17:8 1.04 ? ? @@ -87,11 +87,11 @@ - 3/8/2005 - 14:58:47 - 3/8/2005 - 14:58:47 + 2/9/2005 - 16:16:1 + 2/9/2005 - 16:16:1 1.04 ? - localhost/FactoryServer + localhost/SuperVisionContainer Add from AddComponent 1 152 @@ -123,11 +123,11 @@ - 3/8/2005 - 14:58:47 - 3/8/2005 - 14:58:47 + 2/9/2005 - 16:16:1 + 2/9/2005 - 16:16:1 1.04 ? - localhost/FactoryServer + localhost/SuperVisionContainer Sub from SubComponent 412 377 @@ -159,11 +159,11 @@ - 3/8/2005 - 14:58:47 - 3/8/2005 - 14:58:47 + 2/9/2005 - 16:16:1 + 2/9/2005 - 16:16:1 1.04 ? - localhost/FactoryServer + localhost/SuperVisionContainer Mul from MulComponent 412 152 @@ -195,11 +195,11 @@ - 3/8/2005 - 14:58:47 - 3/8/2005 - 14:58:47 + 2/9/2005 - 16:16:1 + 2/9/2005 - 16:16:1 1.04 ? - localhost/FactoryServer + localhost/SuperVisionContainer Div from DivComponent 622 124 @@ -222,8 +222,8 @@ - 3/8/2005 - 14:58:47 - 3/8/2005 - 14:58:47 + 2/9/2005 - 16:16:1 + 2/9/2005 - 16:16:1 1.04 ? localhost/AdditionServer @@ -249,8 +249,8 @@ - 3/8/2005 - 14:58:47 - 3/8/2005 - 14:58:47 + 2/9/2005 - 16:16:1 + 2/9/2005 - 16:16:1 1.04 ? localhost/Addition_1Server @@ -297,8 +297,8 @@ - 3/8/2005 - 14:58:47 - 3/8/2005 - 14:58:47 + 2/9/2005 - 16:16:1 + 2/9/2005 - 16:16:1 1.04 ? ? diff --git a/examples/GraphEmbeddedComponentsCrash.py b/examples/GraphEmbeddedComponentsCrash.py index 13662ea..91bbf52 100644 --- a/examples/GraphEmbeddedComponentsCrash.py +++ b/examples/GraphEmbeddedComponentsCrash.py @@ -153,3 +153,8 @@ def DefGraphEmbeddedComponentsCrash() : GraphEmbeddedComponentsCrash = DefGraphEmbeddedComponentsCrash() + +GraphEmbeddedComponentsCrash.Run() +GraphEmbeddedComponentsCrash.DoneW() +GraphEmbeddedComponentsCrash.PrintPorts() + diff --git a/examples/GraphEmbeddedComponentsCrash1.py b/examples/GraphEmbeddedComponentsCrash1.py index fddabda..a9030b3 100644 --- a/examples/GraphEmbeddedComponentsCrash1.py +++ b/examples/GraphEmbeddedComponentsCrash1.py @@ -149,3 +149,8 @@ def DefGraphEmbeddedComponentsCrash1() : GraphEmbeddedComponentsCrash1 = DefGraphEmbeddedComponentsCrash1() + +GraphEmbeddedComponentsCrash1.Run() +GraphEmbeddedComponentsCrash1.DoneW() +GraphEmbeddedComponentsCrash1.PrintPorts() + diff --git a/examples/GraphGOTO.py b/examples/GraphGOTO.py index eb27bdf..b67c97b 100644 --- a/examples/GraphGOTO.py +++ b/examples/GraphGOTO.py @@ -3,17 +3,17 @@ from SuperV import * -# 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 ) +# Graph creation of GraphGOTO +def DefGraphGOTO() : + GraphGOTO = Graph( 'GraphGOTO' ) + GraphGOTO.SetName( 'GraphGOTO' ) + GraphGOTO.SetAuthor( 'JR' ) + GraphGOTO.SetComment( 'Syracuse algorithm' ) + GraphGOTO.Coords( 0 , 0 ) # Creation of Factory Nodes - test_ISEVEN = GraphGOTO_2.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' ) + test_ISEVEN = GraphGOTO.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' ) test_ISEVEN.SetName( 'test_ISEVEN' ) test_ISEVEN.SetAuthor( '' ) test_ISEVEN.SetContainer( 'localhost/FactoryServer' ) @@ -24,7 +24,7 @@ def DefGraphGOTO_2() : Otest_ISEVENBoolEven = test_ISEVEN.GetOutPort( 'BoolEven' ) Otest_ISEVENGate = test_ISEVEN.GetOutPort( 'Gate' ) - test_ISONE = GraphGOTO_2.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' ) + test_ISONE = GraphGOTO.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' ) test_ISONE.SetName( 'test_ISONE' ) test_ISONE.SetAuthor( '' ) test_ISONE.SetContainer( 'localhost/FactoryServer' ) @@ -35,7 +35,7 @@ def DefGraphGOTO_2() : Otest_ISONEBoolOne = test_ISONE.GetOutPort( 'BoolOne' ) Otest_ISONEGate = test_ISONE.GetOutPort( 'Gate' ) - m3p1 = GraphGOTO_2.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' ) + m3p1 = GraphGOTO.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' ) m3p1.SetName( 'm3p1' ) m3p1.SetAuthor( '' ) m3p1.SetContainer( 'localhost/FactoryServer' ) @@ -46,7 +46,7 @@ def DefGraphGOTO_2() : Om3p1anEvenInteger = m3p1.GetOutPort( 'anEvenInteger' ) Om3p1Gate = m3p1.GetOutPort( 'Gate' ) - div2 = GraphGOTO_2.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' ) + div2 = GraphGOTO.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' ) div2.SetName( 'div2' ) div2.SetAuthor( '' ) div2.SetContainer( 'localhost/FactoryServer' ) @@ -57,7 +57,7 @@ def DefGraphGOTO_2() : Odiv2anInteger = div2.GetOutPort( 'anInteger' ) Odiv2Gate = div2.GetOutPort( 'Gate' ) - incr = GraphGOTO_2.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' ) + incr = GraphGOTO.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' ) incr.SetName( 'incr' ) incr.SetAuthor( '' ) incr.SetContainer( 'localhost/FactoryServer' ) @@ -68,7 +68,7 @@ def DefGraphGOTO_2() : OincraNewCount = incr.GetOutPort( 'aNewCount' ) OincrGate = incr.GetOutPort( 'Gate' ) - incr_1 = GraphGOTO_2.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' ) + incr_1 = GraphGOTO.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' ) incr_1.SetName( 'incr_1' ) incr_1.SetAuthor( '' ) incr_1.SetContainer( 'localhost/FactoryServer' ) @@ -84,7 +84,7 @@ def DefGraphGOTO_2() : 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_2.INode( 'label_begin' , Pylabel_begin ) + label_begin = GraphGOTO.INode( 'label_begin' , Pylabel_begin ) label_begin.SetName( 'label_begin' ) label_begin.SetAuthor( '' ) label_begin.SetComment( 'Python function' ) @@ -100,7 +100,7 @@ def DefGraphGOTO_2() : 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_2.INode( 'label_test' , Pylabel_test ) + label_test = GraphGOTO.INode( 'label_test' , Pylabel_test ) label_test.SetName( 'label_test' ) label_test.SetAuthor( '' ) label_test.SetComment( 'Python function' ) @@ -133,7 +133,7 @@ def DefGraphGOTO_2() : Pytest.append( ' Odd = 0' ) Pytest.append( ' Even = ValEven' ) Pytest.append( ' return Finished,Incr,Even,Odd,NT,KT' ) - test,EndSwitch_OneEven = GraphGOTO_2.SNode( 'Switch_OneEven' , Pytest ) + test,EndSwitch_OneEven = GraphGOTO.SNode( 'Switch_OneEven' , Pytest ) EndSwitch_OneEven.SetName( 'EndSwitch_OneEven' ) EndSwitch_OneEven.SetAuthor( '' ) EndSwitch_OneEven.SetComment( 'Compute Node' ) @@ -170,7 +170,7 @@ def DefGraphGOTO_2() : Pycontrol_m3p1 = [] Pycontrol_m3p1.append( 'def control_m3p1( N , K ):' ) Pycontrol_m3p1.append( ' return 0,1,N,K' ) - control_m3p1 = GraphGOTO_2.GNode( 'control_m3p1' , Pycontrol_m3p1 , 'label_test' ) + control_m3p1 = GraphGOTO.GNode( 'control_m3p1' , Pycontrol_m3p1 , 'label_test' ) control_m3p1.SetName( 'control_m3p1' ) control_m3p1.SetAuthor( '' ) control_m3p1.SetComment( 'Compute Node' ) @@ -187,7 +187,7 @@ def DefGraphGOTO_2() : Pycontrol_div2 = [] Pycontrol_div2.append( 'def control_div2( N , NB ) :' ) Pycontrol_div2.append( ' return N,NB' ) - control_div2 = GraphGOTO_2.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' ) + control_div2 = GraphGOTO.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' ) control_div2.SetName( 'control_div2' ) control_div2.SetAuthor( '' ) control_div2.SetComment( 'Compute Node' ) @@ -200,81 +200,81 @@ def DefGraphGOTO_2() : Ocontrol_div2Gate = control_div2.GetOutPort( 'Gate' ) # Creation of Links - Ltest_ISEVENBoolEvenlabel_testValEven = GraphGOTO_2.Link( Otest_ISEVENBoolEven , Ilabel_testValEven ) + Ltest_ISEVENBoolEvenlabel_testValEven = GraphGOTO.Link( Otest_ISEVENBoolEven , Ilabel_testValEven ) Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 374 , 290 ) Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 374 , 491 ) - Ltest_ISONEBoolOnelabel_testValOne = GraphGOTO_2.Link( Otest_ISONEBoolOne , Ilabel_testValOne ) + Ltest_ISONEBoolOnelabel_testValOne = GraphGOTO.Link( Otest_ISONEBoolOne , Ilabel_testValOne ) Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 1 , 385 , 311 ) Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 2 , 385 , 226 ) - Lm3p1anEvenIntegercontrol_m3p1N = GraphGOTO_2.Link( Om3p1anEvenInteger , Icontrol_m3p1N ) + Lm3p1anEvenIntegercontrol_m3p1N = GraphGOTO.Link( Om3p1anEvenInteger , Icontrol_m3p1N ) - Ldiv2anIntegercontrol_div2N = GraphGOTO_2.Link( Odiv2anInteger , Icontrol_div2N ) + Ldiv2anIntegercontrol_div2N = GraphGOTO.Link( Odiv2anInteger , Icontrol_div2N ) - LincraNewCountcontrol_m3p1K = GraphGOTO_2.Link( OincraNewCount , Icontrol_m3p1K ) + LincraNewCountcontrol_m3p1K = GraphGOTO.Link( OincraNewCount , Icontrol_m3p1K ) LincraNewCountcontrol_m3p1K.AddCoord( 1 , 1048 , 135 ) LincraNewCountcontrol_m3p1K.AddCoord( 2 , 1048 , 241 ) - Lincr_1aNewCountcontrol_div2K = GraphGOTO_2.Link( Oincr_1aNewCount , Icontrol_div2K ) + Lincr_1aNewCountcontrol_div2K = GraphGOTO.Link( Oincr_1aNewCount , Icontrol_div2K ) - Llabel_beginNTlabel_testNT = GraphGOTO_2.Link( Olabel_beginNT , Ilabel_testNT ) + Llabel_beginNTlabel_testNT = GraphGOTO.Link( Olabel_beginNT , Ilabel_testNT ) - Llabel_beginNTtest_ISONEanInteger = GraphGOTO_2.Link( Olabel_beginNT , Itest_ISONEanInteger ) + Llabel_beginNTtest_ISONEanInteger = GraphGOTO.Link( Olabel_beginNT , Itest_ISONEanInteger ) Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 191 , 225 ) Llabel_beginNTtest_ISONEanInteger.AddCoord( 2 , 191 , 331 ) - Llabel_beginNTtest_ISEVENanInteger = GraphGOTO_2.Link( Olabel_beginNT , Itest_ISEVENanInteger ) + Llabel_beginNTtest_ISEVENanInteger = GraphGOTO.Link( Olabel_beginNT , Itest_ISEVENanInteger ) Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 190 , 491 ) Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 190 , 331 ) - Llabel_beginKTlabel_testKT = GraphGOTO_2.Link( Olabel_beginKT , Ilabel_testKT ) + Llabel_beginKTlabel_testKT = GraphGOTO.Link( Olabel_beginKT , Ilabel_testKT ) - Llabel_testValEventestValEven = GraphGOTO_2.Link( Olabel_testValEven , ItestValEven ) + Llabel_testValEventestValEven = GraphGOTO.Link( Olabel_testValEven , ItestValEven ) - Llabel_testValOnetestValOne = GraphGOTO_2.Link( Olabel_testValOne , ItestValOne ) + Llabel_testValOnetestValOne = GraphGOTO.Link( Olabel_testValOne , ItestValOne ) - Llabel_testNTtestNT = GraphGOTO_2.Link( Olabel_testNT , ItestNT ) + Llabel_testNTtestNT = GraphGOTO.Link( Olabel_testNT , ItestNT ) - Llabel_testKTtestKT = GraphGOTO_2.Link( Olabel_testKT , ItestKT ) + Llabel_testKTtestKT = GraphGOTO.Link( Olabel_testKT , ItestKT ) - LtestFinishedEndSwitch_OneEvenFinished = GraphGOTO_2.Link( OtestFinished , IEndSwitch_OneEvenFinished ) + LtestFinishedEndSwitch_OneEvenFinished = GraphGOTO.Link( OtestFinished , IEndSwitch_OneEvenFinished ) - LtestEvenincr_1Gate = GraphGOTO_2.Link( OtestEven , Iincr_1Gate ) + LtestEvenincr_1Gate = GraphGOTO.Link( OtestEven , Iincr_1Gate ) - LtestEvendiv2Gate = GraphGOTO_2.Link( OtestEven , Idiv2Gate ) + LtestEvendiv2Gate = GraphGOTO.Link( OtestEven , Idiv2Gate ) - LtestOddincrGate = GraphGOTO_2.Link( OtestOdd , IincrGate ) + LtestOddincrGate = GraphGOTO.Link( OtestOdd , IincrGate ) - LtestOddm3p1Gate = GraphGOTO_2.Link( OtestOdd , Im3p1Gate ) + LtestOddm3p1Gate = GraphGOTO.Link( OtestOdd , Im3p1Gate ) - LtestNm3p1anOddInteger = GraphGOTO_2.Link( OtestN , Im3p1anOddInteger ) + LtestNm3p1anOddInteger = GraphGOTO.Link( OtestN , Im3p1anOddInteger ) LtestNm3p1anOddInteger.AddCoord( 1 , 808 , 116 ) LtestNm3p1anOddInteger.AddCoord( 2 , 806 , 372 ) - LtestNdiv2anEvenInteger = GraphGOTO_2.Link( OtestN , Idiv2anEvenInteger ) + LtestNdiv2anEvenInteger = GraphGOTO.Link( OtestN , Idiv2anEvenInteger ) LtestNdiv2anEvenInteger.AddCoord( 1 , 806 , 537 ) LtestNdiv2anEvenInteger.AddCoord( 2 , 806 , 373 ) - LtestKEndSwitch_OneEvenK = GraphGOTO_2.Link( OtestK , IEndSwitch_OneEvenK ) + LtestKEndSwitch_OneEvenK = GraphGOTO.Link( OtestK , IEndSwitch_OneEvenK ) - LtestKincraCount = GraphGOTO_2.Link( OtestK , IincraCount ) + LtestKincraCount = GraphGOTO.Link( OtestK , IincraCount ) - LtestKincr_1aCount = GraphGOTO_2.Link( OtestK , Iincr_1aCount ) + LtestKincr_1aCount = GraphGOTO.Link( OtestK , Iincr_1aCount ) - LtestDefaultEndSwitch_OneEvenDefault = GraphGOTO_2.Link( OtestDefault , IEndSwitch_OneEvenDefault ) + LtestDefaultEndSwitch_OneEvenDefault = GraphGOTO.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_2.Link( Ocontrol_m3p1Gate , Ilabel_testGate ) + Lcontrol_m3p1Gatelabel_testGate = GraphGOTO.Link( Ocontrol_m3p1Gate , Ilabel_testGate ) Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 389 , 375 ) Lcontrol_m3p1Gatelabel_testGate.AddCoord( 2 , 389 , 597 ) Lcontrol_m3p1Gatelabel_testGate.AddCoord( 3 , 1519 , 602 ) Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1508 , 201 ) - Lcontrol_div2Gatelabel_beginGate = GraphGOTO_2.Link( Ocontrol_div2Gate , Ilabel_beginGate ) + Lcontrol_div2Gatelabel_beginGate = GraphGOTO.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 ) @@ -288,7 +288,12 @@ def DefGraphGOTO_2() : #OtestIncr = test.GetOutPort( 'Incr' ) #OEndSwitch_OneEvenFinished = EndSwitch_OneEven.GetOutPort( 'Finished' ) #OEndSwitch_OneEvenK = EndSwitch_OneEven.GetOutPort( 'K' ) - return GraphGOTO_2 + return GraphGOTO -GraphGOTO_2 = DefGraphGOTO_2() +GraphGOTO = DefGraphGOTO() + +GraphGOTO.Run() +GraphGOTO.DoneW() +GraphGOTO.State() +GraphGOTO.PrintPorts() diff --git a/examples/GraphGOTO1.py b/examples/GraphGOTO1.py index 6731b6b..ae21c7b 100755 --- a/examples/GraphGOTO1.py +++ b/examples/GraphGOTO1.py @@ -281,3 +281,8 @@ def DefGraphGOTO1() : GraphGOTO1 = DefGraphGOTO1() + +GraphGOTO1.Run() +GraphGOTO1.DoneW() +GraphGOTO1.State() +GraphGOTO1.PrintPorts() diff --git a/examples/GraphGOTOAborted.py b/examples/GraphGOTOAborted.py index f9dc8b3..4c4ea6c 100644 --- a/examples/GraphGOTOAborted.py +++ b/examples/GraphGOTOAborted.py @@ -282,3 +282,8 @@ def DefGraphGOTOAborted() : GraphGOTOAborted = DefGraphGOTOAborted() + +GraphGOTOAborted.Run() +GraphGOTOAborted.DoneW() +GraphGOTOAborted.State() +GraphGOTOAborted.PrintPorts() diff --git a/examples/GraphGOTOAddMemory.py b/examples/GraphGOTOAddMemory.py index 5484a36..adf1ece 100644 --- a/examples/GraphGOTOAddMemory.py +++ b/examples/GraphGOTOAddMemory.py @@ -66,3 +66,8 @@ def DefGraphGOTOAddMemory() : GraphGOTOAddMemory = DefGraphGOTOAddMemory() + +GraphGOTOAddMemory.Run() +GraphGOTOAddMemory.DoneW() +GraphGOTOAddMemory.State() +GraphGOTOAddMemory.PrintPorts() diff --git a/examples/GraphGOTOMemory.py b/examples/GraphGOTOMemory.py index 45d24c7..212e14a 100644 --- a/examples/GraphGOTOMemory.py +++ b/examples/GraphGOTOMemory.py @@ -45,3 +45,8 @@ def DefGraphGOTOMemory() : GraphGOTOMemory = DefGraphGOTOMemory() + +GraphGOTOMemory.Run() +GraphGOTOMemory.DoneW() +GraphGOTOMemory.State() +GraphGOTOMemory.PrintPorts() diff --git a/examples/GraphSwitchs.py b/examples/GraphSwitchs.py index 716db20..ceeeb17 100755 --- a/examples/GraphSwitchs.py +++ b/examples/GraphSwitchs.py @@ -1,15 +1,15 @@ -# Generated python file of Graph GraphSwitchs +# Generated python file of Graph GraphSwitchs_1 from SuperV import * -# Graph creation of GraphSwitchs -def DefGraphSwitchs() : - GraphSwitchs = Graph( 'GraphSwitchs' ) - GraphSwitchs.SetName( 'GraphSwitchs' ) - GraphSwitchs.SetAuthor( '' ) - GraphSwitchs.SetComment( '' ) - GraphSwitchs.Coords( 0 , 0 ) +# Graph creation of GraphSwitchs_1 +def DefGraphSwitchs_1() : + GraphSwitchs_1 = Graph( 'GraphSwitchs_1' ) + GraphSwitchs_1.SetName( 'GraphSwitchs_1' ) + GraphSwitchs_1.SetAuthor( '' ) + GraphSwitchs_1.SetComment( '' ) + GraphSwitchs_1.Coords( 0 , 0 ) # Creation of Factory Nodes @@ -20,7 +20,7 @@ def DefGraphSwitchs() : PyIsOdd.append( ' print a,"IsOdd (GraphSwitchs)" ' ) PyIsOdd.append( ' sleep( 1 ) ' ) PyIsOdd.append( ' return a ' ) - IsOdd = GraphSwitchs.INode( 'IsOdd' , PyIsOdd ) + IsOdd = GraphSwitchs_1.INode( 'IsOdd' , PyIsOdd ) IsOdd.SetName( 'IsOdd' ) IsOdd.SetAuthor( '' ) IsOdd.SetComment( 'Python function' ) @@ -36,7 +36,7 @@ def DefGraphSwitchs() : 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 = GraphSwitchs_1.INode( 'IsOdd' , PyIsOdd_1 ) IsOdd_1.SetName( 'IsOdd_1' ) IsOdd_1.SetAuthor( '' ) IsOdd_1.SetComment( 'Python function' ) @@ -61,7 +61,7 @@ def DefGraphSwitchs() : 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 ) + InitLoopSwitch,EndOfInitLoopSwitch = GraphSwitchs_1.LNode( 'InitLoop' , PyInitLoopSwitch , 'MoreLoop' , PyMoreInitLoopSwitch , 'NextLoop' , PyNextInitLoopSwitch ) EndOfInitLoopSwitch.SetName( 'EndOfInitLoopSwitch' ) EndOfInitLoopSwitch.SetAuthor( '' ) EndOfInitLoopSwitch.SetComment( 'Compute Node' ) @@ -77,6 +77,7 @@ def DefGraphSwitchs() : OInitLoopSwitchIndex = InitLoopSwitch.GetOutPort( 'Index' ) OInitLoopSwitchMin = InitLoopSwitch.GetOutPort( 'Min' ) OInitLoopSwitchMax = InitLoopSwitch.GetOutPort( 'Max' ) + OInitLoopSwitchGate = InitLoopSwitch.GetOutPort( 'Gate' ) IEndOfInitLoopSwitchDoLoop = EndOfInitLoopSwitch.GetInPort( 'DoLoop' ) IEndOfInitLoopSwitchIndex = EndOfInitLoopSwitch.GetInPort( 'Index' ) IEndOfInitLoopSwitchMin = EndOfInitLoopSwitch.GetInPort( 'Min' ) @@ -106,7 +107,7 @@ def DefGraphSwitchs() : 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 ) + InitLoop,EndOfInitLoop = GraphSwitchs_1.LNode( 'InitLoop' , PyInitLoop , 'MoreLoop' , PyMoreInitLoop , 'NextLoop' , PyNextInitLoop ) EndOfInitLoop.SetName( 'EndOfInitLoop' ) EndOfInitLoop.SetAuthor( '' ) EndOfInitLoop.SetComment( 'Compute Node' ) @@ -122,6 +123,7 @@ def DefGraphSwitchs() : OInitLoopIndex = InitLoop.GetOutPort( 'Index' ) OInitLoopMin = InitLoop.GetOutPort( 'Min' ) OInitLoopMax = InitLoop.GetOutPort( 'Max' ) + OInitLoopGate = InitLoop.GetOutPort( 'Gate' ) IEndOfInitLoopDoLoop = EndOfInitLoop.GetInPort( 'DoLoop' ) IEndOfInitLoopIndex = EndOfInitLoop.GetInPort( 'Index' ) IEndOfInitLoopMin = EndOfInitLoop.GetInPort( 'Min' ) @@ -144,7 +146,7 @@ def DefGraphSwitchs() : 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 ) + Switch,EndOfSwitch = GraphSwitchs_1.SNode( 'Switch' , PySwitch ) EndOfSwitch.SetName( 'EndOfSwitch' ) EndOfSwitch.SetAuthor( '' ) EndOfSwitch.SetComment( 'Compute Node' ) @@ -172,7 +174,7 @@ def DefGraphSwitchs() : 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 ) + Switch_1,EndSwitch = GraphSwitchs_1.SNode( 'Switch' , PySwitch_1 ) EndSwitch.SetName( 'EndSwitch' ) EndSwitch.SetAuthor( '' ) EndSwitch.SetComment( 'Compute Node' ) @@ -195,47 +197,47 @@ def DefGraphSwitchs() : OSwitch_1Default = Switch_1.GetOutPort( 'Default' ) # Creation of Links - LIsOddaEndOfSwitcha = GraphSwitchs.Link( OIsOdda , IEndOfSwitcha ) + LIsOddaEndOfSwitcha = GraphSwitchs_1.Link( OIsOdda , IEndOfSwitcha ) LIsOddaEndOfSwitcha.AddCoord( 1 , 573 , 160 ) LIsOddaEndOfSwitcha.AddCoord( 2 , 572 , 130 ) - LInitLoopSwitchIndexSwitcha = GraphSwitchs.Link( OInitLoopSwitchIndex , ISwitcha ) + LInitLoopSwitchIndexSwitcha = GraphSwitchs_1.Link( OInitLoopSwitchIndex , ISwitcha ) - LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchs.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin ) + LInitLoopSwitchMinEndOfInitLoopSwitchMin = GraphSwitchs_1.Link( OInitLoopSwitchMin , IEndOfInitLoopSwitchMin ) - LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchs.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax ) + LInitLoopSwitchMaxEndOfInitLoopSwitchMax = GraphSwitchs_1.Link( OInitLoopSwitchMax , IEndOfInitLoopSwitchMax ) - LSwitchOddIsOddGate = GraphSwitchs.Link( OSwitchOdd , IIsOddGate ) + LSwitchOddIsOddGate = GraphSwitchs_1.Link( OSwitchOdd , IIsOddGate ) - LSwitchaIsOdda = GraphSwitchs.Link( OSwitcha , IIsOdda ) + LSwitchaIsOdda = GraphSwitchs_1.Link( OSwitcha , IIsOdda ) LSwitchaIsOdda.AddCoord( 1 , 365 , 129 ) LSwitchaIsOdda.AddCoord( 2 , 365 , 222 ) - LSwitchDefaultEndOfSwitchDefault = GraphSwitchs.Link( OSwitchDefault , IEndOfSwitchDefault ) + LSwitchDefaultEndOfSwitchDefault = GraphSwitchs_1.Link( OSwitchDefault , IEndOfSwitchDefault ) LSwitchDefaultEndOfSwitchDefault.AddCoord( 1 , 572 , 194 ) LSwitchDefaultEndOfSwitchDefault.AddCoord( 2 , 571 , 257 ) - LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchs.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex ) + LEndOfSwitchaEndOfInitLoopSwitchIndex = GraphSwitchs_1.Link( OEndOfSwitcha , IEndOfInitLoopSwitchIndex ) - LIsOdd_1aEndSwitcha = GraphSwitchs.Link( OIsOdd_1a , IEndSwitcha ) + LIsOdd_1aEndSwitcha = GraphSwitchs_1.Link( OIsOdd_1a , IEndSwitcha ) LIsOdd_1aEndSwitcha.AddCoord( 1 , 599 , 416 ) LIsOdd_1aEndSwitcha.AddCoord( 2 , 598 , 389 ) - LInitLoopIndexSwitch_1a = GraphSwitchs.Link( OInitLoopIndex , ISwitch_1a ) + LInitLoopIndexSwitch_1a = GraphSwitchs_1.Link( OInitLoopIndex , ISwitch_1a ) - LInitLoopMinEndOfInitLoopMin = GraphSwitchs.Link( OInitLoopMin , IEndOfInitLoopMin ) + LInitLoopMinEndOfInitLoopMin = GraphSwitchs_1.Link( OInitLoopMin , IEndOfInitLoopMin ) - LInitLoopMaxEndOfInitLoopMax = GraphSwitchs.Link( OInitLoopMax , IEndOfInitLoopMax ) + LInitLoopMaxEndOfInitLoopMax = GraphSwitchs_1.Link( OInitLoopMax , IEndOfInitLoopMax ) - LSwitch_1OddIsOdd_1Gate = GraphSwitchs.Link( OSwitch_1Odd , IIsOdd_1Gate ) + LSwitch_1OddIsOdd_1Gate = GraphSwitchs_1.Link( OSwitch_1Odd , IIsOdd_1Gate ) - LSwitch_1EvenEndSwitchDefault = GraphSwitchs.Link( OSwitch_1Even , IEndSwitchDefault ) + LSwitch_1EvenEndSwitchDefault = GraphSwitchs_1.Link( OSwitch_1Even , IEndSwitchDefault ) - LSwitch_1aIsOdd_1a = GraphSwitchs.Link( OSwitch_1a , IIsOdd_1a ) + LSwitch_1aIsOdd_1a = GraphSwitchs_1.Link( OSwitch_1a , IIsOdd_1a ) LSwitch_1aIsOdd_1a.AddCoord( 1 , 379 , 387 ) LSwitch_1aIsOdd_1a.AddCoord( 2 , 378 , 481 ) - LEndSwitchaEndOfInitLoopIndex = GraphSwitchs.Link( OEndSwitcha , IEndOfInitLoopIndex ) + LEndSwitchaEndOfInitLoopIndex = GraphSwitchs_1.Link( OEndSwitcha , IEndOfInitLoopIndex ) # Input datas IInitLoopSwitchIndex.Input( 0 ) @@ -253,7 +255,7 @@ def DefGraphSwitchs() : #OEndOfInitLoopIndex = EndOfInitLoop.GetOutPort( 'Index' ) #OEndOfInitLoopMin = EndOfInitLoop.GetOutPort( 'Min' ) #OEndOfInitLoopMax = EndOfInitLoop.GetOutPort( 'Max' ) - return GraphSwitchs + return GraphSwitchs_1 -GraphSwitchs = DefGraphSwitchs() +GraphSwitchs_1 = DefGraphSwitchs_1() diff --git a/examples/GraphSwitchs.xml b/examples/GraphSwitchs.xml index f018951..719d824 100755 --- a/examples/GraphSwitchs.xml +++ b/examples/GraphSwitchs.xml @@ -1,664 +1,839 @@ - - - -? + + + + ? ? GraphSwitchs_1 1 ? -GraphSwitchs_1 + GraphSwitchs_1 - -long - InitLoopSwitch__Index -long - InitLoopSwitch__Min + long + InitLoopSwitch__Index + + + long + InitLoopSwitch__Min + -long - InitLoopSwitch__Max + long + InitLoopSwitch__Max + -long - InitLoop__Index + long + InitLoop__Index + -long - InitLoop__Min + long + InitLoop__Min + -long - InitLoop__Max + long + InitLoop__Max + + - -long - EndOfInitLoopSwitch__Index -long - EndOfInitLoopSwitch__Min + long + EndOfInitLoopSwitch__Index + + + long + EndOfInitLoopSwitch__Min + -long - EndOfInitLoopSwitch__Max + long + EndOfInitLoopSwitch__Max + -int - Switch__Even + int + Switch__Even + -long - EndOfInitLoop__Index + long + EndOfInitLoop__Index + -long - EndOfInitLoop__Min + long + EndOfInitLoop__Min + -long - EndOfInitLoop__Max + long + EndOfInitLoop__Max + + + 14/10/2003 - 10:29:4 - 20/1/2005 - 18:31:38 + 6/9/2005 - 11:18:10 1.05 ? ? ? 0 - 0 + 0 + + - -? + + ? ? IsOdd 3 ? -IsOdd + IsOdd - -long - a + + long + a + + - -long - a + + long + a + + + - -IsOdd + + IsOdd - - 20/1/2005 - 18:31:38 - 20/1/2005 - 18:31:38 + + + + 6/9/2005 - 11:18:10 + 6/9/2005 - 11:18:10 1.05 ? ? Python function 388 - 50 + 50 + -? + ? ? InitLoopSwitch 4 EndOfInitLoopSwitch -InitLoopSwitch + InitLoopSwitch - -long - Index -long - Min + long + Index + + + long + Min + -long - Max + long + Max + + - -long - Index -long - Min + long + Index + + + long + Min + -long - Max + long + Max + + + - -InitLoop + + InitLoop - + + -MoreLoop + MoreLoop - + + -NextLoop + NextLoop - - 20/1/2005 - 18:31:38 - 20/1/2005 - 18:31:38 + + + + 6/9/2005 - 11:18:10 + 6/9/2005 - 11:18:10 1.05 ? ? Compute Node 10 - 129 + 129 + -? + ? ? EndOfInitLoopSwitch 5 InitLoopSwitch -EndOfInitLoopSwitch + EndOfInitLoopSwitch - -long - Index -long - Min + long + Index + + + long + Min + -long - Max + long + Max + + - -long - Index -long - Min + long + Index + -long - Max + long + Min + + + long + Max + + + - -? - - 20/1/2005 - 18:31:38 - 20/1/2005 - 18:31:38 + + ? + + + + 6/9/2005 - 11:18:10 + 6/9/2005 - 11:18:10 1.05 ? ? Compute Node 766 - 127 + 127 + -? + ? ? Switch 6 EndOfSwitch -Switch + Switch - -long - a + + long + a + + - -long - Odd -int - Even + long + Odd + -int - a + int + Even + + + int + a + + + - -Switch + + Switch - - 20/1/2005 - 18:31:38 - 20/1/2005 - 18:31:38 + + + + 6/9/2005 - 11:18:10 + 6/9/2005 - 11:18:10 1.05 ? ? Compute Node 186 - 130 + 130 + -? + ? ? EndOfSwitch 7 Switch -EndOfSwitch + EndOfSwitch - -long - a + + long + a + + - -long - a + + long + a + + + - -? - - 20/1/2005 - 18:31:38 - 20/1/2005 - 18:31:38 + + ? + + + + 6/9/2005 - 11:18:10 + 6/9/2005 - 11:18:10 1.05 ? ? Compute Node 587 - 126 + 126 + -? + ? ? IsOdd_1 3 ? -IsOdd_1 + IsOdd_1 - -long - a + + long + a + + - -long - a + + long + a + + + - -IsOdd + + IsOdd - - 20/1/2005 - 18:31:38 - 20/1/2005 - 18:31:38 + + + + 6/9/2005 - 11:18:10 + 6/9/2005 - 11:18:10 1.05 ? ? Python function 419 - 308 + 308 + -? + ? ? InitLoop 4 EndOfInitLoop -InitLoop + InitLoop - -long - Index -long - Min + long + Index + + + long + Min + -long - Max + long + Max + + - -long - Index -long - Min + long + Index + + + long + Min + -long - Max + long + Max + + + - -InitLoop + + InitLoop - + + -MoreLoop + MoreLoop - + + -NextLoop + NextLoop - - 20/1/2005 - 18:31:38 - 20/1/2005 - 18:31:38 + + + + 6/9/2005 - 11:18:10 + 6/9/2005 - 11:18:10 1.05 ? ? Compute Node 10 - 388 + 388 + -? + ? ? EndOfInitLoop 5 InitLoop -EndOfInitLoop + EndOfInitLoop - -long - Index -long - Min + long + Index + + + long + Min + -long - Max + long + Max + + - -long - Index -long - Min + long + Index + -long - Max + long + Min + + + long + Max + + + - -? - - 20/1/2005 - 18:31:38 - 20/1/2005 - 18:31:38 + + ? + + + + 6/9/2005 - 11:18:10 + 6/9/2005 - 11:18:10 1.05 ? ? Compute Node 783 - 381 + 381 + -? + ? ? Switch_1 6 EndSwitch -Switch_1 + Switch_1 - -long - a + + long + a + + - -long - Odd -int - Even + long + Odd + -int - a + int + Even + + + int + a + + + - -Switch + + Switch - - 20/1/2005 - 18:31:38 - 20/1/2005 - 18:31:38 + + + + 6/9/2005 - 11:18:10 + 6/9/2005 - 11:18:10 1.05 ? ? Compute Node 193 - 388 + 388 + -? + ? ? EndSwitch 7 Switch_1 -EndSwitch + EndSwitch - -long - a + + long + a + + - -long - a + + long + a + + + - -? - - 20/1/2005 - 18:31:38 - 20/1/2005 - 18:31:38 + + ? + + + + 6/9/2005 - 11:18:10 + 6/9/2005 - 11:18:10 1.05 ? ? Compute Node 605 - 382 + 382 + + - -IsOdd + + IsOdd a EndOfSwitch a - -573 - 160 -572 - 130 + 573 + 160 + + + 572 + 130 + + + -InitLoopSwitch + InitLoopSwitch DoLoop EndOfInitLoopSwitch DoLoop - + + -InitLoopSwitch + InitLoopSwitch Index Switch a - + + -InitLoopSwitch + InitLoopSwitch Min EndOfInitLoopSwitch Min - + + -InitLoopSwitch + InitLoopSwitch Max EndOfInitLoopSwitch Max - + + -EndOfInitLoopSwitch + EndOfInitLoopSwitch DoLoop InitLoopSwitch DoLoop - + + -Switch + Switch Odd IsOdd Gate - + + -Switch + Switch a IsOdd a - -365 - 129 -365 - 222 + 365 + 129 + + + 365 + 222 + + + -Switch + Switch Default EndOfSwitch Default - -572 - 194 -571 - 257 + 572 + 194 + + + 571 + 257 + + + -EndOfSwitch + EndOfSwitch a EndOfInitLoopSwitch Index - + + -IsOdd_1 + IsOdd_1 a EndSwitch a - -599 - 416 -598 - 389 + 599 + 416 + + + 598 + 389 + + + -InitLoop + InitLoop DoLoop EndOfInitLoop DoLoop - + + -InitLoop + InitLoop Index Switch_1 a - + + -InitLoop + InitLoop Min EndOfInitLoop Min - + + -InitLoop + InitLoop Max EndOfInitLoop Max - + + -EndOfInitLoop + EndOfInitLoop DoLoop InitLoop DoLoop - + + -Switch_1 + Switch_1 Odd IsOdd_1 Gate - + + -Switch_1 + Switch_1 Even EndSwitch Default - + + -Switch_1 + Switch_1 a IsOdd_1 a - -379 - 387 -378 - 481 + 379 + 387 + + + 378 + 481 + + + -EndSwitch + EndSwitch a EndOfInitLoop Index - + + + - -GraphSwitchs_1 + + GraphSwitchs_1 InitLoopSwitch__Index InitLoopSwitch Index -3 - 0 - + 3 + 0 + + + -GraphSwitchs_1 + GraphSwitchs_1 InitLoopSwitch__Min InitLoopSwitch Min -3 - 0 - + 3 + 0 + + + -GraphSwitchs_1 + GraphSwitchs_1 InitLoopSwitch__Max InitLoopSwitch Max -3 - 20 - + 3 + 20 + + + -GraphSwitchs_1 + GraphSwitchs_1 InitLoop__Index InitLoop Index -3 - 0 - + 3 + 0 + + + -GraphSwitchs_1 + GraphSwitchs_1 InitLoop__Min InitLoop Min -3 - 0 - + 3 + 0 + + + -GraphSwitchs_1 + GraphSwitchs_1 InitLoop__Max InitLoop Max -3 - 20 - + 3 + 20 + + + + + + + -- 2.30.2